1 #![allow(unused_variables, non_upper_case_globals, non_snake_case, unused_unsafe, non_camel_case_types, dead_code, clippy::all)]
2 pub const ADMINDATA_MAX_NAME_LEN: u32 = 256u32;
3 pub const APPCTR_MD_ID_BEGIN_RESERVED: u32 = 57344u32;
4 pub const APPCTR_MD_ID_END_RESERVED: u32 = 61439u32;
5 pub const APPSTATUS_NOTDEFINED: u32 = 2u32;
6 pub const APPSTATUS_RUNNING: u32 = 1u32;
7 pub const APPSTATUS_STOPPED: u32 = 0u32;
8 pub const ASP_MD_ID_BEGIN_RESERVED: u32 = 28672u32;
9 pub const ASP_MD_ID_END_RESERVED: u32 = 29951u32;
10 pub const ASP_MD_SERVER_BASE: u32 = 7000u32;
11 pub const ASP_MD_UT_APP: u32 = 101u32;
12 #[repr(transparent)]
13 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
14 pub struct AsyncIFtpAuthenticationProvider(::windows::runtime::IUnknown);
15 impl AsyncIFtpAuthenticationProvider {
16 #[cfg(feature = "Win32_Foundation")]
Begin_AuthenticateUser<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszsessionid: Param0, pszsitename: Param1, pszusername: Param2, pszpassword: Param3) -> ::windows::runtime::Result<()>17 pub unsafe fn Begin_AuthenticateUser<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszsessionid: Param0, pszsitename: Param1, pszusername: Param2, pszpassword: Param3) -> ::windows::runtime::Result<()> {
18 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pszsessionid.into_param().abi(), pszsitename.into_param().abi(), pszusername.into_param().abi(), pszpassword.into_param().abi()).ok()
19 }
20 #[cfg(feature = "Win32_Foundation")]
Finish_AuthenticateUser(&self, ppszcanonicalusername: *mut super::super::Foundation::PWSTR, pfauthenticated: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()>21 pub unsafe fn Finish_AuthenticateUser(&self, ppszcanonicalusername: *mut super::super::Foundation::PWSTR, pfauthenticated: *mut super::super::Foundation::BOOL) -> ::windows::runtime::Result<()> {
22 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppszcanonicalusername), ::std::mem::transmute(pfauthenticated)).ok()
23 }
24 }
25 unsafe impl ::windows::runtime::Interface for AsyncIFtpAuthenticationProvider {
26 type Vtable = AsyncIFtpAuthenticationProvider_abi;
27 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3259956069, 40766, 18838, [143, 177, 206, 22, 105, 22, 186, 181]);
28 }
29 impl ::std::convert::From<AsyncIFtpAuthenticationProvider> for ::windows::runtime::IUnknown {
from(value: AsyncIFtpAuthenticationProvider) -> Self30 fn from(value: AsyncIFtpAuthenticationProvider) -> Self {
31 unsafe { ::std::mem::transmute(value) }
32 }
33 }
34 impl ::std::convert::From<&AsyncIFtpAuthenticationProvider> for ::windows::runtime::IUnknown {
from(value: &AsyncIFtpAuthenticationProvider) -> Self35 fn from(value: &AsyncIFtpAuthenticationProvider) -> Self {
36 ::std::convert::From::from(::std::clone::Clone::clone(value))
37 }
38 }
39 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AsyncIFtpAuthenticationProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>40 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
41 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
42 }
43 }
44 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AsyncIFtpAuthenticationProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>45 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
46 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
47 }
48 }
49 #[repr(C)]
50 #[doc(hidden)]
51 pub struct AsyncIFtpAuthenticationProvider_abi(
52 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
53 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
54 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
55 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszsessionid: super::super::Foundation::PWSTR, pszsitename: super::super::Foundation::PWSTR, pszusername: super::super::Foundation::PWSTR, pszpassword: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
56 #[cfg(not(feature = "Win32_Foundation"))] usize,
57 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppszcanonicalusername: *mut super::super::Foundation::PWSTR, pfauthenticated: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
58 #[cfg(not(feature = "Win32_Foundation"))] usize,
59 );
60 #[repr(transparent)]
61 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
62 pub struct AsyncIFtpAuthorizationProvider(::windows::runtime::IUnknown);
63 impl AsyncIFtpAuthorizationProvider {
64 #[cfg(feature = "Win32_Foundation")]
Begin_GetUserAccessPermission<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszsessionid: Param0, pszsitename: Param1, pszvirtualpath: Param2, pszusername: Param3) -> ::windows::runtime::Result<()>65 pub unsafe fn Begin_GetUserAccessPermission<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszsessionid: Param0, pszsitename: Param1, pszvirtualpath: Param2, pszusername: Param3) -> ::windows::runtime::Result<()> {
66 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pszsessionid.into_param().abi(), pszsitename.into_param().abi(), pszvirtualpath.into_param().abi(), pszusername.into_param().abi()).ok()
67 }
Finish_GetUserAccessPermission(&self) -> ::windows::runtime::Result<FTP_ACCESS>68 pub unsafe fn Finish_GetUserAccessPermission(&self) -> ::windows::runtime::Result<FTP_ACCESS> {
69 let mut result__: <FTP_ACCESS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
70 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FTP_ACCESS>(result__)
71 }
72 }
73 unsafe impl ::windows::runtime::Interface for AsyncIFtpAuthorizationProvider {
74 type Vtable = AsyncIFtpAuthorizationProvider_abi;
75 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2249048889, 2021, 19036, [156, 97, 136, 32, 206, 160, 18, 188]);
76 }
77 impl ::std::convert::From<AsyncIFtpAuthorizationProvider> for ::windows::runtime::IUnknown {
from(value: AsyncIFtpAuthorizationProvider) -> Self78 fn from(value: AsyncIFtpAuthorizationProvider) -> Self {
79 unsafe { ::std::mem::transmute(value) }
80 }
81 }
82 impl ::std::convert::From<&AsyncIFtpAuthorizationProvider> for ::windows::runtime::IUnknown {
from(value: &AsyncIFtpAuthorizationProvider) -> Self83 fn from(value: &AsyncIFtpAuthorizationProvider) -> Self {
84 ::std::convert::From::from(::std::clone::Clone::clone(value))
85 }
86 }
87 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AsyncIFtpAuthorizationProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>88 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
89 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
90 }
91 }
92 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AsyncIFtpAuthorizationProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>93 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
94 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
95 }
96 }
97 #[repr(C)]
98 #[doc(hidden)]
99 pub struct AsyncIFtpAuthorizationProvider_abi(
100 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
101 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
102 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
103 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszsessionid: super::super::Foundation::PWSTR, pszsitename: super::super::Foundation::PWSTR, pszvirtualpath: super::super::Foundation::PWSTR, pszusername: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
104 #[cfg(not(feature = "Win32_Foundation"))] usize,
105 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pftpaccess: *mut FTP_ACCESS) -> ::windows::runtime::HRESULT,
106 );
107 #[repr(transparent)]
108 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
109 pub struct AsyncIFtpHomeDirectoryProvider(::windows::runtime::IUnknown);
110 impl AsyncIFtpHomeDirectoryProvider {
111 #[cfg(feature = "Win32_Foundation")]
Begin_GetUserHomeDirectoryData<'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>>(&self, pszsessionid: Param0, pszsitename: Param1, pszusername: Param2) -> ::windows::runtime::Result<()>112 pub unsafe fn Begin_GetUserHomeDirectoryData<'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>>(&self, pszsessionid: Param0, pszsitename: Param1, pszusername: Param2) -> ::windows::runtime::Result<()> {
113 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pszsessionid.into_param().abi(), pszsitename.into_param().abi(), pszusername.into_param().abi()).ok()
114 }
115 #[cfg(feature = "Win32_Foundation")]
Finish_GetUserHomeDirectoryData(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>116 pub unsafe fn Finish_GetUserHomeDirectoryData(&self) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
117 let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
118 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
119 }
120 }
121 unsafe impl ::windows::runtime::Interface for AsyncIFtpHomeDirectoryProvider {
122 type Vtable = AsyncIFtpHomeDirectoryProvider_abi;
123 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1945638456, 25237, 17085, [162, 190, 74, 101, 127, 124, 71, 156]);
124 }
125 impl ::std::convert::From<AsyncIFtpHomeDirectoryProvider> for ::windows::runtime::IUnknown {
from(value: AsyncIFtpHomeDirectoryProvider) -> Self126 fn from(value: AsyncIFtpHomeDirectoryProvider) -> Self {
127 unsafe { ::std::mem::transmute(value) }
128 }
129 }
130 impl ::std::convert::From<&AsyncIFtpHomeDirectoryProvider> for ::windows::runtime::IUnknown {
from(value: &AsyncIFtpHomeDirectoryProvider) -> Self131 fn from(value: &AsyncIFtpHomeDirectoryProvider) -> Self {
132 ::std::convert::From::from(::std::clone::Clone::clone(value))
133 }
134 }
135 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AsyncIFtpHomeDirectoryProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>136 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
137 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
138 }
139 }
140 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AsyncIFtpHomeDirectoryProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>141 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
142 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
143 }
144 }
145 #[repr(C)]
146 #[doc(hidden)]
147 pub struct AsyncIFtpHomeDirectoryProvider_abi(
148 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
149 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
150 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
151 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszsessionid: super::super::Foundation::PWSTR, pszsitename: super::super::Foundation::PWSTR, pszusername: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
152 #[cfg(not(feature = "Win32_Foundation"))] usize,
153 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppszhomedirectorydata: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
154 #[cfg(not(feature = "Win32_Foundation"))] usize,
155 );
156 #[repr(transparent)]
157 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
158 pub struct AsyncIFtpLogProvider(::windows::runtime::IUnknown);
159 impl AsyncIFtpLogProvider {
160 #[cfg(feature = "Win32_Foundation")]
Begin_Log(&self, ploggingparameters: *const LOGGING_PARAMETERS) -> ::windows::runtime::Result<()>161 pub unsafe fn Begin_Log(&self, ploggingparameters: *const LOGGING_PARAMETERS) -> ::windows::runtime::Result<()> {
162 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ploggingparameters)).ok()
163 }
Finish_Log(&self) -> ::windows::runtime::Result<()>164 pub unsafe fn Finish_Log(&self) -> ::windows::runtime::Result<()> {
165 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
166 }
167 }
168 unsafe impl ::windows::runtime::Interface for AsyncIFtpLogProvider {
169 type Vtable = AsyncIFtpLogProvider_abi;
170 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(10530374, 9368, 18610, [149, 230, 223, 103, 142, 215, 212, 159]);
171 }
172 impl ::std::convert::From<AsyncIFtpLogProvider> for ::windows::runtime::IUnknown {
from(value: AsyncIFtpLogProvider) -> Self173 fn from(value: AsyncIFtpLogProvider) -> Self {
174 unsafe { ::std::mem::transmute(value) }
175 }
176 }
177 impl ::std::convert::From<&AsyncIFtpLogProvider> for ::windows::runtime::IUnknown {
from(value: &AsyncIFtpLogProvider) -> Self178 fn from(value: &AsyncIFtpLogProvider) -> Self {
179 ::std::convert::From::from(::std::clone::Clone::clone(value))
180 }
181 }
182 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AsyncIFtpLogProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>183 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
184 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
185 }
186 }
187 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AsyncIFtpLogProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>188 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
189 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
190 }
191 }
192 #[repr(C)]
193 #[doc(hidden)]
194 pub struct AsyncIFtpLogProvider_abi(
195 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
196 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
197 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
198 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ploggingparameters: *const LOGGING_PARAMETERS) -> ::windows::runtime::HRESULT,
199 #[cfg(not(feature = "Win32_Foundation"))] usize,
200 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
201 );
202 #[repr(transparent)]
203 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
204 pub struct AsyncIFtpPostprocessProvider(::windows::runtime::IUnknown);
205 impl AsyncIFtpPostprocessProvider {
206 #[cfg(feature = "Win32_Foundation")]
Begin_HandlePostprocess(&self, ppostprocessparameters: *const POST_PROCESS_PARAMETERS) -> ::windows::runtime::Result<()>207 pub unsafe fn Begin_HandlePostprocess(&self, ppostprocessparameters: *const POST_PROCESS_PARAMETERS) -> ::windows::runtime::Result<()> {
208 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppostprocessparameters)).ok()
209 }
Finish_HandlePostprocess(&self) -> ::windows::runtime::Result<FTP_PROCESS_STATUS>210 pub unsafe fn Finish_HandlePostprocess(&self) -> ::windows::runtime::Result<FTP_PROCESS_STATUS> {
211 let mut result__: <FTP_PROCESS_STATUS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
212 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FTP_PROCESS_STATUS>(result__)
213 }
214 }
215 unsafe impl ::windows::runtime::Interface for AsyncIFtpPostprocessProvider {
216 type Vtable = AsyncIFtpPostprocessProvider_abi;
217 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2708153666, 38548, 20145, [165, 100, 108, 46, 145, 253, 193, 51]);
218 }
219 impl ::std::convert::From<AsyncIFtpPostprocessProvider> for ::windows::runtime::IUnknown {
from(value: AsyncIFtpPostprocessProvider) -> Self220 fn from(value: AsyncIFtpPostprocessProvider) -> Self {
221 unsafe { ::std::mem::transmute(value) }
222 }
223 }
224 impl ::std::convert::From<&AsyncIFtpPostprocessProvider> for ::windows::runtime::IUnknown {
from(value: &AsyncIFtpPostprocessProvider) -> Self225 fn from(value: &AsyncIFtpPostprocessProvider) -> Self {
226 ::std::convert::From::from(::std::clone::Clone::clone(value))
227 }
228 }
229 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AsyncIFtpPostprocessProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>230 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
231 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
232 }
233 }
234 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AsyncIFtpPostprocessProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>235 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
236 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
237 }
238 }
239 #[repr(C)]
240 #[doc(hidden)]
241 pub struct AsyncIFtpPostprocessProvider_abi(
242 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
243 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
244 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
245 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppostprocessparameters: *const POST_PROCESS_PARAMETERS) -> ::windows::runtime::HRESULT,
246 #[cfg(not(feature = "Win32_Foundation"))] usize,
247 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pftpprocessstatus: *mut FTP_PROCESS_STATUS) -> ::windows::runtime::HRESULT,
248 );
249 #[repr(transparent)]
250 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
251 pub struct AsyncIFtpPreprocessProvider(::windows::runtime::IUnknown);
252 impl AsyncIFtpPreprocessProvider {
253 #[cfg(feature = "Win32_Foundation")]
Begin_HandlePreprocess(&self, ppreprocessparameters: *const PRE_PROCESS_PARAMETERS) -> ::windows::runtime::Result<()>254 pub unsafe fn Begin_HandlePreprocess(&self, ppreprocessparameters: *const PRE_PROCESS_PARAMETERS) -> ::windows::runtime::Result<()> {
255 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppreprocessparameters)).ok()
256 }
Finish_HandlePreprocess(&self) -> ::windows::runtime::Result<FTP_PROCESS_STATUS>257 pub unsafe fn Finish_HandlePreprocess(&self) -> ::windows::runtime::Result<FTP_PROCESS_STATUS> {
258 let mut result__: <FTP_PROCESS_STATUS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
259 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<FTP_PROCESS_STATUS>(result__)
260 }
261 }
262 unsafe impl ::windows::runtime::Interface for AsyncIFtpPreprocessProvider {
263 type Vtable = AsyncIFtpPreprocessProvider_abi;
264 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1878392207, 64910, 18609, [163, 224, 191, 112, 115, 219, 77, 181]);
265 }
266 impl ::std::convert::From<AsyncIFtpPreprocessProvider> for ::windows::runtime::IUnknown {
from(value: AsyncIFtpPreprocessProvider) -> Self267 fn from(value: AsyncIFtpPreprocessProvider) -> Self {
268 unsafe { ::std::mem::transmute(value) }
269 }
270 }
271 impl ::std::convert::From<&AsyncIFtpPreprocessProvider> for ::windows::runtime::IUnknown {
from(value: &AsyncIFtpPreprocessProvider) -> Self272 fn from(value: &AsyncIFtpPreprocessProvider) -> Self {
273 ::std::convert::From::from(::std::clone::Clone::clone(value))
274 }
275 }
276 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AsyncIFtpPreprocessProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>277 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
278 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
279 }
280 }
281 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AsyncIFtpPreprocessProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>282 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
283 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
284 }
285 }
286 #[repr(C)]
287 #[doc(hidden)]
288 pub struct AsyncIFtpPreprocessProvider_abi(
289 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
290 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
291 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
292 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppreprocessparameters: *const PRE_PROCESS_PARAMETERS) -> ::windows::runtime::HRESULT,
293 #[cfg(not(feature = "Win32_Foundation"))] usize,
294 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pftpprocessstatus: *mut FTP_PROCESS_STATUS) -> ::windows::runtime::HRESULT,
295 );
296 #[repr(transparent)]
297 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
298 pub struct AsyncIFtpRoleProvider(::windows::runtime::IUnknown);
299 impl AsyncIFtpRoleProvider {
300 #[cfg(feature = "Win32_Foundation")]
Begin_IsUserInRole<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszsessionid: Param0, pszsitename: Param1, pszusername: Param2, pszrole: Param3) -> ::windows::runtime::Result<()>301 pub unsafe fn Begin_IsUserInRole<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszsessionid: Param0, pszsitename: Param1, pszusername: Param2, pszrole: Param3) -> ::windows::runtime::Result<()> {
302 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pszsessionid.into_param().abi(), pszsitename.into_param().abi(), pszusername.into_param().abi(), pszrole.into_param().abi()).ok()
303 }
304 #[cfg(feature = "Win32_Foundation")]
Finish_IsUserInRole(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL>305 pub unsafe fn Finish_IsUserInRole(&self) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
306 let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
307 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
308 }
309 }
310 unsafe impl ::windows::runtime::Interface for AsyncIFtpRoleProvider {
311 type Vtable = AsyncIFtpRoleProvider_abi;
312 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1048821657, 28908, 16842, [132, 182, 172, 167, 199, 166, 44, 175]);
313 }
314 impl ::std::convert::From<AsyncIFtpRoleProvider> for ::windows::runtime::IUnknown {
from(value: AsyncIFtpRoleProvider) -> Self315 fn from(value: AsyncIFtpRoleProvider) -> Self {
316 unsafe { ::std::mem::transmute(value) }
317 }
318 }
319 impl ::std::convert::From<&AsyncIFtpRoleProvider> for ::windows::runtime::IUnknown {
from(value: &AsyncIFtpRoleProvider) -> Self320 fn from(value: &AsyncIFtpRoleProvider) -> Self {
321 ::std::convert::From::from(::std::clone::Clone::clone(value))
322 }
323 }
324 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AsyncIFtpRoleProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>325 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
326 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
327 }
328 }
329 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AsyncIFtpRoleProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>330 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
331 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
332 }
333 }
334 #[repr(C)]
335 #[doc(hidden)]
336 pub struct AsyncIFtpRoleProvider_abi(
337 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
338 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
339 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
340 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszsessionid: super::super::Foundation::PWSTR, pszsitename: super::super::Foundation::PWSTR, pszusername: super::super::Foundation::PWSTR, pszrole: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
341 #[cfg(not(feature = "Win32_Foundation"))] usize,
342 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pfisinrole: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
343 #[cfg(not(feature = "Win32_Foundation"))] usize,
344 );
345 #[repr(transparent)]
346 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
347 pub struct AsyncIMSAdminBaseSinkW(::windows::runtime::IUnknown);
348 impl AsyncIMSAdminBaseSinkW {
349 #[cfg(feature = "Win32_Foundation")]
Begin_SinkNotify(&self, dwmdnumelements: u32, pcochangelist: *const MD_CHANGE_OBJECT_W) -> ::windows::runtime::Result<()>350 pub unsafe fn Begin_SinkNotify(&self, dwmdnumelements: u32, pcochangelist: *const MD_CHANGE_OBJECT_W) -> ::windows::runtime::Result<()> {
351 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwmdnumelements), ::std::mem::transmute(pcochangelist)).ok()
352 }
Finish_SinkNotify(&self) -> ::windows::runtime::Result<()>353 pub unsafe fn Finish_SinkNotify(&self) -> ::windows::runtime::Result<()> {
354 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
355 }
Begin_ShutdownNotify(&self) -> ::windows::runtime::Result<()>356 pub unsafe fn Begin_ShutdownNotify(&self) -> ::windows::runtime::Result<()> {
357 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
358 }
Finish_ShutdownNotify(&self) -> ::windows::runtime::Result<()>359 pub unsafe fn Finish_ShutdownNotify(&self) -> ::windows::runtime::Result<()> {
360 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self)).ok()
361 }
362 }
363 unsafe impl ::windows::runtime::Interface for AsyncIMSAdminBaseSinkW {
364 type Vtable = AsyncIMSAdminBaseSinkW_abi;
365 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2850461203, 47117, 4560, [185, 185, 0, 160, 201, 34, 231, 80]);
366 }
367 impl ::std::convert::From<AsyncIMSAdminBaseSinkW> for ::windows::runtime::IUnknown {
from(value: AsyncIMSAdminBaseSinkW) -> Self368 fn from(value: AsyncIMSAdminBaseSinkW) -> Self {
369 unsafe { ::std::mem::transmute(value) }
370 }
371 }
372 impl ::std::convert::From<&AsyncIMSAdminBaseSinkW> for ::windows::runtime::IUnknown {
from(value: &AsyncIMSAdminBaseSinkW) -> Self373 fn from(value: &AsyncIMSAdminBaseSinkW) -> Self {
374 ::std::convert::From::from(::std::clone::Clone::clone(value))
375 }
376 }
377 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for AsyncIMSAdminBaseSinkW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>378 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
379 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
380 }
381 }
382 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &AsyncIMSAdminBaseSinkW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>383 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
384 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
385 }
386 }
387 #[repr(C)]
388 #[doc(hidden)]
389 pub struct AsyncIMSAdminBaseSinkW_abi(
390 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
391 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
392 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
393 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwmdnumelements: u32, pcochangelist: *const MD_CHANGE_OBJECT_W) -> ::windows::runtime::HRESULT,
394 #[cfg(not(feature = "Win32_Foundation"))] usize,
395 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
396 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
397 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
398 );
399 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
400 #[repr(C)]
401 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
402 pub struct CERT_CONTEXT_EX {
403 pub CertContext: super::super::Security::Cryptography::CERT_CONTEXT,
404 pub cbAllocated: u32,
405 pub dwCertificateFlags: u32,
406 }
407 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
408 impl CERT_CONTEXT_EX {}
409 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
410 impl ::std::default::Default for CERT_CONTEXT_EX {
default() -> Self411 fn default() -> Self {
412 unsafe { ::std::mem::zeroed() }
413 }
414 }
415 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
416 impl ::std::fmt::Debug for CERT_CONTEXT_EX {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result417 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
418 fmt.debug_struct("CERT_CONTEXT_EX").field("CertContext", &self.CertContext).field("cbAllocated", &self.cbAllocated).field("dwCertificateFlags", &self.dwCertificateFlags).finish()
419 }
420 }
421 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
422 impl ::std::cmp::PartialEq for CERT_CONTEXT_EX {
eq(&self, other: &Self) -> bool423 fn eq(&self, other: &Self) -> bool {
424 self.CertContext == other.CertContext && self.cbAllocated == other.cbAllocated && self.dwCertificateFlags == other.dwCertificateFlags
425 }
426 }
427 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
428 impl ::std::cmp::Eq for CERT_CONTEXT_EX {}
429 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
430 unsafe impl ::windows::runtime::Abi for CERT_CONTEXT_EX {
431 type Abi = Self;
432 type DefaultType = Self;
433 }
434 pub const CLSID_IImgCtx: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(810611670, 39093, 4559, [187, 130, 0, 170, 0, 189, 206, 11]);
435 pub const CLSID_IisServiceControl: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3908797985, 22671, 4562, [157, 97, 0, 192, 79, 121, 197, 254]);
436 pub const CLSID_MSAdminBase_W: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2850461200, 47117, 4560, [185, 185, 0, 160, 201, 34, 231, 80]);
437 pub const CLSID_Request: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2450269648, 9689, 4560, [165, 95, 0, 160, 201, 12, 32, 145]);
438 pub const CLSID_Response: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1189190560, 9693, 4560, [165, 95, 0, 160, 201, 12, 32, 145]);
439 pub const CLSID_ScriptingContext: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3648679328, 43112, 4559, [131, 174, 17, 176, 201, 12, 43, 216]);
440 pub const CLSID_Server: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2768687456, 9696, 4560, [165, 95, 0, 160, 201, 12, 32, 145]);
441 pub const CLSID_Session: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1352634144, 9694, 4560, [165, 95, 0, 160, 201, 12, 32, 145]);
442 pub const CLSID_WamAdmin: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1634960964, 61846, 4560, [153, 83, 0, 192, 79, 217, 25, 193]);
443 #[derive(:: std :: clone :: Clone)]
444 #[repr(C)]
445 #[cfg(feature = "Win32_Foundation")]
446 pub struct CONFIGURATION_ENTRY {
447 pub bstrKey: super::super::Foundation::BSTR,
448 pub bstrValue: super::super::Foundation::BSTR,
449 }
450 #[cfg(feature = "Win32_Foundation")]
451 impl CONFIGURATION_ENTRY {}
452 #[cfg(feature = "Win32_Foundation")]
453 impl ::std::default::Default for CONFIGURATION_ENTRY {
default() -> Self454 fn default() -> Self {
455 unsafe { ::std::mem::zeroed() }
456 }
457 }
458 #[cfg(feature = "Win32_Foundation")]
459 impl ::std::fmt::Debug for CONFIGURATION_ENTRY {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result460 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
461 fmt.debug_struct("CONFIGURATION_ENTRY").field("bstrKey", &self.bstrKey).field("bstrValue", &self.bstrValue).finish()
462 }
463 }
464 #[cfg(feature = "Win32_Foundation")]
465 impl ::std::cmp::PartialEq for CONFIGURATION_ENTRY {
eq(&self, other: &Self) -> bool466 fn eq(&self, other: &Self) -> bool {
467 self.bstrKey == other.bstrKey && self.bstrValue == other.bstrValue
468 }
469 }
470 #[cfg(feature = "Win32_Foundation")]
471 impl ::std::cmp::Eq for CONFIGURATION_ENTRY {}
472 #[cfg(feature = "Win32_Foundation")]
473 unsafe impl ::windows::runtime::Abi for CONFIGURATION_ENTRY {
474 type Abi = ::std::mem::ManuallyDrop<Self>;
475 type DefaultType = Self;
476 }
477 pub const DISPID_HTTPREQUEST_ABORT: u32 = 12u32;
478 pub const DISPID_HTTPREQUEST_BASE: u32 = 1u32;
479 pub const DISPID_HTTPREQUEST_GETALLRESPONSEHEADERS: u32 = 4u32;
480 pub const DISPID_HTTPREQUEST_GETRESPONSEHEADER: u32 = 3u32;
481 pub const DISPID_HTTPREQUEST_OPEN: u32 = 1u32;
482 pub const DISPID_HTTPREQUEST_OPTION: u32 = 6u32;
483 pub const DISPID_HTTPREQUEST_RESPONSEBODY: u32 = 10u32;
484 pub const DISPID_HTTPREQUEST_RESPONSESTREAM: u32 = 11u32;
485 pub const DISPID_HTTPREQUEST_RESPONSETEXT: u32 = 9u32;
486 pub const DISPID_HTTPREQUEST_SEND: u32 = 5u32;
487 pub const DISPID_HTTPREQUEST_SETAUTOLOGONPOLICY: u32 = 18u32;
488 pub const DISPID_HTTPREQUEST_SETCLIENTCERTIFICATE: u32 = 17u32;
489 pub const DISPID_HTTPREQUEST_SETCREDENTIALS: u32 = 14u32;
490 pub const DISPID_HTTPREQUEST_SETPROXY: u32 = 13u32;
491 pub const DISPID_HTTPREQUEST_SETREQUESTHEADER: u32 = 2u32;
492 pub const DISPID_HTTPREQUEST_SETTIMEOUTS: u32 = 16u32;
493 pub const DISPID_HTTPREQUEST_STATUS: u32 = 7u32;
494 pub const DISPID_HTTPREQUEST_STATUSTEXT: u32 = 8u32;
495 pub const DISPID_HTTPREQUEST_WAITFORRESPONSE: u32 = 15u32;
496 pub const DWN_COLORMODE: u32 = 63u32;
497 pub const DWN_DOWNLOADONLY: u32 = 64u32;
498 pub const DWN_FORCEDITHER: u32 = 128u32;
499 pub const DWN_MIRRORIMAGE: u32 = 512u32;
500 pub const DWN_RAWIMAGE: u32 = 256u32;
501 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
502 #[repr(C)]
503 #[cfg(feature = "Win32_Foundation")]
504 pub struct EXTENSION_CONTROL_BLOCK {
505 pub cbSize: u32,
506 pub dwVersion: u32,
507 pub ConnID: *mut ::std::ffi::c_void,
508 pub dwHttpStatusCode: u32,
509 pub lpszLogData: [super::super::Foundation::CHAR; 80],
510 pub lpszMethod: super::super::Foundation::PSTR,
511 pub lpszQueryString: super::super::Foundation::PSTR,
512 pub lpszPathInfo: super::super::Foundation::PSTR,
513 pub lpszPathTranslated: super::super::Foundation::PSTR,
514 pub cbTotalBytes: u32,
515 pub cbAvailable: u32,
516 pub lpbData: *mut u8,
517 pub lpszContentType: super::super::Foundation::PSTR,
518 pub GetServerVariable: isize,
519 pub WriteClient: isize,
520 pub ReadClient: isize,
521 pub ServerSupportFunction: isize,
522 }
523 #[cfg(feature = "Win32_Foundation")]
524 impl EXTENSION_CONTROL_BLOCK {}
525 #[cfg(feature = "Win32_Foundation")]
526 impl ::std::default::Default for EXTENSION_CONTROL_BLOCK {
default() -> Self527 fn default() -> Self {
528 unsafe { ::std::mem::zeroed() }
529 }
530 }
531 #[cfg(feature = "Win32_Foundation")]
532 impl ::std::fmt::Debug for EXTENSION_CONTROL_BLOCK {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result533 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
534 fmt.debug_struct("EXTENSION_CONTROL_BLOCK")
535 .field("cbSize", &self.cbSize)
536 .field("dwVersion", &self.dwVersion)
537 .field("ConnID", &self.ConnID)
538 .field("dwHttpStatusCode", &self.dwHttpStatusCode)
539 .field("lpszLogData", &self.lpszLogData)
540 .field("lpszMethod", &self.lpszMethod)
541 .field("lpszQueryString", &self.lpszQueryString)
542 .field("lpszPathInfo", &self.lpszPathInfo)
543 .field("lpszPathTranslated", &self.lpszPathTranslated)
544 .field("cbTotalBytes", &self.cbTotalBytes)
545 .field("cbAvailable", &self.cbAvailable)
546 .field("lpbData", &self.lpbData)
547 .field("lpszContentType", &self.lpszContentType)
548 .field("GetServerVariable", &self.GetServerVariable)
549 .field("WriteClient", &self.WriteClient)
550 .field("ReadClient", &self.ReadClient)
551 .field("ServerSupportFunction", &self.ServerSupportFunction)
552 .finish()
553 }
554 }
555 #[cfg(feature = "Win32_Foundation")]
556 impl ::std::cmp::PartialEq for EXTENSION_CONTROL_BLOCK {
eq(&self, other: &Self) -> bool557 fn eq(&self, other: &Self) -> bool {
558 self.cbSize == other.cbSize
559 && self.dwVersion == other.dwVersion
560 && self.ConnID == other.ConnID
561 && self.dwHttpStatusCode == other.dwHttpStatusCode
562 && self.lpszLogData == other.lpszLogData
563 && self.lpszMethod == other.lpszMethod
564 && self.lpszQueryString == other.lpszQueryString
565 && self.lpszPathInfo == other.lpszPathInfo
566 && self.lpszPathTranslated == other.lpszPathTranslated
567 && self.cbTotalBytes == other.cbTotalBytes
568 && self.cbAvailable == other.cbAvailable
569 && self.lpbData == other.lpbData
570 && self.lpszContentType == other.lpszContentType
571 && self.GetServerVariable == other.GetServerVariable
572 && self.WriteClient == other.WriteClient
573 && self.ReadClient == other.ReadClient
574 && self.ServerSupportFunction == other.ServerSupportFunction
575 }
576 }
577 #[cfg(feature = "Win32_Foundation")]
578 impl ::std::cmp::Eq for EXTENSION_CONTROL_BLOCK {}
579 #[cfg(feature = "Win32_Foundation")]
580 unsafe impl ::windows::runtime::Abi for EXTENSION_CONTROL_BLOCK {
581 type Abi = Self;
582 type DefaultType = Self;
583 }
584 pub const FP_MD_ID_BEGIN_RESERVED: u32 = 32768u32;
585 pub const FP_MD_ID_END_RESERVED: u32 = 36863u32;
586 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
587 #[repr(transparent)]
588 pub struct FTP_ACCESS(pub i32);
589 pub const FTP_ACCESS_NONE: FTP_ACCESS = FTP_ACCESS(0i32);
590 pub const FTP_ACCESS_READ: FTP_ACCESS = FTP_ACCESS(1i32);
591 pub const FTP_ACCESS_WRITE: FTP_ACCESS = FTP_ACCESS(2i32);
592 pub const FTP_ACCESS_READ_WRITE: FTP_ACCESS = FTP_ACCESS(3i32);
593 impl ::std::convert::From<i32> for FTP_ACCESS {
from(value: i32) -> Self594 fn from(value: i32) -> Self {
595 Self(value)
596 }
597 }
598 unsafe impl ::windows::runtime::Abi for FTP_ACCESS {
599 type Abi = Self;
600 type DefaultType = Self;
601 }
602 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
603 #[repr(transparent)]
604 pub struct FTP_PROCESS_STATUS(pub i32);
605 pub const FTP_PROCESS_CONTINUE: FTP_PROCESS_STATUS = FTP_PROCESS_STATUS(0i32);
606 pub const FTP_PROCESS_CLOSE_SESSION: FTP_PROCESS_STATUS = FTP_PROCESS_STATUS(1i32);
607 pub const FTP_PROCESS_TERMINATE_SESSION: FTP_PROCESS_STATUS = FTP_PROCESS_STATUS(2i32);
608 pub const FTP_PROCESS_REJECT_COMMAND: FTP_PROCESS_STATUS = FTP_PROCESS_STATUS(3i32);
609 impl ::std::convert::From<i32> for FTP_PROCESS_STATUS {
from(value: i32) -> Self610 fn from(value: i32) -> Self {
611 Self(value)
612 }
613 }
614 unsafe impl ::windows::runtime::Abi for FTP_PROCESS_STATUS {
615 type Abi = Self;
616 type DefaultType = Self;
617 }
618 pub const FtpProvider: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1891485287, 13234, 17904, [172, 82, 195, 202, 70, 247, 166, 86]);
619 pub const GUID_IIS_ALL_TRACE_PROVIDERS: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0]);
620 pub const GUID_IIS_ASPNET_TRACE_PROVIDER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2951774718, 583, 17013, [156, 78, 2, 31, 61, 193, 218, 53]);
621 pub const GUID_IIS_ASP_TRACE_TRACE_PROVIDER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(112807322, 45406, 17774, [164, 239, 55, 201, 132, 162, 203, 75]);
622 pub const GUID_IIS_ISAPI_TRACE_PROVIDER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2713846798, 34880, 19505, [186, 17, 152, 113, 3, 26, 25, 234]);
623 pub const GUID_IIS_WWW_GLOBAL_TRACE_PROVIDER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3579657161, 52137, 17631, [130, 126, 19, 45, 58, 69, 150, 194]);
624 pub const GUID_IIS_WWW_SERVER_TRACE_PROVIDER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(975851140, 19489, 18817, [174, 16, 63, 218, 13, 155, 15, 131]);
625 pub const GUID_IIS_WWW_SERVER_V2_TRACE_PROVIDER: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3729148361, 5608, 20458, [157, 133, 28, 221, 165, 32, 195, 52]);
626 #[cfg(feature = "Win32_Foundation")]
627 #[inline]
GetExtensionVersion(pver: *mut HSE_VERSION_INFO) -> super::super::Foundation::BOOL628 pub unsafe fn GetExtensionVersion(pver: *mut HSE_VERSION_INFO) -> super::super::Foundation::BOOL {
629 #[cfg(windows)]
630 {
631 #[link(name = "windows")]
632 extern "system" {
633 fn GetExtensionVersion(pver: *mut HSE_VERSION_INFO) -> super::super::Foundation::BOOL;
634 }
635 ::std::mem::transmute(GetExtensionVersion(::std::mem::transmute(pver)))
636 }
637 #[cfg(not(windows))]
638 unimplemented!("Unsupported target OS");
639 }
640 #[cfg(feature = "Win32_Foundation")]
641 #[inline]
GetFilterVersion(pver: *mut HTTP_FILTER_VERSION) -> super::super::Foundation::BOOL642 pub unsafe fn GetFilterVersion(pver: *mut HTTP_FILTER_VERSION) -> super::super::Foundation::BOOL {
643 #[cfg(windows)]
644 {
645 #[link(name = "windows")]
646 extern "system" {
647 fn GetFilterVersion(pver: *mut HTTP_FILTER_VERSION) -> super::super::Foundation::BOOL;
648 }
649 ::std::mem::transmute(GetFilterVersion(::std::mem::transmute(pver)))
650 }
651 #[cfg(not(windows))]
652 unimplemented!("Unsupported target OS");
653 }
654 pub const HSE_APPEND_LOG_PARAMETER: u32 = 1003u32;
655 pub const HSE_APP_FLAG_IN_PROCESS: u32 = 0u32;
656 pub const HSE_APP_FLAG_ISOLATED_OOP: u32 = 1u32;
657 pub const HSE_APP_FLAG_POOLED_OOP: u32 = 2u32;
658 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
659 #[repr(C)]
660 #[cfg(feature = "Win32_Foundation")]
661 pub struct HSE_CUSTOM_ERROR_INFO {
662 pub pszStatus: super::super::Foundation::PSTR,
663 pub uHttpSubError: u16,
664 pub fAsync: super::super::Foundation::BOOL,
665 }
666 #[cfg(feature = "Win32_Foundation")]
667 impl HSE_CUSTOM_ERROR_INFO {}
668 #[cfg(feature = "Win32_Foundation")]
669 impl ::std::default::Default for HSE_CUSTOM_ERROR_INFO {
default() -> Self670 fn default() -> Self {
671 unsafe { ::std::mem::zeroed() }
672 }
673 }
674 #[cfg(feature = "Win32_Foundation")]
675 impl ::std::fmt::Debug for HSE_CUSTOM_ERROR_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result676 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
677 fmt.debug_struct("HSE_CUSTOM_ERROR_INFO").field("pszStatus", &self.pszStatus).field("uHttpSubError", &self.uHttpSubError).field("fAsync", &self.fAsync).finish()
678 }
679 }
680 #[cfg(feature = "Win32_Foundation")]
681 impl ::std::cmp::PartialEq for HSE_CUSTOM_ERROR_INFO {
eq(&self, other: &Self) -> bool682 fn eq(&self, other: &Self) -> bool {
683 self.pszStatus == other.pszStatus && self.uHttpSubError == other.uHttpSubError && self.fAsync == other.fAsync
684 }
685 }
686 #[cfg(feature = "Win32_Foundation")]
687 impl ::std::cmp::Eq for HSE_CUSTOM_ERROR_INFO {}
688 #[cfg(feature = "Win32_Foundation")]
689 unsafe impl ::windows::runtime::Abi for HSE_CUSTOM_ERROR_INFO {
690 type Abi = Self;
691 type DefaultType = Self;
692 }
693 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
694 #[repr(C)]
695 #[cfg(feature = "Win32_Foundation")]
696 pub struct HSE_EXEC_UNICODE_URL_INFO {
697 pub pszUrl: super::super::Foundation::PWSTR,
698 pub pszMethod: super::super::Foundation::PSTR,
699 pub pszChildHeaders: super::super::Foundation::PSTR,
700 pub pUserInfo: *mut HSE_EXEC_UNICODE_URL_USER_INFO,
701 pub pEntity: *mut HSE_EXEC_URL_ENTITY_INFO,
702 pub dwExecUrlFlags: u32,
703 }
704 #[cfg(feature = "Win32_Foundation")]
705 impl HSE_EXEC_UNICODE_URL_INFO {}
706 #[cfg(feature = "Win32_Foundation")]
707 impl ::std::default::Default for HSE_EXEC_UNICODE_URL_INFO {
default() -> Self708 fn default() -> Self {
709 unsafe { ::std::mem::zeroed() }
710 }
711 }
712 #[cfg(feature = "Win32_Foundation")]
713 impl ::std::fmt::Debug for HSE_EXEC_UNICODE_URL_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result714 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
715 fmt.debug_struct("HSE_EXEC_UNICODE_URL_INFO").field("pszUrl", &self.pszUrl).field("pszMethod", &self.pszMethod).field("pszChildHeaders", &self.pszChildHeaders).field("pUserInfo", &self.pUserInfo).field("pEntity", &self.pEntity).field("dwExecUrlFlags", &self.dwExecUrlFlags).finish()
716 }
717 }
718 #[cfg(feature = "Win32_Foundation")]
719 impl ::std::cmp::PartialEq for HSE_EXEC_UNICODE_URL_INFO {
eq(&self, other: &Self) -> bool720 fn eq(&self, other: &Self) -> bool {
721 self.pszUrl == other.pszUrl && self.pszMethod == other.pszMethod && self.pszChildHeaders == other.pszChildHeaders && self.pUserInfo == other.pUserInfo && self.pEntity == other.pEntity && self.dwExecUrlFlags == other.dwExecUrlFlags
722 }
723 }
724 #[cfg(feature = "Win32_Foundation")]
725 impl ::std::cmp::Eq for HSE_EXEC_UNICODE_URL_INFO {}
726 #[cfg(feature = "Win32_Foundation")]
727 unsafe impl ::windows::runtime::Abi for HSE_EXEC_UNICODE_URL_INFO {
728 type Abi = Self;
729 type DefaultType = Self;
730 }
731 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
732 #[repr(C)]
733 #[cfg(feature = "Win32_Foundation")]
734 pub struct HSE_EXEC_UNICODE_URL_USER_INFO {
735 pub hImpersonationToken: super::super::Foundation::HANDLE,
736 pub pszCustomUserName: super::super::Foundation::PWSTR,
737 pub pszCustomAuthType: super::super::Foundation::PSTR,
738 }
739 #[cfg(feature = "Win32_Foundation")]
740 impl HSE_EXEC_UNICODE_URL_USER_INFO {}
741 #[cfg(feature = "Win32_Foundation")]
742 impl ::std::default::Default for HSE_EXEC_UNICODE_URL_USER_INFO {
default() -> Self743 fn default() -> Self {
744 unsafe { ::std::mem::zeroed() }
745 }
746 }
747 #[cfg(feature = "Win32_Foundation")]
748 impl ::std::fmt::Debug for HSE_EXEC_UNICODE_URL_USER_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result749 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
750 fmt.debug_struct("HSE_EXEC_UNICODE_URL_USER_INFO").field("hImpersonationToken", &self.hImpersonationToken).field("pszCustomUserName", &self.pszCustomUserName).field("pszCustomAuthType", &self.pszCustomAuthType).finish()
751 }
752 }
753 #[cfg(feature = "Win32_Foundation")]
754 impl ::std::cmp::PartialEq for HSE_EXEC_UNICODE_URL_USER_INFO {
eq(&self, other: &Self) -> bool755 fn eq(&self, other: &Self) -> bool {
756 self.hImpersonationToken == other.hImpersonationToken && self.pszCustomUserName == other.pszCustomUserName && self.pszCustomAuthType == other.pszCustomAuthType
757 }
758 }
759 #[cfg(feature = "Win32_Foundation")]
760 impl ::std::cmp::Eq for HSE_EXEC_UNICODE_URL_USER_INFO {}
761 #[cfg(feature = "Win32_Foundation")]
762 unsafe impl ::windows::runtime::Abi for HSE_EXEC_UNICODE_URL_USER_INFO {
763 type Abi = Self;
764 type DefaultType = Self;
765 }
766 pub const HSE_EXEC_URL_DISABLE_CUSTOM_ERROR: u32 = 32u32;
767 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
768 #[repr(C)]
769 pub struct HSE_EXEC_URL_ENTITY_INFO {
770 pub cbAvailable: u32,
771 pub lpbData: *mut ::std::ffi::c_void,
772 }
773 impl HSE_EXEC_URL_ENTITY_INFO {}
774 impl ::std::default::Default for HSE_EXEC_URL_ENTITY_INFO {
default() -> Self775 fn default() -> Self {
776 unsafe { ::std::mem::zeroed() }
777 }
778 }
779 impl ::std::fmt::Debug for HSE_EXEC_URL_ENTITY_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result780 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
781 fmt.debug_struct("HSE_EXEC_URL_ENTITY_INFO").field("cbAvailable", &self.cbAvailable).field("lpbData", &self.lpbData).finish()
782 }
783 }
784 impl ::std::cmp::PartialEq for HSE_EXEC_URL_ENTITY_INFO {
eq(&self, other: &Self) -> bool785 fn eq(&self, other: &Self) -> bool {
786 self.cbAvailable == other.cbAvailable && self.lpbData == other.lpbData
787 }
788 }
789 impl ::std::cmp::Eq for HSE_EXEC_URL_ENTITY_INFO {}
790 unsafe impl ::windows::runtime::Abi for HSE_EXEC_URL_ENTITY_INFO {
791 type Abi = Self;
792 type DefaultType = Self;
793 }
794 pub const HSE_EXEC_URL_HTTP_CACHE_ELIGIBLE: u32 = 128u32;
795 pub const HSE_EXEC_URL_IGNORE_CURRENT_INTERCEPTOR: u32 = 4u32;
796 pub const HSE_EXEC_URL_IGNORE_VALIDATION_AND_RANGE: u32 = 16u32;
797 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
798 #[repr(C)]
799 #[cfg(feature = "Win32_Foundation")]
800 pub struct HSE_EXEC_URL_INFO {
801 pub pszUrl: super::super::Foundation::PSTR,
802 pub pszMethod: super::super::Foundation::PSTR,
803 pub pszChildHeaders: super::super::Foundation::PSTR,
804 pub pUserInfo: *mut HSE_EXEC_URL_USER_INFO,
805 pub pEntity: *mut HSE_EXEC_URL_ENTITY_INFO,
806 pub dwExecUrlFlags: u32,
807 }
808 #[cfg(feature = "Win32_Foundation")]
809 impl HSE_EXEC_URL_INFO {}
810 #[cfg(feature = "Win32_Foundation")]
811 impl ::std::default::Default for HSE_EXEC_URL_INFO {
default() -> Self812 fn default() -> Self {
813 unsafe { ::std::mem::zeroed() }
814 }
815 }
816 #[cfg(feature = "Win32_Foundation")]
817 impl ::std::fmt::Debug for HSE_EXEC_URL_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result818 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
819 fmt.debug_struct("HSE_EXEC_URL_INFO").field("pszUrl", &self.pszUrl).field("pszMethod", &self.pszMethod).field("pszChildHeaders", &self.pszChildHeaders).field("pUserInfo", &self.pUserInfo).field("pEntity", &self.pEntity).field("dwExecUrlFlags", &self.dwExecUrlFlags).finish()
820 }
821 }
822 #[cfg(feature = "Win32_Foundation")]
823 impl ::std::cmp::PartialEq for HSE_EXEC_URL_INFO {
eq(&self, other: &Self) -> bool824 fn eq(&self, other: &Self) -> bool {
825 self.pszUrl == other.pszUrl && self.pszMethod == other.pszMethod && self.pszChildHeaders == other.pszChildHeaders && self.pUserInfo == other.pUserInfo && self.pEntity == other.pEntity && self.dwExecUrlFlags == other.dwExecUrlFlags
826 }
827 }
828 #[cfg(feature = "Win32_Foundation")]
829 impl ::std::cmp::Eq for HSE_EXEC_URL_INFO {}
830 #[cfg(feature = "Win32_Foundation")]
831 unsafe impl ::windows::runtime::Abi for HSE_EXEC_URL_INFO {
832 type Abi = Self;
833 type DefaultType = Self;
834 }
835 pub const HSE_EXEC_URL_NO_HEADERS: u32 = 2u32;
836 pub const HSE_EXEC_URL_SSI_CMD: u32 = 64u32;
837 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
838 #[repr(C)]
839 pub struct HSE_EXEC_URL_STATUS {
840 pub uHttpStatusCode: u16,
841 pub uHttpSubStatus: u16,
842 pub dwWin32Error: u32,
843 }
844 impl HSE_EXEC_URL_STATUS {}
845 impl ::std::default::Default for HSE_EXEC_URL_STATUS {
default() -> Self846 fn default() -> Self {
847 unsafe { ::std::mem::zeroed() }
848 }
849 }
850 impl ::std::fmt::Debug for HSE_EXEC_URL_STATUS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result851 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
852 fmt.debug_struct("HSE_EXEC_URL_STATUS").field("uHttpStatusCode", &self.uHttpStatusCode).field("uHttpSubStatus", &self.uHttpSubStatus).field("dwWin32Error", &self.dwWin32Error).finish()
853 }
854 }
855 impl ::std::cmp::PartialEq for HSE_EXEC_URL_STATUS {
eq(&self, other: &Self) -> bool856 fn eq(&self, other: &Self) -> bool {
857 self.uHttpStatusCode == other.uHttpStatusCode && self.uHttpSubStatus == other.uHttpSubStatus && self.dwWin32Error == other.dwWin32Error
858 }
859 }
860 impl ::std::cmp::Eq for HSE_EXEC_URL_STATUS {}
861 unsafe impl ::windows::runtime::Abi for HSE_EXEC_URL_STATUS {
862 type Abi = Self;
863 type DefaultType = Self;
864 }
865 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
866 #[repr(C)]
867 #[cfg(feature = "Win32_Foundation")]
868 pub struct HSE_EXEC_URL_USER_INFO {
869 pub hImpersonationToken: super::super::Foundation::HANDLE,
870 pub pszCustomUserName: super::super::Foundation::PSTR,
871 pub pszCustomAuthType: super::super::Foundation::PSTR,
872 }
873 #[cfg(feature = "Win32_Foundation")]
874 impl HSE_EXEC_URL_USER_INFO {}
875 #[cfg(feature = "Win32_Foundation")]
876 impl ::std::default::Default for HSE_EXEC_URL_USER_INFO {
default() -> Self877 fn default() -> Self {
878 unsafe { ::std::mem::zeroed() }
879 }
880 }
881 #[cfg(feature = "Win32_Foundation")]
882 impl ::std::fmt::Debug for HSE_EXEC_URL_USER_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result883 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
884 fmt.debug_struct("HSE_EXEC_URL_USER_INFO").field("hImpersonationToken", &self.hImpersonationToken).field("pszCustomUserName", &self.pszCustomUserName).field("pszCustomAuthType", &self.pszCustomAuthType).finish()
885 }
886 }
887 #[cfg(feature = "Win32_Foundation")]
888 impl ::std::cmp::PartialEq for HSE_EXEC_URL_USER_INFO {
eq(&self, other: &Self) -> bool889 fn eq(&self, other: &Self) -> bool {
890 self.hImpersonationToken == other.hImpersonationToken && self.pszCustomUserName == other.pszCustomUserName && self.pszCustomAuthType == other.pszCustomAuthType
891 }
892 }
893 #[cfg(feature = "Win32_Foundation")]
894 impl ::std::cmp::Eq for HSE_EXEC_URL_USER_INFO {}
895 #[cfg(feature = "Win32_Foundation")]
896 unsafe impl ::windows::runtime::Abi for HSE_EXEC_URL_USER_INFO {
897 type Abi = Self;
898 type DefaultType = Self;
899 }
900 pub const HSE_LOG_BUFFER_LEN: u32 = 80u32;
901 pub const HSE_MAX_EXT_DLL_NAME_LEN: u32 = 256u32;
902 pub const HSE_REQ_ABORTIVE_CLOSE: u32 = 1014u32;
903 pub const HSE_REQ_ASYNC_READ_CLIENT: u32 = 1010u32;
904 pub const HSE_REQ_BASE: u32 = 0u32;
905 pub const HSE_REQ_CANCEL_IO: u32 = 1049u32;
906 pub const HSE_REQ_CLOSE_CONNECTION: u32 = 1017u32;
907 pub const HSE_REQ_DONE_WITH_SESSION: u32 = 4u32;
908 pub const HSE_REQ_END_RESERVED: u32 = 1000u32;
909 pub const HSE_REQ_EXEC_UNICODE_URL: u32 = 1025u32;
910 pub const HSE_REQ_EXEC_URL: u32 = 1026u32;
911 pub const HSE_REQ_GET_ANONYMOUS_TOKEN: u32 = 1038u32;
912 pub const HSE_REQ_GET_CACHE_INVALIDATION_CALLBACK: u32 = 1040u32;
913 pub const HSE_REQ_GET_CERT_INFO_EX: u32 = 1015u32;
914 pub const HSE_REQ_GET_CHANNEL_BINDING_TOKEN: u32 = 1050u32;
915 pub const HSE_REQ_GET_CONFIG_OBJECT: u32 = 1046u32;
916 pub const HSE_REQ_GET_EXEC_URL_STATUS: u32 = 1027u32;
917 pub const HSE_REQ_GET_IMPERSONATION_TOKEN: u32 = 1011u32;
918 pub const HSE_REQ_GET_PROTOCOL_MANAGER_CUSTOM_INTERFACE_CALLBACK: u32 = 1048u32;
919 pub const HSE_REQ_GET_SSPI_INFO: u32 = 1002u32;
920 pub const HSE_REQ_GET_TRACE_INFO: u32 = 1042u32;
921 pub const HSE_REQ_GET_TRACE_INFO_EX: u32 = 1044u32;
922 pub const HSE_REQ_GET_UNICODE_ANONYMOUS_TOKEN: u32 = 1041u32;
923 pub const HSE_REQ_GET_WORKER_PROCESS_SETTINGS: u32 = 1047u32;
924 pub const HSE_REQ_IO_COMPLETION: u32 = 1005u32;
925 pub const HSE_REQ_IS_CONNECTED: u32 = 1018u32;
926 pub const HSE_REQ_IS_IN_PROCESS: u32 = 1030u32;
927 pub const HSE_REQ_IS_KEEP_CONN: u32 = 1008u32;
928 pub const HSE_REQ_MAP_UNICODE_URL_TO_PATH: u32 = 1023u32;
929 pub const HSE_REQ_MAP_UNICODE_URL_TO_PATH_EX: u32 = 1024u32;
930 pub const HSE_REQ_MAP_URL_TO_PATH: u32 = 1001u32;
931 pub const HSE_REQ_MAP_URL_TO_PATH_EX: u32 = 1012u32;
932 pub const HSE_REQ_NORMALIZE_URL: u32 = 1033u32;
933 pub const HSE_REQ_RAISE_TRACE_EVENT: u32 = 1045u32;
934 pub const HSE_REQ_REFRESH_ISAPI_ACL: u32 = 1007u32;
935 pub const HSE_REQ_REPORT_UNHEALTHY: u32 = 1032u32;
936 pub const HSE_REQ_SEND_CUSTOM_ERROR: u32 = 1028u32;
937 pub const HSE_REQ_SEND_RESPONSE_HEADER: u32 = 3u32;
938 pub const HSE_REQ_SEND_RESPONSE_HEADER_EX: u32 = 1016u32;
939 pub const HSE_REQ_SEND_URL: u32 = 2u32;
940 pub const HSE_REQ_SEND_URL_REDIRECT_RESP: u32 = 1u32;
941 pub const HSE_REQ_SET_FLUSH_FLAG: u32 = 1043u32;
942 pub const HSE_REQ_TRANSMIT_FILE: u32 = 1006u32;
943 pub const HSE_REQ_VECTOR_SEND: u32 = 1037u32;
944 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
945 #[repr(C)]
946 #[cfg(feature = "Win32_Foundation")]
947 pub struct HSE_RESPONSE_VECTOR {
948 pub dwFlags: u32,
949 pub pszStatus: super::super::Foundation::PSTR,
950 pub pszHeaders: super::super::Foundation::PSTR,
951 pub nElementCount: u32,
952 pub lpElementArray: *mut HSE_VECTOR_ELEMENT,
953 }
954 #[cfg(feature = "Win32_Foundation")]
955 impl HSE_RESPONSE_VECTOR {}
956 #[cfg(feature = "Win32_Foundation")]
957 impl ::std::default::Default for HSE_RESPONSE_VECTOR {
default() -> Self958 fn default() -> Self {
959 unsafe { ::std::mem::zeroed() }
960 }
961 }
962 #[cfg(feature = "Win32_Foundation")]
963 impl ::std::fmt::Debug for HSE_RESPONSE_VECTOR {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result964 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
965 fmt.debug_struct("HSE_RESPONSE_VECTOR").field("dwFlags", &self.dwFlags).field("pszStatus", &self.pszStatus).field("pszHeaders", &self.pszHeaders).field("nElementCount", &self.nElementCount).field("lpElementArray", &self.lpElementArray).finish()
966 }
967 }
968 #[cfg(feature = "Win32_Foundation")]
969 impl ::std::cmp::PartialEq for HSE_RESPONSE_VECTOR {
eq(&self, other: &Self) -> bool970 fn eq(&self, other: &Self) -> bool {
971 self.dwFlags == other.dwFlags && self.pszStatus == other.pszStatus && self.pszHeaders == other.pszHeaders && self.nElementCount == other.nElementCount && self.lpElementArray == other.lpElementArray
972 }
973 }
974 #[cfg(feature = "Win32_Foundation")]
975 impl ::std::cmp::Eq for HSE_RESPONSE_VECTOR {}
976 #[cfg(feature = "Win32_Foundation")]
977 unsafe impl ::windows::runtime::Abi for HSE_RESPONSE_VECTOR {
978 type Abi = Self;
979 type DefaultType = Self;
980 }
981 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
982 #[repr(C)]
983 #[cfg(feature = "Win32_Foundation")]
984 pub struct HSE_SEND_HEADER_EX_INFO {
985 pub pszStatus: super::super::Foundation::PSTR,
986 pub pszHeader: super::super::Foundation::PSTR,
987 pub cchStatus: u32,
988 pub cchHeader: u32,
989 pub fKeepConn: super::super::Foundation::BOOL,
990 }
991 #[cfg(feature = "Win32_Foundation")]
992 impl HSE_SEND_HEADER_EX_INFO {}
993 #[cfg(feature = "Win32_Foundation")]
994 impl ::std::default::Default for HSE_SEND_HEADER_EX_INFO {
default() -> Self995 fn default() -> Self {
996 unsafe { ::std::mem::zeroed() }
997 }
998 }
999 #[cfg(feature = "Win32_Foundation")]
1000 impl ::std::fmt::Debug for HSE_SEND_HEADER_EX_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1001 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1002 fmt.debug_struct("HSE_SEND_HEADER_EX_INFO").field("pszStatus", &self.pszStatus).field("pszHeader", &self.pszHeader).field("cchStatus", &self.cchStatus).field("cchHeader", &self.cchHeader).field("fKeepConn", &self.fKeepConn).finish()
1003 }
1004 }
1005 #[cfg(feature = "Win32_Foundation")]
1006 impl ::std::cmp::PartialEq for HSE_SEND_HEADER_EX_INFO {
eq(&self, other: &Self) -> bool1007 fn eq(&self, other: &Self) -> bool {
1008 self.pszStatus == other.pszStatus && self.pszHeader == other.pszHeader && self.cchStatus == other.cchStatus && self.cchHeader == other.cchHeader && self.fKeepConn == other.fKeepConn
1009 }
1010 }
1011 #[cfg(feature = "Win32_Foundation")]
1012 impl ::std::cmp::Eq for HSE_SEND_HEADER_EX_INFO {}
1013 #[cfg(feature = "Win32_Foundation")]
1014 unsafe impl ::windows::runtime::Abi for HSE_SEND_HEADER_EX_INFO {
1015 type Abi = Self;
1016 type DefaultType = Self;
1017 }
1018 pub const HSE_STATUS_ERROR: u32 = 4u32;
1019 pub const HSE_STATUS_PENDING: u32 = 3u32;
1020 pub const HSE_STATUS_SUCCESS: u32 = 1u32;
1021 pub const HSE_STATUS_SUCCESS_AND_KEEP_CONN: u32 = 2u32;
1022 pub const HSE_TERM_ADVISORY_UNLOAD: u32 = 1u32;
1023 pub const HSE_TERM_MUST_UNLOAD: u32 = 2u32;
1024 #[derive(:: std :: clone :: Clone)]
1025 #[repr(C)]
1026 #[cfg(feature = "Win32_Foundation")]
1027 pub struct HSE_TF_INFO {
1028 pub pfnHseIO: ::std::option::Option<PFN_HSE_IO_COMPLETION>,
1029 pub pContext: *mut ::std::ffi::c_void,
1030 pub hFile: super::super::Foundation::HANDLE,
1031 pub pszStatusCode: super::super::Foundation::PSTR,
1032 pub BytesToWrite: u32,
1033 pub Offset: u32,
1034 pub pHead: *mut ::std::ffi::c_void,
1035 pub HeadLength: u32,
1036 pub pTail: *mut ::std::ffi::c_void,
1037 pub TailLength: u32,
1038 pub dwFlags: u32,
1039 }
1040 #[cfg(feature = "Win32_Foundation")]
1041 impl HSE_TF_INFO {}
1042 #[cfg(feature = "Win32_Foundation")]
1043 impl ::std::default::Default for HSE_TF_INFO {
default() -> Self1044 fn default() -> Self {
1045 unsafe { ::std::mem::zeroed() }
1046 }
1047 }
1048 #[cfg(feature = "Win32_Foundation")]
1049 impl ::std::fmt::Debug for HSE_TF_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1050 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1051 fmt.debug_struct("HSE_TF_INFO")
1052 .field("pContext", &self.pContext)
1053 .field("hFile", &self.hFile)
1054 .field("pszStatusCode", &self.pszStatusCode)
1055 .field("BytesToWrite", &self.BytesToWrite)
1056 .field("Offset", &self.Offset)
1057 .field("pHead", &self.pHead)
1058 .field("HeadLength", &self.HeadLength)
1059 .field("pTail", &self.pTail)
1060 .field("TailLength", &self.TailLength)
1061 .field("dwFlags", &self.dwFlags)
1062 .finish()
1063 }
1064 }
1065 #[cfg(feature = "Win32_Foundation")]
1066 impl ::std::cmp::PartialEq for HSE_TF_INFO {
eq(&self, other: &Self) -> bool1067 fn eq(&self, other: &Self) -> bool {
1068 self.pfnHseIO.map(|f| f as usize) == other.pfnHseIO.map(|f| f as usize) && self.pContext == other.pContext && self.hFile == other.hFile && self.pszStatusCode == other.pszStatusCode && self.BytesToWrite == other.BytesToWrite && self.Offset == other.Offset && self.pHead == other.pHead && self.HeadLength == other.HeadLength && self.pTail == other.pTail && self.TailLength == other.TailLength && self.dwFlags == other.dwFlags
1069 }
1070 }
1071 #[cfg(feature = "Win32_Foundation")]
1072 impl ::std::cmp::Eq for HSE_TF_INFO {}
1073 #[cfg(feature = "Win32_Foundation")]
1074 unsafe impl ::windows::runtime::Abi for HSE_TF_INFO {
1075 type Abi = ::std::mem::ManuallyDrop<Self>;
1076 type DefaultType = Self;
1077 }
1078 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1079 #[repr(C)]
1080 #[cfg(feature = "Win32_Foundation")]
1081 pub struct HSE_TRACE_INFO {
1082 pub fTraceRequest: super::super::Foundation::BOOL,
1083 pub TraceContextId: [u8; 16],
1084 pub dwReserved1: u32,
1085 pub dwReserved2: u32,
1086 }
1087 #[cfg(feature = "Win32_Foundation")]
1088 impl HSE_TRACE_INFO {}
1089 #[cfg(feature = "Win32_Foundation")]
1090 impl ::std::default::Default for HSE_TRACE_INFO {
default() -> Self1091 fn default() -> Self {
1092 unsafe { ::std::mem::zeroed() }
1093 }
1094 }
1095 #[cfg(feature = "Win32_Foundation")]
1096 impl ::std::fmt::Debug for HSE_TRACE_INFO {
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("HSE_TRACE_INFO").field("fTraceRequest", &self.fTraceRequest).field("TraceContextId", &self.TraceContextId).field("dwReserved1", &self.dwReserved1).field("dwReserved2", &self.dwReserved2).finish()
1099 }
1100 }
1101 #[cfg(feature = "Win32_Foundation")]
1102 impl ::std::cmp::PartialEq for HSE_TRACE_INFO {
eq(&self, other: &Self) -> bool1103 fn eq(&self, other: &Self) -> bool {
1104 self.fTraceRequest == other.fTraceRequest && self.TraceContextId == other.TraceContextId && self.dwReserved1 == other.dwReserved1 && self.dwReserved2 == other.dwReserved2
1105 }
1106 }
1107 #[cfg(feature = "Win32_Foundation")]
1108 impl ::std::cmp::Eq for HSE_TRACE_INFO {}
1109 #[cfg(feature = "Win32_Foundation")]
1110 unsafe impl ::windows::runtime::Abi for HSE_TRACE_INFO {
1111 type Abi = Self;
1112 type DefaultType = Self;
1113 }
1114 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1115 #[repr(C)]
1116 pub struct HSE_UNICODE_URL_MAPEX_INFO {
1117 pub lpszPath: [u16; 260],
1118 pub dwFlags: u32,
1119 pub cchMatchingPath: u32,
1120 pub cchMatchingURL: u32,
1121 }
1122 impl HSE_UNICODE_URL_MAPEX_INFO {}
1123 impl ::std::default::Default for HSE_UNICODE_URL_MAPEX_INFO {
default() -> Self1124 fn default() -> Self {
1125 unsafe { ::std::mem::zeroed() }
1126 }
1127 }
1128 impl ::std::fmt::Debug for HSE_UNICODE_URL_MAPEX_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1129 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1130 fmt.debug_struct("HSE_UNICODE_URL_MAPEX_INFO").field("lpszPath", &self.lpszPath).field("dwFlags", &self.dwFlags).field("cchMatchingPath", &self.cchMatchingPath).field("cchMatchingURL", &self.cchMatchingURL).finish()
1131 }
1132 }
1133 impl ::std::cmp::PartialEq for HSE_UNICODE_URL_MAPEX_INFO {
eq(&self, other: &Self) -> bool1134 fn eq(&self, other: &Self) -> bool {
1135 self.lpszPath == other.lpszPath && self.dwFlags == other.dwFlags && self.cchMatchingPath == other.cchMatchingPath && self.cchMatchingURL == other.cchMatchingURL
1136 }
1137 }
1138 impl ::std::cmp::Eq for HSE_UNICODE_URL_MAPEX_INFO {}
1139 unsafe impl ::windows::runtime::Abi for HSE_UNICODE_URL_MAPEX_INFO {
1140 type Abi = Self;
1141 type DefaultType = Self;
1142 }
1143 pub const HSE_URL_FLAGS_DONT_CACHE: u32 = 16u32;
1144 pub const HSE_URL_FLAGS_EXECUTE: u32 = 4u32;
1145 pub const HSE_URL_FLAGS_MAP_CERT: u32 = 128u32;
1146 pub const HSE_URL_FLAGS_MASK: u32 = 1023u32;
1147 pub const HSE_URL_FLAGS_NEGO_CERT: u32 = 32u32;
1148 pub const HSE_URL_FLAGS_READ: u32 = 1u32;
1149 pub const HSE_URL_FLAGS_REQUIRE_CERT: u32 = 64u32;
1150 pub const HSE_URL_FLAGS_SCRIPT: u32 = 512u32;
1151 pub const HSE_URL_FLAGS_SSL: u32 = 8u32;
1152 pub const HSE_URL_FLAGS_SSL128: u32 = 256u32;
1153 pub const HSE_URL_FLAGS_WRITE: u32 = 2u32;
1154 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1155 #[repr(C)]
1156 #[cfg(feature = "Win32_Foundation")]
1157 pub struct HSE_URL_MAPEX_INFO {
1158 pub lpszPath: [super::super::Foundation::CHAR; 260],
1159 pub dwFlags: u32,
1160 pub cchMatchingPath: u32,
1161 pub cchMatchingURL: u32,
1162 pub dwReserved1: u32,
1163 pub dwReserved2: u32,
1164 }
1165 #[cfg(feature = "Win32_Foundation")]
1166 impl HSE_URL_MAPEX_INFO {}
1167 #[cfg(feature = "Win32_Foundation")]
1168 impl ::std::default::Default for HSE_URL_MAPEX_INFO {
default() -> Self1169 fn default() -> Self {
1170 unsafe { ::std::mem::zeroed() }
1171 }
1172 }
1173 #[cfg(feature = "Win32_Foundation")]
1174 impl ::std::fmt::Debug for HSE_URL_MAPEX_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1175 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1176 fmt.debug_struct("HSE_URL_MAPEX_INFO").field("lpszPath", &self.lpszPath).field("dwFlags", &self.dwFlags).field("cchMatchingPath", &self.cchMatchingPath).field("cchMatchingURL", &self.cchMatchingURL).field("dwReserved1", &self.dwReserved1).field("dwReserved2", &self.dwReserved2).finish()
1177 }
1178 }
1179 #[cfg(feature = "Win32_Foundation")]
1180 impl ::std::cmp::PartialEq for HSE_URL_MAPEX_INFO {
eq(&self, other: &Self) -> bool1181 fn eq(&self, other: &Self) -> bool {
1182 self.lpszPath == other.lpszPath && self.dwFlags == other.dwFlags && self.cchMatchingPath == other.cchMatchingPath && self.cchMatchingURL == other.cchMatchingURL && self.dwReserved1 == other.dwReserved1 && self.dwReserved2 == other.dwReserved2
1183 }
1184 }
1185 #[cfg(feature = "Win32_Foundation")]
1186 impl ::std::cmp::Eq for HSE_URL_MAPEX_INFO {}
1187 #[cfg(feature = "Win32_Foundation")]
1188 unsafe impl ::windows::runtime::Abi for HSE_URL_MAPEX_INFO {
1189 type Abi = Self;
1190 type DefaultType = Self;
1191 }
1192 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1193 #[repr(C)]
1194 pub struct HSE_VECTOR_ELEMENT {
1195 pub ElementType: u32,
1196 pub pvContext: *mut ::std::ffi::c_void,
1197 pub cbOffset: u64,
1198 pub cbSize: u64,
1199 }
1200 impl HSE_VECTOR_ELEMENT {}
1201 impl ::std::default::Default for HSE_VECTOR_ELEMENT {
default() -> Self1202 fn default() -> Self {
1203 unsafe { ::std::mem::zeroed() }
1204 }
1205 }
1206 impl ::std::fmt::Debug for HSE_VECTOR_ELEMENT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1207 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1208 fmt.debug_struct("HSE_VECTOR_ELEMENT").field("ElementType", &self.ElementType).field("pvContext", &self.pvContext).field("cbOffset", &self.cbOffset).field("cbSize", &self.cbSize).finish()
1209 }
1210 }
1211 impl ::std::cmp::PartialEq for HSE_VECTOR_ELEMENT {
eq(&self, other: &Self) -> bool1212 fn eq(&self, other: &Self) -> bool {
1213 self.ElementType == other.ElementType && self.pvContext == other.pvContext && self.cbOffset == other.cbOffset && self.cbSize == other.cbSize
1214 }
1215 }
1216 impl ::std::cmp::Eq for HSE_VECTOR_ELEMENT {}
1217 unsafe impl ::windows::runtime::Abi for HSE_VECTOR_ELEMENT {
1218 type Abi = Self;
1219 type DefaultType = Self;
1220 }
1221 pub const HSE_VECTOR_ELEMENT_TYPE_FILE_HANDLE: u32 = 1u32;
1222 pub const HSE_VECTOR_ELEMENT_TYPE_MEMORY_BUFFER: u32 = 0u32;
1223 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1224 #[repr(C)]
1225 #[cfg(feature = "Win32_Foundation")]
1226 pub struct HSE_VERSION_INFO {
1227 pub dwExtensionVersion: u32,
1228 pub lpszExtensionDesc: [super::super::Foundation::CHAR; 256],
1229 }
1230 #[cfg(feature = "Win32_Foundation")]
1231 impl HSE_VERSION_INFO {}
1232 #[cfg(feature = "Win32_Foundation")]
1233 impl ::std::default::Default for HSE_VERSION_INFO {
default() -> Self1234 fn default() -> Self {
1235 unsafe { ::std::mem::zeroed() }
1236 }
1237 }
1238 #[cfg(feature = "Win32_Foundation")]
1239 impl ::std::fmt::Debug for HSE_VERSION_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1240 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1241 fmt.debug_struct("HSE_VERSION_INFO").field("dwExtensionVersion", &self.dwExtensionVersion).field("lpszExtensionDesc", &self.lpszExtensionDesc).finish()
1242 }
1243 }
1244 #[cfg(feature = "Win32_Foundation")]
1245 impl ::std::cmp::PartialEq for HSE_VERSION_INFO {
eq(&self, other: &Self) -> bool1246 fn eq(&self, other: &Self) -> bool {
1247 self.dwExtensionVersion == other.dwExtensionVersion && self.lpszExtensionDesc == other.lpszExtensionDesc
1248 }
1249 }
1250 #[cfg(feature = "Win32_Foundation")]
1251 impl ::std::cmp::Eq for HSE_VERSION_INFO {}
1252 #[cfg(feature = "Win32_Foundation")]
1253 unsafe impl ::windows::runtime::Abi for HSE_VERSION_INFO {
1254 type Abi = Self;
1255 type DefaultType = Self;
1256 }
1257 pub const HSE_VERSION_MAJOR: u32 = 8u32;
1258 pub const HSE_VERSION_MINOR: u32 = 0u32;
1259 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1260 #[repr(C)]
1261 #[cfg(feature = "Win32_Foundation")]
1262 pub struct HTTP_FILTER_ACCESS_DENIED {
1263 pub pszURL: super::super::Foundation::PSTR,
1264 pub pszPhysicalPath: super::super::Foundation::PSTR,
1265 pub dwReason: u32,
1266 }
1267 #[cfg(feature = "Win32_Foundation")]
1268 impl HTTP_FILTER_ACCESS_DENIED {}
1269 #[cfg(feature = "Win32_Foundation")]
1270 impl ::std::default::Default for HTTP_FILTER_ACCESS_DENIED {
default() -> Self1271 fn default() -> Self {
1272 unsafe { ::std::mem::zeroed() }
1273 }
1274 }
1275 #[cfg(feature = "Win32_Foundation")]
1276 impl ::std::fmt::Debug for HTTP_FILTER_ACCESS_DENIED {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1277 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1278 fmt.debug_struct("HTTP_FILTER_ACCESS_DENIED").field("pszURL", &self.pszURL).field("pszPhysicalPath", &self.pszPhysicalPath).field("dwReason", &self.dwReason).finish()
1279 }
1280 }
1281 #[cfg(feature = "Win32_Foundation")]
1282 impl ::std::cmp::PartialEq for HTTP_FILTER_ACCESS_DENIED {
eq(&self, other: &Self) -> bool1283 fn eq(&self, other: &Self) -> bool {
1284 self.pszURL == other.pszURL && self.pszPhysicalPath == other.pszPhysicalPath && self.dwReason == other.dwReason
1285 }
1286 }
1287 #[cfg(feature = "Win32_Foundation")]
1288 impl ::std::cmp::Eq for HTTP_FILTER_ACCESS_DENIED {}
1289 #[cfg(feature = "Win32_Foundation")]
1290 unsafe impl ::windows::runtime::Abi for HTTP_FILTER_ACCESS_DENIED {
1291 type Abi = Self;
1292 type DefaultType = Self;
1293 }
1294 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1295 #[repr(C)]
1296 #[cfg(feature = "Win32_Foundation")]
1297 pub struct HTTP_FILTER_AUTHENT {
1298 pub pszUser: super::super::Foundation::PSTR,
1299 pub cbUserBuff: u32,
1300 pub pszPassword: super::super::Foundation::PSTR,
1301 pub cbPasswordBuff: u32,
1302 }
1303 #[cfg(feature = "Win32_Foundation")]
1304 impl HTTP_FILTER_AUTHENT {}
1305 #[cfg(feature = "Win32_Foundation")]
1306 impl ::std::default::Default for HTTP_FILTER_AUTHENT {
default() -> Self1307 fn default() -> Self {
1308 unsafe { ::std::mem::zeroed() }
1309 }
1310 }
1311 #[cfg(feature = "Win32_Foundation")]
1312 impl ::std::fmt::Debug for HTTP_FILTER_AUTHENT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1313 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1314 fmt.debug_struct("HTTP_FILTER_AUTHENT").field("pszUser", &self.pszUser).field("cbUserBuff", &self.cbUserBuff).field("pszPassword", &self.pszPassword).field("cbPasswordBuff", &self.cbPasswordBuff).finish()
1315 }
1316 }
1317 #[cfg(feature = "Win32_Foundation")]
1318 impl ::std::cmp::PartialEq for HTTP_FILTER_AUTHENT {
eq(&self, other: &Self) -> bool1319 fn eq(&self, other: &Self) -> bool {
1320 self.pszUser == other.pszUser && self.cbUserBuff == other.cbUserBuff && self.pszPassword == other.pszPassword && self.cbPasswordBuff == other.cbPasswordBuff
1321 }
1322 }
1323 #[cfg(feature = "Win32_Foundation")]
1324 impl ::std::cmp::Eq for HTTP_FILTER_AUTHENT {}
1325 #[cfg(feature = "Win32_Foundation")]
1326 unsafe impl ::windows::runtime::Abi for HTTP_FILTER_AUTHENT {
1327 type Abi = Self;
1328 type DefaultType = Self;
1329 }
1330 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1331 #[repr(C)]
1332 #[cfg(feature = "Win32_Foundation")]
1333 pub struct HTTP_FILTER_AUTH_COMPLETE_INFO {
1334 pub GetHeader: isize,
1335 pub SetHeader: isize,
1336 pub AddHeader: isize,
1337 pub GetUserToken: isize,
1338 pub HttpStatus: u32,
1339 pub fResetAuth: super::super::Foundation::BOOL,
1340 pub dwReserved: u32,
1341 }
1342 #[cfg(feature = "Win32_Foundation")]
1343 impl HTTP_FILTER_AUTH_COMPLETE_INFO {}
1344 #[cfg(feature = "Win32_Foundation")]
1345 impl ::std::default::Default for HTTP_FILTER_AUTH_COMPLETE_INFO {
default() -> Self1346 fn default() -> Self {
1347 unsafe { ::std::mem::zeroed() }
1348 }
1349 }
1350 #[cfg(feature = "Win32_Foundation")]
1351 impl ::std::fmt::Debug for HTTP_FILTER_AUTH_COMPLETE_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1352 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1353 fmt.debug_struct("HTTP_FILTER_AUTH_COMPLETE_INFO")
1354 .field("GetHeader", &self.GetHeader)
1355 .field("SetHeader", &self.SetHeader)
1356 .field("AddHeader", &self.AddHeader)
1357 .field("GetUserToken", &self.GetUserToken)
1358 .field("HttpStatus", &self.HttpStatus)
1359 .field("fResetAuth", &self.fResetAuth)
1360 .field("dwReserved", &self.dwReserved)
1361 .finish()
1362 }
1363 }
1364 #[cfg(feature = "Win32_Foundation")]
1365 impl ::std::cmp::PartialEq for HTTP_FILTER_AUTH_COMPLETE_INFO {
eq(&self, other: &Self) -> bool1366 fn eq(&self, other: &Self) -> bool {
1367 self.GetHeader == other.GetHeader && self.SetHeader == other.SetHeader && self.AddHeader == other.AddHeader && self.GetUserToken == other.GetUserToken && self.HttpStatus == other.HttpStatus && self.fResetAuth == other.fResetAuth && self.dwReserved == other.dwReserved
1368 }
1369 }
1370 #[cfg(feature = "Win32_Foundation")]
1371 impl ::std::cmp::Eq for HTTP_FILTER_AUTH_COMPLETE_INFO {}
1372 #[cfg(feature = "Win32_Foundation")]
1373 unsafe impl ::windows::runtime::Abi for HTTP_FILTER_AUTH_COMPLETE_INFO {
1374 type Abi = Self;
1375 type DefaultType = Self;
1376 }
1377 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1378 #[repr(C)]
1379 #[cfg(feature = "Win32_Foundation")]
1380 pub struct HTTP_FILTER_CONTEXT {
1381 pub cbSize: u32,
1382 pub Revision: u32,
1383 pub ServerContext: *mut ::std::ffi::c_void,
1384 pub ulReserved: u32,
1385 pub fIsSecurePort: super::super::Foundation::BOOL,
1386 pub pFilterContext: *mut ::std::ffi::c_void,
1387 pub GetServerVariable: isize,
1388 pub AddResponseHeaders: isize,
1389 pub WriteClient: isize,
1390 pub AllocMem: isize,
1391 pub ServerSupportFunction: isize,
1392 }
1393 #[cfg(feature = "Win32_Foundation")]
1394 impl HTTP_FILTER_CONTEXT {}
1395 #[cfg(feature = "Win32_Foundation")]
1396 impl ::std::default::Default for HTTP_FILTER_CONTEXT {
default() -> Self1397 fn default() -> Self {
1398 unsafe { ::std::mem::zeroed() }
1399 }
1400 }
1401 #[cfg(feature = "Win32_Foundation")]
1402 impl ::std::fmt::Debug for HTTP_FILTER_CONTEXT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1403 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1404 fmt.debug_struct("HTTP_FILTER_CONTEXT")
1405 .field("cbSize", &self.cbSize)
1406 .field("Revision", &self.Revision)
1407 .field("ServerContext", &self.ServerContext)
1408 .field("ulReserved", &self.ulReserved)
1409 .field("fIsSecurePort", &self.fIsSecurePort)
1410 .field("pFilterContext", &self.pFilterContext)
1411 .field("GetServerVariable", &self.GetServerVariable)
1412 .field("AddResponseHeaders", &self.AddResponseHeaders)
1413 .field("WriteClient", &self.WriteClient)
1414 .field("AllocMem", &self.AllocMem)
1415 .field("ServerSupportFunction", &self.ServerSupportFunction)
1416 .finish()
1417 }
1418 }
1419 #[cfg(feature = "Win32_Foundation")]
1420 impl ::std::cmp::PartialEq for HTTP_FILTER_CONTEXT {
eq(&self, other: &Self) -> bool1421 fn eq(&self, other: &Self) -> bool {
1422 self.cbSize == other.cbSize && self.Revision == other.Revision && self.ServerContext == other.ServerContext && self.ulReserved == other.ulReserved && self.fIsSecurePort == other.fIsSecurePort && self.pFilterContext == other.pFilterContext && self.GetServerVariable == other.GetServerVariable && self.AddResponseHeaders == other.AddResponseHeaders && self.WriteClient == other.WriteClient && self.AllocMem == other.AllocMem && self.ServerSupportFunction == other.ServerSupportFunction
1423 }
1424 }
1425 #[cfg(feature = "Win32_Foundation")]
1426 impl ::std::cmp::Eq for HTTP_FILTER_CONTEXT {}
1427 #[cfg(feature = "Win32_Foundation")]
1428 unsafe impl ::windows::runtime::Abi for HTTP_FILTER_CONTEXT {
1429 type Abi = Self;
1430 type DefaultType = Self;
1431 }
1432 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1433 #[repr(C)]
1434 #[cfg(feature = "Win32_Foundation")]
1435 pub struct HTTP_FILTER_LOG {
1436 pub pszClientHostName: super::super::Foundation::PSTR,
1437 pub pszClientUserName: super::super::Foundation::PSTR,
1438 pub pszServerName: super::super::Foundation::PSTR,
1439 pub pszOperation: super::super::Foundation::PSTR,
1440 pub pszTarget: super::super::Foundation::PSTR,
1441 pub pszParameters: super::super::Foundation::PSTR,
1442 pub dwHttpStatus: u32,
1443 pub dwWin32Status: u32,
1444 pub dwBytesSent: u32,
1445 pub dwBytesRecvd: u32,
1446 pub msTimeForProcessing: u32,
1447 }
1448 #[cfg(feature = "Win32_Foundation")]
1449 impl HTTP_FILTER_LOG {}
1450 #[cfg(feature = "Win32_Foundation")]
1451 impl ::std::default::Default for HTTP_FILTER_LOG {
default() -> Self1452 fn default() -> Self {
1453 unsafe { ::std::mem::zeroed() }
1454 }
1455 }
1456 #[cfg(feature = "Win32_Foundation")]
1457 impl ::std::fmt::Debug for HTTP_FILTER_LOG {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1458 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1459 fmt.debug_struct("HTTP_FILTER_LOG")
1460 .field("pszClientHostName", &self.pszClientHostName)
1461 .field("pszClientUserName", &self.pszClientUserName)
1462 .field("pszServerName", &self.pszServerName)
1463 .field("pszOperation", &self.pszOperation)
1464 .field("pszTarget", &self.pszTarget)
1465 .field("pszParameters", &self.pszParameters)
1466 .field("dwHttpStatus", &self.dwHttpStatus)
1467 .field("dwWin32Status", &self.dwWin32Status)
1468 .field("dwBytesSent", &self.dwBytesSent)
1469 .field("dwBytesRecvd", &self.dwBytesRecvd)
1470 .field("msTimeForProcessing", &self.msTimeForProcessing)
1471 .finish()
1472 }
1473 }
1474 #[cfg(feature = "Win32_Foundation")]
1475 impl ::std::cmp::PartialEq for HTTP_FILTER_LOG {
eq(&self, other: &Self) -> bool1476 fn eq(&self, other: &Self) -> bool {
1477 self.pszClientHostName == other.pszClientHostName
1478 && self.pszClientUserName == other.pszClientUserName
1479 && self.pszServerName == other.pszServerName
1480 && self.pszOperation == other.pszOperation
1481 && self.pszTarget == other.pszTarget
1482 && self.pszParameters == other.pszParameters
1483 && self.dwHttpStatus == other.dwHttpStatus
1484 && self.dwWin32Status == other.dwWin32Status
1485 && self.dwBytesSent == other.dwBytesSent
1486 && self.dwBytesRecvd == other.dwBytesRecvd
1487 && self.msTimeForProcessing == other.msTimeForProcessing
1488 }
1489 }
1490 #[cfg(feature = "Win32_Foundation")]
1491 impl ::std::cmp::Eq for HTTP_FILTER_LOG {}
1492 #[cfg(feature = "Win32_Foundation")]
1493 unsafe impl ::windows::runtime::Abi for HTTP_FILTER_LOG {
1494 type Abi = Self;
1495 type DefaultType = Self;
1496 }
1497 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1498 #[repr(C)]
1499 pub struct HTTP_FILTER_PREPROC_HEADERS {
1500 pub GetHeader: isize,
1501 pub SetHeader: isize,
1502 pub AddHeader: isize,
1503 pub HttpStatus: u32,
1504 pub dwReserved: u32,
1505 }
1506 impl HTTP_FILTER_PREPROC_HEADERS {}
1507 impl ::std::default::Default for HTTP_FILTER_PREPROC_HEADERS {
default() -> Self1508 fn default() -> Self {
1509 unsafe { ::std::mem::zeroed() }
1510 }
1511 }
1512 impl ::std::fmt::Debug for HTTP_FILTER_PREPROC_HEADERS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1513 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1514 fmt.debug_struct("HTTP_FILTER_PREPROC_HEADERS").field("GetHeader", &self.GetHeader).field("SetHeader", &self.SetHeader).field("AddHeader", &self.AddHeader).field("HttpStatus", &self.HttpStatus).field("dwReserved", &self.dwReserved).finish()
1515 }
1516 }
1517 impl ::std::cmp::PartialEq for HTTP_FILTER_PREPROC_HEADERS {
eq(&self, other: &Self) -> bool1518 fn eq(&self, other: &Self) -> bool {
1519 self.GetHeader == other.GetHeader && self.SetHeader == other.SetHeader && self.AddHeader == other.AddHeader && self.HttpStatus == other.HttpStatus && self.dwReserved == other.dwReserved
1520 }
1521 }
1522 impl ::std::cmp::Eq for HTTP_FILTER_PREPROC_HEADERS {}
1523 unsafe impl ::windows::runtime::Abi for HTTP_FILTER_PREPROC_HEADERS {
1524 type Abi = Self;
1525 type DefaultType = Self;
1526 }
1527 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1528 #[repr(C)]
1529 pub struct HTTP_FILTER_RAW_DATA {
1530 pub pvInData: *mut ::std::ffi::c_void,
1531 pub cbInData: u32,
1532 pub cbInBuffer: u32,
1533 pub dwReserved: u32,
1534 }
1535 impl HTTP_FILTER_RAW_DATA {}
1536 impl ::std::default::Default for HTTP_FILTER_RAW_DATA {
default() -> Self1537 fn default() -> Self {
1538 unsafe { ::std::mem::zeroed() }
1539 }
1540 }
1541 impl ::std::fmt::Debug for HTTP_FILTER_RAW_DATA {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1542 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1543 fmt.debug_struct("HTTP_FILTER_RAW_DATA").field("pvInData", &self.pvInData).field("cbInData", &self.cbInData).field("cbInBuffer", &self.cbInBuffer).field("dwReserved", &self.dwReserved).finish()
1544 }
1545 }
1546 impl ::std::cmp::PartialEq for HTTP_FILTER_RAW_DATA {
eq(&self, other: &Self) -> bool1547 fn eq(&self, other: &Self) -> bool {
1548 self.pvInData == other.pvInData && self.cbInData == other.cbInData && self.cbInBuffer == other.cbInBuffer && self.dwReserved == other.dwReserved
1549 }
1550 }
1551 impl ::std::cmp::Eq for HTTP_FILTER_RAW_DATA {}
1552 unsafe impl ::windows::runtime::Abi for HTTP_FILTER_RAW_DATA {
1553 type Abi = Self;
1554 type DefaultType = Self;
1555 }
1556 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1557 #[repr(C)]
1558 #[cfg(feature = "Win32_Foundation")]
1559 pub struct HTTP_FILTER_URL_MAP {
1560 pub pszURL: super::super::Foundation::PSTR,
1561 pub pszPhysicalPath: super::super::Foundation::PSTR,
1562 pub cbPathBuff: u32,
1563 }
1564 #[cfg(feature = "Win32_Foundation")]
1565 impl HTTP_FILTER_URL_MAP {}
1566 #[cfg(feature = "Win32_Foundation")]
1567 impl ::std::default::Default for HTTP_FILTER_URL_MAP {
default() -> Self1568 fn default() -> Self {
1569 unsafe { ::std::mem::zeroed() }
1570 }
1571 }
1572 #[cfg(feature = "Win32_Foundation")]
1573 impl ::std::fmt::Debug for HTTP_FILTER_URL_MAP {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1574 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1575 fmt.debug_struct("HTTP_FILTER_URL_MAP").field("pszURL", &self.pszURL).field("pszPhysicalPath", &self.pszPhysicalPath).field("cbPathBuff", &self.cbPathBuff).finish()
1576 }
1577 }
1578 #[cfg(feature = "Win32_Foundation")]
1579 impl ::std::cmp::PartialEq for HTTP_FILTER_URL_MAP {
eq(&self, other: &Self) -> bool1580 fn eq(&self, other: &Self) -> bool {
1581 self.pszURL == other.pszURL && self.pszPhysicalPath == other.pszPhysicalPath && self.cbPathBuff == other.cbPathBuff
1582 }
1583 }
1584 #[cfg(feature = "Win32_Foundation")]
1585 impl ::std::cmp::Eq for HTTP_FILTER_URL_MAP {}
1586 #[cfg(feature = "Win32_Foundation")]
1587 unsafe impl ::windows::runtime::Abi for HTTP_FILTER_URL_MAP {
1588 type Abi = Self;
1589 type DefaultType = Self;
1590 }
1591 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1592 #[repr(C)]
1593 #[cfg(feature = "Win32_Foundation")]
1594 pub struct HTTP_FILTER_URL_MAP_EX {
1595 pub pszURL: super::super::Foundation::PSTR,
1596 pub pszPhysicalPath: super::super::Foundation::PSTR,
1597 pub cbPathBuff: u32,
1598 pub dwFlags: u32,
1599 pub cchMatchingPath: u32,
1600 pub cchMatchingURL: u32,
1601 pub pszScriptMapEntry: super::super::Foundation::PSTR,
1602 }
1603 #[cfg(feature = "Win32_Foundation")]
1604 impl HTTP_FILTER_URL_MAP_EX {}
1605 #[cfg(feature = "Win32_Foundation")]
1606 impl ::std::default::Default for HTTP_FILTER_URL_MAP_EX {
default() -> Self1607 fn default() -> Self {
1608 unsafe { ::std::mem::zeroed() }
1609 }
1610 }
1611 #[cfg(feature = "Win32_Foundation")]
1612 impl ::std::fmt::Debug for HTTP_FILTER_URL_MAP_EX {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1613 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1614 fmt.debug_struct("HTTP_FILTER_URL_MAP_EX")
1615 .field("pszURL", &self.pszURL)
1616 .field("pszPhysicalPath", &self.pszPhysicalPath)
1617 .field("cbPathBuff", &self.cbPathBuff)
1618 .field("dwFlags", &self.dwFlags)
1619 .field("cchMatchingPath", &self.cchMatchingPath)
1620 .field("cchMatchingURL", &self.cchMatchingURL)
1621 .field("pszScriptMapEntry", &self.pszScriptMapEntry)
1622 .finish()
1623 }
1624 }
1625 #[cfg(feature = "Win32_Foundation")]
1626 impl ::std::cmp::PartialEq for HTTP_FILTER_URL_MAP_EX {
eq(&self, other: &Self) -> bool1627 fn eq(&self, other: &Self) -> bool {
1628 self.pszURL == other.pszURL && self.pszPhysicalPath == other.pszPhysicalPath && self.cbPathBuff == other.cbPathBuff && self.dwFlags == other.dwFlags && self.cchMatchingPath == other.cchMatchingPath && self.cchMatchingURL == other.cchMatchingURL && self.pszScriptMapEntry == other.pszScriptMapEntry
1629 }
1630 }
1631 #[cfg(feature = "Win32_Foundation")]
1632 impl ::std::cmp::Eq for HTTP_FILTER_URL_MAP_EX {}
1633 #[cfg(feature = "Win32_Foundation")]
1634 unsafe impl ::windows::runtime::Abi for HTTP_FILTER_URL_MAP_EX {
1635 type Abi = Self;
1636 type DefaultType = Self;
1637 }
1638 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1639 #[repr(C)]
1640 #[cfg(feature = "Win32_Foundation")]
1641 pub struct HTTP_FILTER_VERSION {
1642 pub dwServerFilterVersion: u32,
1643 pub dwFilterVersion: u32,
1644 pub lpszFilterDesc: [super::super::Foundation::CHAR; 257],
1645 pub dwFlags: u32,
1646 }
1647 #[cfg(feature = "Win32_Foundation")]
1648 impl HTTP_FILTER_VERSION {}
1649 #[cfg(feature = "Win32_Foundation")]
1650 impl ::std::default::Default for HTTP_FILTER_VERSION {
default() -> Self1651 fn default() -> Self {
1652 unsafe { ::std::mem::zeroed() }
1653 }
1654 }
1655 #[cfg(feature = "Win32_Foundation")]
1656 impl ::std::fmt::Debug for HTTP_FILTER_VERSION {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1657 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1658 fmt.debug_struct("HTTP_FILTER_VERSION").field("dwServerFilterVersion", &self.dwServerFilterVersion).field("dwFilterVersion", &self.dwFilterVersion).field("lpszFilterDesc", &self.lpszFilterDesc).field("dwFlags", &self.dwFlags).finish()
1659 }
1660 }
1661 #[cfg(feature = "Win32_Foundation")]
1662 impl ::std::cmp::PartialEq for HTTP_FILTER_VERSION {
eq(&self, other: &Self) -> bool1663 fn eq(&self, other: &Self) -> bool {
1664 self.dwServerFilterVersion == other.dwServerFilterVersion && self.dwFilterVersion == other.dwFilterVersion && self.lpszFilterDesc == other.lpszFilterDesc && self.dwFlags == other.dwFlags
1665 }
1666 }
1667 #[cfg(feature = "Win32_Foundation")]
1668 impl ::std::cmp::Eq for HTTP_FILTER_VERSION {}
1669 #[cfg(feature = "Win32_Foundation")]
1670 unsafe impl ::windows::runtime::Abi for HTTP_FILTER_VERSION {
1671 type Abi = Self;
1672 type DefaultType = Self;
1673 }
1674 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1675 #[repr(C)]
1676 #[cfg(feature = "Win32_Foundation")]
1677 pub struct HTTP_TRACE_CONFIGURATION {
1678 pub pProviderGuid: *mut ::windows::runtime::GUID,
1679 pub dwAreas: u32,
1680 pub dwVerbosity: u32,
1681 pub fProviderEnabled: super::super::Foundation::BOOL,
1682 }
1683 #[cfg(feature = "Win32_Foundation")]
1684 impl HTTP_TRACE_CONFIGURATION {}
1685 #[cfg(feature = "Win32_Foundation")]
1686 impl ::std::default::Default for HTTP_TRACE_CONFIGURATION {
default() -> Self1687 fn default() -> Self {
1688 unsafe { ::std::mem::zeroed() }
1689 }
1690 }
1691 #[cfg(feature = "Win32_Foundation")]
1692 impl ::std::fmt::Debug for HTTP_TRACE_CONFIGURATION {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1693 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1694 fmt.debug_struct("HTTP_TRACE_CONFIGURATION").field("pProviderGuid", &self.pProviderGuid).field("dwAreas", &self.dwAreas).field("dwVerbosity", &self.dwVerbosity).field("fProviderEnabled", &self.fProviderEnabled).finish()
1695 }
1696 }
1697 #[cfg(feature = "Win32_Foundation")]
1698 impl ::std::cmp::PartialEq for HTTP_TRACE_CONFIGURATION {
eq(&self, other: &Self) -> bool1699 fn eq(&self, other: &Self) -> bool {
1700 self.pProviderGuid == other.pProviderGuid && self.dwAreas == other.dwAreas && self.dwVerbosity == other.dwVerbosity && self.fProviderEnabled == other.fProviderEnabled
1701 }
1702 }
1703 #[cfg(feature = "Win32_Foundation")]
1704 impl ::std::cmp::Eq for HTTP_TRACE_CONFIGURATION {}
1705 #[cfg(feature = "Win32_Foundation")]
1706 unsafe impl ::windows::runtime::Abi for HTTP_TRACE_CONFIGURATION {
1707 type Abi = Self;
1708 type DefaultType = Self;
1709 }
1710 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1711 #[repr(C)]
1712 #[cfg(feature = "Win32_Foundation")]
1713 pub struct HTTP_TRACE_EVENT {
1714 pub pProviderGuid: *mut ::windows::runtime::GUID,
1715 pub dwArea: u32,
1716 pub pAreaGuid: *mut ::windows::runtime::GUID,
1717 pub dwEvent: u32,
1718 pub pszEventName: super::super::Foundation::PWSTR,
1719 pub dwEventVersion: u32,
1720 pub dwVerbosity: u32,
1721 pub pActivityGuid: *mut ::windows::runtime::GUID,
1722 pub pRelatedActivityGuid: *mut ::windows::runtime::GUID,
1723 pub dwTimeStamp: u32,
1724 pub dwFlags: u32,
1725 pub cEventItems: u32,
1726 pub pEventItems: *mut HTTP_TRACE_EVENT_ITEM,
1727 }
1728 #[cfg(feature = "Win32_Foundation")]
1729 impl HTTP_TRACE_EVENT {}
1730 #[cfg(feature = "Win32_Foundation")]
1731 impl ::std::default::Default for HTTP_TRACE_EVENT {
default() -> Self1732 fn default() -> Self {
1733 unsafe { ::std::mem::zeroed() }
1734 }
1735 }
1736 #[cfg(feature = "Win32_Foundation")]
1737 impl ::std::fmt::Debug for HTTP_TRACE_EVENT {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1738 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1739 fmt.debug_struct("HTTP_TRACE_EVENT")
1740 .field("pProviderGuid", &self.pProviderGuid)
1741 .field("dwArea", &self.dwArea)
1742 .field("pAreaGuid", &self.pAreaGuid)
1743 .field("dwEvent", &self.dwEvent)
1744 .field("pszEventName", &self.pszEventName)
1745 .field("dwEventVersion", &self.dwEventVersion)
1746 .field("dwVerbosity", &self.dwVerbosity)
1747 .field("pActivityGuid", &self.pActivityGuid)
1748 .field("pRelatedActivityGuid", &self.pRelatedActivityGuid)
1749 .field("dwTimeStamp", &self.dwTimeStamp)
1750 .field("dwFlags", &self.dwFlags)
1751 .field("cEventItems", &self.cEventItems)
1752 .field("pEventItems", &self.pEventItems)
1753 .finish()
1754 }
1755 }
1756 #[cfg(feature = "Win32_Foundation")]
1757 impl ::std::cmp::PartialEq for HTTP_TRACE_EVENT {
eq(&self, other: &Self) -> bool1758 fn eq(&self, other: &Self) -> bool {
1759 self.pProviderGuid == other.pProviderGuid
1760 && self.dwArea == other.dwArea
1761 && self.pAreaGuid == other.pAreaGuid
1762 && self.dwEvent == other.dwEvent
1763 && self.pszEventName == other.pszEventName
1764 && self.dwEventVersion == other.dwEventVersion
1765 && self.dwVerbosity == other.dwVerbosity
1766 && self.pActivityGuid == other.pActivityGuid
1767 && self.pRelatedActivityGuid == other.pRelatedActivityGuid
1768 && self.dwTimeStamp == other.dwTimeStamp
1769 && self.dwFlags == other.dwFlags
1770 && self.cEventItems == other.cEventItems
1771 && self.pEventItems == other.pEventItems
1772 }
1773 }
1774 #[cfg(feature = "Win32_Foundation")]
1775 impl ::std::cmp::Eq for HTTP_TRACE_EVENT {}
1776 #[cfg(feature = "Win32_Foundation")]
1777 unsafe impl ::windows::runtime::Abi for HTTP_TRACE_EVENT {
1778 type Abi = Self;
1779 type DefaultType = Self;
1780 }
1781 pub const HTTP_TRACE_EVENT_FLAG_STATIC_DESCRIPTIVE_FIELDS: u32 = 1u32;
1782 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
1783 #[repr(C)]
1784 #[cfg(feature = "Win32_Foundation")]
1785 pub struct HTTP_TRACE_EVENT_ITEM {
1786 pub pszName: super::super::Foundation::PWSTR,
1787 pub dwDataType: HTTP_TRACE_TYPE,
1788 pub pbData: *mut u8,
1789 pub cbData: u32,
1790 pub pszDataDescription: super::super::Foundation::PWSTR,
1791 }
1792 #[cfg(feature = "Win32_Foundation")]
1793 impl HTTP_TRACE_EVENT_ITEM {}
1794 #[cfg(feature = "Win32_Foundation")]
1795 impl ::std::default::Default for HTTP_TRACE_EVENT_ITEM {
default() -> Self1796 fn default() -> Self {
1797 unsafe { ::std::mem::zeroed() }
1798 }
1799 }
1800 #[cfg(feature = "Win32_Foundation")]
1801 impl ::std::fmt::Debug for HTTP_TRACE_EVENT_ITEM {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result1802 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
1803 fmt.debug_struct("HTTP_TRACE_EVENT_ITEM").field("pszName", &self.pszName).field("dwDataType", &self.dwDataType).field("pbData", &self.pbData).field("cbData", &self.cbData).field("pszDataDescription", &self.pszDataDescription).finish()
1804 }
1805 }
1806 #[cfg(feature = "Win32_Foundation")]
1807 impl ::std::cmp::PartialEq for HTTP_TRACE_EVENT_ITEM {
eq(&self, other: &Self) -> bool1808 fn eq(&self, other: &Self) -> bool {
1809 self.pszName == other.pszName && self.dwDataType == other.dwDataType && self.pbData == other.pbData && self.cbData == other.cbData && self.pszDataDescription == other.pszDataDescription
1810 }
1811 }
1812 #[cfg(feature = "Win32_Foundation")]
1813 impl ::std::cmp::Eq for HTTP_TRACE_EVENT_ITEM {}
1814 #[cfg(feature = "Win32_Foundation")]
1815 unsafe impl ::windows::runtime::Abi for HTTP_TRACE_EVENT_ITEM {
1816 type Abi = Self;
1817 type DefaultType = Self;
1818 }
1819 pub const HTTP_TRACE_LEVEL_END: u32 = 7u32;
1820 pub const HTTP_TRACE_LEVEL_START: u32 = 6u32;
1821 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
1822 #[repr(transparent)]
1823 pub struct HTTP_TRACE_TYPE(pub i32);
1824 pub const HTTP_TRACE_TYPE_BYTE: HTTP_TRACE_TYPE = HTTP_TRACE_TYPE(17i32);
1825 pub const HTTP_TRACE_TYPE_USHORT: HTTP_TRACE_TYPE = HTTP_TRACE_TYPE(18i32);
1826 pub const HTTP_TRACE_TYPE_ULONG: HTTP_TRACE_TYPE = HTTP_TRACE_TYPE(19i32);
1827 pub const HTTP_TRACE_TYPE_ULONGLONG: HTTP_TRACE_TYPE = HTTP_TRACE_TYPE(21i32);
1828 pub const HTTP_TRACE_TYPE_CHAR: HTTP_TRACE_TYPE = HTTP_TRACE_TYPE(16i32);
1829 pub const HTTP_TRACE_TYPE_SHORT: HTTP_TRACE_TYPE = HTTP_TRACE_TYPE(2i32);
1830 pub const HTTP_TRACE_TYPE_LONG: HTTP_TRACE_TYPE = HTTP_TRACE_TYPE(3i32);
1831 pub const HTTP_TRACE_TYPE_LONGLONG: HTTP_TRACE_TYPE = HTTP_TRACE_TYPE(20i32);
1832 pub const HTTP_TRACE_TYPE_LPCWSTR: HTTP_TRACE_TYPE = HTTP_TRACE_TYPE(31i32);
1833 pub const HTTP_TRACE_TYPE_LPCSTR: HTTP_TRACE_TYPE = HTTP_TRACE_TYPE(30i32);
1834 pub const HTTP_TRACE_TYPE_LPCGUID: HTTP_TRACE_TYPE = HTTP_TRACE_TYPE(72i32);
1835 pub const HTTP_TRACE_TYPE_BOOL: HTTP_TRACE_TYPE = HTTP_TRACE_TYPE(11i32);
1836 impl ::std::convert::From<i32> for HTTP_TRACE_TYPE {
from(value: i32) -> Self1837 fn from(value: i32) -> Self {
1838 Self(value)
1839 }
1840 }
1841 unsafe impl ::windows::runtime::Abi for HTTP_TRACE_TYPE {
1842 type Abi = Self;
1843 type DefaultType = Self;
1844 }
1845 #[cfg(feature = "Win32_Foundation")]
1846 #[inline]
HttpExtensionProc(pecb: *const EXTENSION_CONTROL_BLOCK) -> u321847 pub unsafe fn HttpExtensionProc(pecb: *const EXTENSION_CONTROL_BLOCK) -> u32 {
1848 #[cfg(windows)]
1849 {
1850 #[link(name = "windows")]
1851 extern "system" {
1852 fn HttpExtensionProc(pecb: *const EXTENSION_CONTROL_BLOCK) -> u32;
1853 }
1854 ::std::mem::transmute(HttpExtensionProc(::std::mem::transmute(pecb)))
1855 }
1856 #[cfg(not(windows))]
1857 unimplemented!("Unsupported target OS");
1858 }
1859 #[cfg(feature = "Win32_Foundation")]
1860 #[inline]
HttpFilterProc(pfc: *mut HTTP_FILTER_CONTEXT, notificationtype: u32, pvnotification: *mut ::std::ffi::c_void) -> u321861 pub unsafe fn HttpFilterProc(pfc: *mut HTTP_FILTER_CONTEXT, notificationtype: u32, pvnotification: *mut ::std::ffi::c_void) -> u32 {
1862 #[cfg(windows)]
1863 {
1864 #[link(name = "windows")]
1865 extern "system" {
1866 fn HttpFilterProc(pfc: *mut HTTP_FILTER_CONTEXT, notificationtype: u32, pvnotification: *mut ::std::ffi::c_void) -> u32;
1867 }
1868 ::std::mem::transmute(HttpFilterProc(::std::mem::transmute(pfc), ::std::mem::transmute(notificationtype), ::std::mem::transmute(pvnotification)))
1869 }
1870 #[cfg(not(windows))]
1871 unimplemented!("Unsupported target OS");
1872 }
1873 #[repr(transparent)]
1874 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1875 pub struct IADMEXT(::windows::runtime::IUnknown);
1876 impl IADMEXT {
Initialize(&self) -> ::windows::runtime::Result<()>1877 pub unsafe fn Initialize(&self) -> ::windows::runtime::Result<()> {
1878 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self)).ok()
1879 }
EnumDcomCLSIDs(&self, pclsiddcom: *mut ::windows::runtime::GUID, dwenumindex: u32) -> ::windows::runtime::Result<()>1880 pub unsafe fn EnumDcomCLSIDs(&self, pclsiddcom: *mut ::windows::runtime::GUID, dwenumindex: u32) -> ::windows::runtime::Result<()> {
1881 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(pclsiddcom), ::std::mem::transmute(dwenumindex)).ok()
1882 }
Terminate(&self) -> ::windows::runtime::Result<()>1883 pub unsafe fn Terminate(&self) -> ::windows::runtime::Result<()> {
1884 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self)).ok()
1885 }
1886 }
1887 unsafe impl ::windows::runtime::Interface for IADMEXT {
1888 type Vtable = IADMEXT_abi;
1889 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1373628784, 63218, 4560, [185, 189, 0, 160, 201, 34, 231, 80]);
1890 }
1891 impl ::std::convert::From<IADMEXT> for ::windows::runtime::IUnknown {
from(value: IADMEXT) -> Self1892 fn from(value: IADMEXT) -> Self {
1893 unsafe { ::std::mem::transmute(value) }
1894 }
1895 }
1896 impl ::std::convert::From<&IADMEXT> for ::windows::runtime::IUnknown {
from(value: &IADMEXT) -> Self1897 fn from(value: &IADMEXT) -> Self {
1898 ::std::convert::From::from(::std::clone::Clone::clone(value))
1899 }
1900 }
1901 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IADMEXT {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1902 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1903 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1904 }
1905 }
1906 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IADMEXT {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1907 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1908 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1909 }
1910 }
1911 #[repr(C)]
1912 #[doc(hidden)]
1913 pub struct IADMEXT_abi(
1914 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1915 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1916 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1917 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1918 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pclsiddcom: *mut ::windows::runtime::GUID, dwenumindex: u32) -> ::windows::runtime::HRESULT,
1919 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1920 );
1921 #[repr(transparent)]
1922 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1923 pub struct IFtpAuthenticationProvider(::windows::runtime::IUnknown);
1924 impl IFtpAuthenticationProvider {
1925 #[cfg(feature = "Win32_Foundation")]
AuthenticateUser<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>( &self, pszsessionid: Param0, pszsitename: Param1, pszusername: Param2, pszpassword: Param3, ppszcanonicalusername: *mut super::super::Foundation::PWSTR, pfauthenticated: *mut super::super::Foundation::BOOL, ) -> ::windows::runtime::Result<()>1926 pub unsafe fn AuthenticateUser<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(
1927 &self,
1928 pszsessionid: Param0,
1929 pszsitename: Param1,
1930 pszusername: Param2,
1931 pszpassword: Param3,
1932 ppszcanonicalusername: *mut super::super::Foundation::PWSTR,
1933 pfauthenticated: *mut super::super::Foundation::BOOL,
1934 ) -> ::windows::runtime::Result<()> {
1935 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pszsessionid.into_param().abi(), pszsitename.into_param().abi(), pszusername.into_param().abi(), pszpassword.into_param().abi(), ::std::mem::transmute(ppszcanonicalusername), ::std::mem::transmute(pfauthenticated)).ok()
1936 }
1937 }
1938 unsafe impl ::windows::runtime::Interface for IFtpAuthenticationProvider {
1939 type Vtable = IFtpAuthenticationProvider_abi;
1940 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1180301660, 54696, 18183, [178, 252, 111, 213, 121, 66, 70, 207]);
1941 }
1942 impl ::std::convert::From<IFtpAuthenticationProvider> for ::windows::runtime::IUnknown {
from(value: IFtpAuthenticationProvider) -> Self1943 fn from(value: IFtpAuthenticationProvider) -> Self {
1944 unsafe { ::std::mem::transmute(value) }
1945 }
1946 }
1947 impl ::std::convert::From<&IFtpAuthenticationProvider> for ::windows::runtime::IUnknown {
from(value: &IFtpAuthenticationProvider) -> Self1948 fn from(value: &IFtpAuthenticationProvider) -> Self {
1949 ::std::convert::From::from(::std::clone::Clone::clone(value))
1950 }
1951 }
1952 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFtpAuthenticationProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1953 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1954 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1955 }
1956 }
1957 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFtpAuthenticationProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1958 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1959 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
1960 }
1961 }
1962 #[repr(C)]
1963 #[doc(hidden)]
1964 pub struct IFtpAuthenticationProvider_abi(
1965 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
1966 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1967 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
1968 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszsessionid: super::super::Foundation::PWSTR, pszsitename: super::super::Foundation::PWSTR, pszusername: super::super::Foundation::PWSTR, pszpassword: super::super::Foundation::PWSTR, ppszcanonicalusername: *mut super::super::Foundation::PWSTR, pfauthenticated: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
1969 #[cfg(not(feature = "Win32_Foundation"))] usize,
1970 );
1971 #[repr(transparent)]
1972 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
1973 pub struct IFtpAuthorizationProvider(::windows::runtime::IUnknown);
1974 impl IFtpAuthorizationProvider {
1975 #[cfg(feature = "Win32_Foundation")]
GetUserAccessPermission<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszsessionid: Param0, pszsitename: Param1, pszvirtualpath: Param2, pszusername: Param3) -> ::windows::runtime::Result<FTP_ACCESS>1976 pub unsafe fn GetUserAccessPermission<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszsessionid: Param0, pszsitename: Param1, pszvirtualpath: Param2, pszusername: Param3) -> ::windows::runtime::Result<FTP_ACCESS> {
1977 let mut result__: <FTP_ACCESS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
1978 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pszsessionid.into_param().abi(), pszsitename.into_param().abi(), pszvirtualpath.into_param().abi(), pszusername.into_param().abi(), &mut result__).from_abi::<FTP_ACCESS>(result__)
1979 }
1980 }
1981 unsafe impl ::windows::runtime::Interface for IFtpAuthorizationProvider {
1982 type Vtable = IFtpAuthorizationProvider_abi;
1983 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2768955297, 41818, 17076, [164, 243, 244, 247, 5, 122, 5, 209]);
1984 }
1985 impl ::std::convert::From<IFtpAuthorizationProvider> for ::windows::runtime::IUnknown {
from(value: IFtpAuthorizationProvider) -> Self1986 fn from(value: IFtpAuthorizationProvider) -> Self {
1987 unsafe { ::std::mem::transmute(value) }
1988 }
1989 }
1990 impl ::std::convert::From<&IFtpAuthorizationProvider> for ::windows::runtime::IUnknown {
from(value: &IFtpAuthorizationProvider) -> Self1991 fn from(value: &IFtpAuthorizationProvider) -> Self {
1992 ::std::convert::From::from(::std::clone::Clone::clone(value))
1993 }
1994 }
1995 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFtpAuthorizationProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>1996 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
1997 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
1998 }
1999 }
2000 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFtpAuthorizationProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2001 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2002 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2003 }
2004 }
2005 #[repr(C)]
2006 #[doc(hidden)]
2007 pub struct IFtpAuthorizationProvider_abi(
2008 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2009 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2010 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2011 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszsessionid: super::super::Foundation::PWSTR, pszsitename: super::super::Foundation::PWSTR, pszvirtualpath: super::super::Foundation::PWSTR, pszusername: super::super::Foundation::PWSTR, pftpaccess: *mut FTP_ACCESS) -> ::windows::runtime::HRESULT,
2012 #[cfg(not(feature = "Win32_Foundation"))] usize,
2013 );
2014 #[repr(transparent)]
2015 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2016 pub struct IFtpHomeDirectoryProvider(::windows::runtime::IUnknown);
2017 impl IFtpHomeDirectoryProvider {
2018 #[cfg(feature = "Win32_Foundation")]
GetUserHomeDirectoryData<'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>>(&self, pszsessionid: Param0, pszsitename: Param1, pszusername: Param2) -> ::windows::runtime::Result<super::super::Foundation::PWSTR>2019 pub unsafe fn GetUserHomeDirectoryData<'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>>(&self, pszsessionid: Param0, pszsitename: Param1, pszusername: Param2) -> ::windows::runtime::Result<super::super::Foundation::PWSTR> {
2020 let mut result__: <super::super::Foundation::PWSTR as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2021 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pszsessionid.into_param().abi(), pszsitename.into_param().abi(), pszusername.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::PWSTR>(result__)
2022 }
2023 }
2024 unsafe impl ::windows::runtime::Interface for IFtpHomeDirectoryProvider {
2025 type Vtable = IFtpHomeDirectoryProvider_abi;
2026 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(154383250, 6365, 16535, [139, 156, 131, 50, 92, 53, 217, 166]);
2027 }
2028 impl ::std::convert::From<IFtpHomeDirectoryProvider> for ::windows::runtime::IUnknown {
from(value: IFtpHomeDirectoryProvider) -> Self2029 fn from(value: IFtpHomeDirectoryProvider) -> Self {
2030 unsafe { ::std::mem::transmute(value) }
2031 }
2032 }
2033 impl ::std::convert::From<&IFtpHomeDirectoryProvider> for ::windows::runtime::IUnknown {
from(value: &IFtpHomeDirectoryProvider) -> Self2034 fn from(value: &IFtpHomeDirectoryProvider) -> Self {
2035 ::std::convert::From::from(::std::clone::Clone::clone(value))
2036 }
2037 }
2038 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFtpHomeDirectoryProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2039 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2040 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2041 }
2042 }
2043 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFtpHomeDirectoryProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2044 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2045 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2046 }
2047 }
2048 #[repr(C)]
2049 #[doc(hidden)]
2050 pub struct IFtpHomeDirectoryProvider_abi(
2051 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2052 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2053 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2054 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszsessionid: super::super::Foundation::PWSTR, pszsitename: super::super::Foundation::PWSTR, pszusername: super::super::Foundation::PWSTR, ppszhomedirectorydata: *mut super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2055 #[cfg(not(feature = "Win32_Foundation"))] usize,
2056 );
2057 #[repr(transparent)]
2058 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2059 pub struct IFtpLogProvider(::windows::runtime::IUnknown);
2060 impl IFtpLogProvider {
2061 #[cfg(feature = "Win32_Foundation")]
Log(&self, ploggingparameters: *const LOGGING_PARAMETERS) -> ::windows::runtime::Result<()>2062 pub unsafe fn Log(&self, ploggingparameters: *const LOGGING_PARAMETERS) -> ::windows::runtime::Result<()> {
2063 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ploggingparameters)).ok()
2064 }
2065 }
2066 unsafe impl ::windows::runtime::Interface for IFtpLogProvider {
2067 type Vtable = IFtpLogProvider_abi;
2068 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2710213836, 33433, 17416, [129, 108, 124, 59, 172, 161, 164, 14]);
2069 }
2070 impl ::std::convert::From<IFtpLogProvider> for ::windows::runtime::IUnknown {
from(value: IFtpLogProvider) -> Self2071 fn from(value: IFtpLogProvider) -> Self {
2072 unsafe { ::std::mem::transmute(value) }
2073 }
2074 }
2075 impl ::std::convert::From<&IFtpLogProvider> for ::windows::runtime::IUnknown {
from(value: &IFtpLogProvider) -> Self2076 fn from(value: &IFtpLogProvider) -> Self {
2077 ::std::convert::From::from(::std::clone::Clone::clone(value))
2078 }
2079 }
2080 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFtpLogProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2081 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2082 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2083 }
2084 }
2085 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFtpLogProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2086 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2087 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2088 }
2089 }
2090 #[repr(C)]
2091 #[doc(hidden)]
2092 pub struct IFtpLogProvider_abi(
2093 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2094 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2095 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2096 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ploggingparameters: *const LOGGING_PARAMETERS) -> ::windows::runtime::HRESULT,
2097 #[cfg(not(feature = "Win32_Foundation"))] usize,
2098 );
2099 #[repr(transparent)]
2100 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2101 pub struct IFtpPostprocessProvider(::windows::runtime::IUnknown);
2102 impl IFtpPostprocessProvider {
2103 #[cfg(feature = "Win32_Foundation")]
HandlePostprocess(&self, ppostprocessparameters: *const POST_PROCESS_PARAMETERS) -> ::windows::runtime::Result<FTP_PROCESS_STATUS>2104 pub unsafe fn HandlePostprocess(&self, ppostprocessparameters: *const POST_PROCESS_PARAMETERS) -> ::windows::runtime::Result<FTP_PROCESS_STATUS> {
2105 let mut result__: <FTP_PROCESS_STATUS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2106 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppostprocessparameters), &mut result__).from_abi::<FTP_PROCESS_STATUS>(result__)
2107 }
2108 }
2109 unsafe impl ::windows::runtime::Interface for IFtpPostprocessProvider {
2110 type Vtable = IFtpPostprocessProvider_abi;
2111 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1159908294, 5837, 18861, [134, 83, 154, 44, 87, 158, 66, 128]);
2112 }
2113 impl ::std::convert::From<IFtpPostprocessProvider> for ::windows::runtime::IUnknown {
from(value: IFtpPostprocessProvider) -> Self2114 fn from(value: IFtpPostprocessProvider) -> Self {
2115 unsafe { ::std::mem::transmute(value) }
2116 }
2117 }
2118 impl ::std::convert::From<&IFtpPostprocessProvider> for ::windows::runtime::IUnknown {
from(value: &IFtpPostprocessProvider) -> Self2119 fn from(value: &IFtpPostprocessProvider) -> Self {
2120 ::std::convert::From::from(::std::clone::Clone::clone(value))
2121 }
2122 }
2123 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFtpPostprocessProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2124 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2125 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2126 }
2127 }
2128 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFtpPostprocessProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2129 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2130 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2131 }
2132 }
2133 #[repr(C)]
2134 #[doc(hidden)]
2135 pub struct IFtpPostprocessProvider_abi(
2136 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2137 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2138 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2139 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppostprocessparameters: *const POST_PROCESS_PARAMETERS, pftpprocessstatus: *mut FTP_PROCESS_STATUS) -> ::windows::runtime::HRESULT,
2140 #[cfg(not(feature = "Win32_Foundation"))] usize,
2141 );
2142 #[repr(transparent)]
2143 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2144 pub struct IFtpPreprocessProvider(::windows::runtime::IUnknown);
2145 impl IFtpPreprocessProvider {
2146 #[cfg(feature = "Win32_Foundation")]
HandlePreprocess(&self, ppreprocessparameters: *const PRE_PROCESS_PARAMETERS) -> ::windows::runtime::Result<FTP_PROCESS_STATUS>2147 pub unsafe fn HandlePreprocess(&self, ppreprocessparameters: *const PRE_PROCESS_PARAMETERS) -> ::windows::runtime::Result<FTP_PROCESS_STATUS> {
2148 let mut result__: <FTP_PROCESS_STATUS as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2149 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(ppreprocessparameters), &mut result__).from_abi::<FTP_PROCESS_STATUS>(result__)
2150 }
2151 }
2152 unsafe impl ::windows::runtime::Interface for IFtpPreprocessProvider {
2153 type Vtable = IFtpPreprocessProvider_abi;
2154 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2747374432, 23080, 18202, [143, 147, 171, 48, 65, 28, 238, 130]);
2155 }
2156 impl ::std::convert::From<IFtpPreprocessProvider> for ::windows::runtime::IUnknown {
from(value: IFtpPreprocessProvider) -> Self2157 fn from(value: IFtpPreprocessProvider) -> Self {
2158 unsafe { ::std::mem::transmute(value) }
2159 }
2160 }
2161 impl ::std::convert::From<&IFtpPreprocessProvider> for ::windows::runtime::IUnknown {
from(value: &IFtpPreprocessProvider) -> Self2162 fn from(value: &IFtpPreprocessProvider) -> Self {
2163 ::std::convert::From::from(::std::clone::Clone::clone(value))
2164 }
2165 }
2166 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFtpPreprocessProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2167 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2168 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2169 }
2170 }
2171 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFtpPreprocessProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2172 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2173 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2174 }
2175 }
2176 #[repr(C)]
2177 #[doc(hidden)]
2178 pub struct IFtpPreprocessProvider_abi(
2179 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2180 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2181 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2182 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, ppreprocessparameters: *const PRE_PROCESS_PARAMETERS, pftpprocessstatus: *mut FTP_PROCESS_STATUS) -> ::windows::runtime::HRESULT,
2183 #[cfg(not(feature = "Win32_Foundation"))] usize,
2184 );
2185 #[repr(transparent)]
2186 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2187 pub struct IFtpProviderConstruct(::windows::runtime::IUnknown);
2188 impl IFtpProviderConstruct {
2189 #[cfg(feature = "Win32_System_Com")]
Construct(&self, configurationentries: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()>2190 pub unsafe fn Construct(&self, configurationentries: *const super::Com::SAFEARRAY) -> ::windows::runtime::Result<()> {
2191 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(configurationentries)).ok()
2192 }
2193 }
2194 unsafe impl ::windows::runtime::Interface for IFtpProviderConstruct {
2195 type Vtable = IFtpProviderConstruct_abi;
2196 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1293565819, 16685, 17532, [177, 153, 100, 249, 103, 233, 162, 218]);
2197 }
2198 impl ::std::convert::From<IFtpProviderConstruct> for ::windows::runtime::IUnknown {
from(value: IFtpProviderConstruct) -> Self2199 fn from(value: IFtpProviderConstruct) -> Self {
2200 unsafe { ::std::mem::transmute(value) }
2201 }
2202 }
2203 impl ::std::convert::From<&IFtpProviderConstruct> for ::windows::runtime::IUnknown {
from(value: &IFtpProviderConstruct) -> Self2204 fn from(value: &IFtpProviderConstruct) -> Self {
2205 ::std::convert::From::from(::std::clone::Clone::clone(value))
2206 }
2207 }
2208 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFtpProviderConstruct {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2209 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2210 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2211 }
2212 }
2213 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFtpProviderConstruct {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2214 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2215 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2216 }
2217 }
2218 #[repr(C)]
2219 #[doc(hidden)]
2220 pub struct IFtpProviderConstruct_abi(
2221 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2222 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2223 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2224 #[cfg(feature = "Win32_System_Com")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, configurationentries: *const super::Com::SAFEARRAY) -> ::windows::runtime::HRESULT,
2225 #[cfg(not(feature = "Win32_System_Com"))] usize,
2226 );
2227 #[repr(transparent)]
2228 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2229 pub struct IFtpRoleProvider(::windows::runtime::IUnknown);
2230 impl IFtpRoleProvider {
2231 #[cfg(feature = "Win32_Foundation")]
IsUserInRole<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszsessionid: Param0, pszsitename: Param1, pszusername: Param2, pszrole: Param3) -> ::windows::runtime::Result<super::super::Foundation::BOOL>2232 pub unsafe fn IsUserInRole<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszsessionid: Param0, pszsitename: Param1, pszusername: Param2, pszrole: Param3) -> ::windows::runtime::Result<super::super::Foundation::BOOL> {
2233 let mut result__: <super::super::Foundation::BOOL as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2234 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pszsessionid.into_param().abi(), pszsitename.into_param().abi(), pszusername.into_param().abi(), pszrole.into_param().abi(), &mut result__).from_abi::<super::super::Foundation::BOOL>(result__)
2235 }
2236 }
2237 unsafe impl ::windows::runtime::Interface for IFtpRoleProvider {
2238 type Vtable = IFtpRoleProvider_abi;
2239 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2426176781, 36000, 18036, [150, 184, 204, 41, 65, 83, 87, 37]);
2240 }
2241 impl ::std::convert::From<IFtpRoleProvider> for ::windows::runtime::IUnknown {
from(value: IFtpRoleProvider) -> Self2242 fn from(value: IFtpRoleProvider) -> Self {
2243 unsafe { ::std::mem::transmute(value) }
2244 }
2245 }
2246 impl ::std::convert::From<&IFtpRoleProvider> for ::windows::runtime::IUnknown {
from(value: &IFtpRoleProvider) -> Self2247 fn from(value: &IFtpRoleProvider) -> Self {
2248 ::std::convert::From::from(::std::clone::Clone::clone(value))
2249 }
2250 }
2251 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IFtpRoleProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2252 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2253 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2254 }
2255 }
2256 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IFtpRoleProvider {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2257 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2258 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2259 }
2260 }
2261 #[repr(C)]
2262 #[doc(hidden)]
2263 pub struct IFtpRoleProvider_abi(
2264 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2265 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2266 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2267 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszsessionid: super::super::Foundation::PWSTR, pszsitename: super::super::Foundation::PWSTR, pszusername: super::super::Foundation::PWSTR, pszrole: super::super::Foundation::PWSTR, pfisinrole: *mut super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2268 #[cfg(not(feature = "Win32_Foundation"))] usize,
2269 );
2270 pub const IIS_MD_ADSI_METAID_BEGIN: u32 = 130000u32;
2271 pub const IIS_MD_APPPOOL_BASE: u32 = 9000u32;
2272 pub const IIS_MD_APP_BASE: u32 = 9100u32;
2273 pub const IIS_MD_FILE_PROP_BASE: u32 = 6000u32;
2274 pub const IIS_MD_FTP_BASE: u32 = 5000u32;
2275 pub const IIS_MD_GLOBAL_BASE: u32 = 9200u32;
2276 pub const IIS_MD_HTTP_BASE: u32 = 2000u32;
2277 pub const IIS_MD_ID_BEGIN_RESERVED: u32 = 1u32;
2278 pub const IIS_MD_ID_END_RESERVED: u32 = 32767u32;
2279 pub const IIS_MD_LOGCUSTOM_BASE: u32 = 4500u32;
2280 pub const IIS_MD_LOGCUSTOM_LAST: u32 = 4508u32;
2281 pub const IIS_MD_LOG_BASE: u32 = 4000u32;
2282 pub const IIS_MD_LOG_LAST: u32 = 4015u32;
2283 pub const IIS_MD_SERVER_BASE: u32 = 1000u32;
2284 pub const IIS_MD_SSL_BASE: u32 = 5500u32;
2285 pub const IIS_MD_UT_END_RESERVED: u32 = 2000u32;
2286 pub const IIS_MD_UT_FILE: u32 = 2u32;
2287 pub const IIS_MD_UT_SERVER: u32 = 1u32;
2288 pub const IIS_MD_UT_WAM: u32 = 100u32;
2289 pub const IIS_MD_VR_BASE: u32 = 3000u32;
2290 pub const IMAP_MD_ID_BEGIN_RESERVED: u32 = 49152u32;
2291 pub const IMAP_MD_ID_END_RESERVED: u32 = 53247u32;
2292 pub const IMGANIM_ANIMATED: u32 = 268435456u32;
2293 pub const IMGANIM_MASK: u32 = 268435456u32;
2294 pub const IMGBITS_MASK: u32 = 234881024u32;
2295 pub const IMGBITS_NONE: u32 = 33554432u32;
2296 pub const IMGBITS_PARTIAL: u32 = 67108864u32;
2297 pub const IMGBITS_TOTAL: u32 = 134217728u32;
2298 pub const IMGCHG_ANIMATE: u32 = 8u32;
2299 pub const IMGCHG_COMPLETE: u32 = 4u32;
2300 pub const IMGCHG_MASK: u32 = 15u32;
2301 pub const IMGCHG_SIZE: u32 = 1u32;
2302 pub const IMGCHG_VIEW: u32 = 2u32;
2303 pub const IMGLOAD_COMPLETE: u32 = 16777216u32;
2304 pub const IMGLOAD_ERROR: u32 = 8388608u32;
2305 pub const IMGLOAD_LOADING: u32 = 2097152u32;
2306 pub const IMGLOAD_MASK: u32 = 32505856u32;
2307 pub const IMGLOAD_NOTLOADED: u32 = 1048576u32;
2308 pub const IMGLOAD_STOPPED: u32 = 4194304u32;
2309 pub const IMGTRANS_MASK: u32 = 536870912u32;
2310 pub const IMGTRANS_OPAQUE: u32 = 536870912u32;
2311 #[repr(transparent)]
2312 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2313 pub struct IMSAdminBase2W(::windows::runtime::IUnknown);
2314 impl IMSAdminBase2W {
2315 #[cfg(feature = "Win32_Foundation")]
AddKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()>2316 pub unsafe fn AddKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()> {
2317 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi()).ok()
2318 }
2319 #[cfg(feature = "Win32_Foundation")]
DeleteKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()>2320 pub unsafe fn DeleteKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()> {
2321 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi()).ok()
2322 }
2323 #[cfg(feature = "Win32_Foundation")]
DeleteChildKeys<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()>2324 pub unsafe fn DeleteChildKeys<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()> {
2325 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi()).ok()
2326 }
2327 #[cfg(feature = "Win32_Foundation")]
EnumKeys<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pszmdname: super::super::Foundation::PWSTR, dwmdenumobjectindex: u32) -> ::windows::runtime::Result<()>2328 pub unsafe fn EnumKeys<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pszmdname: super::super::Foundation::PWSTR, dwmdenumobjectindex: u32) -> ::windows::runtime::Result<()> {
2329 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pszmdname), ::std::mem::transmute(dwmdenumobjectindex)).ok()
2330 }
2331 #[cfg(feature = "Win32_Foundation")]
CopyKey<'a, Param1: ::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::BOOL>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>( &self, hmdsourcehandle: u32, pszmdsourcepath: Param1, hmddesthandle: u32, pszmddestpath: Param3, bmdoverwriteflag: Param4, bmdcopyflag: Param5, ) -> ::windows::runtime::Result<()>2332 pub unsafe fn CopyKey<'a, Param1: ::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::BOOL>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(
2333 &self,
2334 hmdsourcehandle: u32,
2335 pszmdsourcepath: Param1,
2336 hmddesthandle: u32,
2337 pszmddestpath: Param3,
2338 bmdoverwriteflag: Param4,
2339 bmdcopyflag: Param5,
2340 ) -> ::windows::runtime::Result<()> {
2341 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdsourcehandle), pszmdsourcepath.into_param().abi(), ::std::mem::transmute(hmddesthandle), pszmddestpath.into_param().abi(), bmdoverwriteflag.into_param().abi(), bmdcopyflag.into_param().abi()).ok()
2342 }
2343 #[cfg(feature = "Win32_Foundation")]
RenameKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pszmdnewname: Param2) -> ::windows::runtime::Result<()>2344 pub unsafe fn RenameKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pszmdnewname: Param2) -> ::windows::runtime::Result<()> {
2345 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), pszmdnewname.into_param().abi()).ok()
2346 }
2347 #[cfg(feature = "Win32_Foundation")]
SetData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD) -> ::windows::runtime::Result<()>2348 pub unsafe fn SetData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD) -> ::windows::runtime::Result<()> {
2349 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pmdrmddata)).ok()
2350 }
2351 #[cfg(feature = "Win32_Foundation")]
GetData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::Result<()>2352 pub unsafe fn GetData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::Result<()> {
2353 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pmdrmddata), ::std::mem::transmute(pdwmdrequireddatalen)).ok()
2354 }
2355 #[cfg(feature = "Win32_Foundation")]
DeleteData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdidentifier: u32, dwmddatatype: u32) -> ::windows::runtime::Result<()>2356 pub unsafe fn DeleteData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdidentifier: u32, dwmddatatype: u32) -> ::windows::runtime::Result<()> {
2357 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(dwmdidentifier), ::std::mem::transmute(dwmddatatype)).ok()
2358 }
2359 #[cfg(feature = "Win32_Foundation")]
EnumData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD, dwmdenumdataindex: u32, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::Result<()>2360 pub unsafe fn EnumData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD, dwmdenumdataindex: u32, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::Result<()> {
2361 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pmdrmddata), ::std::mem::transmute(dwmdenumdataindex), ::std::mem::transmute(pdwmdrequireddatalen)).ok()
2362 }
2363 #[cfg(feature = "Win32_Foundation")]
GetAllData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, pdwmdnumdataentries: *mut u32, pdwmddatasetnumber: *mut u32, dwmdbuffersize: u32, pbmdbuffer: *mut u8, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()>2364 pub unsafe fn GetAllData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, pdwmdnumdataentries: *mut u32, pdwmddatasetnumber: *mut u32, dwmdbuffersize: u32, pbmdbuffer: *mut u8, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()> {
2365 (::windows::runtime::Interface::vtable(self).13)(
2366 ::std::mem::transmute_copy(self),
2367 ::std::mem::transmute(hmdhandle),
2368 pszmdpath.into_param().abi(),
2369 ::std::mem::transmute(dwmdattributes),
2370 ::std::mem::transmute(dwmdusertype),
2371 ::std::mem::transmute(dwmddatatype),
2372 ::std::mem::transmute(pdwmdnumdataentries),
2373 ::std::mem::transmute(pdwmddatasetnumber),
2374 ::std::mem::transmute(dwmdbuffersize),
2375 ::std::mem::transmute(pbmdbuffer),
2376 ::std::mem::transmute(pdwmdrequiredbuffersize),
2377 )
2378 .ok()
2379 }
2380 #[cfg(feature = "Win32_Foundation")]
DeleteAllData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdusertype: u32, dwmddatatype: u32) -> ::windows::runtime::Result<()>2381 pub unsafe fn DeleteAllData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdusertype: u32, dwmddatatype: u32) -> ::windows::runtime::Result<()> {
2382 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(dwmdusertype), ::std::mem::transmute(dwmddatatype)).ok()
2383 }
2384 #[cfg(feature = "Win32_Foundation")]
CopyData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdsourcehandle: u32, pszmdsourcepath: Param1, hmddesthandle: u32, pszmddestpath: Param3, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, bmdcopyflag: Param7) -> ::windows::runtime::Result<()>2385 pub unsafe fn CopyData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdsourcehandle: u32, pszmdsourcepath: Param1, hmddesthandle: u32, pszmddestpath: Param3, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, bmdcopyflag: Param7) -> ::windows::runtime::Result<()> {
2386 (::windows::runtime::Interface::vtable(self).15)(
2387 ::std::mem::transmute_copy(self),
2388 ::std::mem::transmute(hmdsourcehandle),
2389 pszmdsourcepath.into_param().abi(),
2390 ::std::mem::transmute(hmddesthandle),
2391 pszmddestpath.into_param().abi(),
2392 ::std::mem::transmute(dwmdattributes),
2393 ::std::mem::transmute(dwmdusertype),
2394 ::std::mem::transmute(dwmddatatype),
2395 bmdcopyflag.into_param().abi(),
2396 )
2397 .ok()
2398 }
2399 #[cfg(feature = "Win32_Foundation")]
GetDataPaths<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdidentifier: u32, dwmddatatype: u32, dwmdbuffersize: u32, pszbuffer: super::super::Foundation::PWSTR, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()>2400 pub unsafe fn GetDataPaths<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdidentifier: u32, dwmddatatype: u32, dwmdbuffersize: u32, pszbuffer: super::super::Foundation::PWSTR, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()> {
2401 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(dwmdidentifier), ::std::mem::transmute(dwmddatatype), ::std::mem::transmute(dwmdbuffersize), ::std::mem::transmute(pszbuffer), ::std::mem::transmute(pdwmdrequiredbuffersize)).ok()
2402 }
2403 #[cfg(feature = "Win32_Foundation")]
OpenKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdaccessrequested: u32, dwmdtimeout: u32) -> ::windows::runtime::Result<u32>2404 pub unsafe fn OpenKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdaccessrequested: u32, dwmdtimeout: u32) -> ::windows::runtime::Result<u32> {
2405 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2406 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(dwmdaccessrequested), ::std::mem::transmute(dwmdtimeout), &mut result__).from_abi::<u32>(result__)
2407 }
CloseKey(&self, hmdhandle: u32) -> ::windows::runtime::Result<()>2408 pub unsafe fn CloseKey(&self, hmdhandle: u32) -> ::windows::runtime::Result<()> {
2409 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle)).ok()
2410 }
ChangePermissions(&self, hmdhandle: u32, dwmdtimeout: u32, dwmdaccessrequested: u32) -> ::windows::runtime::Result<()>2411 pub unsafe fn ChangePermissions(&self, hmdhandle: u32, dwmdtimeout: u32, dwmdaccessrequested: u32) -> ::windows::runtime::Result<()> {
2412 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), ::std::mem::transmute(dwmdtimeout), ::std::mem::transmute(dwmdaccessrequested)).ok()
2413 }
SaveData(&self) -> ::windows::runtime::Result<()>2414 pub unsafe fn SaveData(&self) -> ::windows::runtime::Result<()> {
2415 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok()
2416 }
GetHandleInfo(&self, hmdhandle: u32) -> ::windows::runtime::Result<METADATA_HANDLE_INFO>2417 pub unsafe fn GetHandleInfo(&self, hmdhandle: u32) -> ::windows::runtime::Result<METADATA_HANDLE_INFO> {
2418 let mut result__: <METADATA_HANDLE_INFO as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2419 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), &mut result__).from_abi::<METADATA_HANDLE_INFO>(result__)
2420 }
GetSystemChangeNumber(&self) -> ::windows::runtime::Result<u32>2421 pub unsafe fn GetSystemChangeNumber(&self) -> ::windows::runtime::Result<u32> {
2422 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2423 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2424 }
2425 #[cfg(feature = "Win32_Foundation")]
GetDataSetNumber<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<u32>2426 pub unsafe fn GetDataSetNumber<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<u32> {
2427 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2428 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), &mut result__).from_abi::<u32>(result__)
2429 }
2430 #[cfg(feature = "Win32_Foundation")]
SetLastChangeTime<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdhandle: u32, pszmdpath: Param1, pftmdlastchangetime: *const super::super::Foundation::FILETIME, blocaltime: Param3) -> ::windows::runtime::Result<()>2431 pub unsafe fn SetLastChangeTime<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdhandle: u32, pszmdpath: Param1, pftmdlastchangetime: *const super::super::Foundation::FILETIME, blocaltime: Param3) -> ::windows::runtime::Result<()> {
2432 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pftmdlastchangetime), blocaltime.into_param().abi()).ok()
2433 }
2434 #[cfg(feature = "Win32_Foundation")]
GetLastChangeTime<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdhandle: u32, pszmdpath: Param1, pftmdlastchangetime: *mut super::super::Foundation::FILETIME, blocaltime: Param3) -> ::windows::runtime::Result<()>2435 pub unsafe fn GetLastChangeTime<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdhandle: u32, pszmdpath: Param1, pftmdlastchangetime: *mut super::super::Foundation::FILETIME, blocaltime: Param3) -> ::windows::runtime::Result<()> {
2436 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pftmdlastchangetime), blocaltime.into_param().abi()).ok()
2437 }
KeyExchangePhase1(&self) -> ::windows::runtime::Result<()>2438 pub unsafe fn KeyExchangePhase1(&self) -> ::windows::runtime::Result<()> {
2439 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self)).ok()
2440 }
KeyExchangePhase2(&self) -> ::windows::runtime::Result<()>2441 pub unsafe fn KeyExchangePhase2(&self) -> ::windows::runtime::Result<()> {
2442 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self)).ok()
2443 }
2444 #[cfg(feature = "Win32_Foundation")]
Backup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()>2445 pub unsafe fn Backup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()> {
2446 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(dwmdversion), ::std::mem::transmute(dwmdflags)).ok()
2447 }
2448 #[cfg(feature = "Win32_Foundation")]
Restore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()>2449 pub unsafe fn Restore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()> {
2450 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(dwmdversion), ::std::mem::transmute(dwmdflags)).ok()
2451 }
2452 #[cfg(feature = "Win32_Foundation")]
EnumBackups<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, pdwmdversion: *mut u32, pftmdbackuptime: *mut super::super::Foundation::FILETIME, dwmdenumindex: u32) -> ::windows::runtime::Result<()>2453 pub unsafe fn EnumBackups<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, pdwmdversion: *mut u32, pftmdbackuptime: *mut super::super::Foundation::FILETIME, dwmdenumindex: u32) -> ::windows::runtime::Result<()> {
2454 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(pdwmdversion), ::std::mem::transmute(pftmdbackuptime), ::std::mem::transmute(dwmdenumindex)).ok()
2455 }
2456 #[cfg(feature = "Win32_Foundation")]
DeleteBackup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32) -> ::windows::runtime::Result<()>2457 pub unsafe fn DeleteBackup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32) -> ::windows::runtime::Result<()> {
2458 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(dwmdversion)).ok()
2459 }
UnmarshalInterface(&self) -> ::windows::runtime::Result<IMSAdminBaseW>2460 pub unsafe fn UnmarshalInterface(&self) -> ::windows::runtime::Result<IMSAdminBaseW> {
2461 let mut result__: <IMSAdminBaseW as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2462 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSAdminBaseW>(result__)
2463 }
GetServerGuid(&self) -> ::windows::runtime::Result<()>2464 pub unsafe fn GetServerGuid(&self) -> ::windows::runtime::Result<()> {
2465 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self)).ok()
2466 }
2467 #[cfg(feature = "Win32_Foundation")]
BackupWithPasswd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32, pszpasswd: Param3) -> ::windows::runtime::Result<()>2468 pub unsafe fn BackupWithPasswd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32, pszpasswd: Param3) -> ::windows::runtime::Result<()> {
2469 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(dwmdversion), ::std::mem::transmute(dwmdflags), pszpasswd.into_param().abi()).ok()
2470 }
2471 #[cfg(feature = "Win32_Foundation")]
RestoreWithPasswd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32, pszpasswd: Param3) -> ::windows::runtime::Result<()>2472 pub unsafe fn RestoreWithPasswd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32, pszpasswd: Param3) -> ::windows::runtime::Result<()> {
2473 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(dwmdversion), ::std::mem::transmute(dwmdflags), pszpasswd.into_param().abi()).ok()
2474 }
2475 #[cfg(feature = "Win32_Foundation")]
Export<'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>>(&self, pszpasswd: Param0, pszfilename: Param1, pszsourcepath: Param2, dwmdflags: u32) -> ::windows::runtime::Result<()>2476 pub unsafe fn Export<'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>>(&self, pszpasswd: Param0, pszfilename: Param1, pszsourcepath: Param2, dwmdflags: u32) -> ::windows::runtime::Result<()> {
2477 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), pszpasswd.into_param().abi(), pszfilename.into_param().abi(), pszsourcepath.into_param().abi(), ::std::mem::transmute(dwmdflags)).ok()
2478 }
2479 #[cfg(feature = "Win32_Foundation")]
Import<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpasswd: Param0, pszfilename: Param1, pszsourcepath: Param2, pszdestpath: Param3, dwmdflags: u32) -> ::windows::runtime::Result<()>2480 pub unsafe fn Import<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpasswd: Param0, pszfilename: Param1, pszsourcepath: Param2, pszdestpath: Param3, dwmdflags: u32) -> ::windows::runtime::Result<()> {
2481 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), pszpasswd.into_param().abi(), pszfilename.into_param().abi(), pszsourcepath.into_param().abi(), pszdestpath.into_param().abi(), ::std::mem::transmute(dwmdflags)).ok()
2482 }
2483 #[cfg(feature = "Win32_Foundation")]
RestoreHistory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdhistorylocation: Param0, dwmdmajorversion: u32, dwmdminorversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()>2484 pub unsafe fn RestoreHistory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdhistorylocation: Param0, dwmdmajorversion: u32, dwmdminorversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()> {
2485 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), pszmdhistorylocation.into_param().abi(), ::std::mem::transmute(dwmdmajorversion), ::std::mem::transmute(dwmdminorversion), ::std::mem::transmute(dwmdflags)).ok()
2486 }
2487 #[cfg(feature = "Win32_Foundation")]
EnumHistory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdhistorylocation: Param0, pdwmdmajorversion: *mut u32, pdwmdminorversion: *mut u32, pftmdhistorytime: *mut super::super::Foundation::FILETIME, dwmdenumindex: u32) -> ::windows::runtime::Result<()>2488 pub unsafe fn EnumHistory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdhistorylocation: Param0, pdwmdmajorversion: *mut u32, pdwmdminorversion: *mut u32, pftmdhistorytime: *mut super::super::Foundation::FILETIME, dwmdenumindex: u32) -> ::windows::runtime::Result<()> {
2489 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), pszmdhistorylocation.into_param().abi(), ::std::mem::transmute(pdwmdmajorversion), ::std::mem::transmute(pdwmdminorversion), ::std::mem::transmute(pftmdhistorytime), ::std::mem::transmute(dwmdenumindex)).ok()
2490 }
2491 }
2492 unsafe impl ::windows::runtime::Interface for IMSAdminBase2W {
2493 type Vtable = IMSAdminBase2W_abi;
2494 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2191053057, 63890, 17335, [142, 202, 80, 82, 216, 133, 185, 149]);
2495 }
2496 impl ::std::convert::From<IMSAdminBase2W> for ::windows::runtime::IUnknown {
from(value: IMSAdminBase2W) -> Self2497 fn from(value: IMSAdminBase2W) -> Self {
2498 unsafe { ::std::mem::transmute(value) }
2499 }
2500 }
2501 impl ::std::convert::From<&IMSAdminBase2W> for ::windows::runtime::IUnknown {
from(value: &IMSAdminBase2W) -> Self2502 fn from(value: &IMSAdminBase2W) -> Self {
2503 ::std::convert::From::from(::std::clone::Clone::clone(value))
2504 }
2505 }
2506 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSAdminBase2W {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2507 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2508 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2509 }
2510 }
2511 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSAdminBase2W {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2512 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2513 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2514 }
2515 }
2516 impl ::std::convert::From<IMSAdminBase2W> for IMSAdminBaseW {
from(value: IMSAdminBase2W) -> Self2517 fn from(value: IMSAdminBase2W) -> Self {
2518 unsafe { ::std::mem::transmute(value) }
2519 }
2520 }
2521 impl ::std::convert::From<&IMSAdminBase2W> for IMSAdminBaseW {
from(value: &IMSAdminBase2W) -> Self2522 fn from(value: &IMSAdminBase2W) -> Self {
2523 ::std::convert::From::from(::std::clone::Clone::clone(value))
2524 }
2525 }
2526 impl<'a> ::windows::runtime::IntoParam<'a, IMSAdminBaseW> for IMSAdminBase2W {
into_param(self) -> ::windows::runtime::Param<'a, IMSAdminBaseW>2527 fn into_param(self) -> ::windows::runtime::Param<'a, IMSAdminBaseW> {
2528 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSAdminBaseW>::into(self))
2529 }
2530 }
2531 impl<'a> ::windows::runtime::IntoParam<'a, IMSAdminBaseW> for &IMSAdminBase2W {
into_param(self) -> ::windows::runtime::Param<'a, IMSAdminBaseW>2532 fn into_param(self) -> ::windows::runtime::Param<'a, IMSAdminBaseW> {
2533 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSAdminBaseW>::into(::std::clone::Clone::clone(self)))
2534 }
2535 }
2536 #[repr(C)]
2537 #[doc(hidden)]
2538 pub struct IMSAdminBase2W_abi(
2539 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2540 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2541 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2542 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2543 #[cfg(not(feature = "Win32_Foundation"))] usize,
2544 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2545 #[cfg(not(feature = "Win32_Foundation"))] usize,
2546 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2547 #[cfg(not(feature = "Win32_Foundation"))] usize,
2548 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pszmdname: super::super::Foundation::PWSTR, dwmdenumobjectindex: u32) -> ::windows::runtime::HRESULT,
2549 #[cfg(not(feature = "Win32_Foundation"))] usize,
2550 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdsourcehandle: u32, pszmdsourcepath: super::super::Foundation::PWSTR, hmddesthandle: u32, pszmddestpath: super::super::Foundation::PWSTR, bmdoverwriteflag: super::super::Foundation::BOOL, bmdcopyflag: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2551 #[cfg(not(feature = "Win32_Foundation"))] usize,
2552 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pszmdnewname: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2553 #[cfg(not(feature = "Win32_Foundation"))] usize,
2554 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pmdrmddata: *mut METADATA_RECORD) -> ::windows::runtime::HRESULT,
2555 #[cfg(not(feature = "Win32_Foundation"))] usize,
2556 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pmdrmddata: *mut METADATA_RECORD, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::HRESULT,
2557 #[cfg(not(feature = "Win32_Foundation"))] usize,
2558 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, dwmdidentifier: u32, dwmddatatype: u32) -> ::windows::runtime::HRESULT,
2559 #[cfg(not(feature = "Win32_Foundation"))] usize,
2560 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pmdrmddata: *mut METADATA_RECORD, dwmdenumdataindex: u32, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::HRESULT,
2561 #[cfg(not(feature = "Win32_Foundation"))] usize,
2562 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, pdwmdnumdataentries: *mut u32, pdwmddatasetnumber: *mut u32, dwmdbuffersize: u32, pbmdbuffer: *mut u8, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::HRESULT,
2563 #[cfg(not(feature = "Win32_Foundation"))] usize,
2564 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, dwmdusertype: u32, dwmddatatype: u32) -> ::windows::runtime::HRESULT,
2565 #[cfg(not(feature = "Win32_Foundation"))] usize,
2566 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdsourcehandle: u32, pszmdsourcepath: super::super::Foundation::PWSTR, hmddesthandle: u32, pszmddestpath: super::super::Foundation::PWSTR, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, bmdcopyflag: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2567 #[cfg(not(feature = "Win32_Foundation"))] usize,
2568 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, dwmdidentifier: u32, dwmddatatype: u32, dwmdbuffersize: u32, pszbuffer: super::super::Foundation::PWSTR, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::HRESULT,
2569 #[cfg(not(feature = "Win32_Foundation"))] usize,
2570 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, dwmdaccessrequested: u32, dwmdtimeout: u32, phmdnewhandle: *mut u32) -> ::windows::runtime::HRESULT,
2571 #[cfg(not(feature = "Win32_Foundation"))] usize,
2572 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32) -> ::windows::runtime::HRESULT,
2573 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, dwmdtimeout: u32, dwmdaccessrequested: u32) -> ::windows::runtime::HRESULT,
2574 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2575 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pmdhiinfo: *mut METADATA_HANDLE_INFO) -> ::windows::runtime::HRESULT,
2576 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwsystemchangenumber: *mut u32) -> ::windows::runtime::HRESULT,
2577 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pdwmddatasetnumber: *mut u32) -> ::windows::runtime::HRESULT,
2578 #[cfg(not(feature = "Win32_Foundation"))] usize,
2579 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pftmdlastchangetime: *const super::super::Foundation::FILETIME, blocaltime: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2580 #[cfg(not(feature = "Win32_Foundation"))] usize,
2581 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pftmdlastchangetime: *mut super::super::Foundation::FILETIME, blocaltime: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2582 #[cfg(not(feature = "Win32_Foundation"))] usize,
2583 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2584 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2585 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::HRESULT,
2586 #[cfg(not(feature = "Win32_Foundation"))] usize,
2587 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::HRESULT,
2588 #[cfg(not(feature = "Win32_Foundation"))] usize,
2589 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, pdwmdversion: *mut u32, pftmdbackuptime: *mut super::super::Foundation::FILETIME, dwmdenumindex: u32) -> ::windows::runtime::HRESULT,
2590 #[cfg(not(feature = "Win32_Foundation"))] usize,
2591 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, dwmdversion: u32) -> ::windows::runtime::HRESULT,
2592 #[cfg(not(feature = "Win32_Foundation"))] usize,
2593 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, piadmbwinterface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2594 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2595 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, dwmdversion: u32, dwmdflags: u32, pszpasswd: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2596 #[cfg(not(feature = "Win32_Foundation"))] usize,
2597 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, dwmdversion: u32, dwmdflags: u32, pszpasswd: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2598 #[cfg(not(feature = "Win32_Foundation"))] usize,
2599 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszpasswd: super::super::Foundation::PWSTR, pszfilename: super::super::Foundation::PWSTR, pszsourcepath: super::super::Foundation::PWSTR, dwmdflags: u32) -> ::windows::runtime::HRESULT,
2600 #[cfg(not(feature = "Win32_Foundation"))] usize,
2601 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszpasswd: super::super::Foundation::PWSTR, pszfilename: super::super::Foundation::PWSTR, pszsourcepath: super::super::Foundation::PWSTR, pszdestpath: super::super::Foundation::PWSTR, dwmdflags: u32) -> ::windows::runtime::HRESULT,
2602 #[cfg(not(feature = "Win32_Foundation"))] usize,
2603 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdhistorylocation: super::super::Foundation::PWSTR, dwmdmajorversion: u32, dwmdminorversion: u32, dwmdflags: u32) -> ::windows::runtime::HRESULT,
2604 #[cfg(not(feature = "Win32_Foundation"))] usize,
2605 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdhistorylocation: super::super::Foundation::PWSTR, pdwmdmajorversion: *mut u32, pdwmdminorversion: *mut u32, pftmdhistorytime: *mut super::super::Foundation::FILETIME, dwmdenumindex: u32) -> ::windows::runtime::HRESULT,
2606 #[cfg(not(feature = "Win32_Foundation"))] usize,
2607 );
2608 #[repr(transparent)]
2609 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2610 pub struct IMSAdminBase3W(::windows::runtime::IUnknown);
2611 impl IMSAdminBase3W {
2612 #[cfg(feature = "Win32_Foundation")]
AddKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()>2613 pub unsafe fn AddKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()> {
2614 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi()).ok()
2615 }
2616 #[cfg(feature = "Win32_Foundation")]
DeleteKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()>2617 pub unsafe fn DeleteKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()> {
2618 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi()).ok()
2619 }
2620 #[cfg(feature = "Win32_Foundation")]
DeleteChildKeys<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()>2621 pub unsafe fn DeleteChildKeys<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()> {
2622 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi()).ok()
2623 }
2624 #[cfg(feature = "Win32_Foundation")]
EnumKeys<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pszmdname: super::super::Foundation::PWSTR, dwmdenumobjectindex: u32) -> ::windows::runtime::Result<()>2625 pub unsafe fn EnumKeys<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pszmdname: super::super::Foundation::PWSTR, dwmdenumobjectindex: u32) -> ::windows::runtime::Result<()> {
2626 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pszmdname), ::std::mem::transmute(dwmdenumobjectindex)).ok()
2627 }
2628 #[cfg(feature = "Win32_Foundation")]
CopyKey<'a, Param1: ::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::BOOL>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>( &self, hmdsourcehandle: u32, pszmdsourcepath: Param1, hmddesthandle: u32, pszmddestpath: Param3, bmdoverwriteflag: Param4, bmdcopyflag: Param5, ) -> ::windows::runtime::Result<()>2629 pub unsafe fn CopyKey<'a, Param1: ::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::BOOL>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(
2630 &self,
2631 hmdsourcehandle: u32,
2632 pszmdsourcepath: Param1,
2633 hmddesthandle: u32,
2634 pszmddestpath: Param3,
2635 bmdoverwriteflag: Param4,
2636 bmdcopyflag: Param5,
2637 ) -> ::windows::runtime::Result<()> {
2638 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdsourcehandle), pszmdsourcepath.into_param().abi(), ::std::mem::transmute(hmddesthandle), pszmddestpath.into_param().abi(), bmdoverwriteflag.into_param().abi(), bmdcopyflag.into_param().abi()).ok()
2639 }
2640 #[cfg(feature = "Win32_Foundation")]
RenameKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pszmdnewname: Param2) -> ::windows::runtime::Result<()>2641 pub unsafe fn RenameKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pszmdnewname: Param2) -> ::windows::runtime::Result<()> {
2642 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), pszmdnewname.into_param().abi()).ok()
2643 }
2644 #[cfg(feature = "Win32_Foundation")]
SetData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD) -> ::windows::runtime::Result<()>2645 pub unsafe fn SetData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD) -> ::windows::runtime::Result<()> {
2646 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pmdrmddata)).ok()
2647 }
2648 #[cfg(feature = "Win32_Foundation")]
GetData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::Result<()>2649 pub unsafe fn GetData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::Result<()> {
2650 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pmdrmddata), ::std::mem::transmute(pdwmdrequireddatalen)).ok()
2651 }
2652 #[cfg(feature = "Win32_Foundation")]
DeleteData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdidentifier: u32, dwmddatatype: u32) -> ::windows::runtime::Result<()>2653 pub unsafe fn DeleteData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdidentifier: u32, dwmddatatype: u32) -> ::windows::runtime::Result<()> {
2654 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(dwmdidentifier), ::std::mem::transmute(dwmddatatype)).ok()
2655 }
2656 #[cfg(feature = "Win32_Foundation")]
EnumData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD, dwmdenumdataindex: u32, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::Result<()>2657 pub unsafe fn EnumData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD, dwmdenumdataindex: u32, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::Result<()> {
2658 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pmdrmddata), ::std::mem::transmute(dwmdenumdataindex), ::std::mem::transmute(pdwmdrequireddatalen)).ok()
2659 }
2660 #[cfg(feature = "Win32_Foundation")]
GetAllData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, pdwmdnumdataentries: *mut u32, pdwmddatasetnumber: *mut u32, dwmdbuffersize: u32, pbmdbuffer: *mut u8, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()>2661 pub unsafe fn GetAllData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, pdwmdnumdataentries: *mut u32, pdwmddatasetnumber: *mut u32, dwmdbuffersize: u32, pbmdbuffer: *mut u8, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()> {
2662 (::windows::runtime::Interface::vtable(self).13)(
2663 ::std::mem::transmute_copy(self),
2664 ::std::mem::transmute(hmdhandle),
2665 pszmdpath.into_param().abi(),
2666 ::std::mem::transmute(dwmdattributes),
2667 ::std::mem::transmute(dwmdusertype),
2668 ::std::mem::transmute(dwmddatatype),
2669 ::std::mem::transmute(pdwmdnumdataentries),
2670 ::std::mem::transmute(pdwmddatasetnumber),
2671 ::std::mem::transmute(dwmdbuffersize),
2672 ::std::mem::transmute(pbmdbuffer),
2673 ::std::mem::transmute(pdwmdrequiredbuffersize),
2674 )
2675 .ok()
2676 }
2677 #[cfg(feature = "Win32_Foundation")]
DeleteAllData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdusertype: u32, dwmddatatype: u32) -> ::windows::runtime::Result<()>2678 pub unsafe fn DeleteAllData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdusertype: u32, dwmddatatype: u32) -> ::windows::runtime::Result<()> {
2679 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(dwmdusertype), ::std::mem::transmute(dwmddatatype)).ok()
2680 }
2681 #[cfg(feature = "Win32_Foundation")]
CopyData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdsourcehandle: u32, pszmdsourcepath: Param1, hmddesthandle: u32, pszmddestpath: Param3, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, bmdcopyflag: Param7) -> ::windows::runtime::Result<()>2682 pub unsafe fn CopyData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdsourcehandle: u32, pszmdsourcepath: Param1, hmddesthandle: u32, pszmddestpath: Param3, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, bmdcopyflag: Param7) -> ::windows::runtime::Result<()> {
2683 (::windows::runtime::Interface::vtable(self).15)(
2684 ::std::mem::transmute_copy(self),
2685 ::std::mem::transmute(hmdsourcehandle),
2686 pszmdsourcepath.into_param().abi(),
2687 ::std::mem::transmute(hmddesthandle),
2688 pszmddestpath.into_param().abi(),
2689 ::std::mem::transmute(dwmdattributes),
2690 ::std::mem::transmute(dwmdusertype),
2691 ::std::mem::transmute(dwmddatatype),
2692 bmdcopyflag.into_param().abi(),
2693 )
2694 .ok()
2695 }
2696 #[cfg(feature = "Win32_Foundation")]
GetDataPaths<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdidentifier: u32, dwmddatatype: u32, dwmdbuffersize: u32, pszbuffer: super::super::Foundation::PWSTR, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()>2697 pub unsafe fn GetDataPaths<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdidentifier: u32, dwmddatatype: u32, dwmdbuffersize: u32, pszbuffer: super::super::Foundation::PWSTR, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()> {
2698 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(dwmdidentifier), ::std::mem::transmute(dwmddatatype), ::std::mem::transmute(dwmdbuffersize), ::std::mem::transmute(pszbuffer), ::std::mem::transmute(pdwmdrequiredbuffersize)).ok()
2699 }
2700 #[cfg(feature = "Win32_Foundation")]
OpenKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdaccessrequested: u32, dwmdtimeout: u32) -> ::windows::runtime::Result<u32>2701 pub unsafe fn OpenKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdaccessrequested: u32, dwmdtimeout: u32) -> ::windows::runtime::Result<u32> {
2702 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2703 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(dwmdaccessrequested), ::std::mem::transmute(dwmdtimeout), &mut result__).from_abi::<u32>(result__)
2704 }
CloseKey(&self, hmdhandle: u32) -> ::windows::runtime::Result<()>2705 pub unsafe fn CloseKey(&self, hmdhandle: u32) -> ::windows::runtime::Result<()> {
2706 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle)).ok()
2707 }
ChangePermissions(&self, hmdhandle: u32, dwmdtimeout: u32, dwmdaccessrequested: u32) -> ::windows::runtime::Result<()>2708 pub unsafe fn ChangePermissions(&self, hmdhandle: u32, dwmdtimeout: u32, dwmdaccessrequested: u32) -> ::windows::runtime::Result<()> {
2709 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), ::std::mem::transmute(dwmdtimeout), ::std::mem::transmute(dwmdaccessrequested)).ok()
2710 }
SaveData(&self) -> ::windows::runtime::Result<()>2711 pub unsafe fn SaveData(&self) -> ::windows::runtime::Result<()> {
2712 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok()
2713 }
GetHandleInfo(&self, hmdhandle: u32) -> ::windows::runtime::Result<METADATA_HANDLE_INFO>2714 pub unsafe fn GetHandleInfo(&self, hmdhandle: u32) -> ::windows::runtime::Result<METADATA_HANDLE_INFO> {
2715 let mut result__: <METADATA_HANDLE_INFO as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2716 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), &mut result__).from_abi::<METADATA_HANDLE_INFO>(result__)
2717 }
GetSystemChangeNumber(&self) -> ::windows::runtime::Result<u32>2718 pub unsafe fn GetSystemChangeNumber(&self) -> ::windows::runtime::Result<u32> {
2719 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2720 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
2721 }
2722 #[cfg(feature = "Win32_Foundation")]
GetDataSetNumber<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<u32>2723 pub unsafe fn GetDataSetNumber<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<u32> {
2724 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2725 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), &mut result__).from_abi::<u32>(result__)
2726 }
2727 #[cfg(feature = "Win32_Foundation")]
SetLastChangeTime<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdhandle: u32, pszmdpath: Param1, pftmdlastchangetime: *const super::super::Foundation::FILETIME, blocaltime: Param3) -> ::windows::runtime::Result<()>2728 pub unsafe fn SetLastChangeTime<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdhandle: u32, pszmdpath: Param1, pftmdlastchangetime: *const super::super::Foundation::FILETIME, blocaltime: Param3) -> ::windows::runtime::Result<()> {
2729 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pftmdlastchangetime), blocaltime.into_param().abi()).ok()
2730 }
2731 #[cfg(feature = "Win32_Foundation")]
GetLastChangeTime<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdhandle: u32, pszmdpath: Param1, pftmdlastchangetime: *mut super::super::Foundation::FILETIME, blocaltime: Param3) -> ::windows::runtime::Result<()>2732 pub unsafe fn GetLastChangeTime<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdhandle: u32, pszmdpath: Param1, pftmdlastchangetime: *mut super::super::Foundation::FILETIME, blocaltime: Param3) -> ::windows::runtime::Result<()> {
2733 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pftmdlastchangetime), blocaltime.into_param().abi()).ok()
2734 }
KeyExchangePhase1(&self) -> ::windows::runtime::Result<()>2735 pub unsafe fn KeyExchangePhase1(&self) -> ::windows::runtime::Result<()> {
2736 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self)).ok()
2737 }
KeyExchangePhase2(&self) -> ::windows::runtime::Result<()>2738 pub unsafe fn KeyExchangePhase2(&self) -> ::windows::runtime::Result<()> {
2739 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self)).ok()
2740 }
2741 #[cfg(feature = "Win32_Foundation")]
Backup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()>2742 pub unsafe fn Backup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()> {
2743 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(dwmdversion), ::std::mem::transmute(dwmdflags)).ok()
2744 }
2745 #[cfg(feature = "Win32_Foundation")]
Restore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()>2746 pub unsafe fn Restore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()> {
2747 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(dwmdversion), ::std::mem::transmute(dwmdflags)).ok()
2748 }
2749 #[cfg(feature = "Win32_Foundation")]
EnumBackups<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, pdwmdversion: *mut u32, pftmdbackuptime: *mut super::super::Foundation::FILETIME, dwmdenumindex: u32) -> ::windows::runtime::Result<()>2750 pub unsafe fn EnumBackups<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, pdwmdversion: *mut u32, pftmdbackuptime: *mut super::super::Foundation::FILETIME, dwmdenumindex: u32) -> ::windows::runtime::Result<()> {
2751 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(pdwmdversion), ::std::mem::transmute(pftmdbackuptime), ::std::mem::transmute(dwmdenumindex)).ok()
2752 }
2753 #[cfg(feature = "Win32_Foundation")]
DeleteBackup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32) -> ::windows::runtime::Result<()>2754 pub unsafe fn DeleteBackup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32) -> ::windows::runtime::Result<()> {
2755 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(dwmdversion)).ok()
2756 }
UnmarshalInterface(&self) -> ::windows::runtime::Result<IMSAdminBaseW>2757 pub unsafe fn UnmarshalInterface(&self) -> ::windows::runtime::Result<IMSAdminBaseW> {
2758 let mut result__: <IMSAdminBaseW as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
2759 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSAdminBaseW>(result__)
2760 }
GetServerGuid(&self) -> ::windows::runtime::Result<()>2761 pub unsafe fn GetServerGuid(&self) -> ::windows::runtime::Result<()> {
2762 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self)).ok()
2763 }
2764 #[cfg(feature = "Win32_Foundation")]
BackupWithPasswd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32, pszpasswd: Param3) -> ::windows::runtime::Result<()>2765 pub unsafe fn BackupWithPasswd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32, pszpasswd: Param3) -> ::windows::runtime::Result<()> {
2766 (::windows::runtime::Interface::vtable(self).34)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(dwmdversion), ::std::mem::transmute(dwmdflags), pszpasswd.into_param().abi()).ok()
2767 }
2768 #[cfg(feature = "Win32_Foundation")]
RestoreWithPasswd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32, pszpasswd: Param3) -> ::windows::runtime::Result<()>2769 pub unsafe fn RestoreWithPasswd<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32, pszpasswd: Param3) -> ::windows::runtime::Result<()> {
2770 (::windows::runtime::Interface::vtable(self).35)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(dwmdversion), ::std::mem::transmute(dwmdflags), pszpasswd.into_param().abi()).ok()
2771 }
2772 #[cfg(feature = "Win32_Foundation")]
Export<'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>>(&self, pszpasswd: Param0, pszfilename: Param1, pszsourcepath: Param2, dwmdflags: u32) -> ::windows::runtime::Result<()>2773 pub unsafe fn Export<'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>>(&self, pszpasswd: Param0, pszfilename: Param1, pszsourcepath: Param2, dwmdflags: u32) -> ::windows::runtime::Result<()> {
2774 (::windows::runtime::Interface::vtable(self).36)(::std::mem::transmute_copy(self), pszpasswd.into_param().abi(), pszfilename.into_param().abi(), pszsourcepath.into_param().abi(), ::std::mem::transmute(dwmdflags)).ok()
2775 }
2776 #[cfg(feature = "Win32_Foundation")]
Import<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpasswd: Param0, pszfilename: Param1, pszsourcepath: Param2, pszdestpath: Param3, dwmdflags: u32) -> ::windows::runtime::Result<()>2777 pub unsafe fn Import<'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>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszpasswd: Param0, pszfilename: Param1, pszsourcepath: Param2, pszdestpath: Param3, dwmdflags: u32) -> ::windows::runtime::Result<()> {
2778 (::windows::runtime::Interface::vtable(self).37)(::std::mem::transmute_copy(self), pszpasswd.into_param().abi(), pszfilename.into_param().abi(), pszsourcepath.into_param().abi(), pszdestpath.into_param().abi(), ::std::mem::transmute(dwmdflags)).ok()
2779 }
2780 #[cfg(feature = "Win32_Foundation")]
RestoreHistory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdhistorylocation: Param0, dwmdmajorversion: u32, dwmdminorversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()>2781 pub unsafe fn RestoreHistory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdhistorylocation: Param0, dwmdmajorversion: u32, dwmdminorversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()> {
2782 (::windows::runtime::Interface::vtable(self).38)(::std::mem::transmute_copy(self), pszmdhistorylocation.into_param().abi(), ::std::mem::transmute(dwmdmajorversion), ::std::mem::transmute(dwmdminorversion), ::std::mem::transmute(dwmdflags)).ok()
2783 }
2784 #[cfg(feature = "Win32_Foundation")]
EnumHistory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdhistorylocation: Param0, pdwmdmajorversion: *mut u32, pdwmdminorversion: *mut u32, pftmdhistorytime: *mut super::super::Foundation::FILETIME, dwmdenumindex: u32) -> ::windows::runtime::Result<()>2785 pub unsafe fn EnumHistory<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdhistorylocation: Param0, pdwmdmajorversion: *mut u32, pdwmdminorversion: *mut u32, pftmdhistorytime: *mut super::super::Foundation::FILETIME, dwmdenumindex: u32) -> ::windows::runtime::Result<()> {
2786 (::windows::runtime::Interface::vtable(self).39)(::std::mem::transmute_copy(self), pszmdhistorylocation.into_param().abi(), ::std::mem::transmute(pdwmdmajorversion), ::std::mem::transmute(pdwmdminorversion), ::std::mem::transmute(pftmdhistorytime), ::std::mem::transmute(dwmdenumindex)).ok()
2787 }
2788 #[cfg(feature = "Win32_Foundation")]
GetChildPaths<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, cchmdbuffersize: u32, pszbuffer: Param3, pcchmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()>2789 pub unsafe fn GetChildPaths<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, cchmdbuffersize: u32, pszbuffer: Param3, pcchmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()> {
2790 (::windows::runtime::Interface::vtable(self).40)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(cchmdbuffersize), pszbuffer.into_param().abi(), ::std::mem::transmute(pcchmdrequiredbuffersize)).ok()
2791 }
2792 }
2793 unsafe impl ::windows::runtime::Interface for IMSAdminBase3W {
2794 type Vtable = IMSAdminBase3W_abi;
2795 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(4128413005, 15115, 19542, [149, 99, 34, 123, 123, 230, 36, 180]);
2796 }
2797 impl ::std::convert::From<IMSAdminBase3W> for ::windows::runtime::IUnknown {
from(value: IMSAdminBase3W) -> Self2798 fn from(value: IMSAdminBase3W) -> Self {
2799 unsafe { ::std::mem::transmute(value) }
2800 }
2801 }
2802 impl ::std::convert::From<&IMSAdminBase3W> for ::windows::runtime::IUnknown {
from(value: &IMSAdminBase3W) -> Self2803 fn from(value: &IMSAdminBase3W) -> Self {
2804 ::std::convert::From::from(::std::clone::Clone::clone(value))
2805 }
2806 }
2807 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSAdminBase3W {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2808 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2809 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2810 }
2811 }
2812 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSAdminBase3W {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2813 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2814 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2815 }
2816 }
2817 impl ::std::convert::From<IMSAdminBase3W> for IMSAdminBase2W {
from(value: IMSAdminBase3W) -> Self2818 fn from(value: IMSAdminBase3W) -> Self {
2819 unsafe { ::std::mem::transmute(value) }
2820 }
2821 }
2822 impl ::std::convert::From<&IMSAdminBase3W> for IMSAdminBase2W {
from(value: &IMSAdminBase3W) -> Self2823 fn from(value: &IMSAdminBase3W) -> Self {
2824 ::std::convert::From::from(::std::clone::Clone::clone(value))
2825 }
2826 }
2827 impl<'a> ::windows::runtime::IntoParam<'a, IMSAdminBase2W> for IMSAdminBase3W {
into_param(self) -> ::windows::runtime::Param<'a, IMSAdminBase2W>2828 fn into_param(self) -> ::windows::runtime::Param<'a, IMSAdminBase2W> {
2829 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSAdminBase2W>::into(self))
2830 }
2831 }
2832 impl<'a> ::windows::runtime::IntoParam<'a, IMSAdminBase2W> for &IMSAdminBase3W {
into_param(self) -> ::windows::runtime::Param<'a, IMSAdminBase2W>2833 fn into_param(self) -> ::windows::runtime::Param<'a, IMSAdminBase2W> {
2834 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSAdminBase2W>::into(::std::clone::Clone::clone(self)))
2835 }
2836 }
2837 impl ::std::convert::From<IMSAdminBase3W> for IMSAdminBaseW {
from(value: IMSAdminBase3W) -> Self2838 fn from(value: IMSAdminBase3W) -> Self {
2839 unsafe { ::std::mem::transmute(value) }
2840 }
2841 }
2842 impl ::std::convert::From<&IMSAdminBase3W> for IMSAdminBaseW {
from(value: &IMSAdminBase3W) -> Self2843 fn from(value: &IMSAdminBase3W) -> Self {
2844 ::std::convert::From::from(::std::clone::Clone::clone(value))
2845 }
2846 }
2847 impl<'a> ::windows::runtime::IntoParam<'a, IMSAdminBaseW> for IMSAdminBase3W {
into_param(self) -> ::windows::runtime::Param<'a, IMSAdminBaseW>2848 fn into_param(self) -> ::windows::runtime::Param<'a, IMSAdminBaseW> {
2849 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSAdminBaseW>::into(self))
2850 }
2851 }
2852 impl<'a> ::windows::runtime::IntoParam<'a, IMSAdminBaseW> for &IMSAdminBase3W {
into_param(self) -> ::windows::runtime::Param<'a, IMSAdminBaseW>2853 fn into_param(self) -> ::windows::runtime::Param<'a, IMSAdminBaseW> {
2854 ::windows::runtime::Param::Owned(::std::convert::Into::<IMSAdminBaseW>::into(::std::clone::Clone::clone(self)))
2855 }
2856 }
2857 #[repr(C)]
2858 #[doc(hidden)]
2859 pub struct IMSAdminBase3W_abi(
2860 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2861 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2862 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2863 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2864 #[cfg(not(feature = "Win32_Foundation"))] usize,
2865 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2866 #[cfg(not(feature = "Win32_Foundation"))] usize,
2867 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2868 #[cfg(not(feature = "Win32_Foundation"))] usize,
2869 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pszmdname: super::super::Foundation::PWSTR, dwmdenumobjectindex: u32) -> ::windows::runtime::HRESULT,
2870 #[cfg(not(feature = "Win32_Foundation"))] usize,
2871 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdsourcehandle: u32, pszmdsourcepath: super::super::Foundation::PWSTR, hmddesthandle: u32, pszmddestpath: super::super::Foundation::PWSTR, bmdoverwriteflag: super::super::Foundation::BOOL, bmdcopyflag: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2872 #[cfg(not(feature = "Win32_Foundation"))] usize,
2873 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pszmdnewname: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2874 #[cfg(not(feature = "Win32_Foundation"))] usize,
2875 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pmdrmddata: *mut METADATA_RECORD) -> ::windows::runtime::HRESULT,
2876 #[cfg(not(feature = "Win32_Foundation"))] usize,
2877 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pmdrmddata: *mut METADATA_RECORD, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::HRESULT,
2878 #[cfg(not(feature = "Win32_Foundation"))] usize,
2879 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, dwmdidentifier: u32, dwmddatatype: u32) -> ::windows::runtime::HRESULT,
2880 #[cfg(not(feature = "Win32_Foundation"))] usize,
2881 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pmdrmddata: *mut METADATA_RECORD, dwmdenumdataindex: u32, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::HRESULT,
2882 #[cfg(not(feature = "Win32_Foundation"))] usize,
2883 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, pdwmdnumdataentries: *mut u32, pdwmddatasetnumber: *mut u32, dwmdbuffersize: u32, pbmdbuffer: *mut u8, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::HRESULT,
2884 #[cfg(not(feature = "Win32_Foundation"))] usize,
2885 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, dwmdusertype: u32, dwmddatatype: u32) -> ::windows::runtime::HRESULT,
2886 #[cfg(not(feature = "Win32_Foundation"))] usize,
2887 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdsourcehandle: u32, pszmdsourcepath: super::super::Foundation::PWSTR, hmddesthandle: u32, pszmddestpath: super::super::Foundation::PWSTR, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, bmdcopyflag: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2888 #[cfg(not(feature = "Win32_Foundation"))] usize,
2889 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, dwmdidentifier: u32, dwmddatatype: u32, dwmdbuffersize: u32, pszbuffer: super::super::Foundation::PWSTR, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::HRESULT,
2890 #[cfg(not(feature = "Win32_Foundation"))] usize,
2891 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, dwmdaccessrequested: u32, dwmdtimeout: u32, phmdnewhandle: *mut u32) -> ::windows::runtime::HRESULT,
2892 #[cfg(not(feature = "Win32_Foundation"))] usize,
2893 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32) -> ::windows::runtime::HRESULT,
2894 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, dwmdtimeout: u32, dwmdaccessrequested: u32) -> ::windows::runtime::HRESULT,
2895 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2896 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pmdhiinfo: *mut METADATA_HANDLE_INFO) -> ::windows::runtime::HRESULT,
2897 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwsystemchangenumber: *mut u32) -> ::windows::runtime::HRESULT,
2898 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pdwmddatasetnumber: *mut u32) -> ::windows::runtime::HRESULT,
2899 #[cfg(not(feature = "Win32_Foundation"))] usize,
2900 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pftmdlastchangetime: *const super::super::Foundation::FILETIME, blocaltime: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2901 #[cfg(not(feature = "Win32_Foundation"))] usize,
2902 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pftmdlastchangetime: *mut super::super::Foundation::FILETIME, blocaltime: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
2903 #[cfg(not(feature = "Win32_Foundation"))] usize,
2904 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2905 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2906 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::HRESULT,
2907 #[cfg(not(feature = "Win32_Foundation"))] usize,
2908 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::HRESULT,
2909 #[cfg(not(feature = "Win32_Foundation"))] usize,
2910 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, pdwmdversion: *mut u32, pftmdbackuptime: *mut super::super::Foundation::FILETIME, dwmdenumindex: u32) -> ::windows::runtime::HRESULT,
2911 #[cfg(not(feature = "Win32_Foundation"))] usize,
2912 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, dwmdversion: u32) -> ::windows::runtime::HRESULT,
2913 #[cfg(not(feature = "Win32_Foundation"))] usize,
2914 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, piadmbwinterface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2915 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2916 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, dwmdversion: u32, dwmdflags: u32, pszpasswd: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2917 #[cfg(not(feature = "Win32_Foundation"))] usize,
2918 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, dwmdversion: u32, dwmdflags: u32, pszpasswd: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
2919 #[cfg(not(feature = "Win32_Foundation"))] usize,
2920 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszpasswd: super::super::Foundation::PWSTR, pszfilename: super::super::Foundation::PWSTR, pszsourcepath: super::super::Foundation::PWSTR, dwmdflags: u32) -> ::windows::runtime::HRESULT,
2921 #[cfg(not(feature = "Win32_Foundation"))] usize,
2922 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszpasswd: super::super::Foundation::PWSTR, pszfilename: super::super::Foundation::PWSTR, pszsourcepath: super::super::Foundation::PWSTR, pszdestpath: super::super::Foundation::PWSTR, dwmdflags: u32) -> ::windows::runtime::HRESULT,
2923 #[cfg(not(feature = "Win32_Foundation"))] usize,
2924 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdhistorylocation: super::super::Foundation::PWSTR, dwmdmajorversion: u32, dwmdminorversion: u32, dwmdflags: u32) -> ::windows::runtime::HRESULT,
2925 #[cfg(not(feature = "Win32_Foundation"))] usize,
2926 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdhistorylocation: super::super::Foundation::PWSTR, pdwmdmajorversion: *mut u32, pdwmdminorversion: *mut u32, pftmdhistorytime: *mut super::super::Foundation::FILETIME, dwmdenumindex: u32) -> ::windows::runtime::HRESULT,
2927 #[cfg(not(feature = "Win32_Foundation"))] usize,
2928 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, cchmdbuffersize: u32, pszbuffer: super::super::Foundation::PWSTR, pcchmdrequiredbuffersize: *mut u32) -> ::windows::runtime::HRESULT,
2929 #[cfg(not(feature = "Win32_Foundation"))] usize,
2930 );
2931 #[repr(transparent)]
2932 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2933 pub struct IMSAdminBaseSinkW(::windows::runtime::IUnknown);
2934 impl IMSAdminBaseSinkW {
2935 #[cfg(feature = "Win32_Foundation")]
SinkNotify(&self, dwmdnumelements: u32, pcochangelist: *const MD_CHANGE_OBJECT_W) -> ::windows::runtime::Result<()>2936 pub unsafe fn SinkNotify(&self, dwmdnumelements: u32, pcochangelist: *const MD_CHANGE_OBJECT_W) -> ::windows::runtime::Result<()> {
2937 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(dwmdnumelements), ::std::mem::transmute(pcochangelist)).ok()
2938 }
ShutdownNotify(&self) -> ::windows::runtime::Result<()>2939 pub unsafe fn ShutdownNotify(&self) -> ::windows::runtime::Result<()> {
2940 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self)).ok()
2941 }
2942 }
2943 unsafe impl ::windows::runtime::Interface for IMSAdminBaseSinkW {
2944 type Vtable = IMSAdminBaseSinkW_abi;
2945 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(2850461202, 47117, 4560, [185, 185, 0, 160, 201, 34, 231, 80]);
2946 }
2947 impl ::std::convert::From<IMSAdminBaseSinkW> for ::windows::runtime::IUnknown {
from(value: IMSAdminBaseSinkW) -> Self2948 fn from(value: IMSAdminBaseSinkW) -> Self {
2949 unsafe { ::std::mem::transmute(value) }
2950 }
2951 }
2952 impl ::std::convert::From<&IMSAdminBaseSinkW> for ::windows::runtime::IUnknown {
from(value: &IMSAdminBaseSinkW) -> Self2953 fn from(value: &IMSAdminBaseSinkW) -> Self {
2954 ::std::convert::From::from(::std::clone::Clone::clone(value))
2955 }
2956 }
2957 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSAdminBaseSinkW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2958 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2959 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
2960 }
2961 }
2962 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSAdminBaseSinkW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>2963 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
2964 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
2965 }
2966 }
2967 #[repr(C)]
2968 #[doc(hidden)]
2969 pub struct IMSAdminBaseSinkW_abi(
2970 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2971 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2972 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
2973 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, dwmdnumelements: u32, pcochangelist: *const MD_CHANGE_OBJECT_W) -> ::windows::runtime::HRESULT,
2974 #[cfg(not(feature = "Win32_Foundation"))] usize,
2975 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
2976 );
2977 #[repr(transparent)]
2978 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
2979 pub struct IMSAdminBaseW(::windows::runtime::IUnknown);
2980 impl IMSAdminBaseW {
2981 #[cfg(feature = "Win32_Foundation")]
AddKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()>2982 pub unsafe fn AddKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()> {
2983 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi()).ok()
2984 }
2985 #[cfg(feature = "Win32_Foundation")]
DeleteKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()>2986 pub unsafe fn DeleteKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()> {
2987 (::windows::runtime::Interface::vtable(self).4)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi()).ok()
2988 }
2989 #[cfg(feature = "Win32_Foundation")]
DeleteChildKeys<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()>2990 pub unsafe fn DeleteChildKeys<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<()> {
2991 (::windows::runtime::Interface::vtable(self).5)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi()).ok()
2992 }
2993 #[cfg(feature = "Win32_Foundation")]
EnumKeys<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pszmdname: super::super::Foundation::PWSTR, dwmdenumobjectindex: u32) -> ::windows::runtime::Result<()>2994 pub unsafe fn EnumKeys<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pszmdname: super::super::Foundation::PWSTR, dwmdenumobjectindex: u32) -> ::windows::runtime::Result<()> {
2995 (::windows::runtime::Interface::vtable(self).6)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pszmdname), ::std::mem::transmute(dwmdenumobjectindex)).ok()
2996 }
2997 #[cfg(feature = "Win32_Foundation")]
CopyKey<'a, Param1: ::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::BOOL>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>( &self, hmdsourcehandle: u32, pszmdsourcepath: Param1, hmddesthandle: u32, pszmddestpath: Param3, bmdoverwriteflag: Param4, bmdcopyflag: Param5, ) -> ::windows::runtime::Result<()>2998 pub unsafe fn CopyKey<'a, Param1: ::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::BOOL>, Param5: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(
2999 &self,
3000 hmdsourcehandle: u32,
3001 pszmdsourcepath: Param1,
3002 hmddesthandle: u32,
3003 pszmddestpath: Param3,
3004 bmdoverwriteflag: Param4,
3005 bmdcopyflag: Param5,
3006 ) -> ::windows::runtime::Result<()> {
3007 (::windows::runtime::Interface::vtable(self).7)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdsourcehandle), pszmdsourcepath.into_param().abi(), ::std::mem::transmute(hmddesthandle), pszmddestpath.into_param().abi(), bmdoverwriteflag.into_param().abi(), bmdcopyflag.into_param().abi()).ok()
3008 }
3009 #[cfg(feature = "Win32_Foundation")]
RenameKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pszmdnewname: Param2) -> ::windows::runtime::Result<()>3010 pub unsafe fn RenameKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param2: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pszmdnewname: Param2) -> ::windows::runtime::Result<()> {
3011 (::windows::runtime::Interface::vtable(self).8)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), pszmdnewname.into_param().abi()).ok()
3012 }
3013 #[cfg(feature = "Win32_Foundation")]
SetData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD) -> ::windows::runtime::Result<()>3014 pub unsafe fn SetData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD) -> ::windows::runtime::Result<()> {
3015 (::windows::runtime::Interface::vtable(self).9)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pmdrmddata)).ok()
3016 }
3017 #[cfg(feature = "Win32_Foundation")]
GetData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::Result<()>3018 pub unsafe fn GetData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::Result<()> {
3019 (::windows::runtime::Interface::vtable(self).10)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pmdrmddata), ::std::mem::transmute(pdwmdrequireddatalen)).ok()
3020 }
3021 #[cfg(feature = "Win32_Foundation")]
DeleteData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdidentifier: u32, dwmddatatype: u32) -> ::windows::runtime::Result<()>3022 pub unsafe fn DeleteData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdidentifier: u32, dwmddatatype: u32) -> ::windows::runtime::Result<()> {
3023 (::windows::runtime::Interface::vtable(self).11)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(dwmdidentifier), ::std::mem::transmute(dwmddatatype)).ok()
3024 }
3025 #[cfg(feature = "Win32_Foundation")]
EnumData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD, dwmdenumdataindex: u32, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::Result<()>3026 pub unsafe fn EnumData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, pmdrmddata: *mut METADATA_RECORD, dwmdenumdataindex: u32, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::Result<()> {
3027 (::windows::runtime::Interface::vtable(self).12)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pmdrmddata), ::std::mem::transmute(dwmdenumdataindex), ::std::mem::transmute(pdwmdrequireddatalen)).ok()
3028 }
3029 #[cfg(feature = "Win32_Foundation")]
GetAllData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, pdwmdnumdataentries: *mut u32, pdwmddatasetnumber: *mut u32, dwmdbuffersize: u32, pbmdbuffer: *mut u8, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()>3030 pub unsafe fn GetAllData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, pdwmdnumdataentries: *mut u32, pdwmddatasetnumber: *mut u32, dwmdbuffersize: u32, pbmdbuffer: *mut u8, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()> {
3031 (::windows::runtime::Interface::vtable(self).13)(
3032 ::std::mem::transmute_copy(self),
3033 ::std::mem::transmute(hmdhandle),
3034 pszmdpath.into_param().abi(),
3035 ::std::mem::transmute(dwmdattributes),
3036 ::std::mem::transmute(dwmdusertype),
3037 ::std::mem::transmute(dwmddatatype),
3038 ::std::mem::transmute(pdwmdnumdataentries),
3039 ::std::mem::transmute(pdwmddatasetnumber),
3040 ::std::mem::transmute(dwmdbuffersize),
3041 ::std::mem::transmute(pbmdbuffer),
3042 ::std::mem::transmute(pdwmdrequiredbuffersize),
3043 )
3044 .ok()
3045 }
3046 #[cfg(feature = "Win32_Foundation")]
DeleteAllData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdusertype: u32, dwmddatatype: u32) -> ::windows::runtime::Result<()>3047 pub unsafe fn DeleteAllData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdusertype: u32, dwmddatatype: u32) -> ::windows::runtime::Result<()> {
3048 (::windows::runtime::Interface::vtable(self).14)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(dwmdusertype), ::std::mem::transmute(dwmddatatype)).ok()
3049 }
3050 #[cfg(feature = "Win32_Foundation")]
CopyData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdsourcehandle: u32, pszmdsourcepath: Param1, hmddesthandle: u32, pszmddestpath: Param3, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, bmdcopyflag: Param7) -> ::windows::runtime::Result<()>3051 pub unsafe fn CopyData<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param7: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdsourcehandle: u32, pszmdsourcepath: Param1, hmddesthandle: u32, pszmddestpath: Param3, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, bmdcopyflag: Param7) -> ::windows::runtime::Result<()> {
3052 (::windows::runtime::Interface::vtable(self).15)(
3053 ::std::mem::transmute_copy(self),
3054 ::std::mem::transmute(hmdsourcehandle),
3055 pszmdsourcepath.into_param().abi(),
3056 ::std::mem::transmute(hmddesthandle),
3057 pszmddestpath.into_param().abi(),
3058 ::std::mem::transmute(dwmdattributes),
3059 ::std::mem::transmute(dwmdusertype),
3060 ::std::mem::transmute(dwmddatatype),
3061 bmdcopyflag.into_param().abi(),
3062 )
3063 .ok()
3064 }
3065 #[cfg(feature = "Win32_Foundation")]
GetDataPaths<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdidentifier: u32, dwmddatatype: u32, dwmdbuffersize: u32, pszbuffer: super::super::Foundation::PWSTR, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()>3066 pub unsafe fn GetDataPaths<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdidentifier: u32, dwmddatatype: u32, dwmdbuffersize: u32, pszbuffer: super::super::Foundation::PWSTR, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()> {
3067 (::windows::runtime::Interface::vtable(self).16)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(dwmdidentifier), ::std::mem::transmute(dwmddatatype), ::std::mem::transmute(dwmdbuffersize), ::std::mem::transmute(pszbuffer), ::std::mem::transmute(pdwmdrequiredbuffersize)).ok()
3068 }
3069 #[cfg(feature = "Win32_Foundation")]
OpenKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdaccessrequested: u32, dwmdtimeout: u32) -> ::windows::runtime::Result<u32>3070 pub unsafe fn OpenKey<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1, dwmdaccessrequested: u32, dwmdtimeout: u32) -> ::windows::runtime::Result<u32> {
3071 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3072 (::windows::runtime::Interface::vtable(self).17)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(dwmdaccessrequested), ::std::mem::transmute(dwmdtimeout), &mut result__).from_abi::<u32>(result__)
3073 }
CloseKey(&self, hmdhandle: u32) -> ::windows::runtime::Result<()>3074 pub unsafe fn CloseKey(&self, hmdhandle: u32) -> ::windows::runtime::Result<()> {
3075 (::windows::runtime::Interface::vtable(self).18)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle)).ok()
3076 }
ChangePermissions(&self, hmdhandle: u32, dwmdtimeout: u32, dwmdaccessrequested: u32) -> ::windows::runtime::Result<()>3077 pub unsafe fn ChangePermissions(&self, hmdhandle: u32, dwmdtimeout: u32, dwmdaccessrequested: u32) -> ::windows::runtime::Result<()> {
3078 (::windows::runtime::Interface::vtable(self).19)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), ::std::mem::transmute(dwmdtimeout), ::std::mem::transmute(dwmdaccessrequested)).ok()
3079 }
SaveData(&self) -> ::windows::runtime::Result<()>3080 pub unsafe fn SaveData(&self) -> ::windows::runtime::Result<()> {
3081 (::windows::runtime::Interface::vtable(self).20)(::std::mem::transmute_copy(self)).ok()
3082 }
GetHandleInfo(&self, hmdhandle: u32) -> ::windows::runtime::Result<METADATA_HANDLE_INFO>3083 pub unsafe fn GetHandleInfo(&self, hmdhandle: u32) -> ::windows::runtime::Result<METADATA_HANDLE_INFO> {
3084 let mut result__: <METADATA_HANDLE_INFO as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3085 (::windows::runtime::Interface::vtable(self).21)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), &mut result__).from_abi::<METADATA_HANDLE_INFO>(result__)
3086 }
GetSystemChangeNumber(&self) -> ::windows::runtime::Result<u32>3087 pub unsafe fn GetSystemChangeNumber(&self) -> ::windows::runtime::Result<u32> {
3088 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3089 (::windows::runtime::Interface::vtable(self).22)(::std::mem::transmute_copy(self), &mut result__).from_abi::<u32>(result__)
3090 }
3091 #[cfg(feature = "Win32_Foundation")]
GetDataSetNumber<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<u32>3092 pub unsafe fn GetDataSetNumber<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, hmdhandle: u32, pszmdpath: Param1) -> ::windows::runtime::Result<u32> {
3093 let mut result__: <u32 as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3094 (::windows::runtime::Interface::vtable(self).23)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), &mut result__).from_abi::<u32>(result__)
3095 }
3096 #[cfg(feature = "Win32_Foundation")]
SetLastChangeTime<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdhandle: u32, pszmdpath: Param1, pftmdlastchangetime: *const super::super::Foundation::FILETIME, blocaltime: Param3) -> ::windows::runtime::Result<()>3097 pub unsafe fn SetLastChangeTime<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdhandle: u32, pszmdpath: Param1, pftmdlastchangetime: *const super::super::Foundation::FILETIME, blocaltime: Param3) -> ::windows::runtime::Result<()> {
3098 (::windows::runtime::Interface::vtable(self).24)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pftmdlastchangetime), blocaltime.into_param().abi()).ok()
3099 }
3100 #[cfg(feature = "Win32_Foundation")]
GetLastChangeTime<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdhandle: u32, pszmdpath: Param1, pftmdlastchangetime: *mut super::super::Foundation::FILETIME, blocaltime: Param3) -> ::windows::runtime::Result<()>3101 pub unsafe fn GetLastChangeTime<'a, Param1: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>, Param3: ::windows::runtime::IntoParam<'a, super::super::Foundation::BOOL>>(&self, hmdhandle: u32, pszmdpath: Param1, pftmdlastchangetime: *mut super::super::Foundation::FILETIME, blocaltime: Param3) -> ::windows::runtime::Result<()> {
3102 (::windows::runtime::Interface::vtable(self).25)(::std::mem::transmute_copy(self), ::std::mem::transmute(hmdhandle), pszmdpath.into_param().abi(), ::std::mem::transmute(pftmdlastchangetime), blocaltime.into_param().abi()).ok()
3103 }
KeyExchangePhase1(&self) -> ::windows::runtime::Result<()>3104 pub unsafe fn KeyExchangePhase1(&self) -> ::windows::runtime::Result<()> {
3105 (::windows::runtime::Interface::vtable(self).26)(::std::mem::transmute_copy(self)).ok()
3106 }
KeyExchangePhase2(&self) -> ::windows::runtime::Result<()>3107 pub unsafe fn KeyExchangePhase2(&self) -> ::windows::runtime::Result<()> {
3108 (::windows::runtime::Interface::vtable(self).27)(::std::mem::transmute_copy(self)).ok()
3109 }
3110 #[cfg(feature = "Win32_Foundation")]
Backup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()>3111 pub unsafe fn Backup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()> {
3112 (::windows::runtime::Interface::vtable(self).28)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(dwmdversion), ::std::mem::transmute(dwmdflags)).ok()
3113 }
3114 #[cfg(feature = "Win32_Foundation")]
Restore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()>3115 pub unsafe fn Restore<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::Result<()> {
3116 (::windows::runtime::Interface::vtable(self).29)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(dwmdversion), ::std::mem::transmute(dwmdflags)).ok()
3117 }
3118 #[cfg(feature = "Win32_Foundation")]
EnumBackups<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, pdwmdversion: *mut u32, pftmdbackuptime: *mut super::super::Foundation::FILETIME, dwmdenumindex: u32) -> ::windows::runtime::Result<()>3119 pub unsafe fn EnumBackups<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, pdwmdversion: *mut u32, pftmdbackuptime: *mut super::super::Foundation::FILETIME, dwmdenumindex: u32) -> ::windows::runtime::Result<()> {
3120 (::windows::runtime::Interface::vtable(self).30)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(pdwmdversion), ::std::mem::transmute(pftmdbackuptime), ::std::mem::transmute(dwmdenumindex)).ok()
3121 }
3122 #[cfg(feature = "Win32_Foundation")]
DeleteBackup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32) -> ::windows::runtime::Result<()>3123 pub unsafe fn DeleteBackup<'a, Param0: ::windows::runtime::IntoParam<'a, super::super::Foundation::PWSTR>>(&self, pszmdbackuplocation: Param0, dwmdversion: u32) -> ::windows::runtime::Result<()> {
3124 (::windows::runtime::Interface::vtable(self).31)(::std::mem::transmute_copy(self), pszmdbackuplocation.into_param().abi(), ::std::mem::transmute(dwmdversion)).ok()
3125 }
UnmarshalInterface(&self) -> ::windows::runtime::Result<IMSAdminBaseW>3126 pub unsafe fn UnmarshalInterface(&self) -> ::windows::runtime::Result<IMSAdminBaseW> {
3127 let mut result__: <IMSAdminBaseW as ::windows::runtime::Abi>::Abi = ::std::mem::zeroed();
3128 (::windows::runtime::Interface::vtable(self).32)(::std::mem::transmute_copy(self), &mut result__).from_abi::<IMSAdminBaseW>(result__)
3129 }
GetServerGuid(&self) -> ::windows::runtime::Result<()>3130 pub unsafe fn GetServerGuid(&self) -> ::windows::runtime::Result<()> {
3131 (::windows::runtime::Interface::vtable(self).33)(::std::mem::transmute_copy(self)).ok()
3132 }
3133 }
3134 unsafe impl ::windows::runtime::Interface for IMSAdminBaseW {
3135 type Vtable = IMSAdminBaseW_abi;
3136 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(1890915376, 46794, 4560, [185, 185, 0, 160, 201, 34, 231, 80]);
3137 }
3138 impl ::std::convert::From<IMSAdminBaseW> for ::windows::runtime::IUnknown {
from(value: IMSAdminBaseW) -> Self3139 fn from(value: IMSAdminBaseW) -> Self {
3140 unsafe { ::std::mem::transmute(value) }
3141 }
3142 }
3143 impl ::std::convert::From<&IMSAdminBaseW> for ::windows::runtime::IUnknown {
from(value: &IMSAdminBaseW) -> Self3144 fn from(value: &IMSAdminBaseW) -> Self {
3145 ::std::convert::From::from(::std::clone::Clone::clone(value))
3146 }
3147 }
3148 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSAdminBaseW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3149 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3150 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3151 }
3152 }
3153 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSAdminBaseW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3154 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3155 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3156 }
3157 }
3158 #[repr(C)]
3159 #[doc(hidden)]
3160 pub struct IMSAdminBaseW_abi(
3161 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3162 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3163 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3164 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
3165 #[cfg(not(feature = "Win32_Foundation"))] usize,
3166 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
3167 #[cfg(not(feature = "Win32_Foundation"))] usize,
3168 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
3169 #[cfg(not(feature = "Win32_Foundation"))] usize,
3170 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pszmdname: super::super::Foundation::PWSTR, dwmdenumobjectindex: u32) -> ::windows::runtime::HRESULT,
3171 #[cfg(not(feature = "Win32_Foundation"))] usize,
3172 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdsourcehandle: u32, pszmdsourcepath: super::super::Foundation::PWSTR, hmddesthandle: u32, pszmddestpath: super::super::Foundation::PWSTR, bmdoverwriteflag: super::super::Foundation::BOOL, bmdcopyflag: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3173 #[cfg(not(feature = "Win32_Foundation"))] usize,
3174 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pszmdnewname: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT,
3175 #[cfg(not(feature = "Win32_Foundation"))] usize,
3176 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pmdrmddata: *mut METADATA_RECORD) -> ::windows::runtime::HRESULT,
3177 #[cfg(not(feature = "Win32_Foundation"))] usize,
3178 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pmdrmddata: *mut METADATA_RECORD, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::HRESULT,
3179 #[cfg(not(feature = "Win32_Foundation"))] usize,
3180 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, dwmdidentifier: u32, dwmddatatype: u32) -> ::windows::runtime::HRESULT,
3181 #[cfg(not(feature = "Win32_Foundation"))] usize,
3182 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pmdrmddata: *mut METADATA_RECORD, dwmdenumdataindex: u32, pdwmdrequireddatalen: *mut u32) -> ::windows::runtime::HRESULT,
3183 #[cfg(not(feature = "Win32_Foundation"))] usize,
3184 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, pdwmdnumdataentries: *mut u32, pdwmddatasetnumber: *mut u32, dwmdbuffersize: u32, pbmdbuffer: *mut u8, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::HRESULT,
3185 #[cfg(not(feature = "Win32_Foundation"))] usize,
3186 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, dwmdusertype: u32, dwmddatatype: u32) -> ::windows::runtime::HRESULT,
3187 #[cfg(not(feature = "Win32_Foundation"))] usize,
3188 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdsourcehandle: u32, pszmdsourcepath: super::super::Foundation::PWSTR, hmddesthandle: u32, pszmddestpath: super::super::Foundation::PWSTR, dwmdattributes: u32, dwmdusertype: u32, dwmddatatype: u32, bmdcopyflag: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3189 #[cfg(not(feature = "Win32_Foundation"))] usize,
3190 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, dwmdidentifier: u32, dwmddatatype: u32, dwmdbuffersize: u32, pszbuffer: super::super::Foundation::PWSTR, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::HRESULT,
3191 #[cfg(not(feature = "Win32_Foundation"))] usize,
3192 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, dwmdaccessrequested: u32, dwmdtimeout: u32, phmdnewhandle: *mut u32) -> ::windows::runtime::HRESULT,
3193 #[cfg(not(feature = "Win32_Foundation"))] usize,
3194 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32) -> ::windows::runtime::HRESULT,
3195 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, dwmdtimeout: u32, dwmdaccessrequested: u32) -> ::windows::runtime::HRESULT,
3196 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3197 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pmdhiinfo: *mut METADATA_HANDLE_INFO) -> ::windows::runtime::HRESULT,
3198 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pdwsystemchangenumber: *mut u32) -> ::windows::runtime::HRESULT,
3199 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pdwmddatasetnumber: *mut u32) -> ::windows::runtime::HRESULT,
3200 #[cfg(not(feature = "Win32_Foundation"))] usize,
3201 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pftmdlastchangetime: *const super::super::Foundation::FILETIME, blocaltime: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3202 #[cfg(not(feature = "Win32_Foundation"))] usize,
3203 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, hmdhandle: u32, pszmdpath: super::super::Foundation::PWSTR, pftmdlastchangetime: *mut super::super::Foundation::FILETIME, blocaltime: super::super::Foundation::BOOL) -> ::windows::runtime::HRESULT,
3204 #[cfg(not(feature = "Win32_Foundation"))] usize,
3205 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3206 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3207 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::HRESULT,
3208 #[cfg(not(feature = "Win32_Foundation"))] usize,
3209 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, dwmdversion: u32, dwmdflags: u32) -> ::windows::runtime::HRESULT,
3210 #[cfg(not(feature = "Win32_Foundation"))] usize,
3211 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, pdwmdversion: *mut u32, pftmdbackuptime: *mut super::super::Foundation::FILETIME, dwmdenumindex: u32) -> ::windows::runtime::HRESULT,
3212 #[cfg(not(feature = "Win32_Foundation"))] usize,
3213 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszmdbackuplocation: super::super::Foundation::PWSTR, dwmdversion: u32) -> ::windows::runtime::HRESULT,
3214 #[cfg(not(feature = "Win32_Foundation"))] usize,
3215 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, piadmbwinterface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3216 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3217 );
3218 #[repr(transparent)]
3219 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: clone :: Clone, :: std :: fmt :: Debug)]
3220 pub struct IMSImpExpHelpW(::windows::runtime::IUnknown);
3221 impl IMSImpExpHelpW {
3222 #[cfg(feature = "Win32_Foundation")]
EnumeratePathsInFile<'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>>(&self, pszfilename: Param0, pszkeytype: Param1, dwmdbuffersize: u32, pszbuffer: Param3, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()>3223 pub unsafe fn EnumeratePathsInFile<'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>>(&self, pszfilename: Param0, pszkeytype: Param1, dwmdbuffersize: u32, pszbuffer: Param3, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::Result<()> {
3224 (::windows::runtime::Interface::vtable(self).3)(::std::mem::transmute_copy(self), pszfilename.into_param().abi(), pszkeytype.into_param().abi(), ::std::mem::transmute(dwmdbuffersize), pszbuffer.into_param().abi(), ::std::mem::transmute(pdwmdrequiredbuffersize)).ok()
3225 }
3226 }
3227 unsafe impl ::windows::runtime::Interface for IMSImpExpHelpW {
3228 type Vtable = IMSImpExpHelpW_abi;
3229 const IID: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(704604159, 32848, 18447, [159, 48, 204, 65, 99, 95, 47, 157]);
3230 }
3231 impl ::std::convert::From<IMSImpExpHelpW> for ::windows::runtime::IUnknown {
from(value: IMSImpExpHelpW) -> Self3232 fn from(value: IMSImpExpHelpW) -> Self {
3233 unsafe { ::std::mem::transmute(value) }
3234 }
3235 }
3236 impl ::std::convert::From<&IMSImpExpHelpW> for ::windows::runtime::IUnknown {
from(value: &IMSImpExpHelpW) -> Self3237 fn from(value: &IMSImpExpHelpW) -> Self {
3238 ::std::convert::From::from(::std::clone::Clone::clone(value))
3239 }
3240 }
3241 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for IMSImpExpHelpW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3242 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3243 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(self))
3244 }
3245 }
3246 impl<'a> ::windows::runtime::IntoParam<'a, ::windows::runtime::IUnknown> for &IMSImpExpHelpW {
into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown>3247 fn into_param(self) -> ::windows::runtime::Param<'a, ::windows::runtime::IUnknown> {
3248 ::windows::runtime::Param::Owned(::std::convert::Into::<::windows::runtime::IUnknown>::into(::std::clone::Clone::clone(self)))
3249 }
3250 }
3251 #[repr(C)]
3252 #[doc(hidden)]
3253 pub struct IMSImpExpHelpW_abi(
3254 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, iid: &::windows::runtime::GUID, interface: *mut ::windows::runtime::RawPtr) -> ::windows::runtime::HRESULT,
3255 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3256 pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr) -> u32,
3257 #[cfg(feature = "Win32_Foundation")] pub unsafe extern "system" fn(this: ::windows::runtime::RawPtr, pszfilename: super::super::Foundation::PWSTR, pszkeytype: super::super::Foundation::PWSTR, dwmdbuffersize: u32, pszbuffer: super::super::Foundation::PWSTR, pdwmdrequiredbuffersize: *mut u32) -> ::windows::runtime::HRESULT,
3258 #[cfg(not(feature = "Win32_Foundation"))] usize,
3259 );
3260 pub const LIBID_ASPTypeLibrary: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3648679328, 43100, 4559, [131, 174, 0, 160, 201, 12, 43, 216]);
3261 pub const LIBID_IISRSTALib: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(3908797972, 22671, 4562, [157, 97, 0, 192, 79, 121, 197, 254]);
3262 pub const LIBID_WAMREGLib: ::windows::runtime::GUID = ::windows::runtime::GUID::from_values(696396456, 62210, 4560, [153, 83, 0, 192, 79, 217, 25, 193]);
3263 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3264 #[repr(C)]
3265 #[cfg(feature = "Win32_Foundation")]
3266 pub struct LOGGING_PARAMETERS {
3267 pub pszSessionId: super::super::Foundation::PWSTR,
3268 pub pszSiteName: super::super::Foundation::PWSTR,
3269 pub pszUserName: super::super::Foundation::PWSTR,
3270 pub pszHostName: super::super::Foundation::PWSTR,
3271 pub pszRemoteIpAddress: super::super::Foundation::PWSTR,
3272 pub dwRemoteIpPort: u32,
3273 pub pszLocalIpAddress: super::super::Foundation::PWSTR,
3274 pub dwLocalIpPort: u32,
3275 pub BytesSent: u64,
3276 pub BytesReceived: u64,
3277 pub pszCommand: super::super::Foundation::PWSTR,
3278 pub pszCommandParameters: super::super::Foundation::PWSTR,
3279 pub pszFullPath: super::super::Foundation::PWSTR,
3280 pub dwElapsedMilliseconds: u32,
3281 pub FtpStatus: u32,
3282 pub FtpSubStatus: u32,
3283 pub hrStatus: ::windows::runtime::HRESULT,
3284 pub pszInformation: super::super::Foundation::PWSTR,
3285 }
3286 #[cfg(feature = "Win32_Foundation")]
3287 impl LOGGING_PARAMETERS {}
3288 #[cfg(feature = "Win32_Foundation")]
3289 impl ::std::default::Default for LOGGING_PARAMETERS {
default() -> Self3290 fn default() -> Self {
3291 unsafe { ::std::mem::zeroed() }
3292 }
3293 }
3294 #[cfg(feature = "Win32_Foundation")]
3295 impl ::std::fmt::Debug for LOGGING_PARAMETERS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3296 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3297 fmt.debug_struct("LOGGING_PARAMETERS")
3298 .field("pszSessionId", &self.pszSessionId)
3299 .field("pszSiteName", &self.pszSiteName)
3300 .field("pszUserName", &self.pszUserName)
3301 .field("pszHostName", &self.pszHostName)
3302 .field("pszRemoteIpAddress", &self.pszRemoteIpAddress)
3303 .field("dwRemoteIpPort", &self.dwRemoteIpPort)
3304 .field("pszLocalIpAddress", &self.pszLocalIpAddress)
3305 .field("dwLocalIpPort", &self.dwLocalIpPort)
3306 .field("BytesSent", &self.BytesSent)
3307 .field("BytesReceived", &self.BytesReceived)
3308 .field("pszCommand", &self.pszCommand)
3309 .field("pszCommandParameters", &self.pszCommandParameters)
3310 .field("pszFullPath", &self.pszFullPath)
3311 .field("dwElapsedMilliseconds", &self.dwElapsedMilliseconds)
3312 .field("FtpStatus", &self.FtpStatus)
3313 .field("FtpSubStatus", &self.FtpSubStatus)
3314 .field("hrStatus", &self.hrStatus)
3315 .field("pszInformation", &self.pszInformation)
3316 .finish()
3317 }
3318 }
3319 #[cfg(feature = "Win32_Foundation")]
3320 impl ::std::cmp::PartialEq for LOGGING_PARAMETERS {
eq(&self, other: &Self) -> bool3321 fn eq(&self, other: &Self) -> bool {
3322 self.pszSessionId == other.pszSessionId
3323 && self.pszSiteName == other.pszSiteName
3324 && self.pszUserName == other.pszUserName
3325 && self.pszHostName == other.pszHostName
3326 && self.pszRemoteIpAddress == other.pszRemoteIpAddress
3327 && self.dwRemoteIpPort == other.dwRemoteIpPort
3328 && self.pszLocalIpAddress == other.pszLocalIpAddress
3329 && self.dwLocalIpPort == other.dwLocalIpPort
3330 && self.BytesSent == other.BytesSent
3331 && self.BytesReceived == other.BytesReceived
3332 && self.pszCommand == other.pszCommand
3333 && self.pszCommandParameters == other.pszCommandParameters
3334 && self.pszFullPath == other.pszFullPath
3335 && self.dwElapsedMilliseconds == other.dwElapsedMilliseconds
3336 && self.FtpStatus == other.FtpStatus
3337 && self.FtpSubStatus == other.FtpSubStatus
3338 && self.hrStatus == other.hrStatus
3339 && self.pszInformation == other.pszInformation
3340 }
3341 }
3342 #[cfg(feature = "Win32_Foundation")]
3343 impl ::std::cmp::Eq for LOGGING_PARAMETERS {}
3344 #[cfg(feature = "Win32_Foundation")]
3345 unsafe impl ::windows::runtime::Abi for LOGGING_PARAMETERS {
3346 type Abi = Self;
3347 type DefaultType = Self;
3348 }
3349 pub const MB_DONT_IMPERSONATE: u32 = 9033u32;
3350 pub const MD_ACCESS_EXECUTE: u32 = 4u32;
3351 pub const MD_ACCESS_MAP_CERT: u32 = 128u32;
3352 pub const MD_ACCESS_MASK: u32 = 65535u32;
3353 pub const MD_ACCESS_NEGO_CERT: u32 = 32u32;
3354 pub const MD_ACCESS_NO_PHYSICAL_DIR: u32 = 32768u32;
3355 pub const MD_ACCESS_NO_REMOTE_EXECUTE: u32 = 8192u32;
3356 pub const MD_ACCESS_NO_REMOTE_READ: u32 = 4096u32;
3357 pub const MD_ACCESS_NO_REMOTE_SCRIPT: u32 = 16384u32;
3358 pub const MD_ACCESS_NO_REMOTE_WRITE: u32 = 1024u32;
3359 pub const MD_ACCESS_PERM: u32 = 6016u32;
3360 pub const MD_ACCESS_READ: u32 = 1u32;
3361 pub const MD_ACCESS_REQUIRE_CERT: u32 = 64u32;
3362 pub const MD_ACCESS_SCRIPT: u32 = 512u32;
3363 pub const MD_ACCESS_SOURCE: u32 = 16u32;
3364 pub const MD_ACCESS_SSL: u32 = 8u32;
3365 pub const MD_ACCESS_SSL128: u32 = 256u32;
3366 pub const MD_ACCESS_WRITE: u32 = 2u32;
3367 pub const MD_ACR_ENUM_KEYS: u32 = 8u32;
3368 pub const MD_ACR_READ: u32 = 1u32;
3369 pub const MD_ACR_RESTRICTED_WRITE: u32 = 32u32;
3370 pub const MD_ACR_UNSECURE_PROPS_READ: u32 = 128u32;
3371 pub const MD_ACR_WRITE: u32 = 2u32;
3372 pub const MD_ACR_WRITE_DAC: u32 = 262144u32;
3373 pub const MD_ADMIN_ACL: u32 = 6027u32;
3374 pub const MD_ADMIN_INSTANCE: u32 = 2115u32;
3375 pub const MD_ADV_CACHE_TTL: u32 = 2064u32;
3376 pub const MD_ADV_NOTIFY_PWD_EXP_IN_DAYS: u32 = 2063u32;
3377 pub const MD_AD_CONNECTIONS_PASSWORD: u32 = 5015u32;
3378 pub const MD_AD_CONNECTIONS_USERNAME: u32 = 5014u32;
3379 pub const MD_ALLOW_ANONYMOUS: u32 = 5005u32;
3380 pub const MD_ALLOW_KEEPALIVES: u32 = 6038u32;
3381 pub const MD_ALLOW_PATH_INFO_FOR_SCRIPT_MAPPINGS: u32 = 2095u32;
3382 pub const MD_ALLOW_REPLACE_ON_RENAME: u32 = 5009u32;
3383 pub const MD_ANONYMOUS_ONLY: u32 = 5006u32;
3384 pub const MD_ANONYMOUS_PWD: u32 = 6021u32;
3385 pub const MD_ANONYMOUS_USER_NAME: u32 = 6020u32;
3386 pub const MD_ANONYMOUS_USE_SUBAUTH: u32 = 6022u32;
3387 pub const MD_APPPOOL_32_BIT_APP_ON_WIN64: u32 = 9040u32;
3388 pub const MD_APPPOOL_ALLOW_TRANSIENT_REGISTRATION: u32 = 9202u32;
3389 pub const MD_APPPOOL_APPPOOL_ID: u32 = 9201u32;
3390 pub const MD_APPPOOL_AUTO_SHUTDOWN_EXE: u32 = 9035u32;
3391 pub const MD_APPPOOL_AUTO_SHUTDOWN_PARAMS: u32 = 9036u32;
3392 pub const MD_APPPOOL_AUTO_START: u32 = 9028u32;
3393 pub const MD_APPPOOL_COMMAND: u32 = 9026u32;
3394 pub const MD_APPPOOL_COMMAND_START: u32 = 1u32;
3395 pub const MD_APPPOOL_COMMAND_STOP: u32 = 2u32;
3396 pub const MD_APPPOOL_DISALLOW_OVERLAPPING_ROTATION: u32 = 9015u32;
3397 pub const MD_APPPOOL_DISALLOW_ROTATION_ON_CONFIG_CHANGE: u32 = 9018u32;
3398 pub const MD_APPPOOL_IDENTITY_TYPE: u32 = 9021u32;
3399 pub const MD_APPPOOL_IDENTITY_TYPE_LOCALSERVICE: u32 = 1u32;
3400 pub const MD_APPPOOL_IDENTITY_TYPE_LOCALSYSTEM: u32 = 0u32;
3401 pub const MD_APPPOOL_IDENTITY_TYPE_NETWORKSERVICE: u32 = 2u32;
3402 pub const MD_APPPOOL_IDENTITY_TYPE_SPECIFICUSER: u32 = 3u32;
3403 pub const MD_APPPOOL_IDLE_TIMEOUT: u32 = 9005u32;
3404 pub const MD_APPPOOL_MANAGED_PIPELINE_MODE: u32 = 9041u32;
3405 pub const MD_APPPOOL_MANAGED_RUNTIME_VERSION: u32 = 9039u32;
3406 pub const MD_APPPOOL_MAX_PROCESS_COUNT: u32 = 9003u32;
3407 pub const MD_APPPOOL_ORPHAN_ACTION_EXE: u32 = 9031u32;
3408 pub const MD_APPPOOL_ORPHAN_ACTION_PARAMS: u32 = 9032u32;
3409 pub const MD_APPPOOL_ORPHAN_PROCESSES_FOR_DEBUGGING: u32 = 9009u32;
3410 pub const MD_APPPOOL_PERIODIC_RESTART_CONNECTIONS: u32 = 9104u32;
3411 pub const MD_APPPOOL_PERIODIC_RESTART_MEMORY: u32 = 9024u32;
3412 pub const MD_APPPOOL_PERIODIC_RESTART_PRIVATE_MEMORY: u32 = 9038u32;
3413 pub const MD_APPPOOL_PERIODIC_RESTART_REQUEST_COUNT: u32 = 9002u32;
3414 pub const MD_APPPOOL_PERIODIC_RESTART_SCHEDULE: u32 = 9020u32;
3415 pub const MD_APPPOOL_PERIODIC_RESTART_TIME: u32 = 9001u32;
3416 pub const MD_APPPOOL_PINGING_ENABLED: u32 = 9004u32;
3417 pub const MD_APPPOOL_PING_INTERVAL: u32 = 9013u32;
3418 pub const MD_APPPOOL_PING_RESPONSE_TIMELIMIT: u32 = 9014u32;
3419 pub const MD_APPPOOL_RAPID_FAIL_PROTECTION_ENABLED: u32 = 9006u32;
3420 pub const MD_APPPOOL_SHUTDOWN_TIMELIMIT: u32 = 9012u32;
3421 pub const MD_APPPOOL_SMP_AFFINITIZED: u32 = 9007u32;
3422 pub const MD_APPPOOL_SMP_AFFINITIZED_PROCESSOR_MASK: u32 = 9008u32;
3423 pub const MD_APPPOOL_STARTUP_TIMELIMIT: u32 = 9011u32;
3424 pub const MD_APPPOOL_STATE: u32 = 9027u32;
3425 pub const MD_APPPOOL_STATE_STARTED: u32 = 2u32;
3426 pub const MD_APPPOOL_STATE_STARTING: u32 = 1u32;
3427 pub const MD_APPPOOL_STATE_STOPPED: u32 = 4u32;
3428 pub const MD_APPPOOL_STATE_STOPPING: u32 = 3u32;
3429 pub const MD_APPPOOL_UL_APPPOOL_QUEUE_LENGTH: u32 = 9017u32;
3430 pub const MD_APP_ALLOW_TRANSIENT_REGISTRATION: u32 = 9102u32;
3431 pub const MD_APP_APPPOOL_ID: u32 = 9101u32;
3432 pub const MD_APP_AUTO_START: u32 = 9103u32;
3433 pub const MD_APP_DEPENDENCIES: u32 = 2167u32;
3434 pub const MD_APP_FRIENDLY_NAME: u32 = 2102u32;
3435 pub const MD_APP_ISOLATED: u32 = 2104u32;
3436 pub const MD_APP_OOP_RECOVER_LIMIT: u32 = 2110u32;
3437 pub const MD_APP_PACKAGE_ID: u32 = 2106u32;
3438 pub const MD_APP_PACKAGE_NAME: u32 = 2107u32;
3439 pub const MD_APP_PERIODIC_RESTART_REQUESTS: u32 = 2112u32;
3440 pub const MD_APP_PERIODIC_RESTART_SCHEDULE: u32 = 2113u32;
3441 pub const MD_APP_PERIODIC_RESTART_TIME: u32 = 2111u32;
3442 pub const MD_APP_POOL_LOG_EVENT_ON_PROCESSMODEL: u32 = 9042u32;
3443 pub const MD_APP_POOL_LOG_EVENT_ON_RECYCLE: u32 = 9037u32;
3444 pub const MD_APP_POOL_PROCESSMODEL_IDLE_TIMEOUT: u32 = 1u32;
3445 pub const MD_APP_POOL_RECYCLE_CONFIG_CHANGE: u32 = 64u32;
3446 pub const MD_APP_POOL_RECYCLE_ISAPI_UNHEALTHY: u32 = 16u32;
3447 pub const MD_APP_POOL_RECYCLE_MEMORY: u32 = 8u32;
3448 pub const MD_APP_POOL_RECYCLE_ON_DEMAND: u32 = 32u32;
3449 pub const MD_APP_POOL_RECYCLE_PRIVATE_MEMORY: u32 = 128u32;
3450 pub const MD_APP_POOL_RECYCLE_REQUESTS: u32 = 2u32;
3451 pub const MD_APP_POOL_RECYCLE_SCHEDULE: u32 = 4u32;
3452 pub const MD_APP_POOL_RECYCLE_TIME: u32 = 1u32;
3453 pub const MD_APP_ROOT: u32 = 2103u32;
3454 pub const MD_APP_SHUTDOWN_TIME_LIMIT: u32 = 2114u32;
3455 pub const MD_APP_TRACE_URL_LIST: u32 = 2118u32;
3456 pub const MD_APP_WAM_CLSID: u32 = 2105u32;
3457 pub const MD_ASP_ALLOWOUTOFPROCCMPNTS: u32 = 7014u32;
3458 pub const MD_ASP_ALLOWOUTOFPROCCOMPONENTS: u32 = 7014u32;
3459 pub const MD_ASP_ALLOWSESSIONSTATE: u32 = 7011u32;
3460 pub const MD_ASP_BUFFERINGON: u32 = 7000u32;
3461 pub const MD_ASP_BUFFER_LIMIT: u32 = 7052u32;
3462 pub const MD_ASP_CALCLINENUMBER: u32 = 7050u32;
3463 pub const MD_ASP_CODEPAGE: u32 = 7016u32;
3464 pub const MD_ASP_DISKTEMPLATECACHEDIRECTORY: u32 = 7036u32;
3465 pub const MD_ASP_ENABLEAPPLICATIONRESTART: u32 = 7027u32;
3466 pub const MD_ASP_ENABLEASPHTMLFALLBACK: u32 = 7021u32;
3467 pub const MD_ASP_ENABLECHUNKEDENCODING: u32 = 7022u32;
3468 pub const MD_ASP_ENABLECLIENTDEBUG: u32 = 7019u32;
3469 pub const MD_ASP_ENABLEPARENTPATHS: u32 = 7008u32;
3470 pub const MD_ASP_ENABLESERVERDEBUG: u32 = 7018u32;
3471 pub const MD_ASP_ENABLETYPELIBCACHE: u32 = 7023u32;
3472 pub const MD_ASP_ERRORSTONTLOG: u32 = 7024u32;
3473 pub const MD_ASP_EXCEPTIONCATCHENABLE: u32 = 7015u32;
3474 pub const MD_ASP_EXECUTEINMTA: u32 = 7041u32;
3475 pub const MD_ASP_ID_LAST: u32 = 7053u32;
3476 pub const MD_ASP_KEEPSESSIONIDSECURE: u32 = 7043u32;
3477 pub const MD_ASP_LCID: u32 = 7042u32;
3478 pub const MD_ASP_LOGERRORREQUESTS: u32 = 7001u32;
3479 pub const MD_ASP_MAXDISKTEMPLATECACHEFILES: u32 = 7040u32;
3480 pub const MD_ASP_MAXREQUESTENTITY: u32 = 7053u32;
3481 pub const MD_ASP_MAX_REQUEST_ENTITY_ALLOWED: u32 = 7053u32;
3482 pub const MD_ASP_MEMFREEFACTOR: u32 = 7009u32;
3483 pub const MD_ASP_MINUSEDBLOCKS: u32 = 7010u32;
3484 pub const MD_ASP_PROCESSORTHREADMAX: u32 = 7025u32;
3485 pub const MD_ASP_QUEUECONNECTIONTESTTIME: u32 = 7028u32;
3486 pub const MD_ASP_QUEUETIMEOUT: u32 = 7013u32;
3487 pub const MD_ASP_REQEUSTQUEUEMAX: u32 = 7026u32;
3488 pub const MD_ASP_RUN_ONEND_ANON: u32 = 7051u32;
3489 pub const MD_ASP_SCRIPTENGINECACHEMAX: u32 = 7005u32;
3490 pub const MD_ASP_SCRIPTERRORMESSAGE: u32 = 7003u32;
3491 pub const MD_ASP_SCRIPTERRORSSENTTOBROWSER: u32 = 7002u32;
3492 pub const MD_ASP_SCRIPTFILECACHESIZE: u32 = 7004u32;
3493 pub const MD_ASP_SCRIPTLANGUAGE: u32 = 7012u32;
3494 pub const MD_ASP_SCRIPTLANGUAGELIST: u32 = 7017u32;
3495 pub const MD_ASP_SCRIPTTIMEOUT: u32 = 7006u32;
3496 pub const MD_ASP_SERVICE_ENABLE_SXS: u32 = 2u32;
3497 pub const MD_ASP_SERVICE_ENABLE_TRACKER: u32 = 1u32;
3498 pub const MD_ASP_SERVICE_FLAGS: u32 = 7044u32;
3499 pub const MD_ASP_SERVICE_FLAG_FUSION: u32 = 7046u32;
3500 pub const MD_ASP_SERVICE_FLAG_PARTITIONS: u32 = 7047u32;
3501 pub const MD_ASP_SERVICE_FLAG_TRACKER: u32 = 7045u32;
3502 pub const MD_ASP_SERVICE_PARTITION_ID: u32 = 7048u32;
3503 pub const MD_ASP_SERVICE_SXS_NAME: u32 = 7049u32;
3504 pub const MD_ASP_SERVICE_USE_PARTITION: u32 = 4u32;
3505 pub const MD_ASP_SESSIONMAX: u32 = 7029u32;
3506 pub const MD_ASP_SESSIONTIMEOUT: u32 = 7007u32;
3507 pub const MD_ASP_THREADGATEENABLED: u32 = 7030u32;
3508 pub const MD_ASP_THREADGATELOADHIGH: u32 = 7035u32;
3509 pub const MD_ASP_THREADGATELOADLOW: u32 = 7034u32;
3510 pub const MD_ASP_THREADGATESLEEPDELAY: u32 = 7032u32;
3511 pub const MD_ASP_THREADGATESLEEPMAX: u32 = 7033u32;
3512 pub const MD_ASP_THREADGATETIMESLICE: u32 = 7031u32;
3513 pub const MD_ASP_TRACKTHREADINGMODEL: u32 = 7020u32;
3514 pub const MD_AUTHORIZATION: u32 = 6000u32;
3515 pub const MD_AUTHORIZATION_PERSISTENCE: u32 = 6031u32;
3516 pub const MD_AUTH_ADVNOTIFY_DISABLE: u32 = 4u32;
3517 pub const MD_AUTH_ANONYMOUS: u32 = 1u32;
3518 pub const MD_AUTH_BASIC: u32 = 2u32;
3519 pub const MD_AUTH_CHANGE_DISABLE: u32 = 2u32;
3520 pub const MD_AUTH_CHANGE_FLAGS: u32 = 2068u32;
3521 pub const MD_AUTH_CHANGE_UNSECURE: u32 = 1u32;
3522 pub const MD_AUTH_CHANGE_URL: u32 = 2060u32;
3523 pub const MD_AUTH_EXPIRED_UNSECUREURL: u32 = 2067u32;
3524 pub const MD_AUTH_EXPIRED_URL: u32 = 2061u32;
3525 pub const MD_AUTH_MD5: u32 = 16u32;
3526 pub const MD_AUTH_NT: u32 = 4u32;
3527 pub const MD_AUTH_PASSPORT: u32 = 64u32;
3528 pub const MD_AUTH_SINGLEREQUEST: u32 = 64u32;
3529 pub const MD_AUTH_SINGLEREQUESTALWAYSIFPROXY: u32 = 256u32;
3530 pub const MD_AUTH_SINGLEREQUESTIFPROXY: u32 = 128u32;
3531 pub const MD_BACKUP_FORCE_BACKUP: u32 = 4u32;
3532 pub const MD_BACKUP_HIGHEST_VERSION: u32 = 4294967294u32;
3533 pub const MD_BACKUP_MAX_LEN: u32 = 100u32;
3534 pub const MD_BACKUP_MAX_VERSION: u32 = 9999u32;
3535 pub const MD_BACKUP_NEXT_VERSION: u32 = 4294967295u32;
3536 pub const MD_BACKUP_OVERWRITE: u32 = 1u32;
3537 pub const MD_BACKUP_SAVE_FIRST: u32 = 2u32;
3538 pub const MD_BANNER_MESSAGE: u32 = 5011u32;
3539 pub const MD_BINDINGS: u32 = 2022u32;
3540 pub const MD_CACHE_EXTENSIONS: u32 = 6034u32;
3541 pub const MD_CAL_AUTH_RESERVE_TIMEOUT: u32 = 2131u32;
3542 pub const MD_CAL_SSL_RESERVE_TIMEOUT: u32 = 2132u32;
3543 pub const MD_CAL_VC_PER_CONNECT: u32 = 2130u32;
3544 pub const MD_CAL_W3_ERROR: u32 = 2133u32;
3545 pub const MD_CC_MAX_AGE: u32 = 6042u32;
3546 pub const MD_CC_NO_CACHE: u32 = 6041u32;
3547 pub const MD_CC_OTHER: u32 = 6043u32;
3548 pub const MD_CENTRAL_W3C_LOGGING_ENABLED: u32 = 2119u32;
3549 pub const MD_CERT_CACHE_RETRIEVAL_ONLY: u32 = 2u32;
3550 pub const MD_CERT_CHECK_REVOCATION_FRESHNESS_TIME: u32 = 4u32;
3551 pub const MD_CERT_NO_REVOC_CHECK: u32 = 1u32;
3552 pub const MD_CERT_NO_USAGE_CHECK: u32 = 65536u32;
3553 pub const MD_CGI_RESTRICTION_LIST: u32 = 2164u32;
3554 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
3555 #[repr(C)]
3556 #[cfg(feature = "Win32_Foundation")]
3557 pub struct MD_CHANGE_OBJECT_W {
3558 pub pszMDPath: super::super::Foundation::PWSTR,
3559 pub dwMDChangeType: u32,
3560 pub dwMDNumDataIDs: u32,
3561 pub pdwMDDataIDs: *mut u32,
3562 }
3563 #[cfg(feature = "Win32_Foundation")]
3564 impl MD_CHANGE_OBJECT_W {}
3565 #[cfg(feature = "Win32_Foundation")]
3566 impl ::std::default::Default for MD_CHANGE_OBJECT_W {
default() -> Self3567 fn default() -> Self {
3568 unsafe { ::std::mem::zeroed() }
3569 }
3570 }
3571 #[cfg(feature = "Win32_Foundation")]
3572 impl ::std::fmt::Debug for MD_CHANGE_OBJECT_W {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result3573 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
3574 fmt.debug_struct("MD_CHANGE_OBJECT_W").field("pszMDPath", &self.pszMDPath).field("dwMDChangeType", &self.dwMDChangeType).field("dwMDNumDataIDs", &self.dwMDNumDataIDs).field("pdwMDDataIDs", &self.pdwMDDataIDs).finish()
3575 }
3576 }
3577 #[cfg(feature = "Win32_Foundation")]
3578 impl ::std::cmp::PartialEq for MD_CHANGE_OBJECT_W {
eq(&self, other: &Self) -> bool3579 fn eq(&self, other: &Self) -> bool {
3580 self.pszMDPath == other.pszMDPath && self.dwMDChangeType == other.dwMDChangeType && self.dwMDNumDataIDs == other.dwMDNumDataIDs && self.pdwMDDataIDs == other.pdwMDDataIDs
3581 }
3582 }
3583 #[cfg(feature = "Win32_Foundation")]
3584 impl ::std::cmp::Eq for MD_CHANGE_OBJECT_W {}
3585 #[cfg(feature = "Win32_Foundation")]
3586 unsafe impl ::windows::runtime::Abi for MD_CHANGE_OBJECT_W {
3587 type Abi = Self;
3588 type DefaultType = Self;
3589 }
3590 pub const MD_CHANGE_TYPE_ADD_OBJECT: u32 = 2u32;
3591 pub const MD_CHANGE_TYPE_DELETE_DATA: u32 = 8u32;
3592 pub const MD_CHANGE_TYPE_DELETE_OBJECT: u32 = 1u32;
3593 pub const MD_CHANGE_TYPE_RENAME_OBJECT: u32 = 16u32;
3594 pub const MD_CHANGE_TYPE_RESTORE: u32 = 32u32;
3595 pub const MD_CHANGE_TYPE_SET_DATA: u32 = 4u32;
3596 pub const MD_COMMENTS: u32 = 9990u32;
3597 pub const MD_CONNECTION_TIMEOUT: u32 = 1013u32;
3598 pub const MD_CPU_ACTION: u32 = 9022u32;
3599 pub const MD_CPU_APP_ENABLED: u32 = 2141u32;
3600 pub const MD_CPU_CGI_ENABLED: u32 = 2140u32;
3601 pub const MD_CPU_CGI_LIMIT: u32 = 2148u32;
3602 pub const MD_CPU_DISABLE_ALL_LOGGING: u32 = 0u32;
3603 pub const MD_CPU_ENABLE_ACTIVE_PROCS: u32 = 64u32;
3604 pub const MD_CPU_ENABLE_ALL_PROC_LOGGING: u32 = 1u32;
3605 pub const MD_CPU_ENABLE_APP_LOGGING: u32 = 4u32;
3606 pub const MD_CPU_ENABLE_CGI_LOGGING: u32 = 2u32;
3607 pub const MD_CPU_ENABLE_EVENT: u32 = 1u32;
3608 pub const MD_CPU_ENABLE_KERNEL_TIME: u32 = 8u32;
3609 pub const MD_CPU_ENABLE_LOGGING: u32 = 2147483648u32;
3610 pub const MD_CPU_ENABLE_PAGE_FAULTS: u32 = 16u32;
3611 pub const MD_CPU_ENABLE_PROC_TYPE: u32 = 2u32;
3612 pub const MD_CPU_ENABLE_TERMINATED_PROCS: u32 = 128u32;
3613 pub const MD_CPU_ENABLE_TOTAL_PROCS: u32 = 32u32;
3614 pub const MD_CPU_ENABLE_USER_TIME: u32 = 4u32;
3615 pub const MD_CPU_KILL_W3WP: u32 = 1u32;
3616 pub const MD_CPU_LIMIT: u32 = 9023u32;
3617 pub const MD_CPU_LIMITS_ENABLED: u32 = 2143u32;
3618 pub const MD_CPU_LIMIT_LOGEVENT: u32 = 2149u32;
3619 pub const MD_CPU_LIMIT_PAUSE: u32 = 2152u32;
3620 pub const MD_CPU_LIMIT_PRIORITY: u32 = 2150u32;
3621 pub const MD_CPU_LIMIT_PROCSTOP: u32 = 2151u32;
3622 pub const MD_CPU_LOGGING_INTERVAL: u32 = 2145u32;
3623 pub const MD_CPU_LOGGING_MASK: u32 = 4507u32;
3624 pub const MD_CPU_LOGGING_OPTIONS: u32 = 2146u32;
3625 pub const MD_CPU_NO_ACTION: u32 = 0u32;
3626 pub const MD_CPU_RESET_INTERVAL: u32 = 2144u32;
3627 pub const MD_CPU_THROTTLE: u32 = 3u32;
3628 pub const MD_CPU_TRACE: u32 = 2u32;
3629 pub const MD_CREATE_PROCESS_AS_USER: u32 = 6035u32;
3630 pub const MD_CREATE_PROC_NEW_CONSOLE: u32 = 6036u32;
3631 pub const MD_CUSTOM_DEPLOYMENT_DATA: u32 = 6055u32;
3632 pub const MD_CUSTOM_ERROR: u32 = 6008u32;
3633 pub const MD_CUSTOM_ERROR_DESC: u32 = 2120u32;
3634 pub const MD_DEFAULT_LOAD_FILE: u32 = 6006u32;
3635 pub const MD_DEFAULT_LOGON_DOMAIN: u32 = 6012u32;
3636 pub const MD_DEMAND_START_THRESHOLD: u32 = 9207u32;
3637 pub const MD_DIRBROW_ENABLED: u32 = 2147483648u32;
3638 pub const MD_DIRBROW_LOADDEFAULT: u32 = 1073741824u32;
3639 pub const MD_DIRBROW_LONG_DATE: u32 = 32u32;
3640 pub const MD_DIRBROW_SHOW_DATE: u32 = 2u32;
3641 pub const MD_DIRBROW_SHOW_EXTENSION: u32 = 16u32;
3642 pub const MD_DIRBROW_SHOW_SIZE: u32 = 8u32;
3643 pub const MD_DIRBROW_SHOW_TIME: u32 = 4u32;
3644 pub const MD_DIRECTORY_BROWSING: u32 = 6005u32;
3645 pub const MD_DISABLE_SOCKET_POOLING: u32 = 1029u32;
3646 pub const MD_DONT_LOG: u32 = 6023u32;
3647 pub const MD_DOWNLEVEL_ADMIN_INSTANCE: u32 = 1021u32;
3648 pub const MD_DO_REVERSE_DNS: u32 = 6029u32;
3649 pub const MD_ENABLEDPROTOCOLS: u32 = 2023u32;
3650 pub const MD_ENABLE_URL_AUTHORIZATION: u32 = 6048u32;
3651 pub const MD_ERROR_CANNOT_REMOVE_SECURE_ATTRIBUTE: i32 = -2146646008i32;
3652 pub const MD_ERROR_DATA_NOT_FOUND: i32 = -2146646015i32;
3653 pub const MD_ERROR_IISAO_INVALID_SCHEMA: i32 = -2146646000i32;
3654 pub const MD_ERROR_INVALID_VERSION: i32 = -2146646014i32;
3655 pub const MD_ERROR_NOT_INITIALIZED: i32 = -2146646016i32;
3656 pub const MD_ERROR_NO_SESSION_KEY: i32 = -2146645987i32;
3657 pub const MD_ERROR_READ_METABASE_FILE: i32 = -2146645991i32;
3658 pub const MD_ERROR_SECURE_CHANNEL_FAILURE: i32 = -2146646010i32;
3659 pub const MD_ERROR_SUB400_INVALID_CONTENT_LENGTH: u32 = 7u32;
3660 pub const MD_ERROR_SUB400_INVALID_DEPTH: u32 = 2u32;
3661 pub const MD_ERROR_SUB400_INVALID_DESTINATION: u32 = 1u32;
3662 pub const MD_ERROR_SUB400_INVALID_IF: u32 = 3u32;
3663 pub const MD_ERROR_SUB400_INVALID_LOCK_TOKEN: u32 = 9u32;
3664 pub const MD_ERROR_SUB400_INVALID_OVERWRITE: u32 = 4u32;
3665 pub const MD_ERROR_SUB400_INVALID_REQUEST_BODY: u32 = 6u32;
3666 pub const MD_ERROR_SUB400_INVALID_TIMEOUT: u32 = 8u32;
3667 pub const MD_ERROR_SUB400_INVALID_TRANSLATE: u32 = 5u32;
3668 pub const MD_ERROR_SUB400_INVALID_WEBSOCKET_REQUEST: u32 = 11u32;
3669 pub const MD_ERROR_SUB400_INVALID_XFF_HEADER: u32 = 10u32;
3670 pub const MD_ERROR_SUB401_APPLICATION: u32 = 5u32;
3671 pub const MD_ERROR_SUB401_FILTER: u32 = 4u32;
3672 pub const MD_ERROR_SUB401_LOGON: u32 = 1u32;
3673 pub const MD_ERROR_SUB401_LOGON_ACL: u32 = 3u32;
3674 pub const MD_ERROR_SUB401_LOGON_CONFIG: u32 = 2u32;
3675 pub const MD_ERROR_SUB401_URLAUTH_POLICY: u32 = 7u32;
3676 pub const MD_ERROR_SUB403_ADDR_REJECT: u32 = 6u32;
3677 pub const MD_ERROR_SUB403_APPPOOL_DENIED: u32 = 18u32;
3678 pub const MD_ERROR_SUB403_CAL_EXCEEDED: u32 = 15u32;
3679 pub const MD_ERROR_SUB403_CERT_BAD: u32 = 16u32;
3680 pub const MD_ERROR_SUB403_CERT_REQUIRED: u32 = 7u32;
3681 pub const MD_ERROR_SUB403_CERT_REVOKED: u32 = 13u32;
3682 pub const MD_ERROR_SUB403_CERT_TIME_INVALID: u32 = 17u32;
3683 pub const MD_ERROR_SUB403_DIR_LIST_DENIED: u32 = 14u32;
3684 pub const MD_ERROR_SUB403_EXECUTE_ACCESS_DENIED: u32 = 1u32;
3685 pub const MD_ERROR_SUB403_INFINITE_DEPTH_DENIED: u32 = 22u32;
3686 pub const MD_ERROR_SUB403_INSUFFICIENT_PRIVILEGE_FOR_CGI: u32 = 19u32;
3687 pub const MD_ERROR_SUB403_INVALID_CNFG: u32 = 10u32;
3688 pub const MD_ERROR_SUB403_LOCK_TOKEN_REQUIRED: u32 = 23u32;
3689 pub const MD_ERROR_SUB403_MAPPER_DENY_ACCESS: u32 = 12u32;
3690 pub const MD_ERROR_SUB403_PASSPORT_LOGIN_FAILURE: u32 = 20u32;
3691 pub const MD_ERROR_SUB403_PWD_CHANGE: u32 = 11u32;
3692 pub const MD_ERROR_SUB403_READ_ACCESS_DENIED: u32 = 2u32;
3693 pub const MD_ERROR_SUB403_SITE_ACCESS_DENIED: u32 = 8u32;
3694 pub const MD_ERROR_SUB403_SOURCE_ACCESS_DENIED: u32 = 21u32;
3695 pub const MD_ERROR_SUB403_SSL128_REQUIRED: u32 = 5u32;
3696 pub const MD_ERROR_SUB403_SSL_REQUIRED: u32 = 4u32;
3697 pub const MD_ERROR_SUB403_TOO_MANY_USERS: u32 = 9u32;
3698 pub const MD_ERROR_SUB403_VALIDATION_FAILURE: u32 = 24u32;
3699 pub const MD_ERROR_SUB403_WRITE_ACCESS_DENIED: u32 = 3u32;
3700 pub const MD_ERROR_SUB404_DENIED_BY_FILTERING_RULE: u32 = 19u32;
3701 pub const MD_ERROR_SUB404_DENIED_BY_MIMEMAP: u32 = 3u32;
3702 pub const MD_ERROR_SUB404_DENIED_BY_POLICY: u32 = 2u32;
3703 pub const MD_ERROR_SUB404_FILE_ATTRIBUTE_HIDDEN: u32 = 9u32;
3704 pub const MD_ERROR_SUB404_FILE_EXTENSION_DENIED: u32 = 7u32;
3705 pub const MD_ERROR_SUB404_HIDDEN_SEGMENT: u32 = 8u32;
3706 pub const MD_ERROR_SUB404_NO_HANDLER: u32 = 4u32;
3707 pub const MD_ERROR_SUB404_PRECONDITIONED_HANDLER: u32 = 17u32;
3708 pub const MD_ERROR_SUB404_QUERY_STRING_SEQUENCE_DENIED: u32 = 18u32;
3709 pub const MD_ERROR_SUB404_QUERY_STRING_TOO_LONG: u32 = 15u32;
3710 pub const MD_ERROR_SUB404_SITE_NOT_FOUND: u32 = 1u32;
3711 pub const MD_ERROR_SUB404_STATICFILE_DAV: u32 = 16u32;
3712 pub const MD_ERROR_SUB404_TOO_MANY_URL_SEGMENTS: u32 = 20u32;
3713 pub const MD_ERROR_SUB404_URL_DOUBLE_ESCAPED: u32 = 11u32;
3714 pub const MD_ERROR_SUB404_URL_HAS_HIGH_BIT_CHARS: u32 = 12u32;
3715 pub const MD_ERROR_SUB404_URL_SEQUENCE_DENIED: u32 = 5u32;
3716 pub const MD_ERROR_SUB404_URL_TOO_LONG: u32 = 14u32;
3717 pub const MD_ERROR_SUB404_VERB_DENIED: u32 = 6u32;
3718 pub const MD_ERROR_SUB413_CONTENT_LENGTH_TOO_LARGE: u32 = 1u32;
3719 pub const MD_ERROR_SUB423_LOCK_TOKEN_SUBMITTED: u32 = 1u32;
3720 pub const MD_ERROR_SUB423_NO_CONFLICTING_LOCK: u32 = 2u32;
3721 pub const MD_ERROR_SUB500_ASPNET_HANDLERS: u32 = 23u32;
3722 pub const MD_ERROR_SUB500_ASPNET_IMPERSONATION: u32 = 24u32;
3723 pub const MD_ERROR_SUB500_ASPNET_MODULES: u32 = 22u32;
3724 pub const MD_ERROR_SUB500_BAD_METADATA: u32 = 19u32;
3725 pub const MD_ERROR_SUB500_HANDLERS_MODULE: u32 = 21u32;
3726 pub const MD_ERROR_SUB500_UNC_ACCESS: u32 = 16u32;
3727 pub const MD_ERROR_SUB500_URLAUTH_NO_SCOPE: u32 = 20u32;
3728 pub const MD_ERROR_SUB500_URLAUTH_NO_STORE: u32 = 17u32;
3729 pub const MD_ERROR_SUB500_URLAUTH_STORE_ERROR: u32 = 18u32;
3730 pub const MD_ERROR_SUB502_ARR_CONNECTION_ERROR: u32 = 3u32;
3731 pub const MD_ERROR_SUB502_ARR_NO_SERVER: u32 = 4u32;
3732 pub const MD_ERROR_SUB502_PREMATURE_EXIT: u32 = 2u32;
3733 pub const MD_ERROR_SUB502_TIMEOUT: u32 = 1u32;
3734 pub const MD_ERROR_SUB503_APP_CONCURRENT: u32 = 2u32;
3735 pub const MD_ERROR_SUB503_ASPNET_QUEUE_FULL: u32 = 3u32;
3736 pub const MD_ERROR_SUB503_CONNECTION_LIMIT: u32 = 5u32;
3737 pub const MD_ERROR_SUB503_CPU_LIMIT: u32 = 1u32;
3738 pub const MD_ERROR_SUB503_FASTCGI_QUEUE_FULL: u32 = 4u32;
3739 pub const MD_EXIT_MESSAGE: u32 = 5001u32;
3740 pub const MD_EXPORT_INHERITED: u32 = 1u32;
3741 pub const MD_EXPORT_NODE_ONLY: u32 = 2u32;
3742 pub const MD_EXTLOG_BYTES_RECV: u32 = 8192u32;
3743 pub const MD_EXTLOG_BYTES_SENT: u32 = 4096u32;
3744 pub const MD_EXTLOG_CLIENT_IP: u32 = 4u32;
3745 pub const MD_EXTLOG_COMPUTER_NAME: u32 = 32u32;
3746 pub const MD_EXTLOG_COOKIE: u32 = 131072u32;
3747 pub const MD_EXTLOG_DATE: u32 = 1u32;
3748 pub const MD_EXTLOG_HOST: u32 = 1048576u32;
3749 pub const MD_EXTLOG_HTTP_STATUS: u32 = 1024u32;
3750 pub const MD_EXTLOG_HTTP_SUB_STATUS: u32 = 2097152u32;
3751 pub const MD_EXTLOG_METHOD: u32 = 128u32;
3752 pub const MD_EXTLOG_PROTOCOL_VERSION: u32 = 524288u32;
3753 pub const MD_EXTLOG_REFERER: u32 = 262144u32;
3754 pub const MD_EXTLOG_SERVER_IP: u32 = 64u32;
3755 pub const MD_EXTLOG_SERVER_PORT: u32 = 32768u32;
3756 pub const MD_EXTLOG_SITE_NAME: u32 = 16u32;
3757 pub const MD_EXTLOG_TIME: u32 = 2u32;
3758 pub const MD_EXTLOG_TIME_TAKEN: u32 = 16384u32;
3759 pub const MD_EXTLOG_URI_QUERY: u32 = 512u32;
3760 pub const MD_EXTLOG_URI_STEM: u32 = 256u32;
3761 pub const MD_EXTLOG_USERNAME: u32 = 8u32;
3762 pub const MD_EXTLOG_USER_AGENT: u32 = 65536u32;
3763 pub const MD_EXTLOG_WIN32_STATUS: u32 = 2048u32;
3764 pub const MD_FILTER_DESCRIPTION: u32 = 2045u32;
3765 pub const MD_FILTER_ENABLED: u32 = 2043u32;
3766 pub const MD_FILTER_ENABLE_CACHE: u32 = 2046u32;
3767 pub const MD_FILTER_FLAGS: u32 = 2044u32;
3768 pub const MD_FILTER_IMAGE_PATH: u32 = 2041u32;
3769 pub const MD_FILTER_LOAD_ORDER: u32 = 2040u32;
3770 pub const MD_FILTER_STATE: u32 = 2042u32;
3771 pub const MD_FILTER_STATE_LOADED: u32 = 1u32;
3772 pub const MD_FILTER_STATE_UNLOADED: u32 = 4u32;
3773 pub const MD_FOOTER_DOCUMENT: u32 = 6009u32;
3774 pub const MD_FOOTER_ENABLED: u32 = 6010u32;
3775 pub const MD_FRONTPAGE_WEB: u32 = 2072u32;
3776 pub const MD_FTPS_128_BITS: u32 = 5053u32;
3777 pub const MD_FTPS_ALLOW_CCC: u32 = 5054u32;
3778 pub const MD_FTPS_SECURE_ANONYMOUS: u32 = 5052u32;
3779 pub const MD_FTPS_SECURE_CONTROL_CHANNEL: u32 = 5050u32;
3780 pub const MD_FTPS_SECURE_DATA_CHANNEL: u32 = 5051u32;
3781 pub const MD_FTP_KEEP_PARTIAL_UPLOADS: u32 = 5019u32;
3782 pub const MD_FTP_LOG_IN_UTF_8: u32 = 5013u32;
3783 pub const MD_FTP_PASV_RESPONSE_IP: u32 = 5018u32;
3784 pub const MD_FTP_UTF8_FILE_NAMES: u32 = 5020u32;
3785 pub const MD_GLOBAL_BINARY_LOGGING_ENABLED: u32 = 4016u32;
3786 pub const MD_GLOBAL_BINSCHEMATIMESTAMP: u32 = 9991u32;
3787 pub const MD_GLOBAL_CHANGE_NUMBER: u32 = 9997u32;
3788 pub const MD_GLOBAL_EDIT_WHILE_RUNNING_MAJOR_VERSION_NUMBER: u32 = 9994u32;
3789 pub const MD_GLOBAL_EDIT_WHILE_RUNNING_MINOR_VERSION_NUMBER: u32 = 9993u32;
3790 pub const MD_GLOBAL_LOG_IN_UTF_8: u32 = 9206u32;
3791 pub const MD_GLOBAL_SESSIONKEY: u32 = 9999u32;
3792 pub const MD_GLOBAL_STANDARD_APP_MODE_ENABLED: u32 = 9203u32;
3793 pub const MD_GLOBAL_XMLSCHEMATIMESTAMP: u32 = 9992u32;
3794 pub const MD_GREETING_MESSAGE: u32 = 5002u32;
3795 pub const MD_HC_CACHE_CONTROL_HEADER: u32 = 2211u32;
3796 pub const MD_HC_COMPRESSION_BUFFER_SIZE: u32 = 2223u32;
3797 pub const MD_HC_COMPRESSION_DIRECTORY: u32 = 2210u32;
3798 pub const MD_HC_COMPRESSION_DLL: u32 = 2237u32;
3799 pub const MD_HC_CREATE_FLAGS: u32 = 2243u32;
3800 pub const MD_HC_DO_DISK_SPACE_LIMITING: u32 = 2216u32;
3801 pub const MD_HC_DO_DYNAMIC_COMPRESSION: u32 = 2213u32;
3802 pub const MD_HC_DO_NAMESPACE_DYNAMIC_COMPRESSION: u32 = 2255u32;
3803 pub const MD_HC_DO_NAMESPACE_STATIC_COMPRESSION: u32 = 2256u32;
3804 pub const MD_HC_DO_ON_DEMAND_COMPRESSION: u32 = 2215u32;
3805 pub const MD_HC_DO_STATIC_COMPRESSION: u32 = 2214u32;
3806 pub const MD_HC_DYNAMIC_COMPRESSION_LEVEL: u32 = 2241u32;
3807 pub const MD_HC_EXPIRES_HEADER: u32 = 2212u32;
3808 pub const MD_HC_FILES_DELETED_PER_DISK_FREE: u32 = 2225u32;
3809 pub const MD_HC_FILE_EXTENSIONS: u32 = 2238u32;
3810 pub const MD_HC_IO_BUFFER_SIZE: u32 = 2222u32;
3811 pub const MD_HC_MAX_DISK_SPACE_USAGE: u32 = 2221u32;
3812 pub const MD_HC_MAX_QUEUE_LENGTH: u32 = 2224u32;
3813 pub const MD_HC_MIME_TYPE: u32 = 2239u32;
3814 pub const MD_HC_MIN_FILE_SIZE_FOR_COMP: u32 = 2226u32;
3815 pub const MD_HC_NO_COMPRESSION_FOR_HTTP_10: u32 = 2217u32;
3816 pub const MD_HC_NO_COMPRESSION_FOR_PROXIES: u32 = 2218u32;
3817 pub const MD_HC_NO_COMPRESSION_FOR_RANGE: u32 = 2219u32;
3818 pub const MD_HC_ON_DEMAND_COMP_LEVEL: u32 = 2242u32;
3819 pub const MD_HC_PRIORITY: u32 = 2240u32;
3820 pub const MD_HC_SCRIPT_FILE_EXTENSIONS: u32 = 2244u32;
3821 pub const MD_HC_SEND_CACHE_HEADERS: u32 = 2220u32;
3822 pub const MD_HEADER_WAIT_TIMEOUT: u32 = 9204u32;
3823 pub const MD_HISTORY_LATEST: u32 = 1u32;
3824 pub const MD_HTTPERRORS_EXISTING_RESPONSE: u32 = 6056u32;
3825 pub const MD_HTTP_CUSTOM: u32 = 6004u32;
3826 pub const MD_HTTP_EXPIRES: u32 = 6002u32;
3827 pub const MD_HTTP_FORWARDER_CUSTOM: u32 = 6054u32;
3828 pub const MD_HTTP_PICS: u32 = 6003u32;
3829 pub const MD_HTTP_REDIRECT: u32 = 6011u32;
3830 pub const MD_IISADMIN_EXTENSIONS: u32 = 1028u32;
3831 pub const MD_IMPORT_INHERITED: u32 = 1u32;
3832 pub const MD_IMPORT_MERGE: u32 = 4u32;
3833 pub const MD_IMPORT_NODE_ONLY: u32 = 2u32;
3834 pub const MD_IN_PROCESS_ISAPI_APPS: u32 = 2073u32;
3835 pub const MD_IP_SEC: u32 = 6019u32;
3836 pub const MD_ISAPI_RESTRICTION_LIST: u32 = 2163u32;
3837 pub const MD_IS_CONTENT_INDEXED: u32 = 6039u32;
3838 pub const MD_KEY_TYPE: u32 = 1002u32;
3839 pub const MD_LEVELS_TO_SCAN: u32 = 1022u32;
3840 pub const MD_LOAD_BALANCER_CAPABILITIES: u32 = 9034u32;
3841 pub const MD_LOAD_BALANCER_CAPABILITIES_BASIC: u32 = 1u32;
3842 pub const MD_LOAD_BALANCER_CAPABILITIES_SOPHISTICATED: u32 = 2u32;
3843 pub const MD_LOCATION: u32 = 9989u32;
3844 pub const MD_LOGCUSTOM_DATATYPE_DOUBLE: u32 = 5u32;
3845 pub const MD_LOGCUSTOM_DATATYPE_FLOAT: u32 = 4u32;
3846 pub const MD_LOGCUSTOM_DATATYPE_INT: u32 = 0u32;
3847 pub const MD_LOGCUSTOM_DATATYPE_LONG: u32 = 2u32;
3848 pub const MD_LOGCUSTOM_DATATYPE_LPSTR: u32 = 6u32;
3849 pub const MD_LOGCUSTOM_DATATYPE_LPWSTR: u32 = 7u32;
3850 pub const MD_LOGCUSTOM_DATATYPE_UINT: u32 = 1u32;
3851 pub const MD_LOGCUSTOM_DATATYPE_ULONG: u32 = 3u32;
3852 pub const MD_LOGCUSTOM_PROPERTY_DATATYPE: u32 = 4505u32;
3853 pub const MD_LOGCUSTOM_PROPERTY_HEADER: u32 = 4502u32;
3854 pub const MD_LOGCUSTOM_PROPERTY_ID: u32 = 4503u32;
3855 pub const MD_LOGCUSTOM_PROPERTY_MASK: u32 = 4504u32;
3856 pub const MD_LOGCUSTOM_PROPERTY_NAME: u32 = 4501u32;
3857 pub const MD_LOGCUSTOM_PROPERTY_NODE_ID: u32 = 4508u32;
3858 pub const MD_LOGCUSTOM_SERVICES_STRING: u32 = 4506u32;
3859 pub const MD_LOGEXT_FIELD_MASK: u32 = 4013u32;
3860 pub const MD_LOGEXT_FIELD_MASK2: u32 = 4014u32;
3861 pub const MD_LOGFILE_DIRECTORY: u32 = 4001u32;
3862 pub const MD_LOGFILE_LOCALTIME_ROLLOVER: u32 = 4015u32;
3863 pub const MD_LOGFILE_PERIOD: u32 = 4003u32;
3864 pub const MD_LOGFILE_PERIOD_DAILY: u32 = 1u32;
3865 pub const MD_LOGFILE_PERIOD_HOURLY: u32 = 4u32;
3866 pub const MD_LOGFILE_PERIOD_MAXSIZE: u32 = 0u32;
3867 pub const MD_LOGFILE_PERIOD_MONTHLY: u32 = 3u32;
3868 pub const MD_LOGFILE_PERIOD_NONE: u32 = 0u32;
3869 pub const MD_LOGFILE_PERIOD_WEEKLY: u32 = 2u32;
3870 pub const MD_LOGFILE_TRUNCATE_SIZE: u32 = 4004u32;
3871 pub const MD_LOGON_BATCH: u32 = 1u32;
3872 pub const MD_LOGON_INTERACTIVE: u32 = 0u32;
3873 pub const MD_LOGON_METHOD: u32 = 6013u32;
3874 pub const MD_LOGON_NETWORK: u32 = 2u32;
3875 pub const MD_LOGON_NETWORK_CLEARTEXT: u32 = 3u32;
3876 pub const MD_LOGSQL_DATA_SOURCES: u32 = 4007u32;
3877 pub const MD_LOGSQL_PASSWORD: u32 = 4010u32;
3878 pub const MD_LOGSQL_TABLE_NAME: u32 = 4008u32;
3879 pub const MD_LOGSQL_USER_NAME: u32 = 4009u32;
3880 pub const MD_LOG_ANONYMOUS: u32 = 5007u32;
3881 pub const MD_LOG_NONANONYMOUS: u32 = 5008u32;
3882 pub const MD_LOG_PLUGINS_AVAILABLE: u32 = 4012u32;
3883 pub const MD_LOG_PLUGIN_MOD_ID: u32 = 4005u32;
3884 pub const MD_LOG_PLUGIN_ORDER: u32 = 4011u32;
3885 pub const MD_LOG_PLUGIN_UI_ID: u32 = 4006u32;
3886 pub const MD_LOG_TYPE: u32 = 4000u32;
3887 pub const MD_LOG_TYPE_DISABLED: u32 = 0u32;
3888 pub const MD_LOG_TYPE_ENABLED: u32 = 1u32;
3889 pub const MD_LOG_UNUSED1: u32 = 4002u32;
3890 pub const MD_MAX_BANDWIDTH: u32 = 1000u32;
3891 pub const MD_MAX_BANDWIDTH_BLOCKED: u32 = 1003u32;
3892 pub const MD_MAX_CHANGE_ENTRIES: u32 = 100u32;
3893 pub const MD_MAX_CLIENTS_MESSAGE: u32 = 5003u32;
3894 pub const MD_MAX_CONNECTIONS: u32 = 1014u32;
3895 pub const MD_MAX_ENDPOINT_CONNECTIONS: u32 = 1024u32;
3896 pub const MD_MAX_ERROR_FILES: u32 = 9988u32;
3897 pub const MD_MAX_GLOBAL_BANDWIDTH: u32 = 9201u32;
3898 pub const MD_MAX_GLOBAL_CONNECTIONS: u32 = 9202u32;
3899 pub const MD_MAX_REQUEST_ENTITY_ALLOWED: u32 = 6051u32;
3900 pub const MD_MD_SERVER_SS_AUTH_MAPPING: u32 = 2200u32;
3901 pub const MD_METADATA_ID_REGISTRATION: u32 = 1030u32;
3902 pub const MD_MIME_MAP: u32 = 6015u32;
3903 pub const MD_MIN_FILE_BYTES_PER_SEC: u32 = 9205u32;
3904 pub const MD_MSDOS_DIR_OUTPUT: u32 = 5004u32;
3905 pub const MD_NETLOGON_WKS_DNS: u32 = 2u32;
3906 pub const MD_NETLOGON_WKS_IP: u32 = 1u32;
3907 pub const MD_NETLOGON_WKS_NONE: u32 = 0u32;
3908 pub const MD_NET_LOGON_WKS: u32 = 2065u32;
3909 pub const MD_NOTIFEXAUTH_NTLMSSL: u32 = 1u32;
3910 pub const MD_NOTIFY_ACCESS_DENIED: u32 = 2048u32;
3911 pub const MD_NOTIFY_AUTHENTICATION: u32 = 8192u32;
3912 pub const MD_NOTIFY_AUTH_COMPLETE: u32 = 67108864u32;
3913 pub const MD_NOTIFY_END_OF_NET_SESSION: u32 = 256u32;
3914 pub const MD_NOTIFY_END_OF_REQUEST: u32 = 128u32;
3915 pub const MD_NOTIFY_LOG: u32 = 512u32;
3916 pub const MD_NOTIFY_NONSECURE_PORT: u32 = 2u32;
3917 pub const MD_NOTIFY_ORDER_DEFAULT: u32 = 131072u32;
3918 pub const MD_NOTIFY_ORDER_HIGH: u32 = 524288u32;
3919 pub const MD_NOTIFY_ORDER_LOW: u32 = 131072u32;
3920 pub const MD_NOTIFY_ORDER_MEDIUM: u32 = 262144u32;
3921 pub const MD_NOTIFY_PREPROC_HEADERS: u32 = 16384u32;
3922 pub const MD_NOTIFY_READ_RAW_DATA: u32 = 32768u32;
3923 pub const MD_NOTIFY_SECURE_PORT: u32 = 1u32;
3924 pub const MD_NOTIFY_SEND_RAW_DATA: u32 = 1024u32;
3925 pub const MD_NOTIFY_SEND_RESPONSE: u32 = 64u32;
3926 pub const MD_NOTIFY_URL_MAP: u32 = 4096u32;
3927 pub const MD_NOT_DELETABLE: u32 = 2116u32;
3928 pub const MD_NTAUTHENTICATION_PROVIDERS: u32 = 6032u32;
3929 pub const MD_PASSIVE_PORT_RANGE: u32 = 5016u32;
3930 pub const MD_PASSPORT_NEED_MAPPING: u32 = 2u32;
3931 pub const MD_PASSPORT_NO_MAPPING: u32 = 0u32;
3932 pub const MD_PASSPORT_REQUIRE_AD_MAPPING: u32 = 6052u32;
3933 pub const MD_PASSPORT_TRY_MAPPING: u32 = 1u32;
3934 pub const MD_POOL_IDC_TIMEOUT: u32 = 6037u32;
3935 pub const MD_PROCESS_NTCR_IF_LOGGED_ON: u32 = 2070u32;
3936 pub const MD_PUT_READ_SIZE: u32 = 6046u32;
3937 pub const MD_RAPID_FAIL_PROTECTION_INTERVAL: u32 = 9029u32;
3938 pub const MD_RAPID_FAIL_PROTECTION_MAX_CRASHES: u32 = 9030u32;
3939 pub const MD_REALM: u32 = 6001u32;
3940 pub const MD_REDIRECT_HEADERS: u32 = 6044u32;
3941 pub const MD_RESTRICTION_LIST_CUSTOM_DESC: u32 = 2165u32;
3942 pub const MD_ROOT_ENABLE_EDIT_WHILE_RUNNING: u32 = 9998u32;
3943 pub const MD_ROOT_ENABLE_HISTORY: u32 = 9996u32;
3944 pub const MD_ROOT_MAX_HISTORY_FILES: u32 = 9995u32;
3945 pub const MD_SCHEMA_METAID: u32 = 1004u32;
3946 pub const MD_SCRIPTMAPFLAG_ALLOWED_ON_READ_DIR: u32 = 1u32;
3947 pub const MD_SCRIPTMAPFLAG_CHECK_PATH_INFO: u32 = 4u32;
3948 pub const MD_SCRIPTMAPFLAG_SCRIPT: u32 = 1u32;
3949 pub const MD_SCRIPT_MAPS: u32 = 6014u32;
3950 pub const MD_SCRIPT_TIMEOUT: u32 = 6033u32;
3951 pub const MD_SECURE_BINDINGS: u32 = 2021u32;
3952 pub const MD_SECURITY_SETUP_REQUIRED: u32 = 2166u32;
3953 pub const MD_SERVER_AUTOSTART: u32 = 1017u32;
3954 pub const MD_SERVER_BINDINGS: u32 = 1023u32;
3955 pub const MD_SERVER_COMMAND: u32 = 1012u32;
3956 pub const MD_SERVER_COMMAND_CONTINUE: u32 = 4u32;
3957 pub const MD_SERVER_COMMAND_PAUSE: u32 = 3u32;
3958 pub const MD_SERVER_COMMAND_START: u32 = 1u32;
3959 pub const MD_SERVER_COMMAND_STOP: u32 = 2u32;
3960 pub const MD_SERVER_COMMENT: u32 = 1015u32;
3961 pub const MD_SERVER_CONFIGURATION_INFO: u32 = 1027u32;
3962 pub const MD_SERVER_CONFIG_ALLOW_ENCRYPT: u32 = 4u32;
3963 pub const MD_SERVER_CONFIG_AUTO_PW_SYNC: u32 = 8u32;
3964 pub const MD_SERVER_CONFIG_SSL_128: u32 = 2u32;
3965 pub const MD_SERVER_CONFIG_SSL_40: u32 = 1u32;
3966 pub const MD_SERVER_LISTEN_BACKLOG: u32 = 1019u32;
3967 pub const MD_SERVER_LISTEN_TIMEOUT: u32 = 1020u32;
3968 pub const MD_SERVER_SIZE: u32 = 1018u32;
3969 pub const MD_SERVER_SIZE_LARGE: u32 = 2u32;
3970 pub const MD_SERVER_SIZE_MEDIUM: u32 = 1u32;
3971 pub const MD_SERVER_SIZE_SMALL: u32 = 0u32;
3972 pub const MD_SERVER_STATE: u32 = 1016u32;
3973 pub const MD_SERVER_STATE_CONTINUING: u32 = 7u32;
3974 pub const MD_SERVER_STATE_PAUSED: u32 = 6u32;
3975 pub const MD_SERVER_STATE_PAUSING: u32 = 5u32;
3976 pub const MD_SERVER_STATE_STARTED: u32 = 2u32;
3977 pub const MD_SERVER_STATE_STARTING: u32 = 1u32;
3978 pub const MD_SERVER_STATE_STOPPED: u32 = 4u32;
3979 pub const MD_SERVER_STATE_STOPPING: u32 = 3u32;
3980 pub const MD_SET_HOST_NAME: u32 = 2154u32;
3981 pub const MD_SHOW_4_DIGIT_YEAR: u32 = 5010u32;
3982 pub const MD_SSI_EXEC_DISABLED: u32 = 6028u32;
3983 pub const MD_SSL_ACCESS_PERM: u32 = 6030u32;
3984 pub const MD_SSL_ALWAYS_NEGO_CLIENT_CERT: u32 = 5521u32;
3985 pub const MD_SSL_KEY_PASSWORD: u32 = 5502u32;
3986 pub const MD_SSL_KEY_REQUEST: u32 = 5503u32;
3987 pub const MD_SSL_PRIVATE_KEY: u32 = 5501u32;
3988 pub const MD_SSL_PUBLIC_KEY: u32 = 5500u32;
3989 pub const MD_SSL_USE_DS_MAPPER: u32 = 5519u32;
3990 pub const MD_STOP_LISTENING: u32 = 9987u32;
3991 pub const MD_SUPPRESS_DEFAULT_BANNER: u32 = 5017u32;
3992 pub const MD_UPLOAD_READAHEAD_SIZE: u32 = 6045u32;
3993 pub const MD_URL_AUTHORIZATION_IMPERSONATION_LEVEL: u32 = 6053u32;
3994 pub const MD_URL_AUTHORIZATION_SCOPE_NAME: u32 = 6050u32;
3995 pub const MD_URL_AUTHORIZATION_STORE_NAME: u32 = 6049u32;
3996 pub const MD_USER_ISOLATION: u32 = 5012u32;
3997 pub const MD_USER_ISOLATION_AD: u32 = 2u32;
3998 pub const MD_USER_ISOLATION_BASIC: u32 = 1u32;
3999 pub const MD_USER_ISOLATION_LAST: u32 = 2u32;
4000 pub const MD_USER_ISOLATION_NONE: u32 = 0u32;
4001 pub const MD_USE_DIGEST_SSP: u32 = 6047u32;
4002 pub const MD_USE_HOST_NAME: u32 = 2066u32;
4003 pub const MD_VR_IGNORE_TRANSLATE: u32 = 3008u32;
4004 pub const MD_VR_NO_CACHE: u32 = 3007u32;
4005 pub const MD_VR_PASSTHROUGH: u32 = 3006u32;
4006 pub const MD_VR_PASSWORD: u32 = 3003u32;
4007 pub const MD_VR_PATH: u32 = 3001u32;
4008 pub const MD_VR_USERNAME: u32 = 3002u32;
4009 pub const MD_WAM_PWD: u32 = 7502u32;
4010 pub const MD_WAM_USER_NAME: u32 = 7501u32;
4011 pub const MD_WARNING_DUP_NAME: i32 = 837636i32;
4012 pub const MD_WARNING_INVALID_DATA: i32 = 837637i32;
4013 pub const MD_WARNING_PATH_NOT_FOUND: i32 = 837635i32;
4014 pub const MD_WARNING_PATH_NOT_INSERTED: i32 = 837639i32;
4015 pub const MD_WARNING_SAVE_FAILED: i32 = 837641i32;
4016 pub const MD_WEBDAV_MAX_ATTRIBUTES_PER_ELEMENT: u32 = 8501u32;
4017 pub const MD_WEB_SVC_EXT_RESTRICTION_LIST: u32 = 2168u32;
4018 pub const MD_WIN32_ERROR: u32 = 1099u32;
4019 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
4020 #[repr(transparent)]
4021 pub struct METADATATYPES(pub i32);
4022 pub const ALL_METADATA: METADATATYPES = METADATATYPES(0i32);
4023 pub const DWORD_METADATA: METADATATYPES = METADATATYPES(1i32);
4024 pub const STRING_METADATA: METADATATYPES = METADATATYPES(2i32);
4025 pub const BINARY_METADATA: METADATATYPES = METADATATYPES(3i32);
4026 pub const EXPANDSZ_METADATA: METADATATYPES = METADATATYPES(4i32);
4027 pub const MULTISZ_METADATA: METADATATYPES = METADATATYPES(5i32);
4028 pub const INVALID_END_METADATA: METADATATYPES = METADATATYPES(6i32);
4029 impl ::std::convert::From<i32> for METADATATYPES {
from(value: i32) -> Self4030 fn from(value: i32) -> Self {
4031 Self(value)
4032 }
4033 }
4034 unsafe impl ::windows::runtime::Abi for METADATATYPES {
4035 type Abi = Self;
4036 type DefaultType = Self;
4037 }
4038 pub const METADATA_DONT_EXPAND: u32 = 512u32;
4039 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
4040 #[repr(C)]
4041 pub struct METADATA_GETALL_INTERNAL_RECORD {
4042 pub dwMDIdentifier: u32,
4043 pub dwMDAttributes: u32,
4044 pub dwMDUserType: u32,
4045 pub dwMDDataType: u32,
4046 pub dwMDDataLen: u32,
4047 pub Anonymous: METADATA_GETALL_INTERNAL_RECORD_0,
4048 pub dwMDDataTag: u32,
4049 }
4050 impl METADATA_GETALL_INTERNAL_RECORD {}
4051 impl ::std::default::Default for METADATA_GETALL_INTERNAL_RECORD {
default() -> Self4052 fn default() -> Self {
4053 unsafe { ::std::mem::zeroed() }
4054 }
4055 }
4056 impl ::std::cmp::PartialEq for METADATA_GETALL_INTERNAL_RECORD {
eq(&self, _other: &Self) -> bool4057 fn eq(&self, _other: &Self) -> bool {
4058 unimplemented!()
4059 }
4060 }
4061 impl ::std::cmp::Eq for METADATA_GETALL_INTERNAL_RECORD {}
4062 unsafe impl ::windows::runtime::Abi for METADATA_GETALL_INTERNAL_RECORD {
4063 type Abi = Self;
4064 type DefaultType = Self;
4065 }
4066 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
4067 #[repr(C)]
4068 pub union METADATA_GETALL_INTERNAL_RECORD_0 {
4069 pub dwMDDataOffset: usize,
4070 pub pbMDData: *mut u8,
4071 }
4072 impl METADATA_GETALL_INTERNAL_RECORD_0 {}
4073 impl ::std::default::Default for METADATA_GETALL_INTERNAL_RECORD_0 {
default() -> Self4074 fn default() -> Self {
4075 unsafe { ::std::mem::zeroed() }
4076 }
4077 }
4078 impl ::std::cmp::PartialEq for METADATA_GETALL_INTERNAL_RECORD_0 {
eq(&self, _other: &Self) -> bool4079 fn eq(&self, _other: &Self) -> bool {
4080 unimplemented!()
4081 }
4082 }
4083 impl ::std::cmp::Eq for METADATA_GETALL_INTERNAL_RECORD_0 {}
4084 unsafe impl ::windows::runtime::Abi for METADATA_GETALL_INTERNAL_RECORD_0 {
4085 type Abi = Self;
4086 type DefaultType = Self;
4087 }
4088 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
4089 #[repr(C)]
4090 pub struct METADATA_GETALL_RECORD {
4091 pub dwMDIdentifier: u32,
4092 pub dwMDAttributes: u32,
4093 pub dwMDUserType: u32,
4094 pub dwMDDataType: u32,
4095 pub dwMDDataLen: u32,
4096 pub dwMDDataOffset: u32,
4097 pub dwMDDataTag: u32,
4098 }
4099 impl METADATA_GETALL_RECORD {}
4100 impl ::std::default::Default for METADATA_GETALL_RECORD {
default() -> Self4101 fn default() -> Self {
4102 unsafe { ::std::mem::zeroed() }
4103 }
4104 }
4105 impl ::std::fmt::Debug for METADATA_GETALL_RECORD {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4106 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
4107 fmt.debug_struct("METADATA_GETALL_RECORD")
4108 .field("dwMDIdentifier", &self.dwMDIdentifier)
4109 .field("dwMDAttributes", &self.dwMDAttributes)
4110 .field("dwMDUserType", &self.dwMDUserType)
4111 .field("dwMDDataType", &self.dwMDDataType)
4112 .field("dwMDDataLen", &self.dwMDDataLen)
4113 .field("dwMDDataOffset", &self.dwMDDataOffset)
4114 .field("dwMDDataTag", &self.dwMDDataTag)
4115 .finish()
4116 }
4117 }
4118 impl ::std::cmp::PartialEq for METADATA_GETALL_RECORD {
eq(&self, other: &Self) -> bool4119 fn eq(&self, other: &Self) -> bool {
4120 self.dwMDIdentifier == other.dwMDIdentifier && self.dwMDAttributes == other.dwMDAttributes && self.dwMDUserType == other.dwMDUserType && self.dwMDDataType == other.dwMDDataType && self.dwMDDataLen == other.dwMDDataLen && self.dwMDDataOffset == other.dwMDDataOffset && self.dwMDDataTag == other.dwMDDataTag
4121 }
4122 }
4123 impl ::std::cmp::Eq for METADATA_GETALL_RECORD {}
4124 unsafe impl ::windows::runtime::Abi for METADATA_GETALL_RECORD {
4125 type Abi = Self;
4126 type DefaultType = Self;
4127 }
4128 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
4129 #[repr(C)]
4130 pub struct METADATA_HANDLE_INFO {
4131 pub dwMDPermissions: u32,
4132 pub dwMDSystemChangeNumber: u32,
4133 }
4134 impl METADATA_HANDLE_INFO {}
4135 impl ::std::default::Default for METADATA_HANDLE_INFO {
default() -> Self4136 fn default() -> Self {
4137 unsafe { ::std::mem::zeroed() }
4138 }
4139 }
4140 impl ::std::fmt::Debug for METADATA_HANDLE_INFO {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4141 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
4142 fmt.debug_struct("METADATA_HANDLE_INFO").field("dwMDPermissions", &self.dwMDPermissions).field("dwMDSystemChangeNumber", &self.dwMDSystemChangeNumber).finish()
4143 }
4144 }
4145 impl ::std::cmp::PartialEq for METADATA_HANDLE_INFO {
eq(&self, other: &Self) -> bool4146 fn eq(&self, other: &Self) -> bool {
4147 self.dwMDPermissions == other.dwMDPermissions && self.dwMDSystemChangeNumber == other.dwMDSystemChangeNumber
4148 }
4149 }
4150 impl ::std::cmp::Eq for METADATA_HANDLE_INFO {}
4151 unsafe impl ::windows::runtime::Abi for METADATA_HANDLE_INFO {
4152 type Abi = Self;
4153 type DefaultType = Self;
4154 }
4155 pub const METADATA_INHERIT: u32 = 1u32;
4156 pub const METADATA_INSERT_PATH: u32 = 64u32;
4157 pub const METADATA_ISINHERITED: u32 = 32u32;
4158 pub const METADATA_LOCAL_MACHINE_ONLY: u32 = 128u32;
4159 pub const METADATA_MASTER_ROOT_HANDLE: u32 = 0u32;
4160 pub const METADATA_MAX_NAME_LEN: u32 = 256u32;
4161 pub const METADATA_NON_SECURE_ONLY: u32 = 256u32;
4162 pub const METADATA_NO_ATTRIBUTES: u32 = 0u32;
4163 pub const METADATA_PARTIAL_PATH: u32 = 2u32;
4164 pub const METADATA_PERMISSION_READ: u32 = 1u32;
4165 pub const METADATA_PERMISSION_WRITE: u32 = 2u32;
4166 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
4167 #[repr(C)]
4168 pub struct METADATA_RECORD {
4169 pub dwMDIdentifier: u32,
4170 pub dwMDAttributes: u32,
4171 pub dwMDUserType: u32,
4172 pub dwMDDataType: u32,
4173 pub dwMDDataLen: u32,
4174 pub pbMDData: *mut u8,
4175 pub dwMDDataTag: u32,
4176 }
4177 impl METADATA_RECORD {}
4178 impl ::std::default::Default for METADATA_RECORD {
default() -> Self4179 fn default() -> Self {
4180 unsafe { ::std::mem::zeroed() }
4181 }
4182 }
4183 impl ::std::fmt::Debug for METADATA_RECORD {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4184 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
4185 fmt.debug_struct("METADATA_RECORD")
4186 .field("dwMDIdentifier", &self.dwMDIdentifier)
4187 .field("dwMDAttributes", &self.dwMDAttributes)
4188 .field("dwMDUserType", &self.dwMDUserType)
4189 .field("dwMDDataType", &self.dwMDDataType)
4190 .field("dwMDDataLen", &self.dwMDDataLen)
4191 .field("pbMDData", &self.pbMDData)
4192 .field("dwMDDataTag", &self.dwMDDataTag)
4193 .finish()
4194 }
4195 }
4196 impl ::std::cmp::PartialEq for METADATA_RECORD {
eq(&self, other: &Self) -> bool4197 fn eq(&self, other: &Self) -> bool {
4198 self.dwMDIdentifier == other.dwMDIdentifier && self.dwMDAttributes == other.dwMDAttributes && self.dwMDUserType == other.dwMDUserType && self.dwMDDataType == other.dwMDDataType && self.dwMDDataLen == other.dwMDDataLen && self.pbMDData == other.pbMDData && self.dwMDDataTag == other.dwMDDataTag
4199 }
4200 }
4201 impl ::std::cmp::Eq for METADATA_RECORD {}
4202 unsafe impl ::windows::runtime::Abi for METADATA_RECORD {
4203 type Abi = Self;
4204 type DefaultType = Self;
4205 }
4206 pub const METADATA_REFERENCE: u32 = 8u32;
4207 pub const METADATA_SECURE: u32 = 4u32;
4208 pub const METADATA_VOLATILE: u32 = 16u32;
4209 pub const MSCS_MD_ID_BEGIN_RESERVED: u32 = 53248u32;
4210 pub const MSCS_MD_ID_END_RESERVED: u32 = 57343u32;
4211 pub const NNTP_MD_ID_BEGIN_RESERVED: u32 = 45056u32;
4212 pub const NNTP_MD_ID_END_RESERVED: u32 = 49151u32;
4213 #[cfg(feature = "Win32_Foundation")]
4214 pub type PFN_GETEXTENSIONVERSION = unsafe extern "system" fn(pver: *mut HSE_VERSION_INFO) -> super::super::Foundation::BOOL;
4215 #[cfg(feature = "Win32_Foundation")]
4216 pub type PFN_HSE_CACHE_INVALIDATION_CALLBACK = unsafe extern "system" fn(pszurl: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
4217 #[cfg(feature = "Win32_Foundation")]
4218 pub type PFN_HSE_GET_PROTOCOL_MANAGER_CUSTOM_INTERFACE_CALLBACK = unsafe extern "system" fn(pszprotocolmanagerdll: super::super::Foundation::PWSTR, pszprotocolmanagerdllinitfunction: super::super::Foundation::PWSTR, dwcustominterfaceid: u32, ppcustominterface: *mut *mut ::std::ffi::c_void) -> ::windows::runtime::HRESULT;
4219 #[cfg(feature = "Win32_Foundation")]
4220 pub type PFN_HSE_IO_COMPLETION = unsafe extern "system" fn(pecb: *mut EXTENSION_CONTROL_BLOCK, pcontext: *mut ::std::ffi::c_void, cbio: u32, dwerror: u32);
4221 #[cfg(feature = "Win32_Foundation")]
4222 pub type PFN_HTTPEXTENSIONPROC = unsafe extern "system" fn(pecb: *mut EXTENSION_CONTROL_BLOCK) -> u32;
4223 #[cfg(feature = "Win32_Foundation")]
4224 pub type PFN_TERMINATEEXTENSION = unsafe extern "system" fn(dwflags: u32) -> super::super::Foundation::BOOL;
4225 #[cfg(feature = "Win32_Foundation")]
4226 pub type PFN_WEB_CORE_ACTIVATE = unsafe extern "system" fn(pszapphostconfigfile: super::super::Foundation::PWSTR, pszrootwebconfigfile: super::super::Foundation::PWSTR, pszinstancename: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
4227 #[cfg(feature = "Win32_Foundation")]
4228 pub type PFN_WEB_CORE_SET_METADATA_DLL_ENTRY = unsafe extern "system" fn(pszmetadatatype: super::super::Foundation::PWSTR, pszvalue: super::super::Foundation::PWSTR) -> ::windows::runtime::HRESULT;
4229 pub type PFN_WEB_CORE_SHUTDOWN = unsafe extern "system" fn(fimmediate: u32) -> ::windows::runtime::HRESULT;
4230 pub const POP3_MD_ID_BEGIN_RESERVED: u32 = 40960u32;
4231 pub const POP3_MD_ID_END_RESERVED: u32 = 45055u32;
4232 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
4233 #[repr(C)]
4234 #[cfg(feature = "Win32_Foundation")]
4235 pub struct POST_PROCESS_PARAMETERS {
4236 pub pszSessionId: super::super::Foundation::PWSTR,
4237 pub pszSiteName: super::super::Foundation::PWSTR,
4238 pub pszUserName: super::super::Foundation::PWSTR,
4239 pub pszHostName: super::super::Foundation::PWSTR,
4240 pub pszRemoteIpAddress: super::super::Foundation::PWSTR,
4241 pub dwRemoteIpPort: u32,
4242 pub pszLocalIpAddress: super::super::Foundation::PWSTR,
4243 pub dwLocalIpPort: u32,
4244 pub BytesSent: u64,
4245 pub BytesReceived: u64,
4246 pub pszCommand: super::super::Foundation::PWSTR,
4247 pub pszCommandParameters: super::super::Foundation::PWSTR,
4248 pub pszFullPath: super::super::Foundation::PWSTR,
4249 pub pszPhysicalPath: super::super::Foundation::PWSTR,
4250 pub FtpStatus: u32,
4251 pub FtpSubStatus: u32,
4252 pub hrStatus: ::windows::runtime::HRESULT,
4253 pub SessionStartTime: super::super::Foundation::FILETIME,
4254 pub BytesSentPerSession: u64,
4255 pub BytesReceivedPerSession: u64,
4256 }
4257 #[cfg(feature = "Win32_Foundation")]
4258 impl POST_PROCESS_PARAMETERS {}
4259 #[cfg(feature = "Win32_Foundation")]
4260 impl ::std::default::Default for POST_PROCESS_PARAMETERS {
default() -> Self4261 fn default() -> Self {
4262 unsafe { ::std::mem::zeroed() }
4263 }
4264 }
4265 #[cfg(feature = "Win32_Foundation")]
4266 impl ::std::fmt::Debug for POST_PROCESS_PARAMETERS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4267 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
4268 fmt.debug_struct("POST_PROCESS_PARAMETERS")
4269 .field("pszSessionId", &self.pszSessionId)
4270 .field("pszSiteName", &self.pszSiteName)
4271 .field("pszUserName", &self.pszUserName)
4272 .field("pszHostName", &self.pszHostName)
4273 .field("pszRemoteIpAddress", &self.pszRemoteIpAddress)
4274 .field("dwRemoteIpPort", &self.dwRemoteIpPort)
4275 .field("pszLocalIpAddress", &self.pszLocalIpAddress)
4276 .field("dwLocalIpPort", &self.dwLocalIpPort)
4277 .field("BytesSent", &self.BytesSent)
4278 .field("BytesReceived", &self.BytesReceived)
4279 .field("pszCommand", &self.pszCommand)
4280 .field("pszCommandParameters", &self.pszCommandParameters)
4281 .field("pszFullPath", &self.pszFullPath)
4282 .field("pszPhysicalPath", &self.pszPhysicalPath)
4283 .field("FtpStatus", &self.FtpStatus)
4284 .field("FtpSubStatus", &self.FtpSubStatus)
4285 .field("hrStatus", &self.hrStatus)
4286 .field("SessionStartTime", &self.SessionStartTime)
4287 .field("BytesSentPerSession", &self.BytesSentPerSession)
4288 .field("BytesReceivedPerSession", &self.BytesReceivedPerSession)
4289 .finish()
4290 }
4291 }
4292 #[cfg(feature = "Win32_Foundation")]
4293 impl ::std::cmp::PartialEq for POST_PROCESS_PARAMETERS {
eq(&self, other: &Self) -> bool4294 fn eq(&self, other: &Self) -> bool {
4295 self.pszSessionId == other.pszSessionId
4296 && self.pszSiteName == other.pszSiteName
4297 && self.pszUserName == other.pszUserName
4298 && self.pszHostName == other.pszHostName
4299 && self.pszRemoteIpAddress == other.pszRemoteIpAddress
4300 && self.dwRemoteIpPort == other.dwRemoteIpPort
4301 && self.pszLocalIpAddress == other.pszLocalIpAddress
4302 && self.dwLocalIpPort == other.dwLocalIpPort
4303 && self.BytesSent == other.BytesSent
4304 && self.BytesReceived == other.BytesReceived
4305 && self.pszCommand == other.pszCommand
4306 && self.pszCommandParameters == other.pszCommandParameters
4307 && self.pszFullPath == other.pszFullPath
4308 && self.pszPhysicalPath == other.pszPhysicalPath
4309 && self.FtpStatus == other.FtpStatus
4310 && self.FtpSubStatus == other.FtpSubStatus
4311 && self.hrStatus == other.hrStatus
4312 && self.SessionStartTime == other.SessionStartTime
4313 && self.BytesSentPerSession == other.BytesSentPerSession
4314 && self.BytesReceivedPerSession == other.BytesReceivedPerSession
4315 }
4316 }
4317 #[cfg(feature = "Win32_Foundation")]
4318 impl ::std::cmp::Eq for POST_PROCESS_PARAMETERS {}
4319 #[cfg(feature = "Win32_Foundation")]
4320 unsafe impl ::windows::runtime::Abi for POST_PROCESS_PARAMETERS {
4321 type Abi = Self;
4322 type DefaultType = Self;
4323 }
4324 #[derive(:: std :: clone :: Clone, :: std :: marker :: Copy)]
4325 #[repr(C)]
4326 #[cfg(feature = "Win32_Foundation")]
4327 pub struct PRE_PROCESS_PARAMETERS {
4328 pub pszSessionId: super::super::Foundation::PWSTR,
4329 pub pszSiteName: super::super::Foundation::PWSTR,
4330 pub pszUserName: super::super::Foundation::PWSTR,
4331 pub pszHostName: super::super::Foundation::PWSTR,
4332 pub pszRemoteIpAddress: super::super::Foundation::PWSTR,
4333 pub dwRemoteIpPort: u32,
4334 pub pszLocalIpAddress: super::super::Foundation::PWSTR,
4335 pub dwLocalIpPort: u32,
4336 pub pszCommand: super::super::Foundation::PWSTR,
4337 pub pszCommandParameters: super::super::Foundation::PWSTR,
4338 pub SessionStartTime: super::super::Foundation::FILETIME,
4339 pub BytesSentPerSession: u64,
4340 pub BytesReceivedPerSession: u64,
4341 }
4342 #[cfg(feature = "Win32_Foundation")]
4343 impl PRE_PROCESS_PARAMETERS {}
4344 #[cfg(feature = "Win32_Foundation")]
4345 impl ::std::default::Default for PRE_PROCESS_PARAMETERS {
default() -> Self4346 fn default() -> Self {
4347 unsafe { ::std::mem::zeroed() }
4348 }
4349 }
4350 #[cfg(feature = "Win32_Foundation")]
4351 impl ::std::fmt::Debug for PRE_PROCESS_PARAMETERS {
fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result4352 fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
4353 fmt.debug_struct("PRE_PROCESS_PARAMETERS")
4354 .field("pszSessionId", &self.pszSessionId)
4355 .field("pszSiteName", &self.pszSiteName)
4356 .field("pszUserName", &self.pszUserName)
4357 .field("pszHostName", &self.pszHostName)
4358 .field("pszRemoteIpAddress", &self.pszRemoteIpAddress)
4359 .field("dwRemoteIpPort", &self.dwRemoteIpPort)
4360 .field("pszLocalIpAddress", &self.pszLocalIpAddress)
4361 .field("dwLocalIpPort", &self.dwLocalIpPort)
4362 .field("pszCommand", &self.pszCommand)
4363 .field("pszCommandParameters", &self.pszCommandParameters)
4364 .field("SessionStartTime", &self.SessionStartTime)
4365 .field("BytesSentPerSession", &self.BytesSentPerSession)
4366 .field("BytesReceivedPerSession", &self.BytesReceivedPerSession)
4367 .finish()
4368 }
4369 }
4370 #[cfg(feature = "Win32_Foundation")]
4371 impl ::std::cmp::PartialEq for PRE_PROCESS_PARAMETERS {
eq(&self, other: &Self) -> bool4372 fn eq(&self, other: &Self) -> bool {
4373 self.pszSessionId == other.pszSessionId
4374 && self.pszSiteName == other.pszSiteName
4375 && self.pszUserName == other.pszUserName
4376 && self.pszHostName == other.pszHostName
4377 && self.pszRemoteIpAddress == other.pszRemoteIpAddress
4378 && self.dwRemoteIpPort == other.dwRemoteIpPort
4379 && self.pszLocalIpAddress == other.pszLocalIpAddress
4380 && self.dwLocalIpPort == other.dwLocalIpPort
4381 && self.pszCommand == other.pszCommand
4382 && self.pszCommandParameters == other.pszCommandParameters
4383 && self.SessionStartTime == other.SessionStartTime
4384 && self.BytesSentPerSession == other.BytesSentPerSession
4385 && self.BytesReceivedPerSession == other.BytesReceivedPerSession
4386 }
4387 }
4388 #[cfg(feature = "Win32_Foundation")]
4389 impl ::std::cmp::Eq for PRE_PROCESS_PARAMETERS {}
4390 #[cfg(feature = "Win32_Foundation")]
4391 unsafe impl ::windows::runtime::Abi for PRE_PROCESS_PARAMETERS {
4392 type Abi = Self;
4393 type DefaultType = Self;
4394 }
4395 pub const SF_DENIED_APPLICATION: u32 = 8u32;
4396 pub const SF_DENIED_BY_CONFIG: u32 = 65536u32;
4397 pub const SF_DENIED_FILTER: u32 = 4u32;
4398 pub const SF_DENIED_LOGON: u32 = 1u32;
4399 pub const SF_DENIED_RESOURCE: u32 = 2u32;
4400 pub const SF_MAX_AUTH_TYPE: u32 = 33u32;
4401 pub const SF_MAX_FILTER_DESC_LEN: u32 = 257u32;
4402 pub const SF_MAX_PASSWORD: u32 = 257u32;
4403 pub const SF_MAX_USERNAME: u32 = 257u32;
4404 pub const SF_NOTIFY_ACCESS_DENIED: u32 = 2048u32;
4405 pub const SF_NOTIFY_AUTHENTICATION: u32 = 8192u32;
4406 pub const SF_NOTIFY_AUTH_COMPLETE: u32 = 67108864u32;
4407 pub const SF_NOTIFY_END_OF_NET_SESSION: u32 = 256u32;
4408 pub const SF_NOTIFY_END_OF_REQUEST: u32 = 128u32;
4409 pub const SF_NOTIFY_LOG: u32 = 512u32;
4410 pub const SF_NOTIFY_NONSECURE_PORT: u32 = 2u32;
4411 pub const SF_NOTIFY_ORDER_DEFAULT: u32 = 131072u32;
4412 pub const SF_NOTIFY_ORDER_HIGH: u32 = 524288u32;
4413 pub const SF_NOTIFY_ORDER_LOW: u32 = 131072u32;
4414 pub const SF_NOTIFY_ORDER_MEDIUM: u32 = 262144u32;
4415 pub const SF_NOTIFY_PREPROC_HEADERS: u32 = 16384u32;
4416 pub const SF_NOTIFY_READ_RAW_DATA: u32 = 32768u32;
4417 pub const SF_NOTIFY_SECURE_PORT: u32 = 1u32;
4418 pub const SF_NOTIFY_SEND_RAW_DATA: u32 = 1024u32;
4419 pub const SF_NOTIFY_SEND_RESPONSE: u32 = 64u32;
4420 pub const SF_NOTIFY_URL_MAP: u32 = 4096u32;
4421 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
4422 #[repr(transparent)]
4423 pub struct SF_PROPERTY_IIS(pub i32);
4424 pub const SF_PROPERTY_SSL_CTXT: SF_PROPERTY_IIS = SF_PROPERTY_IIS(0i32);
4425 pub const SF_PROPERTY_INSTANCE_NUM_ID: SF_PROPERTY_IIS = SF_PROPERTY_IIS(1i32);
4426 impl ::std::convert::From<i32> for SF_PROPERTY_IIS {
from(value: i32) -> Self4427 fn from(value: i32) -> Self {
4428 Self(value)
4429 }
4430 }
4431 unsafe impl ::windows::runtime::Abi for SF_PROPERTY_IIS {
4432 type Abi = Self;
4433 type DefaultType = Self;
4434 }
4435 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
4436 #[repr(transparent)]
4437 pub struct SF_REQ_TYPE(pub i32);
4438 pub const SF_REQ_SEND_RESPONSE_HEADER: SF_REQ_TYPE = SF_REQ_TYPE(0i32);
4439 pub const SF_REQ_ADD_HEADERS_ON_DENIAL: SF_REQ_TYPE = SF_REQ_TYPE(1i32);
4440 pub const SF_REQ_SET_NEXT_READ_SIZE: SF_REQ_TYPE = SF_REQ_TYPE(2i32);
4441 pub const SF_REQ_SET_PROXY_INFO: SF_REQ_TYPE = SF_REQ_TYPE(3i32);
4442 pub const SF_REQ_GET_CONNID: SF_REQ_TYPE = SF_REQ_TYPE(4i32);
4443 pub const SF_REQ_SET_CERTIFICATE_INFO: SF_REQ_TYPE = SF_REQ_TYPE(5i32);
4444 pub const SF_REQ_GET_PROPERTY: SF_REQ_TYPE = SF_REQ_TYPE(6i32);
4445 pub const SF_REQ_NORMALIZE_URL: SF_REQ_TYPE = SF_REQ_TYPE(7i32);
4446 pub const SF_REQ_DISABLE_NOTIFICATIONS: SF_REQ_TYPE = SF_REQ_TYPE(8i32);
4447 impl ::std::convert::From<i32> for SF_REQ_TYPE {
from(value: i32) -> Self4448 fn from(value: i32) -> Self {
4449 Self(value)
4450 }
4451 }
4452 unsafe impl ::windows::runtime::Abi for SF_REQ_TYPE {
4453 type Abi = Self;
4454 type DefaultType = Self;
4455 }
4456 #[derive(:: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy, :: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug)]
4457 #[repr(transparent)]
4458 pub struct SF_STATUS_TYPE(pub i32);
4459 pub const SF_STATUS_REQ_FINISHED: SF_STATUS_TYPE = SF_STATUS_TYPE(134217728i32);
4460 pub const SF_STATUS_REQ_FINISHED_KEEP_CONN: SF_STATUS_TYPE = SF_STATUS_TYPE(134217729i32);
4461 pub const SF_STATUS_REQ_NEXT_NOTIFICATION: SF_STATUS_TYPE = SF_STATUS_TYPE(134217730i32);
4462 pub const SF_STATUS_REQ_HANDLED_NOTIFICATION: SF_STATUS_TYPE = SF_STATUS_TYPE(134217731i32);
4463 pub const SF_STATUS_REQ_ERROR: SF_STATUS_TYPE = SF_STATUS_TYPE(134217732i32);
4464 pub const SF_STATUS_REQ_READ_NEXT: SF_STATUS_TYPE = SF_STATUS_TYPE(134217733i32);
4465 impl ::std::convert::From<i32> for SF_STATUS_TYPE {
from(value: i32) -> Self4466 fn from(value: i32) -> Self {
4467 Self(value)
4468 }
4469 }
4470 unsafe impl ::windows::runtime::Abi for SF_STATUS_TYPE {
4471 type Abi = Self;
4472 type DefaultType = Self;
4473 }
4474 pub const SMTP_MD_ID_BEGIN_RESERVED: u32 = 36864u32;
4475 pub const SMTP_MD_ID_END_RESERVED: u32 = 40959u32;
4476 pub const USER_MD_ID_BASE_RESERVED: u32 = 65535u32;
4477 pub const WAM_MD_ID_BEGIN_RESERVED: u32 = 29952u32;
4478 pub const WAM_MD_ID_END_RESERVED: u32 = 32767u32;
4479 pub const WAM_MD_SERVER_BASE: u32 = 7500u32;
4480 pub const WEBDAV_MD_SERVER_BASE: u32 = 8500u32;
4481 #[repr(C)]
4482 #[derive(:: std :: clone :: Clone, :: std :: default :: Default, :: std :: fmt :: Debug, :: std :: cmp :: PartialEq, :: std :: cmp :: Eq, :: std :: marker :: Copy)]
4483 pub struct _IIS_CRYPTO_BLOB(pub u8);
4484