1 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
2 #[cfg(feature = "Win32_System_Com")]
4 pub struct DIFsrmClassificationEvents(::windows
::core
::IUnknown
);
5 #[cfg(feature = "Win32_System_Com")]
6 impl DIFsrmClassificationEvents {}
7 #[cfg(feature = "Win32_System_Com")]
8 ::windows
::imp
::interface_hierarchy
!(DIFsrmClassificationEvents
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
9 #[cfg(feature = "Win32_System_Com")]
10 impl ::core
::cmp
::PartialEq
for DIFsrmClassificationEvents
{
11 fn eq(&self, other
: &Self) -> bool
{
15 #[cfg(feature = "Win32_System_Com")]
16 impl ::core
::cmp
::Eq
for DIFsrmClassificationEvents {}
17 #[cfg(feature = "Win32_System_Com")]
18 impl ::core
::fmt
::Debug
for DIFsrmClassificationEvents
{
19 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
20 f
.debug_tuple("DIFsrmClassificationEvents").field(&self.0).finish()
23 #[cfg(feature = "Win32_System_Com")]
24 unsafe impl ::windows
::core
::Interface
for DIFsrmClassificationEvents
{
25 type Vtable
= DIFsrmClassificationEvents_Vtbl
;
27 #[cfg(feature = "Win32_System_Com")]
28 impl ::core
::clone
::Clone
for DIFsrmClassificationEvents
{
29 fn clone(&self) -> Self {
33 #[cfg(feature = "Win32_System_Com")]
34 unsafe impl ::windows
::core
::ComInterface
for DIFsrmClassificationEvents
{
35 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x26942db0_dabf_41d8_bbdd_b129a9f70424);
37 #[cfg(feature = "Win32_System_Com")]
40 pub struct DIFsrmClassificationEvents_Vtbl
{
41 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
43 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
44 #[cfg(feature = "Win32_System_Com")]
46 pub struct IFsrmAccessDeniedRemediationClient(::windows
::core
::IUnknown
);
47 #[cfg(feature = "Win32_System_Com")]
48 impl IFsrmAccessDeniedRemediationClient
{
49 pub unsafe fn Show
<P0
, P1
, P2
>(&self, parentwnd
: usize, accesspath
: P0
, errortype
: AdrClientErrorType
, flags
: i32, windowtitle
: P1
, windowmessage
: P2
) -> ::windows
::core
::Result
<i32>
51 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
52 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
53 P2
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
55 let mut result__
= ::windows
::core
::zeroed
::<i32>();
56 (::windows
::core
::Interface
::vtable(self).Show
)(::windows
::core
::Interface
::as_raw(self), parentwnd
, accesspath
.into_param().abi(), errortype
, flags
, windowtitle
.into_param().abi(), windowmessage
.into_param().abi(), &mut result__
).from_abi(result__
)
59 #[cfg(feature = "Win32_System_Com")]
60 ::windows
::imp
::interface_hierarchy
!(IFsrmAccessDeniedRemediationClient
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
61 #[cfg(feature = "Win32_System_Com")]
62 impl ::core
::cmp
::PartialEq
for IFsrmAccessDeniedRemediationClient
{
63 fn eq(&self, other
: &Self) -> bool
{
67 #[cfg(feature = "Win32_System_Com")]
68 impl ::core
::cmp
::Eq
for IFsrmAccessDeniedRemediationClient {}
69 #[cfg(feature = "Win32_System_Com")]
70 impl ::core
::fmt
::Debug
for IFsrmAccessDeniedRemediationClient
{
71 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
72 f
.debug_tuple("IFsrmAccessDeniedRemediationClient").field(&self.0).finish()
75 #[cfg(feature = "Win32_System_Com")]
76 unsafe impl ::windows
::core
::Interface
for IFsrmAccessDeniedRemediationClient
{
77 type Vtable
= IFsrmAccessDeniedRemediationClient_Vtbl
;
79 #[cfg(feature = "Win32_System_Com")]
80 impl ::core
::clone
::Clone
for IFsrmAccessDeniedRemediationClient
{
81 fn clone(&self) -> Self {
85 #[cfg(feature = "Win32_System_Com")]
86 unsafe impl ::windows
::core
::ComInterface
for IFsrmAccessDeniedRemediationClient
{
87 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x40002314_590b_45a5_8e1b_8c05da527e52);
89 #[cfg(feature = "Win32_System_Com")]
92 pub struct IFsrmAccessDeniedRemediationClient_Vtbl
{
93 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
94 pub Show
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, parentwnd
: usize, accesspath
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, errortype
: AdrClientErrorType
, flags
: i32, windowtitle
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, windowmessage
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, result
: *mut i32) -> ::windows
::core
::HRESULT
,
96 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
97 #[cfg(feature = "Win32_System_Com")]
99 pub struct IFsrmAction(::windows
::core
::IUnknown
);
100 #[cfg(feature = "Win32_System_Com")]
102 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
103 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
104 (::windows
::core
::Interface
::vtable(self).Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
106 pub unsafe fn ActionType(&self) -> ::windows
::core
::Result
<FsrmActionType
> {
107 let mut result__
= ::windows
::core
::zeroed
::<FsrmActionType
>();
108 (::windows
::core
::Interface
::vtable(self).ActionType
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
110 pub unsafe fn RunLimitInterval(&self) -> ::windows
::core
::Result
<i32> {
111 let mut result__
= ::windows
::core
::zeroed
::<i32>();
112 (::windows
::core
::Interface
::vtable(self).RunLimitInterval
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
114 pub unsafe fn SetRunLimitInterval(&self, minutes
: i32) -> ::windows
::core
::Result
<()> {
115 (::windows
::core
::Interface
::vtable(self).SetRunLimitInterval
)(::windows
::core
::Interface
::as_raw(self), minutes
).ok()
117 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
118 (::windows
::core
::Interface
::vtable(self).Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
121 #[cfg(feature = "Win32_System_Com")]
122 ::windows
::imp
::interface_hierarchy
!(IFsrmAction
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
123 #[cfg(feature = "Win32_System_Com")]
124 impl ::core
::cmp
::PartialEq
for IFsrmAction
{
125 fn eq(&self, other
: &Self) -> bool
{
129 #[cfg(feature = "Win32_System_Com")]
130 impl ::core
::cmp
::Eq
for IFsrmAction {}
131 #[cfg(feature = "Win32_System_Com")]
132 impl ::core
::fmt
::Debug
for IFsrmAction
{
133 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
134 f
.debug_tuple("IFsrmAction").field(&self.0).finish()
137 #[cfg(feature = "Win32_System_Com")]
138 unsafe impl ::windows
::core
::Interface
for IFsrmAction
{
139 type Vtable
= IFsrmAction_Vtbl
;
141 #[cfg(feature = "Win32_System_Com")]
142 impl ::core
::clone
::Clone
for IFsrmAction
{
143 fn clone(&self) -> Self {
147 #[cfg(feature = "Win32_System_Com")]
148 unsafe impl ::windows
::core
::ComInterface
for IFsrmAction
{
149 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x6cd6408a_ae60_463b_9ef1_e117534d69dc);
151 #[cfg(feature = "Win32_System_Com")]
154 pub struct IFsrmAction_Vtbl
{
155 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
156 pub Id
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, id
: *mut ::windows
::core
::GUID
) -> ::windows
::core
::HRESULT
,
157 pub ActionType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, actiontype
: *mut FsrmActionType
) -> ::windows
::core
::HRESULT
,
158 pub RunLimitInterval
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, minutes
: *mut i32) -> ::windows
::core
::HRESULT
,
159 pub SetRunLimitInterval
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, minutes
: i32) -> ::windows
::core
::HRESULT
,
160 pub Delete
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
162 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
163 #[cfg(feature = "Win32_System_Com")]
165 pub struct IFsrmActionCommand(::windows
::core
::IUnknown
);
166 #[cfg(feature = "Win32_System_Com")]
167 impl IFsrmActionCommand
{
168 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
169 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
170 (::windows
::core
::Interface
::vtable(self).base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
172 pub unsafe fn ActionType(&self) -> ::windows
::core
::Result
<FsrmActionType
> {
173 let mut result__
= ::windows
::core
::zeroed
::<FsrmActionType
>();
174 (::windows
::core
::Interface
::vtable(self).base__
.ActionType
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
176 pub unsafe fn RunLimitInterval(&self) -> ::windows
::core
::Result
<i32> {
177 let mut result__
= ::windows
::core
::zeroed
::<i32>();
178 (::windows
::core
::Interface
::vtable(self).base__
.RunLimitInterval
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
180 pub unsafe fn SetRunLimitInterval(&self, minutes
: i32) -> ::windows
::core
::Result
<()> {
181 (::windows
::core
::Interface
::vtable(self).base__
.SetRunLimitInterval
)(::windows
::core
::Interface
::as_raw(self), minutes
).ok()
183 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
184 (::windows
::core
::Interface
::vtable(self).base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
186 pub unsafe fn ExecutablePath(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
187 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
188 (::windows
::core
::Interface
::vtable(self).ExecutablePath
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
190 pub unsafe fn SetExecutablePath
<P0
>(&self, executablepath
: P0
) -> ::windows
::core
::Result
<()>
192 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
194 (::windows
::core
::Interface
::vtable(self).SetExecutablePath
)(::windows
::core
::Interface
::as_raw(self), executablepath
.into_param().abi()).ok()
196 pub unsafe fn Arguments(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
197 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
198 (::windows
::core
::Interface
::vtable(self).Arguments
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
200 pub unsafe fn SetArguments
<P0
>(&self, arguments
: P0
) -> ::windows
::core
::Result
<()>
202 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
204 (::windows
::core
::Interface
::vtable(self).SetArguments
)(::windows
::core
::Interface
::as_raw(self), arguments
.into_param().abi()).ok()
206 pub unsafe fn Account(&self) -> ::windows
::core
::Result
<FsrmAccountType
> {
207 let mut result__
= ::windows
::core
::zeroed
::<FsrmAccountType
>();
208 (::windows
::core
::Interface
::vtable(self).Account
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
210 pub unsafe fn SetAccount(&self, account
: FsrmAccountType
) -> ::windows
::core
::Result
<()> {
211 (::windows
::core
::Interface
::vtable(self).SetAccount
)(::windows
::core
::Interface
::as_raw(self), account
).ok()
213 pub unsafe fn WorkingDirectory(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
214 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
215 (::windows
::core
::Interface
::vtable(self).WorkingDirectory
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
217 pub unsafe fn SetWorkingDirectory
<P0
>(&self, workingdirectory
: P0
) -> ::windows
::core
::Result
<()>
219 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
221 (::windows
::core
::Interface
::vtable(self).SetWorkingDirectory
)(::windows
::core
::Interface
::as_raw(self), workingdirectory
.into_param().abi()).ok()
223 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
224 #[cfg(feature = "Win32_Foundation")]
225 pub unsafe fn MonitorCommand(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
226 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
227 (::windows
::core
::Interface
::vtable(self).MonitorCommand
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
229 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
230 #[cfg(feature = "Win32_Foundation")]
231 pub unsafe fn SetMonitorCommand
<P0
>(&self, monitorcommand
: P0
) -> ::windows
::core
::Result
<()>
233 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
235 (::windows
::core
::Interface
::vtable(self).SetMonitorCommand
)(::windows
::core
::Interface
::as_raw(self), monitorcommand
.into_param().abi()).ok()
237 pub unsafe fn KillTimeOut(&self) -> ::windows
::core
::Result
<i32> {
238 let mut result__
= ::windows
::core
::zeroed
::<i32>();
239 (::windows
::core
::Interface
::vtable(self).KillTimeOut
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
241 pub unsafe fn SetKillTimeOut(&self, minutes
: i32) -> ::windows
::core
::Result
<()> {
242 (::windows
::core
::Interface
::vtable(self).SetKillTimeOut
)(::windows
::core
::Interface
::as_raw(self), minutes
).ok()
244 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
245 #[cfg(feature = "Win32_Foundation")]
246 pub unsafe fn LogResult(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
247 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
248 (::windows
::core
::Interface
::vtable(self).LogResult
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
250 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
251 #[cfg(feature = "Win32_Foundation")]
252 pub unsafe fn SetLogResult
<P0
>(&self, logresults
: P0
) -> ::windows
::core
::Result
<()>
254 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
256 (::windows
::core
::Interface
::vtable(self).SetLogResult
)(::windows
::core
::Interface
::as_raw(self), logresults
.into_param().abi()).ok()
259 #[cfg(feature = "Win32_System_Com")]
260 ::windows
::imp
::interface_hierarchy
!(IFsrmActionCommand
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmAction
);
261 #[cfg(feature = "Win32_System_Com")]
262 impl ::core
::cmp
::PartialEq
for IFsrmActionCommand
{
263 fn eq(&self, other
: &Self) -> bool
{
267 #[cfg(feature = "Win32_System_Com")]
268 impl ::core
::cmp
::Eq
for IFsrmActionCommand {}
269 #[cfg(feature = "Win32_System_Com")]
270 impl ::core
::fmt
::Debug
for IFsrmActionCommand
{
271 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
272 f
.debug_tuple("IFsrmActionCommand").field(&self.0).finish()
275 #[cfg(feature = "Win32_System_Com")]
276 unsafe impl ::windows
::core
::Interface
for IFsrmActionCommand
{
277 type Vtable
= IFsrmActionCommand_Vtbl
;
279 #[cfg(feature = "Win32_System_Com")]
280 impl ::core
::clone
::Clone
for IFsrmActionCommand
{
281 fn clone(&self) -> Self {
285 #[cfg(feature = "Win32_System_Com")]
286 unsafe impl ::windows
::core
::ComInterface
for IFsrmActionCommand
{
287 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x12937789_e247_4917_9c20_f3ee9c7ee783);
289 #[cfg(feature = "Win32_System_Com")]
292 pub struct IFsrmActionCommand_Vtbl
{
293 pub base__
: IFsrmAction_Vtbl
,
294 pub ExecutablePath
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, executablepath
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
295 pub SetExecutablePath
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, executablepath
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
296 pub Arguments
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, arguments
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
297 pub SetArguments
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, arguments
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
298 pub Account
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, account
: *mut FsrmAccountType
) -> ::windows
::core
::HRESULT
,
299 pub SetAccount
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, account
: FsrmAccountType
) -> ::windows
::core
::HRESULT
,
300 pub WorkingDirectory
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, workingdirectory
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
301 pub SetWorkingDirectory
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, workingdirectory
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
302 #[cfg(feature = "Win32_Foundation")]
303 pub MonitorCommand
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, monitorcommand
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
304 #[cfg(not(feature = "Win32_Foundation"))]
305 MonitorCommand
: usize,
306 #[cfg(feature = "Win32_Foundation")]
307 pub SetMonitorCommand
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, monitorcommand
: super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
308 #[cfg(not(feature = "Win32_Foundation"))]
309 SetMonitorCommand
: usize,
310 pub KillTimeOut
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, minutes
: *mut i32) -> ::windows
::core
::HRESULT
,
311 pub SetKillTimeOut
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, minutes
: i32) -> ::windows
::core
::HRESULT
,
312 #[cfg(feature = "Win32_Foundation")]
313 pub LogResult
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, logresults
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
314 #[cfg(not(feature = "Win32_Foundation"))]
316 #[cfg(feature = "Win32_Foundation")]
317 pub SetLogResult
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, logresults
: super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
318 #[cfg(not(feature = "Win32_Foundation"))]
321 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
322 #[cfg(feature = "Win32_System_Com")]
324 pub struct IFsrmActionEmail(::windows
::core
::IUnknown
);
325 #[cfg(feature = "Win32_System_Com")]
326 impl IFsrmActionEmail
{
327 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
328 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
329 (::windows
::core
::Interface
::vtable(self).base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
331 pub unsafe fn ActionType(&self) -> ::windows
::core
::Result
<FsrmActionType
> {
332 let mut result__
= ::windows
::core
::zeroed
::<FsrmActionType
>();
333 (::windows
::core
::Interface
::vtable(self).base__
.ActionType
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
335 pub unsafe fn RunLimitInterval(&self) -> ::windows
::core
::Result
<i32> {
336 let mut result__
= ::windows
::core
::zeroed
::<i32>();
337 (::windows
::core
::Interface
::vtable(self).base__
.RunLimitInterval
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
339 pub unsafe fn SetRunLimitInterval(&self, minutes
: i32) -> ::windows
::core
::Result
<()> {
340 (::windows
::core
::Interface
::vtable(self).base__
.SetRunLimitInterval
)(::windows
::core
::Interface
::as_raw(self), minutes
).ok()
342 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
343 (::windows
::core
::Interface
::vtable(self).base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
345 pub unsafe fn MailFrom(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
346 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
347 (::windows
::core
::Interface
::vtable(self).MailFrom
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
349 pub unsafe fn SetMailFrom
<P0
>(&self, mailfrom
: P0
) -> ::windows
::core
::Result
<()>
351 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
353 (::windows
::core
::Interface
::vtable(self).SetMailFrom
)(::windows
::core
::Interface
::as_raw(self), mailfrom
.into_param().abi()).ok()
355 pub unsafe fn MailReplyTo(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
356 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
357 (::windows
::core
::Interface
::vtable(self).MailReplyTo
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
359 pub unsafe fn SetMailReplyTo
<P0
>(&self, mailreplyto
: P0
) -> ::windows
::core
::Result
<()>
361 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
363 (::windows
::core
::Interface
::vtable(self).SetMailReplyTo
)(::windows
::core
::Interface
::as_raw(self), mailreplyto
.into_param().abi()).ok()
365 pub unsafe fn MailTo(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
366 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
367 (::windows
::core
::Interface
::vtable(self).MailTo
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
369 pub unsafe fn SetMailTo
<P0
>(&self, mailto
: P0
) -> ::windows
::core
::Result
<()>
371 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
373 (::windows
::core
::Interface
::vtable(self).SetMailTo
)(::windows
::core
::Interface
::as_raw(self), mailto
.into_param().abi()).ok()
375 pub unsafe fn MailCc(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
376 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
377 (::windows
::core
::Interface
::vtable(self).MailCc
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
379 pub unsafe fn SetMailCc
<P0
>(&self, mailcc
: P0
) -> ::windows
::core
::Result
<()>
381 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
383 (::windows
::core
::Interface
::vtable(self).SetMailCc
)(::windows
::core
::Interface
::as_raw(self), mailcc
.into_param().abi()).ok()
385 pub unsafe fn MailBcc(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
386 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
387 (::windows
::core
::Interface
::vtable(self).MailBcc
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
389 pub unsafe fn SetMailBcc
<P0
>(&self, mailbcc
: P0
) -> ::windows
::core
::Result
<()>
391 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
393 (::windows
::core
::Interface
::vtable(self).SetMailBcc
)(::windows
::core
::Interface
::as_raw(self), mailbcc
.into_param().abi()).ok()
395 pub unsafe fn MailSubject(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
396 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
397 (::windows
::core
::Interface
::vtable(self).MailSubject
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
399 pub unsafe fn SetMailSubject
<P0
>(&self, mailsubject
: P0
) -> ::windows
::core
::Result
<()>
401 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
403 (::windows
::core
::Interface
::vtable(self).SetMailSubject
)(::windows
::core
::Interface
::as_raw(self), mailsubject
.into_param().abi()).ok()
405 pub unsafe fn MessageText(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
406 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
407 (::windows
::core
::Interface
::vtable(self).MessageText
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
409 pub unsafe fn SetMessageText
<P0
>(&self, messagetext
: P0
) -> ::windows
::core
::Result
<()>
411 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
413 (::windows
::core
::Interface
::vtable(self).SetMessageText
)(::windows
::core
::Interface
::as_raw(self), messagetext
.into_param().abi()).ok()
416 #[cfg(feature = "Win32_System_Com")]
417 ::windows
::imp
::interface_hierarchy
!(IFsrmActionEmail
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmAction
);
418 #[cfg(feature = "Win32_System_Com")]
419 impl ::core
::cmp
::PartialEq
for IFsrmActionEmail
{
420 fn eq(&self, other
: &Self) -> bool
{
424 #[cfg(feature = "Win32_System_Com")]
425 impl ::core
::cmp
::Eq
for IFsrmActionEmail {}
426 #[cfg(feature = "Win32_System_Com")]
427 impl ::core
::fmt
::Debug
for IFsrmActionEmail
{
428 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
429 f
.debug_tuple("IFsrmActionEmail").field(&self.0).finish()
432 #[cfg(feature = "Win32_System_Com")]
433 unsafe impl ::windows
::core
::Interface
for IFsrmActionEmail
{
434 type Vtable
= IFsrmActionEmail_Vtbl
;
436 #[cfg(feature = "Win32_System_Com")]
437 impl ::core
::clone
::Clone
for IFsrmActionEmail
{
438 fn clone(&self) -> Self {
442 #[cfg(feature = "Win32_System_Com")]
443 unsafe impl ::windows
::core
::ComInterface
for IFsrmActionEmail
{
444 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xd646567d_26ae_4caa_9f84_4e0aad207fca);
446 #[cfg(feature = "Win32_System_Com")]
449 pub struct IFsrmActionEmail_Vtbl
{
450 pub base__
: IFsrmAction_Vtbl
,
451 pub MailFrom
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailfrom
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
452 pub SetMailFrom
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailfrom
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
453 pub MailReplyTo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailreplyto
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
454 pub SetMailReplyTo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailreplyto
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
455 pub MailTo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailto
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
456 pub SetMailTo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailto
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
457 pub MailCc
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailcc
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
458 pub SetMailCc
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailcc
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
459 pub MailBcc
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailbcc
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
460 pub SetMailBcc
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailbcc
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
461 pub MailSubject
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailsubject
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
462 pub SetMailSubject
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailsubject
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
463 pub MessageText
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, messagetext
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
464 pub SetMessageText
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, messagetext
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
466 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
467 #[cfg(feature = "Win32_System_Com")]
469 pub struct IFsrmActionEmail2(::windows
::core
::IUnknown
);
470 #[cfg(feature = "Win32_System_Com")]
471 impl IFsrmActionEmail2
{
472 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
473 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
474 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
476 pub unsafe fn ActionType(&self) -> ::windows
::core
::Result
<FsrmActionType
> {
477 let mut result__
= ::windows
::core
::zeroed
::<FsrmActionType
>();
478 (::windows
::core
::Interface
::vtable(self).base__
.base__
.ActionType
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
480 pub unsafe fn RunLimitInterval(&self) -> ::windows
::core
::Result
<i32> {
481 let mut result__
= ::windows
::core
::zeroed
::<i32>();
482 (::windows
::core
::Interface
::vtable(self).base__
.base__
.RunLimitInterval
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
484 pub unsafe fn SetRunLimitInterval(&self, minutes
: i32) -> ::windows
::core
::Result
<()> {
485 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetRunLimitInterval
)(::windows
::core
::Interface
::as_raw(self), minutes
).ok()
487 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
488 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
490 pub unsafe fn MailFrom(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
491 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
492 (::windows
::core
::Interface
::vtable(self).base__
.MailFrom
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
494 pub unsafe fn SetMailFrom
<P0
>(&self, mailfrom
: P0
) -> ::windows
::core
::Result
<()>
496 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
498 (::windows
::core
::Interface
::vtable(self).base__
.SetMailFrom
)(::windows
::core
::Interface
::as_raw(self), mailfrom
.into_param().abi()).ok()
500 pub unsafe fn MailReplyTo(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
501 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
502 (::windows
::core
::Interface
::vtable(self).base__
.MailReplyTo
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
504 pub unsafe fn SetMailReplyTo
<P0
>(&self, mailreplyto
: P0
) -> ::windows
::core
::Result
<()>
506 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
508 (::windows
::core
::Interface
::vtable(self).base__
.SetMailReplyTo
)(::windows
::core
::Interface
::as_raw(self), mailreplyto
.into_param().abi()).ok()
510 pub unsafe fn MailTo(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
511 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
512 (::windows
::core
::Interface
::vtable(self).base__
.MailTo
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
514 pub unsafe fn SetMailTo
<P0
>(&self, mailto
: P0
) -> ::windows
::core
::Result
<()>
516 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
518 (::windows
::core
::Interface
::vtable(self).base__
.SetMailTo
)(::windows
::core
::Interface
::as_raw(self), mailto
.into_param().abi()).ok()
520 pub unsafe fn MailCc(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
521 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
522 (::windows
::core
::Interface
::vtable(self).base__
.MailCc
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
524 pub unsafe fn SetMailCc
<P0
>(&self, mailcc
: P0
) -> ::windows
::core
::Result
<()>
526 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
528 (::windows
::core
::Interface
::vtable(self).base__
.SetMailCc
)(::windows
::core
::Interface
::as_raw(self), mailcc
.into_param().abi()).ok()
530 pub unsafe fn MailBcc(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
531 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
532 (::windows
::core
::Interface
::vtable(self).base__
.MailBcc
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
534 pub unsafe fn SetMailBcc
<P0
>(&self, mailbcc
: P0
) -> ::windows
::core
::Result
<()>
536 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
538 (::windows
::core
::Interface
::vtable(self).base__
.SetMailBcc
)(::windows
::core
::Interface
::as_raw(self), mailbcc
.into_param().abi()).ok()
540 pub unsafe fn MailSubject(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
541 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
542 (::windows
::core
::Interface
::vtable(self).base__
.MailSubject
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
544 pub unsafe fn SetMailSubject
<P0
>(&self, mailsubject
: P0
) -> ::windows
::core
::Result
<()>
546 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
548 (::windows
::core
::Interface
::vtable(self).base__
.SetMailSubject
)(::windows
::core
::Interface
::as_raw(self), mailsubject
.into_param().abi()).ok()
550 pub unsafe fn MessageText(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
551 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
552 (::windows
::core
::Interface
::vtable(self).base__
.MessageText
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
554 pub unsafe fn SetMessageText
<P0
>(&self, messagetext
: P0
) -> ::windows
::core
::Result
<()>
556 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
558 (::windows
::core
::Interface
::vtable(self).base__
.SetMessageText
)(::windows
::core
::Interface
::as_raw(self), messagetext
.into_param().abi()).ok()
560 pub unsafe fn AttachmentFileListSize(&self) -> ::windows
::core
::Result
<i32> {
561 let mut result__
= ::windows
::core
::zeroed
::<i32>();
562 (::windows
::core
::Interface
::vtable(self).AttachmentFileListSize
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
564 pub unsafe fn SetAttachmentFileListSize(&self, attachmentfilelistsize
: i32) -> ::windows
::core
::Result
<()> {
565 (::windows
::core
::Interface
::vtable(self).SetAttachmentFileListSize
)(::windows
::core
::Interface
::as_raw(self), attachmentfilelistsize
).ok()
568 #[cfg(feature = "Win32_System_Com")]
569 ::windows
::imp
::interface_hierarchy
!(IFsrmActionEmail2
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmAction
, IFsrmActionEmail
);
570 #[cfg(feature = "Win32_System_Com")]
571 impl ::core
::cmp
::PartialEq
for IFsrmActionEmail2
{
572 fn eq(&self, other
: &Self) -> bool
{
576 #[cfg(feature = "Win32_System_Com")]
577 impl ::core
::cmp
::Eq
for IFsrmActionEmail2 {}
578 #[cfg(feature = "Win32_System_Com")]
579 impl ::core
::fmt
::Debug
for IFsrmActionEmail2
{
580 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
581 f
.debug_tuple("IFsrmActionEmail2").field(&self.0).finish()
584 #[cfg(feature = "Win32_System_Com")]
585 unsafe impl ::windows
::core
::Interface
for IFsrmActionEmail2
{
586 type Vtable
= IFsrmActionEmail2_Vtbl
;
588 #[cfg(feature = "Win32_System_Com")]
589 impl ::core
::clone
::Clone
for IFsrmActionEmail2
{
590 fn clone(&self) -> Self {
594 #[cfg(feature = "Win32_System_Com")]
595 unsafe impl ::windows
::core
::ComInterface
for IFsrmActionEmail2
{
596 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x8276702f_2532_4839_89bf_4872609a2ea4);
598 #[cfg(feature = "Win32_System_Com")]
601 pub struct IFsrmActionEmail2_Vtbl
{
602 pub base__
: IFsrmActionEmail_Vtbl
,
603 pub AttachmentFileListSize
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, attachmentfilelistsize
: *mut i32) -> ::windows
::core
::HRESULT
,
604 pub SetAttachmentFileListSize
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, attachmentfilelistsize
: i32) -> ::windows
::core
::HRESULT
,
606 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
607 #[cfg(feature = "Win32_System_Com")]
609 pub struct IFsrmActionEventLog(::windows
::core
::IUnknown
);
610 #[cfg(feature = "Win32_System_Com")]
611 impl IFsrmActionEventLog
{
612 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
613 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
614 (::windows
::core
::Interface
::vtable(self).base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
616 pub unsafe fn ActionType(&self) -> ::windows
::core
::Result
<FsrmActionType
> {
617 let mut result__
= ::windows
::core
::zeroed
::<FsrmActionType
>();
618 (::windows
::core
::Interface
::vtable(self).base__
.ActionType
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
620 pub unsafe fn RunLimitInterval(&self) -> ::windows
::core
::Result
<i32> {
621 let mut result__
= ::windows
::core
::zeroed
::<i32>();
622 (::windows
::core
::Interface
::vtable(self).base__
.RunLimitInterval
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
624 pub unsafe fn SetRunLimitInterval(&self, minutes
: i32) -> ::windows
::core
::Result
<()> {
625 (::windows
::core
::Interface
::vtable(self).base__
.SetRunLimitInterval
)(::windows
::core
::Interface
::as_raw(self), minutes
).ok()
627 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
628 (::windows
::core
::Interface
::vtable(self).base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
630 pub unsafe fn EventType(&self) -> ::windows
::core
::Result
<FsrmEventType
> {
631 let mut result__
= ::windows
::core
::zeroed
::<FsrmEventType
>();
632 (::windows
::core
::Interface
::vtable(self).EventType
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
634 pub unsafe fn SetEventType(&self, eventtype
: FsrmEventType
) -> ::windows
::core
::Result
<()> {
635 (::windows
::core
::Interface
::vtable(self).SetEventType
)(::windows
::core
::Interface
::as_raw(self), eventtype
).ok()
637 pub unsafe fn MessageText(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
638 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
639 (::windows
::core
::Interface
::vtable(self).MessageText
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
641 pub unsafe fn SetMessageText
<P0
>(&self, messagetext
: P0
) -> ::windows
::core
::Result
<()>
643 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
645 (::windows
::core
::Interface
::vtable(self).SetMessageText
)(::windows
::core
::Interface
::as_raw(self), messagetext
.into_param().abi()).ok()
648 #[cfg(feature = "Win32_System_Com")]
649 ::windows
::imp
::interface_hierarchy
!(IFsrmActionEventLog
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmAction
);
650 #[cfg(feature = "Win32_System_Com")]
651 impl ::core
::cmp
::PartialEq
for IFsrmActionEventLog
{
652 fn eq(&self, other
: &Self) -> bool
{
656 #[cfg(feature = "Win32_System_Com")]
657 impl ::core
::cmp
::Eq
for IFsrmActionEventLog {}
658 #[cfg(feature = "Win32_System_Com")]
659 impl ::core
::fmt
::Debug
for IFsrmActionEventLog
{
660 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
661 f
.debug_tuple("IFsrmActionEventLog").field(&self.0).finish()
664 #[cfg(feature = "Win32_System_Com")]
665 unsafe impl ::windows
::core
::Interface
for IFsrmActionEventLog
{
666 type Vtable
= IFsrmActionEventLog_Vtbl
;
668 #[cfg(feature = "Win32_System_Com")]
669 impl ::core
::clone
::Clone
for IFsrmActionEventLog
{
670 fn clone(&self) -> Self {
674 #[cfg(feature = "Win32_System_Com")]
675 unsafe impl ::windows
::core
::ComInterface
for IFsrmActionEventLog
{
676 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x4c8f96c3_5d94_4f37_a4f4_f56ab463546f);
678 #[cfg(feature = "Win32_System_Com")]
681 pub struct IFsrmActionEventLog_Vtbl
{
682 pub base__
: IFsrmAction_Vtbl
,
683 pub EventType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, eventtype
: *mut FsrmEventType
) -> ::windows
::core
::HRESULT
,
684 pub SetEventType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, eventtype
: FsrmEventType
) -> ::windows
::core
::HRESULT
,
685 pub MessageText
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, messagetext
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
686 pub SetMessageText
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, messagetext
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
688 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
689 #[cfg(feature = "Win32_System_Com")]
691 pub struct IFsrmActionReport(::windows
::core
::IUnknown
);
692 #[cfg(feature = "Win32_System_Com")]
693 impl IFsrmActionReport
{
694 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
695 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
696 (::windows
::core
::Interface
::vtable(self).base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
698 pub unsafe fn ActionType(&self) -> ::windows
::core
::Result
<FsrmActionType
> {
699 let mut result__
= ::windows
::core
::zeroed
::<FsrmActionType
>();
700 (::windows
::core
::Interface
::vtable(self).base__
.ActionType
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
702 pub unsafe fn RunLimitInterval(&self) -> ::windows
::core
::Result
<i32> {
703 let mut result__
= ::windows
::core
::zeroed
::<i32>();
704 (::windows
::core
::Interface
::vtable(self).base__
.RunLimitInterval
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
706 pub unsafe fn SetRunLimitInterval(&self, minutes
: i32) -> ::windows
::core
::Result
<()> {
707 (::windows
::core
::Interface
::vtable(self).base__
.SetRunLimitInterval
)(::windows
::core
::Interface
::as_raw(self), minutes
).ok()
709 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
710 (::windows
::core
::Interface
::vtable(self).base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
712 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
713 #[cfg(feature = "Win32_System_Com")]
714 pub unsafe fn ReportTypes(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
715 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
716 (::windows
::core
::Interface
::vtable(self).ReportTypes
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
718 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
719 #[cfg(feature = "Win32_System_Com")]
720 pub unsafe fn SetReportTypes(&self, reporttypes
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
721 (::windows
::core
::Interface
::vtable(self).SetReportTypes
)(::windows
::core
::Interface
::as_raw(self), reporttypes
).ok()
723 pub unsafe fn MailTo(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
724 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
725 (::windows
::core
::Interface
::vtable(self).MailTo
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
727 pub unsafe fn SetMailTo
<P0
>(&self, mailto
: P0
) -> ::windows
::core
::Result
<()>
729 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
731 (::windows
::core
::Interface
::vtable(self).SetMailTo
)(::windows
::core
::Interface
::as_raw(self), mailto
.into_param().abi()).ok()
734 #[cfg(feature = "Win32_System_Com")]
735 ::windows
::imp
::interface_hierarchy
!(IFsrmActionReport
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmAction
);
736 #[cfg(feature = "Win32_System_Com")]
737 impl ::core
::cmp
::PartialEq
for IFsrmActionReport
{
738 fn eq(&self, other
: &Self) -> bool
{
742 #[cfg(feature = "Win32_System_Com")]
743 impl ::core
::cmp
::Eq
for IFsrmActionReport {}
744 #[cfg(feature = "Win32_System_Com")]
745 impl ::core
::fmt
::Debug
for IFsrmActionReport
{
746 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
747 f
.debug_tuple("IFsrmActionReport").field(&self.0).finish()
750 #[cfg(feature = "Win32_System_Com")]
751 unsafe impl ::windows
::core
::Interface
for IFsrmActionReport
{
752 type Vtable
= IFsrmActionReport_Vtbl
;
754 #[cfg(feature = "Win32_System_Com")]
755 impl ::core
::clone
::Clone
for IFsrmActionReport
{
756 fn clone(&self) -> Self {
760 #[cfg(feature = "Win32_System_Com")]
761 unsafe impl ::windows
::core
::ComInterface
for IFsrmActionReport
{
762 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x2dbe63c4_b340_48a0_a5b0_158e07fc567e);
764 #[cfg(feature = "Win32_System_Com")]
767 pub struct IFsrmActionReport_Vtbl
{
768 pub base__
: IFsrmAction_Vtbl
,
769 #[cfg(feature = "Win32_System_Com")]
770 pub ReportTypes
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reporttypes
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
771 #[cfg(not(feature = "Win32_System_Com"))]
773 #[cfg(feature = "Win32_System_Com")]
774 pub SetReportTypes
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reporttypes
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
775 #[cfg(not(feature = "Win32_System_Com"))]
776 SetReportTypes
: usize,
777 pub MailTo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailto
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
778 pub SetMailTo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailto
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
780 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
781 #[cfg(feature = "Win32_System_Com")]
783 pub struct IFsrmAutoApplyQuota(::windows
::core
::IUnknown
);
784 #[cfg(feature = "Win32_System_Com")]
785 impl IFsrmAutoApplyQuota
{
786 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
787 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
788 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
790 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
791 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
792 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
794 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
796 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
798 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
800 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
801 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
803 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
804 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
806 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
807 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
808 pub unsafe fn QuotaLimit(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
809 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
810 (::windows
::core
::Interface
::vtable(self).base__
.base__
.QuotaLimit
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
812 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
813 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
814 pub unsafe fn SetQuotaLimit(&self, quotalimit
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<()> {
815 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetQuotaLimit
)(::windows
::core
::Interface
::as_raw(self), ::core
::mem
::transmute(quotalimit
)).ok()
817 pub unsafe fn QuotaFlags(&self) -> ::windows
::core
::Result
<i32> {
818 let mut result__
= ::windows
::core
::zeroed
::<i32>();
819 (::windows
::core
::Interface
::vtable(self).base__
.base__
.QuotaFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
821 pub unsafe fn SetQuotaFlags(&self, quotaflags
: i32) -> ::windows
::core
::Result
<()> {
822 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetQuotaFlags
)(::windows
::core
::Interface
::as_raw(self), quotaflags
).ok()
824 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
825 #[cfg(feature = "Win32_System_Com")]
826 pub unsafe fn Thresholds(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
827 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
828 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Thresholds
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
830 pub unsafe fn AddThreshold(&self, threshold
: i32) -> ::windows
::core
::Result
<()> {
831 (::windows
::core
::Interface
::vtable(self).base__
.base__
.AddThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
).ok()
833 pub unsafe fn DeleteThreshold(&self, threshold
: i32) -> ::windows
::core
::Result
<()> {
834 (::windows
::core
::Interface
::vtable(self).base__
.base__
.DeleteThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
).ok()
836 pub unsafe fn ModifyThreshold(&self, threshold
: i32, newthreshold
: i32) -> ::windows
::core
::Result
<()> {
837 (::windows
::core
::Interface
::vtable(self).base__
.base__
.ModifyThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
, newthreshold
).ok()
839 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
840 #[cfg(feature = "Win32_System_Com")]
841 pub unsafe fn CreateThresholdAction(&self, threshold
: i32, actiontype
: FsrmActionType
) -> ::windows
::core
::Result
<IFsrmAction
> {
842 let mut result__
= ::windows
::core
::zeroed
::<IFsrmAction
>();
843 (::windows
::core
::Interface
::vtable(self).base__
.base__
.CreateThresholdAction
)(::windows
::core
::Interface
::as_raw(self), threshold
, actiontype
, &mut result__
).from_abi(result__
)
845 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
846 #[cfg(feature = "Win32_System_Com")]
847 pub unsafe fn EnumThresholdActions(&self, threshold
: i32) -> ::windows
::core
::Result
<IFsrmCollection
> {
848 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
849 (::windows
::core
::Interface
::vtable(self).base__
.base__
.EnumThresholdActions
)(::windows
::core
::Interface
::as_raw(self), threshold
, &mut result__
).from_abi(result__
)
851 pub unsafe fn Path(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
852 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
853 (::windows
::core
::Interface
::vtable(self).base__
.Path
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
855 pub unsafe fn UserSid(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
856 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
857 (::windows
::core
::Interface
::vtable(self).base__
.UserSid
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
859 pub unsafe fn UserAccount(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
860 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
861 (::windows
::core
::Interface
::vtable(self).base__
.UserAccount
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
863 pub unsafe fn SourceTemplateName(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
864 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
865 (::windows
::core
::Interface
::vtable(self).base__
.SourceTemplateName
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
867 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
868 #[cfg(feature = "Win32_Foundation")]
869 pub unsafe fn MatchesSourceTemplate(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
870 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
871 (::windows
::core
::Interface
::vtable(self).base__
.MatchesSourceTemplate
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
873 pub unsafe fn ApplyTemplate
<P0
>(&self, quotatemplatename
: P0
) -> ::windows
::core
::Result
<()>
875 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
877 (::windows
::core
::Interface
::vtable(self).base__
.ApplyTemplate
)(::windows
::core
::Interface
::as_raw(self), quotatemplatename
.into_param().abi()).ok()
879 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
880 #[cfg(feature = "Win32_System_Com")]
881 pub unsafe fn ExcludeFolders(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
882 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
883 (::windows
::core
::Interface
::vtable(self).ExcludeFolders
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
885 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
886 #[cfg(feature = "Win32_System_Com")]
887 pub unsafe fn SetExcludeFolders(&self, folders
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
888 (::windows
::core
::Interface
::vtable(self).SetExcludeFolders
)(::windows
::core
::Interface
::as_raw(self), folders
).ok()
890 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
891 #[cfg(feature = "Win32_System_Com")]
892 pub unsafe fn CommitAndUpdateDerived(&self, commitoptions
: FsrmCommitOptions
, applyoptions
: FsrmTemplateApplyOptions
) -> ::windows
::core
::Result
<IFsrmDerivedObjectsResult
> {
893 let mut result__
= ::windows
::core
::zeroed
::<IFsrmDerivedObjectsResult
>();
894 (::windows
::core
::Interface
::vtable(self).CommitAndUpdateDerived
)(::windows
::core
::Interface
::as_raw(self), commitoptions
, applyoptions
, &mut result__
).from_abi(result__
)
897 #[cfg(feature = "Win32_System_Com")]
898 ::windows
::imp
::interface_hierarchy
!(IFsrmAutoApplyQuota
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
, IFsrmQuotaBase
, IFsrmQuotaObject
);
899 #[cfg(feature = "Win32_System_Com")]
900 impl ::core
::cmp
::PartialEq
for IFsrmAutoApplyQuota
{
901 fn eq(&self, other
: &Self) -> bool
{
905 #[cfg(feature = "Win32_System_Com")]
906 impl ::core
::cmp
::Eq
for IFsrmAutoApplyQuota {}
907 #[cfg(feature = "Win32_System_Com")]
908 impl ::core
::fmt
::Debug
for IFsrmAutoApplyQuota
{
909 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
910 f
.debug_tuple("IFsrmAutoApplyQuota").field(&self.0).finish()
913 #[cfg(feature = "Win32_System_Com")]
914 unsafe impl ::windows
::core
::Interface
for IFsrmAutoApplyQuota
{
915 type Vtable
= IFsrmAutoApplyQuota_Vtbl
;
917 #[cfg(feature = "Win32_System_Com")]
918 impl ::core
::clone
::Clone
for IFsrmAutoApplyQuota
{
919 fn clone(&self) -> Self {
923 #[cfg(feature = "Win32_System_Com")]
924 unsafe impl ::windows
::core
::ComInterface
for IFsrmAutoApplyQuota
{
925 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xf82e5729_6aba_4740_bfc7_c7f58f75fb7b);
927 #[cfg(feature = "Win32_System_Com")]
930 pub struct IFsrmAutoApplyQuota_Vtbl
{
931 pub base__
: IFsrmQuotaObject_Vtbl
,
932 #[cfg(feature = "Win32_System_Com")]
933 pub ExcludeFolders
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, folders
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
934 #[cfg(not(feature = "Win32_System_Com"))]
935 ExcludeFolders
: usize,
936 #[cfg(feature = "Win32_System_Com")]
937 pub SetExcludeFolders
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, folders
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
938 #[cfg(not(feature = "Win32_System_Com"))]
939 SetExcludeFolders
: usize,
940 #[cfg(feature = "Win32_System_Com")]
941 pub CommitAndUpdateDerived
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, commitoptions
: FsrmCommitOptions
, applyoptions
: FsrmTemplateApplyOptions
, derivedobjectsresult
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
942 #[cfg(not(feature = "Win32_System_Com"))]
943 CommitAndUpdateDerived
: usize,
945 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
946 #[cfg(feature = "Win32_System_Com")]
948 pub struct IFsrmClassificationManager(::windows
::core
::IUnknown
);
949 #[cfg(feature = "Win32_System_Com")]
950 impl IFsrmClassificationManager
{
951 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
952 #[cfg(feature = "Win32_System_Com")]
953 pub unsafe fn ClassificationReportFormats(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
954 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
955 (::windows
::core
::Interface
::vtable(self).ClassificationReportFormats
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
957 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
958 #[cfg(feature = "Win32_System_Com")]
959 pub unsafe fn SetClassificationReportFormats(&self, formats
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
960 (::windows
::core
::Interface
::vtable(self).SetClassificationReportFormats
)(::windows
::core
::Interface
::as_raw(self), formats
).ok()
962 pub unsafe fn Logging(&self) -> ::windows
::core
::Result
<i32> {
963 let mut result__
= ::windows
::core
::zeroed
::<i32>();
964 (::windows
::core
::Interface
::vtable(self).Logging
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
966 pub unsafe fn SetLogging(&self, logging
: i32) -> ::windows
::core
::Result
<()> {
967 (::windows
::core
::Interface
::vtable(self).SetLogging
)(::windows
::core
::Interface
::as_raw(self), logging
).ok()
969 pub unsafe fn ClassificationReportMailTo(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
970 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
971 (::windows
::core
::Interface
::vtable(self).ClassificationReportMailTo
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
973 pub unsafe fn SetClassificationReportMailTo
<P0
>(&self, mailto
: P0
) -> ::windows
::core
::Result
<()>
975 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
977 (::windows
::core
::Interface
::vtable(self).SetClassificationReportMailTo
)(::windows
::core
::Interface
::as_raw(self), mailto
.into_param().abi()).ok()
979 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
980 #[cfg(feature = "Win32_Foundation")]
981 pub unsafe fn ClassificationReportEnabled(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
982 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
983 (::windows
::core
::Interface
::vtable(self).ClassificationReportEnabled
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
985 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
986 #[cfg(feature = "Win32_Foundation")]
987 pub unsafe fn SetClassificationReportEnabled
<P0
>(&self, reportenabled
: P0
) -> ::windows
::core
::Result
<()>
989 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
991 (::windows
::core
::Interface
::vtable(self).SetClassificationReportEnabled
)(::windows
::core
::Interface
::as_raw(self), reportenabled
.into_param().abi()).ok()
993 pub unsafe fn ClassificationLastReportPathWithoutExtension(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
994 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
995 (::windows
::core
::Interface
::vtable(self).ClassificationLastReportPathWithoutExtension
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
997 pub unsafe fn ClassificationLastError(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
998 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
999 (::windows
::core
::Interface
::vtable(self).ClassificationLastError
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1001 pub unsafe fn ClassificationRunningStatus(&self) -> ::windows
::core
::Result
<FsrmReportRunningStatus
> {
1002 let mut result__
= ::windows
::core
::zeroed
::<FsrmReportRunningStatus
>();
1003 (::windows
::core
::Interface
::vtable(self).ClassificationRunningStatus
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1005 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1006 #[cfg(feature = "Win32_System_Com")]
1007 pub unsafe fn EnumPropertyDefinitions(&self, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCollection
> {
1008 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
1009 (::windows
::core
::Interface
::vtable(self).EnumPropertyDefinitions
)(::windows
::core
::Interface
::as_raw(self), options
, &mut result__
).from_abi(result__
)
1011 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1012 #[cfg(feature = "Win32_System_Com")]
1013 pub unsafe fn CreatePropertyDefinition(&self) -> ::windows
::core
::Result
<IFsrmPropertyDefinition
> {
1014 let mut result__
= ::windows
::core
::zeroed
::<IFsrmPropertyDefinition
>();
1015 (::windows
::core
::Interface
::vtable(self).CreatePropertyDefinition
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1017 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1018 #[cfg(feature = "Win32_System_Com")]
1019 pub unsafe fn GetPropertyDefinition
<P0
>(&self, propertyname
: P0
) -> ::windows
::core
::Result
<IFsrmPropertyDefinition
>
1021 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1023 let mut result__
= ::windows
::core
::zeroed
::<IFsrmPropertyDefinition
>();
1024 (::windows
::core
::Interface
::vtable(self).GetPropertyDefinition
)(::windows
::core
::Interface
::as_raw(self), propertyname
.into_param().abi(), &mut result__
).from_abi(result__
)
1026 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1027 #[cfg(feature = "Win32_System_Com")]
1028 pub unsafe fn EnumRules(&self, ruletype
: FsrmRuleType
, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCollection
> {
1029 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
1030 (::windows
::core
::Interface
::vtable(self).EnumRules
)(::windows
::core
::Interface
::as_raw(self), ruletype
, options
, &mut result__
).from_abi(result__
)
1032 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1033 #[cfg(feature = "Win32_System_Com")]
1034 pub unsafe fn CreateRule(&self, ruletype
: FsrmRuleType
) -> ::windows
::core
::Result
<IFsrmRule
> {
1035 let mut result__
= ::windows
::core
::zeroed
::<IFsrmRule
>();
1036 (::windows
::core
::Interface
::vtable(self).CreateRule
)(::windows
::core
::Interface
::as_raw(self), ruletype
, &mut result__
).from_abi(result__
)
1038 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1039 #[cfg(feature = "Win32_System_Com")]
1040 pub unsafe fn GetRule
<P0
>(&self, rulename
: P0
, ruletype
: FsrmRuleType
) -> ::windows
::core
::Result
<IFsrmRule
>
1042 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1044 let mut result__
= ::windows
::core
::zeroed
::<IFsrmRule
>();
1045 (::windows
::core
::Interface
::vtable(self).GetRule
)(::windows
::core
::Interface
::as_raw(self), rulename
.into_param().abi(), ruletype
, &mut result__
).from_abi(result__
)
1047 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1048 #[cfg(feature = "Win32_System_Com")]
1049 pub unsafe fn EnumModuleDefinitions(&self, moduletype
: FsrmPipelineModuleType
, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCollection
> {
1050 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
1051 (::windows
::core
::Interface
::vtable(self).EnumModuleDefinitions
)(::windows
::core
::Interface
::as_raw(self), moduletype
, options
, &mut result__
).from_abi(result__
)
1053 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1054 #[cfg(feature = "Win32_System_Com")]
1055 pub unsafe fn CreateModuleDefinition(&self, moduletype
: FsrmPipelineModuleType
) -> ::windows
::core
::Result
<IFsrmPipelineModuleDefinition
> {
1056 let mut result__
= ::windows
::core
::zeroed
::<IFsrmPipelineModuleDefinition
>();
1057 (::windows
::core
::Interface
::vtable(self).CreateModuleDefinition
)(::windows
::core
::Interface
::as_raw(self), moduletype
, &mut result__
).from_abi(result__
)
1059 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1060 #[cfg(feature = "Win32_System_Com")]
1061 pub unsafe fn GetModuleDefinition
<P0
>(&self, modulename
: P0
, moduletype
: FsrmPipelineModuleType
) -> ::windows
::core
::Result
<IFsrmPipelineModuleDefinition
>
1063 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1065 let mut result__
= ::windows
::core
::zeroed
::<IFsrmPipelineModuleDefinition
>();
1066 (::windows
::core
::Interface
::vtable(self).GetModuleDefinition
)(::windows
::core
::Interface
::as_raw(self), modulename
.into_param().abi(), moduletype
, &mut result__
).from_abi(result__
)
1068 pub unsafe fn RunClassification
<P0
>(&self, context
: FsrmReportGenerationContext
, reserved
: P0
) -> ::windows
::core
::Result
<()>
1070 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1072 (::windows
::core
::Interface
::vtable(self).RunClassification
)(::windows
::core
::Interface
::as_raw(self), context
, reserved
.into_param().abi()).ok()
1074 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
1075 #[cfg(feature = "Win32_Foundation")]
1076 pub unsafe fn WaitForClassificationCompletion(&self, waitseconds
: i32) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
1077 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
1078 (::windows
::core
::Interface
::vtable(self).WaitForClassificationCompletion
)(::windows
::core
::Interface
::as_raw(self), waitseconds
, &mut result__
).from_abi(result__
)
1080 pub unsafe fn CancelClassification(&self) -> ::windows
::core
::Result
<()> {
1081 (::windows
::core
::Interface
::vtable(self).CancelClassification
)(::windows
::core
::Interface
::as_raw(self)).ok()
1083 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1084 #[cfg(feature = "Win32_System_Com")]
1085 pub unsafe fn EnumFileProperties
<P0
>(&self, filepath
: P0
, options
: FsrmGetFilePropertyOptions
) -> ::windows
::core
::Result
<IFsrmCollection
>
1087 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1089 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
1090 (::windows
::core
::Interface
::vtable(self).EnumFileProperties
)(::windows
::core
::Interface
::as_raw(self), filepath
.into_param().abi(), options
, &mut result__
).from_abi(result__
)
1092 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1093 #[cfg(feature = "Win32_System_Com")]
1094 pub unsafe fn GetFileProperty
<P0
, P1
>(&self, filepath
: P0
, propertyname
: P1
, options
: FsrmGetFilePropertyOptions
) -> ::windows
::core
::Result
<IFsrmProperty
>
1096 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1097 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1099 let mut result__
= ::windows
::core
::zeroed
::<IFsrmProperty
>();
1100 (::windows
::core
::Interface
::vtable(self).GetFileProperty
)(::windows
::core
::Interface
::as_raw(self), filepath
.into_param().abi(), propertyname
.into_param().abi(), options
, &mut result__
).from_abi(result__
)
1102 pub unsafe fn SetFileProperty
<P0
, P1
, P2
>(&self, filepath
: P0
, propertyname
: P1
, propertyvalue
: P2
) -> ::windows
::core
::Result
<()>
1104 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1105 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1106 P2
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1108 (::windows
::core
::Interface
::vtable(self).SetFileProperty
)(::windows
::core
::Interface
::as_raw(self), filepath
.into_param().abi(), propertyname
.into_param().abi(), propertyvalue
.into_param().abi()).ok()
1110 pub unsafe fn ClearFileProperty
<P0
, P1
>(&self, filepath
: P0
, property
: P1
) -> ::windows
::core
::Result
<()>
1112 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1113 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1115 (::windows
::core
::Interface
::vtable(self).ClearFileProperty
)(::windows
::core
::Interface
::as_raw(self), filepath
.into_param().abi(), property
.into_param().abi()).ok()
1118 #[cfg(feature = "Win32_System_Com")]
1119 ::windows
::imp
::interface_hierarchy
!(IFsrmClassificationManager
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
1120 #[cfg(feature = "Win32_System_Com")]
1121 impl ::core
::cmp
::PartialEq
for IFsrmClassificationManager
{
1122 fn eq(&self, other
: &Self) -> bool
{
1126 #[cfg(feature = "Win32_System_Com")]
1127 impl ::core
::cmp
::Eq
for IFsrmClassificationManager {}
1128 #[cfg(feature = "Win32_System_Com")]
1129 impl ::core
::fmt
::Debug
for IFsrmClassificationManager
{
1130 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1131 f
.debug_tuple("IFsrmClassificationManager").field(&self.0).finish()
1134 #[cfg(feature = "Win32_System_Com")]
1135 unsafe impl ::windows
::core
::Interface
for IFsrmClassificationManager
{
1136 type Vtable
= IFsrmClassificationManager_Vtbl
;
1138 #[cfg(feature = "Win32_System_Com")]
1139 impl ::core
::clone
::Clone
for IFsrmClassificationManager
{
1140 fn clone(&self) -> Self {
1141 Self(self.0.clone())
1144 #[cfg(feature = "Win32_System_Com")]
1145 unsafe impl ::windows
::core
::ComInterface
for IFsrmClassificationManager
{
1146 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xd2dc89da_ee91_48a0_85d8_cc72a56f7d04);
1148 #[cfg(feature = "Win32_System_Com")]
1151 pub struct IFsrmClassificationManager_Vtbl
{
1152 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
1153 #[cfg(feature = "Win32_System_Com")]
1154 pub ClassificationReportFormats
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, formats
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
1155 #[cfg(not(feature = "Win32_System_Com"))]
1156 ClassificationReportFormats
: usize,
1157 #[cfg(feature = "Win32_System_Com")]
1158 pub SetClassificationReportFormats
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, formats
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
1159 #[cfg(not(feature = "Win32_System_Com"))]
1160 SetClassificationReportFormats
: usize,
1161 pub Logging
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, logging
: *mut i32) -> ::windows
::core
::HRESULT
,
1162 pub SetLogging
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, logging
: i32) -> ::windows
::core
::HRESULT
,
1163 pub ClassificationReportMailTo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailto
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
1164 pub SetClassificationReportMailTo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailto
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
1165 #[cfg(feature = "Win32_Foundation")]
1166 pub ClassificationReportEnabled
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reportenabled
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
1167 #[cfg(not(feature = "Win32_Foundation"))]
1168 ClassificationReportEnabled
: usize,
1169 #[cfg(feature = "Win32_Foundation")]
1170 pub SetClassificationReportEnabled
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reportenabled
: super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
1171 #[cfg(not(feature = "Win32_Foundation"))]
1172 SetClassificationReportEnabled
: usize,
1173 pub ClassificationLastReportPathWithoutExtension
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, lastreportpath
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
1174 pub ClassificationLastError
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, lasterror
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
1175 pub ClassificationRunningStatus
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, runningstatus
: *mut FsrmReportRunningStatus
) -> ::windows
::core
::HRESULT
,
1176 #[cfg(feature = "Win32_System_Com")]
1177 pub EnumPropertyDefinitions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, options
: FsrmEnumOptions
, propertydefinitions
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1178 #[cfg(not(feature = "Win32_System_Com"))]
1179 EnumPropertyDefinitions
: usize,
1180 #[cfg(feature = "Win32_System_Com")]
1181 pub CreatePropertyDefinition
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, propertydefinition
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1182 #[cfg(not(feature = "Win32_System_Com"))]
1183 CreatePropertyDefinition
: usize,
1184 #[cfg(feature = "Win32_System_Com")]
1185 pub GetPropertyDefinition
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, propertyname
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, propertydefinition
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1186 #[cfg(not(feature = "Win32_System_Com"))]
1187 GetPropertyDefinition
: usize,
1188 #[cfg(feature = "Win32_System_Com")]
1189 pub EnumRules
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, ruletype
: FsrmRuleType
, options
: FsrmEnumOptions
, rules
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1190 #[cfg(not(feature = "Win32_System_Com"))]
1192 #[cfg(feature = "Win32_System_Com")]
1193 pub CreateRule
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, ruletype
: FsrmRuleType
, rule
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1194 #[cfg(not(feature = "Win32_System_Com"))]
1196 #[cfg(feature = "Win32_System_Com")]
1197 pub GetRule
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, rulename
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, ruletype
: FsrmRuleType
, rule
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1198 #[cfg(not(feature = "Win32_System_Com"))]
1200 #[cfg(feature = "Win32_System_Com")]
1201 pub EnumModuleDefinitions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, moduletype
: FsrmPipelineModuleType
, options
: FsrmEnumOptions
, moduledefinitions
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1202 #[cfg(not(feature = "Win32_System_Com"))]
1203 EnumModuleDefinitions
: usize,
1204 #[cfg(feature = "Win32_System_Com")]
1205 pub CreateModuleDefinition
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, moduletype
: FsrmPipelineModuleType
, moduledefinition
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1206 #[cfg(not(feature = "Win32_System_Com"))]
1207 CreateModuleDefinition
: usize,
1208 #[cfg(feature = "Win32_System_Com")]
1209 pub GetModuleDefinition
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, modulename
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, moduletype
: FsrmPipelineModuleType
, moduledefinition
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1210 #[cfg(not(feature = "Win32_System_Com"))]
1211 GetModuleDefinition
: usize,
1212 pub RunClassification
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, context
: FsrmReportGenerationContext
, reserved
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
1213 #[cfg(feature = "Win32_Foundation")]
1214 pub WaitForClassificationCompletion
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, waitseconds
: i32, completed
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
1215 #[cfg(not(feature = "Win32_Foundation"))]
1216 WaitForClassificationCompletion
: usize,
1217 pub CancelClassification
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1218 #[cfg(feature = "Win32_System_Com")]
1219 pub EnumFileProperties
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filepath
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, options
: FsrmGetFilePropertyOptions
, fileproperties
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1220 #[cfg(not(feature = "Win32_System_Com"))]
1221 EnumFileProperties
: usize,
1222 #[cfg(feature = "Win32_System_Com")]
1223 pub GetFileProperty
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filepath
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, propertyname
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, options
: FsrmGetFilePropertyOptions
, property
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1224 #[cfg(not(feature = "Win32_System_Com"))]
1225 GetFileProperty
: usize,
1226 pub SetFileProperty
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filepath
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, propertyname
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, propertyvalue
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
1227 pub ClearFileProperty
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filepath
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, property
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
1229 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
1230 #[cfg(feature = "Win32_System_Com")]
1231 #[repr(transparent)]
1232 pub struct IFsrmClassificationManager2(::windows
::core
::IUnknown
);
1233 #[cfg(feature = "Win32_System_Com")]
1234 impl IFsrmClassificationManager2
{
1235 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1236 #[cfg(feature = "Win32_System_Com")]
1237 pub unsafe fn ClassificationReportFormats(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
1238 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
1239 (::windows
::core
::Interface
::vtable(self).base__
.ClassificationReportFormats
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1241 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1242 #[cfg(feature = "Win32_System_Com")]
1243 pub unsafe fn SetClassificationReportFormats(&self, formats
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
1244 (::windows
::core
::Interface
::vtable(self).base__
.SetClassificationReportFormats
)(::windows
::core
::Interface
::as_raw(self), formats
).ok()
1246 pub unsafe fn Logging(&self) -> ::windows
::core
::Result
<i32> {
1247 let mut result__
= ::windows
::core
::zeroed
::<i32>();
1248 (::windows
::core
::Interface
::vtable(self).base__
.Logging
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1250 pub unsafe fn SetLogging(&self, logging
: i32) -> ::windows
::core
::Result
<()> {
1251 (::windows
::core
::Interface
::vtable(self).base__
.SetLogging
)(::windows
::core
::Interface
::as_raw(self), logging
).ok()
1253 pub unsafe fn ClassificationReportMailTo(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
1254 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
1255 (::windows
::core
::Interface
::vtable(self).base__
.ClassificationReportMailTo
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1257 pub unsafe fn SetClassificationReportMailTo
<P0
>(&self, mailto
: P0
) -> ::windows
::core
::Result
<()>
1259 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1261 (::windows
::core
::Interface
::vtable(self).base__
.SetClassificationReportMailTo
)(::windows
::core
::Interface
::as_raw(self), mailto
.into_param().abi()).ok()
1263 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
1264 #[cfg(feature = "Win32_Foundation")]
1265 pub unsafe fn ClassificationReportEnabled(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
1266 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
1267 (::windows
::core
::Interface
::vtable(self).base__
.ClassificationReportEnabled
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1269 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
1270 #[cfg(feature = "Win32_Foundation")]
1271 pub unsafe fn SetClassificationReportEnabled
<P0
>(&self, reportenabled
: P0
) -> ::windows
::core
::Result
<()>
1273 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
1275 (::windows
::core
::Interface
::vtable(self).base__
.SetClassificationReportEnabled
)(::windows
::core
::Interface
::as_raw(self), reportenabled
.into_param().abi()).ok()
1277 pub unsafe fn ClassificationLastReportPathWithoutExtension(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
1278 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
1279 (::windows
::core
::Interface
::vtable(self).base__
.ClassificationLastReportPathWithoutExtension
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1281 pub unsafe fn ClassificationLastError(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
1282 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
1283 (::windows
::core
::Interface
::vtable(self).base__
.ClassificationLastError
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1285 pub unsafe fn ClassificationRunningStatus(&self) -> ::windows
::core
::Result
<FsrmReportRunningStatus
> {
1286 let mut result__
= ::windows
::core
::zeroed
::<FsrmReportRunningStatus
>();
1287 (::windows
::core
::Interface
::vtable(self).base__
.ClassificationRunningStatus
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1289 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1290 #[cfg(feature = "Win32_System_Com")]
1291 pub unsafe fn EnumPropertyDefinitions(&self, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCollection
> {
1292 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
1293 (::windows
::core
::Interface
::vtable(self).base__
.EnumPropertyDefinitions
)(::windows
::core
::Interface
::as_raw(self), options
, &mut result__
).from_abi(result__
)
1295 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1296 #[cfg(feature = "Win32_System_Com")]
1297 pub unsafe fn CreatePropertyDefinition(&self) -> ::windows
::core
::Result
<IFsrmPropertyDefinition
> {
1298 let mut result__
= ::windows
::core
::zeroed
::<IFsrmPropertyDefinition
>();
1299 (::windows
::core
::Interface
::vtable(self).base__
.CreatePropertyDefinition
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1301 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1302 #[cfg(feature = "Win32_System_Com")]
1303 pub unsafe fn GetPropertyDefinition
<P0
>(&self, propertyname
: P0
) -> ::windows
::core
::Result
<IFsrmPropertyDefinition
>
1305 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1307 let mut result__
= ::windows
::core
::zeroed
::<IFsrmPropertyDefinition
>();
1308 (::windows
::core
::Interface
::vtable(self).base__
.GetPropertyDefinition
)(::windows
::core
::Interface
::as_raw(self), propertyname
.into_param().abi(), &mut result__
).from_abi(result__
)
1310 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1311 #[cfg(feature = "Win32_System_Com")]
1312 pub unsafe fn EnumRules(&self, ruletype
: FsrmRuleType
, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCollection
> {
1313 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
1314 (::windows
::core
::Interface
::vtable(self).base__
.EnumRules
)(::windows
::core
::Interface
::as_raw(self), ruletype
, options
, &mut result__
).from_abi(result__
)
1316 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1317 #[cfg(feature = "Win32_System_Com")]
1318 pub unsafe fn CreateRule(&self, ruletype
: FsrmRuleType
) -> ::windows
::core
::Result
<IFsrmRule
> {
1319 let mut result__
= ::windows
::core
::zeroed
::<IFsrmRule
>();
1320 (::windows
::core
::Interface
::vtable(self).base__
.CreateRule
)(::windows
::core
::Interface
::as_raw(self), ruletype
, &mut result__
).from_abi(result__
)
1322 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1323 #[cfg(feature = "Win32_System_Com")]
1324 pub unsafe fn GetRule
<P0
>(&self, rulename
: P0
, ruletype
: FsrmRuleType
) -> ::windows
::core
::Result
<IFsrmRule
>
1326 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1328 let mut result__
= ::windows
::core
::zeroed
::<IFsrmRule
>();
1329 (::windows
::core
::Interface
::vtable(self).base__
.GetRule
)(::windows
::core
::Interface
::as_raw(self), rulename
.into_param().abi(), ruletype
, &mut result__
).from_abi(result__
)
1331 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1332 #[cfg(feature = "Win32_System_Com")]
1333 pub unsafe fn EnumModuleDefinitions(&self, moduletype
: FsrmPipelineModuleType
, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCollection
> {
1334 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
1335 (::windows
::core
::Interface
::vtable(self).base__
.EnumModuleDefinitions
)(::windows
::core
::Interface
::as_raw(self), moduletype
, options
, &mut result__
).from_abi(result__
)
1337 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1338 #[cfg(feature = "Win32_System_Com")]
1339 pub unsafe fn CreateModuleDefinition(&self, moduletype
: FsrmPipelineModuleType
) -> ::windows
::core
::Result
<IFsrmPipelineModuleDefinition
> {
1340 let mut result__
= ::windows
::core
::zeroed
::<IFsrmPipelineModuleDefinition
>();
1341 (::windows
::core
::Interface
::vtable(self).base__
.CreateModuleDefinition
)(::windows
::core
::Interface
::as_raw(self), moduletype
, &mut result__
).from_abi(result__
)
1343 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1344 #[cfg(feature = "Win32_System_Com")]
1345 pub unsafe fn GetModuleDefinition
<P0
>(&self, modulename
: P0
, moduletype
: FsrmPipelineModuleType
) -> ::windows
::core
::Result
<IFsrmPipelineModuleDefinition
>
1347 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1349 let mut result__
= ::windows
::core
::zeroed
::<IFsrmPipelineModuleDefinition
>();
1350 (::windows
::core
::Interface
::vtable(self).base__
.GetModuleDefinition
)(::windows
::core
::Interface
::as_raw(self), modulename
.into_param().abi(), moduletype
, &mut result__
).from_abi(result__
)
1352 pub unsafe fn RunClassification
<P0
>(&self, context
: FsrmReportGenerationContext
, reserved
: P0
) -> ::windows
::core
::Result
<()>
1354 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1356 (::windows
::core
::Interface
::vtable(self).base__
.RunClassification
)(::windows
::core
::Interface
::as_raw(self), context
, reserved
.into_param().abi()).ok()
1358 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
1359 #[cfg(feature = "Win32_Foundation")]
1360 pub unsafe fn WaitForClassificationCompletion(&self, waitseconds
: i32) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
1361 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
1362 (::windows
::core
::Interface
::vtable(self).base__
.WaitForClassificationCompletion
)(::windows
::core
::Interface
::as_raw(self), waitseconds
, &mut result__
).from_abi(result__
)
1364 pub unsafe fn CancelClassification(&self) -> ::windows
::core
::Result
<()> {
1365 (::windows
::core
::Interface
::vtable(self).base__
.CancelClassification
)(::windows
::core
::Interface
::as_raw(self)).ok()
1367 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1368 #[cfg(feature = "Win32_System_Com")]
1369 pub unsafe fn EnumFileProperties
<P0
>(&self, filepath
: P0
, options
: FsrmGetFilePropertyOptions
) -> ::windows
::core
::Result
<IFsrmCollection
>
1371 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1373 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
1374 (::windows
::core
::Interface
::vtable(self).base__
.EnumFileProperties
)(::windows
::core
::Interface
::as_raw(self), filepath
.into_param().abi(), options
, &mut result__
).from_abi(result__
)
1376 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1377 #[cfg(feature = "Win32_System_Com")]
1378 pub unsafe fn GetFileProperty
<P0
, P1
>(&self, filepath
: P0
, propertyname
: P1
, options
: FsrmGetFilePropertyOptions
) -> ::windows
::core
::Result
<IFsrmProperty
>
1380 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1381 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1383 let mut result__
= ::windows
::core
::zeroed
::<IFsrmProperty
>();
1384 (::windows
::core
::Interface
::vtable(self).base__
.GetFileProperty
)(::windows
::core
::Interface
::as_raw(self), filepath
.into_param().abi(), propertyname
.into_param().abi(), options
, &mut result__
).from_abi(result__
)
1386 pub unsafe fn SetFileProperty
<P0
, P1
, P2
>(&self, filepath
: P0
, propertyname
: P1
, propertyvalue
: P2
) -> ::windows
::core
::Result
<()>
1388 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1389 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1390 P2
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1392 (::windows
::core
::Interface
::vtable(self).base__
.SetFileProperty
)(::windows
::core
::Interface
::as_raw(self), filepath
.into_param().abi(), propertyname
.into_param().abi(), propertyvalue
.into_param().abi()).ok()
1394 pub unsafe fn ClearFileProperty
<P0
, P1
>(&self, filepath
: P0
, property
: P1
) -> ::windows
::core
::Result
<()>
1396 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1397 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1399 (::windows
::core
::Interface
::vtable(self).base__
.ClearFileProperty
)(::windows
::core
::Interface
::as_raw(self), filepath
.into_param().abi(), property
.into_param().abi()).ok()
1401 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1402 #[cfg(feature = "Win32_System_Com")]
1403 pub unsafe fn ClassifyFiles(&self, filepaths
: *const super::super::System
::Com
::SAFEARRAY
, propertynames
: *const super::super::System
::Com
::SAFEARRAY
, propertyvalues
: *const super::super::System
::Com
::SAFEARRAY
, options
: FsrmGetFilePropertyOptions
) -> ::windows
::core
::Result
<()> {
1404 (::windows
::core
::Interface
::vtable(self).ClassifyFiles
)(::windows
::core
::Interface
::as_raw(self), filepaths
, propertynames
, propertyvalues
, options
).ok()
1407 #[cfg(feature = "Win32_System_Com")]
1408 ::windows
::imp
::interface_hierarchy
!(IFsrmClassificationManager2
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmClassificationManager
);
1409 #[cfg(feature = "Win32_System_Com")]
1410 impl ::core
::cmp
::PartialEq
for IFsrmClassificationManager2
{
1411 fn eq(&self, other
: &Self) -> bool
{
1415 #[cfg(feature = "Win32_System_Com")]
1416 impl ::core
::cmp
::Eq
for IFsrmClassificationManager2 {}
1417 #[cfg(feature = "Win32_System_Com")]
1418 impl ::core
::fmt
::Debug
for IFsrmClassificationManager2
{
1419 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1420 f
.debug_tuple("IFsrmClassificationManager2").field(&self.0).finish()
1423 #[cfg(feature = "Win32_System_Com")]
1424 unsafe impl ::windows
::core
::Interface
for IFsrmClassificationManager2
{
1425 type Vtable
= IFsrmClassificationManager2_Vtbl
;
1427 #[cfg(feature = "Win32_System_Com")]
1428 impl ::core
::clone
::Clone
for IFsrmClassificationManager2
{
1429 fn clone(&self) -> Self {
1430 Self(self.0.clone())
1433 #[cfg(feature = "Win32_System_Com")]
1434 unsafe impl ::windows
::core
::ComInterface
for IFsrmClassificationManager2
{
1435 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x0004c1c9_127e_4765_ba07_6a3147bca112);
1437 #[cfg(feature = "Win32_System_Com")]
1440 pub struct IFsrmClassificationManager2_Vtbl
{
1441 pub base__
: IFsrmClassificationManager_Vtbl
,
1442 #[cfg(feature = "Win32_System_Com")]
1443 pub ClassifyFiles
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filepaths
: *const super::super::System
::Com
::SAFEARRAY
, propertynames
: *const super::super::System
::Com
::SAFEARRAY
, propertyvalues
: *const super::super::System
::Com
::SAFEARRAY
, options
: FsrmGetFilePropertyOptions
) -> ::windows
::core
::HRESULT
,
1444 #[cfg(not(feature = "Win32_System_Com"))]
1445 ClassifyFiles
: usize,
1447 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
1448 #[cfg(feature = "Win32_System_Com")]
1449 #[repr(transparent)]
1450 pub struct IFsrmClassificationRule(::windows
::core
::IUnknown
);
1451 #[cfg(feature = "Win32_System_Com")]
1452 impl IFsrmClassificationRule
{
1453 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
1454 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
1455 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1457 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
1458 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
1459 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1461 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
1463 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1465 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
1467 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
1468 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
1470 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
1471 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
1473 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
1474 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
1475 (::windows
::core
::Interface
::vtable(self).base__
.Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1477 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
1479 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1481 (::windows
::core
::Interface
::vtable(self).base__
.SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
1483 pub unsafe fn RuleType(&self) -> ::windows
::core
::Result
<FsrmRuleType
> {
1484 let mut result__
= ::windows
::core
::zeroed
::<FsrmRuleType
>();
1485 (::windows
::core
::Interface
::vtable(self).base__
.RuleType
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1487 pub unsafe fn ModuleDefinitionName(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
1488 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
1489 (::windows
::core
::Interface
::vtable(self).base__
.ModuleDefinitionName
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1491 pub unsafe fn SetModuleDefinitionName
<P0
>(&self, moduledefinitionname
: P0
) -> ::windows
::core
::Result
<()>
1493 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1495 (::windows
::core
::Interface
::vtable(self).base__
.SetModuleDefinitionName
)(::windows
::core
::Interface
::as_raw(self), moduledefinitionname
.into_param().abi()).ok()
1497 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1498 #[cfg(feature = "Win32_System_Com")]
1499 pub unsafe fn NamespaceRoots(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
1500 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
1501 (::windows
::core
::Interface
::vtable(self).base__
.NamespaceRoots
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1503 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1504 #[cfg(feature = "Win32_System_Com")]
1505 pub unsafe fn SetNamespaceRoots(&self, namespaceroots
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
1506 (::windows
::core
::Interface
::vtable(self).base__
.SetNamespaceRoots
)(::windows
::core
::Interface
::as_raw(self), namespaceroots
).ok()
1508 pub unsafe fn RuleFlags(&self) -> ::windows
::core
::Result
<i32> {
1509 let mut result__
= ::windows
::core
::zeroed
::<i32>();
1510 (::windows
::core
::Interface
::vtable(self).base__
.RuleFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1512 pub unsafe fn SetRuleFlags(&self, ruleflags
: i32) -> ::windows
::core
::Result
<()> {
1513 (::windows
::core
::Interface
::vtable(self).base__
.SetRuleFlags
)(::windows
::core
::Interface
::as_raw(self), ruleflags
).ok()
1515 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1516 #[cfg(feature = "Win32_System_Com")]
1517 pub unsafe fn Parameters(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
1518 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
1519 (::windows
::core
::Interface
::vtable(self).base__
.Parameters
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1521 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1522 #[cfg(feature = "Win32_System_Com")]
1523 pub unsafe fn SetParameters(&self, parameters
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
1524 (::windows
::core
::Interface
::vtable(self).base__
.SetParameters
)(::windows
::core
::Interface
::as_raw(self), parameters
).ok()
1526 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
1527 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
1528 pub unsafe fn LastModified(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
1529 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
1530 (::windows
::core
::Interface
::vtable(self).base__
.LastModified
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1532 pub unsafe fn ExecutionOption(&self) -> ::windows
::core
::Result
<FsrmExecutionOption
> {
1533 let mut result__
= ::windows
::core
::zeroed
::<FsrmExecutionOption
>();
1534 (::windows
::core
::Interface
::vtable(self).ExecutionOption
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1536 pub unsafe fn SetExecutionOption(&self, executionoption
: FsrmExecutionOption
) -> ::windows
::core
::Result
<()> {
1537 (::windows
::core
::Interface
::vtable(self).SetExecutionOption
)(::windows
::core
::Interface
::as_raw(self), executionoption
).ok()
1539 pub unsafe fn PropertyAffected(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
1540 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
1541 (::windows
::core
::Interface
::vtable(self).PropertyAffected
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1543 pub unsafe fn SetPropertyAffected
<P0
>(&self, property
: P0
) -> ::windows
::core
::Result
<()>
1545 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1547 (::windows
::core
::Interface
::vtable(self).SetPropertyAffected
)(::windows
::core
::Interface
::as_raw(self), property
.into_param().abi()).ok()
1549 pub unsafe fn Value(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
1550 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
1551 (::windows
::core
::Interface
::vtable(self).Value
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1553 pub unsafe fn SetValue
<P0
>(&self, value
: P0
) -> ::windows
::core
::Result
<()>
1555 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1557 (::windows
::core
::Interface
::vtable(self).SetValue
)(::windows
::core
::Interface
::as_raw(self), value
.into_param().abi()).ok()
1560 #[cfg(feature = "Win32_System_Com")]
1561 ::windows
::imp
::interface_hierarchy
!(IFsrmClassificationRule
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
, IFsrmRule
);
1562 #[cfg(feature = "Win32_System_Com")]
1563 impl ::core
::cmp
::PartialEq
for IFsrmClassificationRule
{
1564 fn eq(&self, other
: &Self) -> bool
{
1568 #[cfg(feature = "Win32_System_Com")]
1569 impl ::core
::cmp
::Eq
for IFsrmClassificationRule {}
1570 #[cfg(feature = "Win32_System_Com")]
1571 impl ::core
::fmt
::Debug
for IFsrmClassificationRule
{
1572 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1573 f
.debug_tuple("IFsrmClassificationRule").field(&self.0).finish()
1576 #[cfg(feature = "Win32_System_Com")]
1577 unsafe impl ::windows
::core
::Interface
for IFsrmClassificationRule
{
1578 type Vtable
= IFsrmClassificationRule_Vtbl
;
1580 #[cfg(feature = "Win32_System_Com")]
1581 impl ::core
::clone
::Clone
for IFsrmClassificationRule
{
1582 fn clone(&self) -> Self {
1583 Self(self.0.clone())
1586 #[cfg(feature = "Win32_System_Com")]
1587 unsafe impl ::windows
::core
::ComInterface
for IFsrmClassificationRule
{
1588 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xafc052c2_5315_45ab_841b_c6db0e120148);
1590 #[cfg(feature = "Win32_System_Com")]
1593 pub struct IFsrmClassificationRule_Vtbl
{
1594 pub base__
: IFsrmRule_Vtbl
,
1595 pub ExecutionOption
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, executionoption
: *mut FsrmExecutionOption
) -> ::windows
::core
::HRESULT
,
1596 pub SetExecutionOption
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, executionoption
: FsrmExecutionOption
) -> ::windows
::core
::HRESULT
,
1597 pub PropertyAffected
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, property
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
1598 pub SetPropertyAffected
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, property
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
1599 pub Value
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, value
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
1600 pub SetValue
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, value
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
1602 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
1603 #[cfg(feature = "Win32_System_Com")]
1604 #[repr(transparent)]
1605 pub struct IFsrmClassifierModuleDefinition(::windows
::core
::IUnknown
);
1606 #[cfg(feature = "Win32_System_Com")]
1607 impl IFsrmClassifierModuleDefinition
{
1608 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
1609 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
1610 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1612 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
1613 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
1614 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1616 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
1618 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1620 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
1622 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
1623 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
1625 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
1626 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
1628 pub unsafe fn ModuleClsid(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
1629 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
1630 (::windows
::core
::Interface
::vtable(self).base__
.ModuleClsid
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1632 pub unsafe fn SetModuleClsid
<P0
>(&self, moduleclsid
: P0
) -> ::windows
::core
::Result
<()>
1634 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1636 (::windows
::core
::Interface
::vtable(self).base__
.SetModuleClsid
)(::windows
::core
::Interface
::as_raw(self), moduleclsid
.into_param().abi()).ok()
1638 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
1639 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
1640 (::windows
::core
::Interface
::vtable(self).base__
.Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1642 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
1644 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1646 (::windows
::core
::Interface
::vtable(self).base__
.SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
1648 pub unsafe fn Company(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
1649 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
1650 (::windows
::core
::Interface
::vtable(self).base__
.Company
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1652 pub unsafe fn SetCompany
<P0
>(&self, company
: P0
) -> ::windows
::core
::Result
<()>
1654 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1656 (::windows
::core
::Interface
::vtable(self).base__
.SetCompany
)(::windows
::core
::Interface
::as_raw(self), company
.into_param().abi()).ok()
1658 pub unsafe fn Version(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
1659 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
1660 (::windows
::core
::Interface
::vtable(self).base__
.Version
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1662 pub unsafe fn SetVersion
<P0
>(&self, version
: P0
) -> ::windows
::core
::Result
<()>
1664 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1666 (::windows
::core
::Interface
::vtable(self).base__
.SetVersion
)(::windows
::core
::Interface
::as_raw(self), version
.into_param().abi()).ok()
1668 pub unsafe fn ModuleType(&self) -> ::windows
::core
::Result
<FsrmPipelineModuleType
> {
1669 let mut result__
= ::windows
::core
::zeroed
::<FsrmPipelineModuleType
>();
1670 (::windows
::core
::Interface
::vtable(self).base__
.ModuleType
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1672 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
1673 #[cfg(feature = "Win32_Foundation")]
1674 pub unsafe fn Enabled(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
1675 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
1676 (::windows
::core
::Interface
::vtable(self).base__
.Enabled
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1678 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
1679 #[cfg(feature = "Win32_Foundation")]
1680 pub unsafe fn SetEnabled
<P0
>(&self, enabled
: P0
) -> ::windows
::core
::Result
<()>
1682 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
1684 (::windows
::core
::Interface
::vtable(self).base__
.SetEnabled
)(::windows
::core
::Interface
::as_raw(self), enabled
.into_param().abi()).ok()
1686 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
1687 #[cfg(feature = "Win32_Foundation")]
1688 pub unsafe fn NeedsFileContent(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
1689 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
1690 (::windows
::core
::Interface
::vtable(self).base__
.NeedsFileContent
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1692 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
1693 #[cfg(feature = "Win32_Foundation")]
1694 pub unsafe fn SetNeedsFileContent
<P0
>(&self, needsfilecontent
: P0
) -> ::windows
::core
::Result
<()>
1696 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
1698 (::windows
::core
::Interface
::vtable(self).base__
.SetNeedsFileContent
)(::windows
::core
::Interface
::as_raw(self), needsfilecontent
.into_param().abi()).ok()
1700 pub unsafe fn Account(&self) -> ::windows
::core
::Result
<FsrmAccountType
> {
1701 let mut result__
= ::windows
::core
::zeroed
::<FsrmAccountType
>();
1702 (::windows
::core
::Interface
::vtable(self).base__
.Account
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1704 pub unsafe fn SetAccount(&self, retrievalaccount
: FsrmAccountType
) -> ::windows
::core
::Result
<()> {
1705 (::windows
::core
::Interface
::vtable(self).base__
.SetAccount
)(::windows
::core
::Interface
::as_raw(self), retrievalaccount
).ok()
1707 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1708 #[cfg(feature = "Win32_System_Com")]
1709 pub unsafe fn SupportedExtensions(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
1710 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
1711 (::windows
::core
::Interface
::vtable(self).base__
.SupportedExtensions
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1713 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1714 #[cfg(feature = "Win32_System_Com")]
1715 pub unsafe fn SetSupportedExtensions(&self, supportedextensions
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
1716 (::windows
::core
::Interface
::vtable(self).base__
.SetSupportedExtensions
)(::windows
::core
::Interface
::as_raw(self), supportedextensions
).ok()
1718 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1719 #[cfg(feature = "Win32_System_Com")]
1720 pub unsafe fn Parameters(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
1721 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
1722 (::windows
::core
::Interface
::vtable(self).base__
.Parameters
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1724 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1725 #[cfg(feature = "Win32_System_Com")]
1726 pub unsafe fn SetParameters(&self, parameters
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
1727 (::windows
::core
::Interface
::vtable(self).base__
.SetParameters
)(::windows
::core
::Interface
::as_raw(self), parameters
).ok()
1729 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1730 #[cfg(feature = "Win32_System_Com")]
1731 pub unsafe fn PropertiesAffected(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
1732 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
1733 (::windows
::core
::Interface
::vtable(self).PropertiesAffected
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1735 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1736 #[cfg(feature = "Win32_System_Com")]
1737 pub unsafe fn SetPropertiesAffected(&self, propertiesaffected
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
1738 (::windows
::core
::Interface
::vtable(self).SetPropertiesAffected
)(::windows
::core
::Interface
::as_raw(self), propertiesaffected
).ok()
1740 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1741 #[cfg(feature = "Win32_System_Com")]
1742 pub unsafe fn PropertiesUsed(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
1743 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
1744 (::windows
::core
::Interface
::vtable(self).PropertiesUsed
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1746 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1747 #[cfg(feature = "Win32_System_Com")]
1748 pub unsafe fn SetPropertiesUsed(&self, propertiesused
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
1749 (::windows
::core
::Interface
::vtable(self).SetPropertiesUsed
)(::windows
::core
::Interface
::as_raw(self), propertiesused
).ok()
1751 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
1752 #[cfg(feature = "Win32_Foundation")]
1753 pub unsafe fn NeedsExplicitValue(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
1754 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
1755 (::windows
::core
::Interface
::vtable(self).NeedsExplicitValue
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1757 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
1758 #[cfg(feature = "Win32_Foundation")]
1759 pub unsafe fn SetNeedsExplicitValue
<P0
>(&self, needsexplicitvalue
: P0
) -> ::windows
::core
::Result
<()>
1761 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
1763 (::windows
::core
::Interface
::vtable(self).SetNeedsExplicitValue
)(::windows
::core
::Interface
::as_raw(self), needsexplicitvalue
.into_param().abi()).ok()
1766 #[cfg(feature = "Win32_System_Com")]
1767 ::windows
::imp
::interface_hierarchy
!(IFsrmClassifierModuleDefinition
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
, IFsrmPipelineModuleDefinition
);
1768 #[cfg(feature = "Win32_System_Com")]
1769 impl ::core
::cmp
::PartialEq
for IFsrmClassifierModuleDefinition
{
1770 fn eq(&self, other
: &Self) -> bool
{
1774 #[cfg(feature = "Win32_System_Com")]
1775 impl ::core
::cmp
::Eq
for IFsrmClassifierModuleDefinition {}
1776 #[cfg(feature = "Win32_System_Com")]
1777 impl ::core
::fmt
::Debug
for IFsrmClassifierModuleDefinition
{
1778 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1779 f
.debug_tuple("IFsrmClassifierModuleDefinition").field(&self.0).finish()
1782 #[cfg(feature = "Win32_System_Com")]
1783 unsafe impl ::windows
::core
::Interface
for IFsrmClassifierModuleDefinition
{
1784 type Vtable
= IFsrmClassifierModuleDefinition_Vtbl
;
1786 #[cfg(feature = "Win32_System_Com")]
1787 impl ::core
::clone
::Clone
for IFsrmClassifierModuleDefinition
{
1788 fn clone(&self) -> Self {
1789 Self(self.0.clone())
1792 #[cfg(feature = "Win32_System_Com")]
1793 unsafe impl ::windows
::core
::ComInterface
for IFsrmClassifierModuleDefinition
{
1794 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xbb36ea26_6318_4b8c_8592_f72dd602e7a5);
1796 #[cfg(feature = "Win32_System_Com")]
1799 pub struct IFsrmClassifierModuleDefinition_Vtbl
{
1800 pub base__
: IFsrmPipelineModuleDefinition_Vtbl
,
1801 #[cfg(feature = "Win32_System_Com")]
1802 pub PropertiesAffected
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, propertiesaffected
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
1803 #[cfg(not(feature = "Win32_System_Com"))]
1804 PropertiesAffected
: usize,
1805 #[cfg(feature = "Win32_System_Com")]
1806 pub SetPropertiesAffected
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, propertiesaffected
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
1807 #[cfg(not(feature = "Win32_System_Com"))]
1808 SetPropertiesAffected
: usize,
1809 #[cfg(feature = "Win32_System_Com")]
1810 pub PropertiesUsed
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, propertiesused
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
1811 #[cfg(not(feature = "Win32_System_Com"))]
1812 PropertiesUsed
: usize,
1813 #[cfg(feature = "Win32_System_Com")]
1814 pub SetPropertiesUsed
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, propertiesused
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
1815 #[cfg(not(feature = "Win32_System_Com"))]
1816 SetPropertiesUsed
: usize,
1817 #[cfg(feature = "Win32_Foundation")]
1818 pub NeedsExplicitValue
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, needsexplicitvalue
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
1819 #[cfg(not(feature = "Win32_Foundation"))]
1820 NeedsExplicitValue
: usize,
1821 #[cfg(feature = "Win32_Foundation")]
1822 pub SetNeedsExplicitValue
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, needsexplicitvalue
: super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
1823 #[cfg(not(feature = "Win32_Foundation"))]
1824 SetNeedsExplicitValue
: usize,
1826 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
1827 #[cfg(feature = "Win32_System_Com")]
1828 #[repr(transparent)]
1829 pub struct IFsrmClassifierModuleImplementation(::windows
::core
::IUnknown
);
1830 #[cfg(feature = "Win32_System_Com")]
1831 impl IFsrmClassifierModuleImplementation
{
1832 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1833 #[cfg(feature = "Win32_System_Com")]
1834 pub unsafe fn OnLoad
<P0
>(&self, moduledefinition
: P0
) -> ::windows
::core
::Result
<IFsrmPipelineModuleConnector
>
1836 P0
: ::windows
::core
::IntoParam
<IFsrmPipelineModuleDefinition
>,
1838 let mut result__
= ::windows
::core
::zeroed
::<IFsrmPipelineModuleConnector
>();
1839 (::windows
::core
::Interface
::vtable(self).base__
.OnLoad
)(::windows
::core
::Interface
::as_raw(self), moduledefinition
.into_param().abi(), &mut result__
).from_abi(result__
)
1841 pub unsafe fn OnUnload(&self) -> ::windows
::core
::Result
<()> {
1842 (::windows
::core
::Interface
::vtable(self).base__
.OnUnload
)(::windows
::core
::Interface
::as_raw(self)).ok()
1844 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
1845 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
1846 pub unsafe fn LastModified(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
1847 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
1848 (::windows
::core
::Interface
::vtable(self).LastModified
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1850 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1851 #[cfg(feature = "Win32_System_Com")]
1852 pub unsafe fn UseRulesAndDefinitions
<P0
, P1
>(&self, rules
: P0
, propertydefinitions
: P1
) -> ::windows
::core
::Result
<()>
1854 P0
: ::windows
::core
::IntoParam
<IFsrmCollection
>,
1855 P1
: ::windows
::core
::IntoParam
<IFsrmCollection
>,
1857 (::windows
::core
::Interface
::vtable(self).UseRulesAndDefinitions
)(::windows
::core
::Interface
::as_raw(self), rules
.into_param().abi(), propertydefinitions
.into_param().abi()).ok()
1859 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
1860 #[cfg(feature = "Win32_System_Com")]
1861 pub unsafe fn OnBeginFile
<P0
>(&self, propertybag
: P0
, arrayruleids
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()>
1863 P0
: ::windows
::core
::IntoParam
<IFsrmPropertyBag
>,
1865 (::windows
::core
::Interface
::vtable(self).OnBeginFile
)(::windows
::core
::Interface
::as_raw(self), propertybag
.into_param().abi(), arrayruleids
).ok()
1867 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
1868 #[cfg(feature = "Win32_Foundation")]
1869 pub unsafe fn DoesPropertyValueApply
<P0
, P1
>(&self, property
: P0
, value
: P1
, applyvalue
: *mut super::super::Foundation
::VARIANT_BOOL
, idrule
: ::windows
::core
::GUID
, idpropdef
: ::windows
::core
::GUID
) -> ::windows
::core
::Result
<()>
1871 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1872 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1874 (::windows
::core
::Interface
::vtable(self).DoesPropertyValueApply
)(::windows
::core
::Interface
::as_raw(self), property
.into_param().abi(), value
.into_param().abi(), applyvalue
, ::core
::mem
::transmute(idrule
), ::core
::mem
::transmute(idpropdef
)).ok()
1876 pub unsafe fn GetPropertyValueToApply
<P0
>(&self, property
: P0
, value
: *mut ::windows
::core
::BSTR
, idrule
: ::windows
::core
::GUID
, idpropdef
: ::windows
::core
::GUID
) -> ::windows
::core
::Result
<()>
1878 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
1880 (::windows
::core
::Interface
::vtable(self).GetPropertyValueToApply
)(::windows
::core
::Interface
::as_raw(self), property
.into_param().abi(), ::core
::mem
::transmute(value
), ::core
::mem
::transmute(idrule
), ::core
::mem
::transmute(idpropdef
)).ok()
1882 pub unsafe fn OnEndFile(&self) -> ::windows
::core
::Result
<()> {
1883 (::windows
::core
::Interface
::vtable(self).OnEndFile
)(::windows
::core
::Interface
::as_raw(self)).ok()
1886 #[cfg(feature = "Win32_System_Com")]
1887 ::windows
::imp
::interface_hierarchy
!(IFsrmClassifierModuleImplementation
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmPipelineModuleImplementation
);
1888 #[cfg(feature = "Win32_System_Com")]
1889 impl ::core
::cmp
::PartialEq
for IFsrmClassifierModuleImplementation
{
1890 fn eq(&self, other
: &Self) -> bool
{
1894 #[cfg(feature = "Win32_System_Com")]
1895 impl ::core
::cmp
::Eq
for IFsrmClassifierModuleImplementation {}
1896 #[cfg(feature = "Win32_System_Com")]
1897 impl ::core
::fmt
::Debug
for IFsrmClassifierModuleImplementation
{
1898 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1899 f
.debug_tuple("IFsrmClassifierModuleImplementation").field(&self.0).finish()
1902 #[cfg(feature = "Win32_System_Com")]
1903 unsafe impl ::windows
::core
::Interface
for IFsrmClassifierModuleImplementation
{
1904 type Vtable
= IFsrmClassifierModuleImplementation_Vtbl
;
1906 #[cfg(feature = "Win32_System_Com")]
1907 impl ::core
::clone
::Clone
for IFsrmClassifierModuleImplementation
{
1908 fn clone(&self) -> Self {
1909 Self(self.0.clone())
1912 #[cfg(feature = "Win32_System_Com")]
1913 unsafe impl ::windows
::core
::ComInterface
for IFsrmClassifierModuleImplementation
{
1914 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x4c968fc6_6edb_4051_9c18_73b7291ae106);
1916 #[cfg(feature = "Win32_System_Com")]
1919 pub struct IFsrmClassifierModuleImplementation_Vtbl
{
1920 pub base__
: IFsrmPipelineModuleImplementation_Vtbl
,
1921 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
1922 pub LastModified
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, lastmodified
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
1923 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
1924 LastModified
: usize,
1925 #[cfg(feature = "Win32_System_Com")]
1926 pub UseRulesAndDefinitions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, rules
: *mut ::core
::ffi
::c_void
, propertydefinitions
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1927 #[cfg(not(feature = "Win32_System_Com"))]
1928 UseRulesAndDefinitions
: usize,
1929 #[cfg(feature = "Win32_System_Com")]
1930 pub OnBeginFile
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, propertybag
: *mut ::core
::ffi
::c_void
, arrayruleids
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
1931 #[cfg(not(feature = "Win32_System_Com"))]
1933 #[cfg(feature = "Win32_Foundation")]
1934 pub DoesPropertyValueApply
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, property
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, value
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, applyvalue
: *mut super::super::Foundation
::VARIANT_BOOL
, idrule
: ::windows
::core
::GUID
, idpropdef
: ::windows
::core
::GUID
) -> ::windows
::core
::HRESULT
,
1935 #[cfg(not(feature = "Win32_Foundation"))]
1936 DoesPropertyValueApply
: usize,
1937 pub GetPropertyValueToApply
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, property
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, value
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, idrule
: ::windows
::core
::GUID
, idpropdef
: ::windows
::core
::GUID
) -> ::windows
::core
::HRESULT
,
1938 pub OnEndFile
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
1940 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
1941 #[cfg(feature = "Win32_System_Com")]
1942 #[repr(transparent)]
1943 pub struct IFsrmCollection(::windows
::core
::IUnknown
);
1944 #[cfg(feature = "Win32_System_Com")]
1945 impl IFsrmCollection
{
1946 pub unsafe fn _NewEnum(&self) -> ::windows
::core
::Result
<::windows
::core
::IUnknown
> {
1947 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::IUnknown
>();
1948 (::windows
::core
::Interface
::vtable(self)._NewEnum
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1950 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
1951 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
1952 pub unsafe fn get_Item(&self, index
: i32) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
1953 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
1954 (::windows
::core
::Interface
::vtable(self).get_Item
)(::windows
::core
::Interface
::as_raw(self), index
, &mut result__
).from_abi(result__
)
1956 pub unsafe fn Count(&self) -> ::windows
::core
::Result
<i32> {
1957 let mut result__
= ::windows
::core
::zeroed
::<i32>();
1958 (::windows
::core
::Interface
::vtable(self).Count
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1960 pub unsafe fn State(&self) -> ::windows
::core
::Result
<FsrmCollectionState
> {
1961 let mut result__
= ::windows
::core
::zeroed
::<FsrmCollectionState
>();
1962 (::windows
::core
::Interface
::vtable(self).State
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
1964 pub unsafe fn Cancel(&self) -> ::windows
::core
::Result
<()> {
1965 (::windows
::core
::Interface
::vtable(self).Cancel
)(::windows
::core
::Interface
::as_raw(self)).ok()
1967 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
1968 #[cfg(feature = "Win32_Foundation")]
1969 pub unsafe fn WaitForCompletion(&self, waitseconds
: i32) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
1970 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
1971 (::windows
::core
::Interface
::vtable(self).WaitForCompletion
)(::windows
::core
::Interface
::as_raw(self), waitseconds
, &mut result__
).from_abi(result__
)
1973 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
1974 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
1975 pub unsafe fn GetById(&self, id
: ::windows
::core
::GUID
) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
1976 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
1977 (::windows
::core
::Interface
::vtable(self).GetById
)(::windows
::core
::Interface
::as_raw(self), ::core
::mem
::transmute(id
), &mut result__
).from_abi(result__
)
1980 #[cfg(feature = "Win32_System_Com")]
1981 ::windows
::imp
::interface_hierarchy
!(IFsrmCollection
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
1982 #[cfg(feature = "Win32_System_Com")]
1983 impl ::core
::cmp
::PartialEq
for IFsrmCollection
{
1984 fn eq(&self, other
: &Self) -> bool
{
1988 #[cfg(feature = "Win32_System_Com")]
1989 impl ::core
::cmp
::Eq
for IFsrmCollection {}
1990 #[cfg(feature = "Win32_System_Com")]
1991 impl ::core
::fmt
::Debug
for IFsrmCollection
{
1992 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1993 f
.debug_tuple("IFsrmCollection").field(&self.0).finish()
1996 #[cfg(feature = "Win32_System_Com")]
1997 unsafe impl ::windows
::core
::Interface
for IFsrmCollection
{
1998 type Vtable
= IFsrmCollection_Vtbl
;
2000 #[cfg(feature = "Win32_System_Com")]
2001 impl ::core
::clone
::Clone
for IFsrmCollection
{
2002 fn clone(&self) -> Self {
2003 Self(self.0.clone())
2006 #[cfg(feature = "Win32_System_Com")]
2007 unsafe impl ::windows
::core
::ComInterface
for IFsrmCollection
{
2008 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xf76fbf3b_8ddd_4b42_b05a_cb1c3ff1fee8);
2010 #[cfg(feature = "Win32_System_Com")]
2013 pub struct IFsrmCollection_Vtbl
{
2014 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
2015 pub _NewEnum
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, unknown
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2016 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2017 pub get_Item
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, index
: i32, item
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
2018 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
2020 pub Count
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, count
: *mut i32) -> ::windows
::core
::HRESULT
,
2021 pub State
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, state
: *mut FsrmCollectionState
) -> ::windows
::core
::HRESULT
,
2022 pub Cancel
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2023 #[cfg(feature = "Win32_Foundation")]
2024 pub WaitForCompletion
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, waitseconds
: i32, completed
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
2025 #[cfg(not(feature = "Win32_Foundation"))]
2026 WaitForCompletion
: usize,
2027 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2028 pub GetById
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, id
: ::windows
::core
::GUID
, entry
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
2029 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
2032 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
2033 #[cfg(feature = "Win32_System_Com")]
2034 #[repr(transparent)]
2035 pub struct IFsrmCommittableCollection(::windows
::core
::IUnknown
);
2036 #[cfg(feature = "Win32_System_Com")]
2037 impl IFsrmCommittableCollection
{
2038 pub unsafe fn _NewEnum(&self) -> ::windows
::core
::Result
<::windows
::core
::IUnknown
> {
2039 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::IUnknown
>();
2040 (::windows
::core
::Interface
::vtable(self).base__
.base__
._NewEnum
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2042 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
2043 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2044 pub unsafe fn get_Item(&self, index
: i32) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
2045 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
2046 (::windows
::core
::Interface
::vtable(self).base__
.base__
.get_Item
)(::windows
::core
::Interface
::as_raw(self), index
, &mut result__
).from_abi(result__
)
2048 pub unsafe fn Count(&self) -> ::windows
::core
::Result
<i32> {
2049 let mut result__
= ::windows
::core
::zeroed
::<i32>();
2050 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Count
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2052 pub unsafe fn State(&self) -> ::windows
::core
::Result
<FsrmCollectionState
> {
2053 let mut result__
= ::windows
::core
::zeroed
::<FsrmCollectionState
>();
2054 (::windows
::core
::Interface
::vtable(self).base__
.base__
.State
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2056 pub unsafe fn Cancel(&self) -> ::windows
::core
::Result
<()> {
2057 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Cancel
)(::windows
::core
::Interface
::as_raw(self)).ok()
2059 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
2060 #[cfg(feature = "Win32_Foundation")]
2061 pub unsafe fn WaitForCompletion(&self, waitseconds
: i32) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
2062 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
2063 (::windows
::core
::Interface
::vtable(self).base__
.base__
.WaitForCompletion
)(::windows
::core
::Interface
::as_raw(self), waitseconds
, &mut result__
).from_abi(result__
)
2065 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
2066 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2067 pub unsafe fn GetById(&self, id
: ::windows
::core
::GUID
) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
2068 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
2069 (::windows
::core
::Interface
::vtable(self).base__
.base__
.GetById
)(::windows
::core
::Interface
::as_raw(self), ::core
::mem
::transmute(id
), &mut result__
).from_abi(result__
)
2071 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
2072 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2073 pub unsafe fn Add(&self, item
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<()> {
2074 (::windows
::core
::Interface
::vtable(self).base__
.Add
)(::windows
::core
::Interface
::as_raw(self), ::core
::mem
::transmute(item
)).ok()
2076 pub unsafe fn Remove(&self, index
: i32) -> ::windows
::core
::Result
<()> {
2077 (::windows
::core
::Interface
::vtable(self).base__
.Remove
)(::windows
::core
::Interface
::as_raw(self), index
).ok()
2079 pub unsafe fn RemoveById(&self, id
: ::windows
::core
::GUID
) -> ::windows
::core
::Result
<()> {
2080 (::windows
::core
::Interface
::vtable(self).base__
.RemoveById
)(::windows
::core
::Interface
::as_raw(self), ::core
::mem
::transmute(id
)).ok()
2082 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2083 #[cfg(feature = "Win32_System_Com")]
2084 pub unsafe fn Clone(&self) -> ::windows
::core
::Result
<IFsrmMutableCollection
> {
2085 let mut result__
= ::windows
::core
::zeroed
::<IFsrmMutableCollection
>();
2086 (::windows
::core
::Interface
::vtable(self).base__
.Clone
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2088 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2089 #[cfg(feature = "Win32_System_Com")]
2090 pub unsafe fn Commit(&self, options
: FsrmCommitOptions
) -> ::windows
::core
::Result
<IFsrmCollection
> {
2091 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
2092 (::windows
::core
::Interface
::vtable(self).Commit
)(::windows
::core
::Interface
::as_raw(self), options
, &mut result__
).from_abi(result__
)
2095 #[cfg(feature = "Win32_System_Com")]
2096 ::windows
::imp
::interface_hierarchy
!(IFsrmCommittableCollection
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmCollection
, IFsrmMutableCollection
);
2097 #[cfg(feature = "Win32_System_Com")]
2098 impl ::core
::cmp
::PartialEq
for IFsrmCommittableCollection
{
2099 fn eq(&self, other
: &Self) -> bool
{
2103 #[cfg(feature = "Win32_System_Com")]
2104 impl ::core
::cmp
::Eq
for IFsrmCommittableCollection {}
2105 #[cfg(feature = "Win32_System_Com")]
2106 impl ::core
::fmt
::Debug
for IFsrmCommittableCollection
{
2107 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2108 f
.debug_tuple("IFsrmCommittableCollection").field(&self.0).finish()
2111 #[cfg(feature = "Win32_System_Com")]
2112 unsafe impl ::windows
::core
::Interface
for IFsrmCommittableCollection
{
2113 type Vtable
= IFsrmCommittableCollection_Vtbl
;
2115 #[cfg(feature = "Win32_System_Com")]
2116 impl ::core
::clone
::Clone
for IFsrmCommittableCollection
{
2117 fn clone(&self) -> Self {
2118 Self(self.0.clone())
2121 #[cfg(feature = "Win32_System_Com")]
2122 unsafe impl ::windows
::core
::ComInterface
for IFsrmCommittableCollection
{
2123 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x96deb3b5_8b91_4a2a_9d93_80a35d8aa847);
2125 #[cfg(feature = "Win32_System_Com")]
2128 pub struct IFsrmCommittableCollection_Vtbl
{
2129 pub base__
: IFsrmMutableCollection_Vtbl
,
2130 #[cfg(feature = "Win32_System_Com")]
2131 pub Commit
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, options
: FsrmCommitOptions
, results
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2132 #[cfg(not(feature = "Win32_System_Com"))]
2135 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
2136 #[cfg(feature = "Win32_System_Com")]
2137 #[repr(transparent)]
2138 pub struct IFsrmDerivedObjectsResult(::windows
::core
::IUnknown
);
2139 #[cfg(feature = "Win32_System_Com")]
2140 impl IFsrmDerivedObjectsResult
{
2141 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2142 #[cfg(feature = "Win32_System_Com")]
2143 pub unsafe fn DerivedObjects(&self) -> ::windows
::core
::Result
<IFsrmCollection
> {
2144 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
2145 (::windows
::core
::Interface
::vtable(self).DerivedObjects
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2147 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2148 #[cfg(feature = "Win32_System_Com")]
2149 pub unsafe fn Results(&self) -> ::windows
::core
::Result
<IFsrmCollection
> {
2150 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
2151 (::windows
::core
::Interface
::vtable(self).Results
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2154 #[cfg(feature = "Win32_System_Com")]
2155 ::windows
::imp
::interface_hierarchy
!(IFsrmDerivedObjectsResult
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
2156 #[cfg(feature = "Win32_System_Com")]
2157 impl ::core
::cmp
::PartialEq
for IFsrmDerivedObjectsResult
{
2158 fn eq(&self, other
: &Self) -> bool
{
2162 #[cfg(feature = "Win32_System_Com")]
2163 impl ::core
::cmp
::Eq
for IFsrmDerivedObjectsResult {}
2164 #[cfg(feature = "Win32_System_Com")]
2165 impl ::core
::fmt
::Debug
for IFsrmDerivedObjectsResult
{
2166 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2167 f
.debug_tuple("IFsrmDerivedObjectsResult").field(&self.0).finish()
2170 #[cfg(feature = "Win32_System_Com")]
2171 unsafe impl ::windows
::core
::Interface
for IFsrmDerivedObjectsResult
{
2172 type Vtable
= IFsrmDerivedObjectsResult_Vtbl
;
2174 #[cfg(feature = "Win32_System_Com")]
2175 impl ::core
::clone
::Clone
for IFsrmDerivedObjectsResult
{
2176 fn clone(&self) -> Self {
2177 Self(self.0.clone())
2180 #[cfg(feature = "Win32_System_Com")]
2181 unsafe impl ::windows
::core
::ComInterface
for IFsrmDerivedObjectsResult
{
2182 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x39322a2d_38ee_4d0d_8095_421a80849a82);
2184 #[cfg(feature = "Win32_System_Com")]
2187 pub struct IFsrmDerivedObjectsResult_Vtbl
{
2188 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
2189 #[cfg(feature = "Win32_System_Com")]
2190 pub DerivedObjects
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, derivedobjects
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2191 #[cfg(not(feature = "Win32_System_Com"))]
2192 DerivedObjects
: usize,
2193 #[cfg(feature = "Win32_System_Com")]
2194 pub Results
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, results
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2195 #[cfg(not(feature = "Win32_System_Com"))]
2198 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
2199 #[cfg(feature = "Win32_System_Com")]
2200 #[repr(transparent)]
2201 pub struct IFsrmExportImport(::windows
::core
::IUnknown
);
2202 #[cfg(feature = "Win32_System_Com")]
2203 impl IFsrmExportImport
{
2204 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
2205 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2206 pub unsafe fn ExportFileGroups
<P0
, P1
>(&self, filepath
: P0
, filegroupnamessafearray
: *const super::super::System
::Com
::VARIANT
, remotehost
: P1
) -> ::windows
::core
::Result
<()>
2208 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2209 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2211 (::windows
::core
::Interface
::vtable(self).ExportFileGroups
)(::windows
::core
::Interface
::as_raw(self), filepath
.into_param().abi(), filegroupnamessafearray
, remotehost
.into_param().abi()).ok()
2213 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
2214 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2215 pub unsafe fn ImportFileGroups
<P0
, P1
>(&self, filepath
: P0
, filegroupnamessafearray
: *const super::super::System
::Com
::VARIANT
, remotehost
: P1
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
>
2217 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2218 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2220 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
2221 (::windows
::core
::Interface
::vtable(self).ImportFileGroups
)(::windows
::core
::Interface
::as_raw(self), filepath
.into_param().abi(), filegroupnamessafearray
, remotehost
.into_param().abi(), &mut result__
).from_abi(result__
)
2223 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
2224 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2225 pub unsafe fn ExportFileScreenTemplates
<P0
, P1
>(&self, filepath
: P0
, templatenamessafearray
: *const super::super::System
::Com
::VARIANT
, remotehost
: P1
) -> ::windows
::core
::Result
<()>
2227 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2228 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2230 (::windows
::core
::Interface
::vtable(self).ExportFileScreenTemplates
)(::windows
::core
::Interface
::as_raw(self), filepath
.into_param().abi(), templatenamessafearray
, remotehost
.into_param().abi()).ok()
2232 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
2233 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2234 pub unsafe fn ImportFileScreenTemplates
<P0
, P1
>(&self, filepath
: P0
, templatenamessafearray
: *const super::super::System
::Com
::VARIANT
, remotehost
: P1
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
>
2236 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2237 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2239 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
2240 (::windows
::core
::Interface
::vtable(self).ImportFileScreenTemplates
)(::windows
::core
::Interface
::as_raw(self), filepath
.into_param().abi(), templatenamessafearray
, remotehost
.into_param().abi(), &mut result__
).from_abi(result__
)
2242 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
2243 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2244 pub unsafe fn ExportQuotaTemplates
<P0
, P1
>(&self, filepath
: P0
, templatenamessafearray
: *const super::super::System
::Com
::VARIANT
, remotehost
: P1
) -> ::windows
::core
::Result
<()>
2246 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2247 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2249 (::windows
::core
::Interface
::vtable(self).ExportQuotaTemplates
)(::windows
::core
::Interface
::as_raw(self), filepath
.into_param().abi(), templatenamessafearray
, remotehost
.into_param().abi()).ok()
2251 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
2252 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2253 pub unsafe fn ImportQuotaTemplates
<P0
, P1
>(&self, filepath
: P0
, templatenamessafearray
: *const super::super::System
::Com
::VARIANT
, remotehost
: P1
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
>
2255 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2256 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2258 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
2259 (::windows
::core
::Interface
::vtable(self).ImportQuotaTemplates
)(::windows
::core
::Interface
::as_raw(self), filepath
.into_param().abi(), templatenamessafearray
, remotehost
.into_param().abi(), &mut result__
).from_abi(result__
)
2262 #[cfg(feature = "Win32_System_Com")]
2263 ::windows
::imp
::interface_hierarchy
!(IFsrmExportImport
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
2264 #[cfg(feature = "Win32_System_Com")]
2265 impl ::core
::cmp
::PartialEq
for IFsrmExportImport
{
2266 fn eq(&self, other
: &Self) -> bool
{
2270 #[cfg(feature = "Win32_System_Com")]
2271 impl ::core
::cmp
::Eq
for IFsrmExportImport {}
2272 #[cfg(feature = "Win32_System_Com")]
2273 impl ::core
::fmt
::Debug
for IFsrmExportImport
{
2274 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2275 f
.debug_tuple("IFsrmExportImport").field(&self.0).finish()
2278 #[cfg(feature = "Win32_System_Com")]
2279 unsafe impl ::windows
::core
::Interface
for IFsrmExportImport
{
2280 type Vtable
= IFsrmExportImport_Vtbl
;
2282 #[cfg(feature = "Win32_System_Com")]
2283 impl ::core
::clone
::Clone
for IFsrmExportImport
{
2284 fn clone(&self) -> Self {
2285 Self(self.0.clone())
2288 #[cfg(feature = "Win32_System_Com")]
2289 unsafe impl ::windows
::core
::ComInterface
for IFsrmExportImport
{
2290 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xefcb0ab1_16c4_4a79_812c_725614c3306b);
2292 #[cfg(feature = "Win32_System_Com")]
2295 pub struct IFsrmExportImport_Vtbl
{
2296 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
2297 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2298 pub ExportFileGroups
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filepath
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, filegroupnamessafearray
: *const super::super::System
::Com
::VARIANT
, remotehost
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
2299 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
2300 ExportFileGroups
: usize,
2301 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2302 pub ImportFileGroups
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filepath
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, filegroupnamessafearray
: *const super::super::System
::Com
::VARIANT
, remotehost
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, filegroups
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2303 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
2304 ImportFileGroups
: usize,
2305 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2306 pub ExportFileScreenTemplates
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filepath
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, templatenamessafearray
: *const super::super::System
::Com
::VARIANT
, remotehost
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
2307 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
2308 ExportFileScreenTemplates
: usize,
2309 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2310 pub ImportFileScreenTemplates
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filepath
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, templatenamessafearray
: *const super::super::System
::Com
::VARIANT
, remotehost
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, templates
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2311 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
2312 ImportFileScreenTemplates
: usize,
2313 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2314 pub ExportQuotaTemplates
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filepath
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, templatenamessafearray
: *const super::super::System
::Com
::VARIANT
, remotehost
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
2315 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
2316 ExportQuotaTemplates
: usize,
2317 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2318 pub ImportQuotaTemplates
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filepath
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, templatenamessafearray
: *const super::super::System
::Com
::VARIANT
, remotehost
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, templates
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2319 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
2320 ImportQuotaTemplates
: usize,
2322 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
2323 #[cfg(feature = "Win32_System_Com")]
2324 #[repr(transparent)]
2325 pub struct IFsrmFileCondition(::windows
::core
::IUnknown
);
2326 #[cfg(feature = "Win32_System_Com")]
2327 impl IFsrmFileCondition
{
2328 pub unsafe fn Type(&self) -> ::windows
::core
::Result
<FsrmFileConditionType
> {
2329 let mut result__
= ::windows
::core
::zeroed
::<FsrmFileConditionType
>();
2330 (::windows
::core
::Interface
::vtable(self).Type
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2332 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
2333 (::windows
::core
::Interface
::vtable(self).Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
2336 #[cfg(feature = "Win32_System_Com")]
2337 ::windows
::imp
::interface_hierarchy
!(IFsrmFileCondition
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
2338 #[cfg(feature = "Win32_System_Com")]
2339 impl ::core
::cmp
::PartialEq
for IFsrmFileCondition
{
2340 fn eq(&self, other
: &Self) -> bool
{
2344 #[cfg(feature = "Win32_System_Com")]
2345 impl ::core
::cmp
::Eq
for IFsrmFileCondition {}
2346 #[cfg(feature = "Win32_System_Com")]
2347 impl ::core
::fmt
::Debug
for IFsrmFileCondition
{
2348 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2349 f
.debug_tuple("IFsrmFileCondition").field(&self.0).finish()
2352 #[cfg(feature = "Win32_System_Com")]
2353 unsafe impl ::windows
::core
::Interface
for IFsrmFileCondition
{
2354 type Vtable
= IFsrmFileCondition_Vtbl
;
2356 #[cfg(feature = "Win32_System_Com")]
2357 impl ::core
::clone
::Clone
for IFsrmFileCondition
{
2358 fn clone(&self) -> Self {
2359 Self(self.0.clone())
2362 #[cfg(feature = "Win32_System_Com")]
2363 unsafe impl ::windows
::core
::ComInterface
for IFsrmFileCondition
{
2364 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x70684ffc_691a_4a1a_b922_97752e138cc1);
2366 #[cfg(feature = "Win32_System_Com")]
2369 pub struct IFsrmFileCondition_Vtbl
{
2370 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
2371 pub Type
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, pval
: *mut FsrmFileConditionType
) -> ::windows
::core
::HRESULT
,
2372 pub Delete
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2374 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
2375 #[cfg(feature = "Win32_System_Com")]
2376 #[repr(transparent)]
2377 pub struct IFsrmFileConditionProperty(::windows
::core
::IUnknown
);
2378 #[cfg(feature = "Win32_System_Com")]
2379 impl IFsrmFileConditionProperty
{
2380 pub unsafe fn Type(&self) -> ::windows
::core
::Result
<FsrmFileConditionType
> {
2381 let mut result__
= ::windows
::core
::zeroed
::<FsrmFileConditionType
>();
2382 (::windows
::core
::Interface
::vtable(self).base__
.Type
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2384 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
2385 (::windows
::core
::Interface
::vtable(self).base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
2387 pub unsafe fn PropertyName(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
2388 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
2389 (::windows
::core
::Interface
::vtable(self).PropertyName
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2391 pub unsafe fn SetPropertyName
<P0
>(&self, newval
: P0
) -> ::windows
::core
::Result
<()>
2393 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2395 (::windows
::core
::Interface
::vtable(self).SetPropertyName
)(::windows
::core
::Interface
::as_raw(self), newval
.into_param().abi()).ok()
2397 pub unsafe fn PropertyId(&self) -> ::windows
::core
::Result
<FsrmFileSystemPropertyId
> {
2398 let mut result__
= ::windows
::core
::zeroed
::<FsrmFileSystemPropertyId
>();
2399 (::windows
::core
::Interface
::vtable(self).PropertyId
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2401 pub unsafe fn SetPropertyId(&self, newval
: FsrmFileSystemPropertyId
) -> ::windows
::core
::Result
<()> {
2402 (::windows
::core
::Interface
::vtable(self).SetPropertyId
)(::windows
::core
::Interface
::as_raw(self), newval
).ok()
2404 pub unsafe fn Operator(&self) -> ::windows
::core
::Result
<FsrmPropertyConditionType
> {
2405 let mut result__
= ::windows
::core
::zeroed
::<FsrmPropertyConditionType
>();
2406 (::windows
::core
::Interface
::vtable(self).Operator
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2408 pub unsafe fn SetOperator(&self, newval
: FsrmPropertyConditionType
) -> ::windows
::core
::Result
<()> {
2409 (::windows
::core
::Interface
::vtable(self).SetOperator
)(::windows
::core
::Interface
::as_raw(self), newval
).ok()
2411 pub unsafe fn ValueType(&self) -> ::windows
::core
::Result
<FsrmPropertyValueType
> {
2412 let mut result__
= ::windows
::core
::zeroed
::<FsrmPropertyValueType
>();
2413 (::windows
::core
::Interface
::vtable(self).ValueType
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2415 pub unsafe fn SetValueType(&self, newval
: FsrmPropertyValueType
) -> ::windows
::core
::Result
<()> {
2416 (::windows
::core
::Interface
::vtable(self).SetValueType
)(::windows
::core
::Interface
::as_raw(self), newval
).ok()
2418 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
2419 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2420 pub unsafe fn Value(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
2421 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
2422 (::windows
::core
::Interface
::vtable(self).Value
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2424 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
2425 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2426 pub unsafe fn SetValue(&self, newval
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<()> {
2427 (::windows
::core
::Interface
::vtable(self).SetValue
)(::windows
::core
::Interface
::as_raw(self), ::core
::mem
::transmute(newval
)).ok()
2430 #[cfg(feature = "Win32_System_Com")]
2431 ::windows
::imp
::interface_hierarchy
!(IFsrmFileConditionProperty
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmFileCondition
);
2432 #[cfg(feature = "Win32_System_Com")]
2433 impl ::core
::cmp
::PartialEq
for IFsrmFileConditionProperty
{
2434 fn eq(&self, other
: &Self) -> bool
{
2438 #[cfg(feature = "Win32_System_Com")]
2439 impl ::core
::cmp
::Eq
for IFsrmFileConditionProperty {}
2440 #[cfg(feature = "Win32_System_Com")]
2441 impl ::core
::fmt
::Debug
for IFsrmFileConditionProperty
{
2442 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2443 f
.debug_tuple("IFsrmFileConditionProperty").field(&self.0).finish()
2446 #[cfg(feature = "Win32_System_Com")]
2447 unsafe impl ::windows
::core
::Interface
for IFsrmFileConditionProperty
{
2448 type Vtable
= IFsrmFileConditionProperty_Vtbl
;
2450 #[cfg(feature = "Win32_System_Com")]
2451 impl ::core
::clone
::Clone
for IFsrmFileConditionProperty
{
2452 fn clone(&self) -> Self {
2453 Self(self.0.clone())
2456 #[cfg(feature = "Win32_System_Com")]
2457 unsafe impl ::windows
::core
::ComInterface
for IFsrmFileConditionProperty
{
2458 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x81926775_b981_4479_988f_da171d627360);
2460 #[cfg(feature = "Win32_System_Com")]
2463 pub struct IFsrmFileConditionProperty_Vtbl
{
2464 pub base__
: IFsrmFileCondition_Vtbl
,
2465 pub PropertyName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, pval
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
2466 pub SetPropertyName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, newval
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
2467 pub PropertyId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, pval
: *mut FsrmFileSystemPropertyId
) -> ::windows
::core
::HRESULT
,
2468 pub SetPropertyId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, newval
: FsrmFileSystemPropertyId
) -> ::windows
::core
::HRESULT
,
2469 pub Operator
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, pval
: *mut FsrmPropertyConditionType
) -> ::windows
::core
::HRESULT
,
2470 pub SetOperator
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, newval
: FsrmPropertyConditionType
) -> ::windows
::core
::HRESULT
,
2471 pub ValueType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, pval
: *mut FsrmPropertyValueType
) -> ::windows
::core
::HRESULT
,
2472 pub SetValueType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, newval
: FsrmPropertyValueType
) -> ::windows
::core
::HRESULT
,
2473 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2474 pub Value
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, pval
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
2475 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
2477 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2478 pub SetValue
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, newval
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
2479 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
2482 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
2483 #[cfg(feature = "Win32_System_Com")]
2484 #[repr(transparent)]
2485 pub struct IFsrmFileGroup(::windows
::core
::IUnknown
);
2486 #[cfg(feature = "Win32_System_Com")]
2487 impl IFsrmFileGroup
{
2488 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
2489 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
2490 (::windows
::core
::Interface
::vtable(self).base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2492 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
2493 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
2494 (::windows
::core
::Interface
::vtable(self).base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2496 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
2498 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2500 (::windows
::core
::Interface
::vtable(self).base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
2502 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
2503 (::windows
::core
::Interface
::vtable(self).base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
2505 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
2506 (::windows
::core
::Interface
::vtable(self).base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
2508 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
2509 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
2510 (::windows
::core
::Interface
::vtable(self).Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2512 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
2514 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2516 (::windows
::core
::Interface
::vtable(self).SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
2518 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2519 #[cfg(feature = "Win32_System_Com")]
2520 pub unsafe fn Members(&self) -> ::windows
::core
::Result
<IFsrmMutableCollection
> {
2521 let mut result__
= ::windows
::core
::zeroed
::<IFsrmMutableCollection
>();
2522 (::windows
::core
::Interface
::vtable(self).Members
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2524 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2525 #[cfg(feature = "Win32_System_Com")]
2526 pub unsafe fn SetMembers
<P0
>(&self, members
: P0
) -> ::windows
::core
::Result
<()>
2528 P0
: ::windows
::core
::IntoParam
<IFsrmMutableCollection
>,
2530 (::windows
::core
::Interface
::vtable(self).SetMembers
)(::windows
::core
::Interface
::as_raw(self), members
.into_param().abi()).ok()
2532 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2533 #[cfg(feature = "Win32_System_Com")]
2534 pub unsafe fn NonMembers(&self) -> ::windows
::core
::Result
<IFsrmMutableCollection
> {
2535 let mut result__
= ::windows
::core
::zeroed
::<IFsrmMutableCollection
>();
2536 (::windows
::core
::Interface
::vtable(self).NonMembers
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2538 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2539 #[cfg(feature = "Win32_System_Com")]
2540 pub unsafe fn SetNonMembers
<P0
>(&self, nonmembers
: P0
) -> ::windows
::core
::Result
<()>
2542 P0
: ::windows
::core
::IntoParam
<IFsrmMutableCollection
>,
2544 (::windows
::core
::Interface
::vtable(self).SetNonMembers
)(::windows
::core
::Interface
::as_raw(self), nonmembers
.into_param().abi()).ok()
2547 #[cfg(feature = "Win32_System_Com")]
2548 ::windows
::imp
::interface_hierarchy
!(IFsrmFileGroup
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
);
2549 #[cfg(feature = "Win32_System_Com")]
2550 impl ::core
::cmp
::PartialEq
for IFsrmFileGroup
{
2551 fn eq(&self, other
: &Self) -> bool
{
2555 #[cfg(feature = "Win32_System_Com")]
2556 impl ::core
::cmp
::Eq
for IFsrmFileGroup {}
2557 #[cfg(feature = "Win32_System_Com")]
2558 impl ::core
::fmt
::Debug
for IFsrmFileGroup
{
2559 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2560 f
.debug_tuple("IFsrmFileGroup").field(&self.0).finish()
2563 #[cfg(feature = "Win32_System_Com")]
2564 unsafe impl ::windows
::core
::Interface
for IFsrmFileGroup
{
2565 type Vtable
= IFsrmFileGroup_Vtbl
;
2567 #[cfg(feature = "Win32_System_Com")]
2568 impl ::core
::clone
::Clone
for IFsrmFileGroup
{
2569 fn clone(&self) -> Self {
2570 Self(self.0.clone())
2573 #[cfg(feature = "Win32_System_Com")]
2574 unsafe impl ::windows
::core
::ComInterface
for IFsrmFileGroup
{
2575 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x8dd04909_0e34_4d55_afaa_89e1f1a1bbb9);
2577 #[cfg(feature = "Win32_System_Com")]
2580 pub struct IFsrmFileGroup_Vtbl
{
2581 pub base__
: IFsrmObject_Vtbl
,
2582 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
2583 pub SetName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
2584 #[cfg(feature = "Win32_System_Com")]
2585 pub Members
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, members
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2586 #[cfg(not(feature = "Win32_System_Com"))]
2588 #[cfg(feature = "Win32_System_Com")]
2589 pub SetMembers
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, members
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2590 #[cfg(not(feature = "Win32_System_Com"))]
2592 #[cfg(feature = "Win32_System_Com")]
2593 pub NonMembers
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, nonmembers
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2594 #[cfg(not(feature = "Win32_System_Com"))]
2596 #[cfg(feature = "Win32_System_Com")]
2597 pub SetNonMembers
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, nonmembers
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2598 #[cfg(not(feature = "Win32_System_Com"))]
2599 SetNonMembers
: usize,
2601 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
2602 #[cfg(feature = "Win32_System_Com")]
2603 #[repr(transparent)]
2604 pub struct IFsrmFileGroupImported(::windows
::core
::IUnknown
);
2605 #[cfg(feature = "Win32_System_Com")]
2606 impl IFsrmFileGroupImported
{
2607 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
2608 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
2609 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2611 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
2612 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
2613 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2615 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
2617 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2619 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
2621 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
2622 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
2624 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
2625 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
2627 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
2628 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
2629 (::windows
::core
::Interface
::vtable(self).base__
.Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2631 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
2633 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2635 (::windows
::core
::Interface
::vtable(self).base__
.SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
2637 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2638 #[cfg(feature = "Win32_System_Com")]
2639 pub unsafe fn Members(&self) -> ::windows
::core
::Result
<IFsrmMutableCollection
> {
2640 let mut result__
= ::windows
::core
::zeroed
::<IFsrmMutableCollection
>();
2641 (::windows
::core
::Interface
::vtable(self).base__
.Members
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2643 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2644 #[cfg(feature = "Win32_System_Com")]
2645 pub unsafe fn SetMembers
<P0
>(&self, members
: P0
) -> ::windows
::core
::Result
<()>
2647 P0
: ::windows
::core
::IntoParam
<IFsrmMutableCollection
>,
2649 (::windows
::core
::Interface
::vtable(self).base__
.SetMembers
)(::windows
::core
::Interface
::as_raw(self), members
.into_param().abi()).ok()
2651 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2652 #[cfg(feature = "Win32_System_Com")]
2653 pub unsafe fn NonMembers(&self) -> ::windows
::core
::Result
<IFsrmMutableCollection
> {
2654 let mut result__
= ::windows
::core
::zeroed
::<IFsrmMutableCollection
>();
2655 (::windows
::core
::Interface
::vtable(self).base__
.NonMembers
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2657 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2658 #[cfg(feature = "Win32_System_Com")]
2659 pub unsafe fn SetNonMembers
<P0
>(&self, nonmembers
: P0
) -> ::windows
::core
::Result
<()>
2661 P0
: ::windows
::core
::IntoParam
<IFsrmMutableCollection
>,
2663 (::windows
::core
::Interface
::vtable(self).base__
.SetNonMembers
)(::windows
::core
::Interface
::as_raw(self), nonmembers
.into_param().abi()).ok()
2665 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
2666 #[cfg(feature = "Win32_Foundation")]
2667 pub unsafe fn OverwriteOnCommit(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
2668 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
2669 (::windows
::core
::Interface
::vtable(self).OverwriteOnCommit
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2671 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
2672 #[cfg(feature = "Win32_Foundation")]
2673 pub unsafe fn SetOverwriteOnCommit
<P0
>(&self, overwrite
: P0
) -> ::windows
::core
::Result
<()>
2675 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
2677 (::windows
::core
::Interface
::vtable(self).SetOverwriteOnCommit
)(::windows
::core
::Interface
::as_raw(self), overwrite
.into_param().abi()).ok()
2680 #[cfg(feature = "Win32_System_Com")]
2681 ::windows
::imp
::interface_hierarchy
!(IFsrmFileGroupImported
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
, IFsrmFileGroup
);
2682 #[cfg(feature = "Win32_System_Com")]
2683 impl ::core
::cmp
::PartialEq
for IFsrmFileGroupImported
{
2684 fn eq(&self, other
: &Self) -> bool
{
2688 #[cfg(feature = "Win32_System_Com")]
2689 impl ::core
::cmp
::Eq
for IFsrmFileGroupImported {}
2690 #[cfg(feature = "Win32_System_Com")]
2691 impl ::core
::fmt
::Debug
for IFsrmFileGroupImported
{
2692 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2693 f
.debug_tuple("IFsrmFileGroupImported").field(&self.0).finish()
2696 #[cfg(feature = "Win32_System_Com")]
2697 unsafe impl ::windows
::core
::Interface
for IFsrmFileGroupImported
{
2698 type Vtable
= IFsrmFileGroupImported_Vtbl
;
2700 #[cfg(feature = "Win32_System_Com")]
2701 impl ::core
::clone
::Clone
for IFsrmFileGroupImported
{
2702 fn clone(&self) -> Self {
2703 Self(self.0.clone())
2706 #[cfg(feature = "Win32_System_Com")]
2707 unsafe impl ::windows
::core
::ComInterface
for IFsrmFileGroupImported
{
2708 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xad55f10b_5f11_4be7_94ef_d9ee2e470ded);
2710 #[cfg(feature = "Win32_System_Com")]
2713 pub struct IFsrmFileGroupImported_Vtbl
{
2714 pub base__
: IFsrmFileGroup_Vtbl
,
2715 #[cfg(feature = "Win32_Foundation")]
2716 pub OverwriteOnCommit
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, overwrite
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
2717 #[cfg(not(feature = "Win32_Foundation"))]
2718 OverwriteOnCommit
: usize,
2719 #[cfg(feature = "Win32_Foundation")]
2720 pub SetOverwriteOnCommit
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, overwrite
: super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
2721 #[cfg(not(feature = "Win32_Foundation"))]
2722 SetOverwriteOnCommit
: usize,
2724 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
2725 #[cfg(feature = "Win32_System_Com")]
2726 #[repr(transparent)]
2727 pub struct IFsrmFileGroupManager(::windows
::core
::IUnknown
);
2728 #[cfg(feature = "Win32_System_Com")]
2729 impl IFsrmFileGroupManager
{
2730 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2731 #[cfg(feature = "Win32_System_Com")]
2732 pub unsafe fn CreateFileGroup(&self) -> ::windows
::core
::Result
<IFsrmFileGroup
> {
2733 let mut result__
= ::windows
::core
::zeroed
::<IFsrmFileGroup
>();
2734 (::windows
::core
::Interface
::vtable(self).CreateFileGroup
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2736 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2737 #[cfg(feature = "Win32_System_Com")]
2738 pub unsafe fn GetFileGroup
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<IFsrmFileGroup
>
2740 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2742 let mut result__
= ::windows
::core
::zeroed
::<IFsrmFileGroup
>();
2743 (::windows
::core
::Interface
::vtable(self).GetFileGroup
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi(), &mut result__
).from_abi(result__
)
2745 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2746 #[cfg(feature = "Win32_System_Com")]
2747 pub unsafe fn EnumFileGroups(&self, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
> {
2748 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
2749 (::windows
::core
::Interface
::vtable(self).EnumFileGroups
)(::windows
::core
::Interface
::as_raw(self), options
, &mut result__
).from_abi(result__
)
2751 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
2752 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2753 pub unsafe fn ExportFileGroups(&self, filegroupnamesarray
: *const super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
2754 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
2755 (::windows
::core
::Interface
::vtable(self).ExportFileGroups
)(::windows
::core
::Interface
::as_raw(self), filegroupnamesarray
, &mut result__
).from_abi(result__
)
2757 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
2758 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2759 pub unsafe fn ImportFileGroups
<P0
>(&self, serializedfilegroups
: P0
, filegroupnamesarray
: *const super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
>
2761 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2763 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
2764 (::windows
::core
::Interface
::vtable(self).ImportFileGroups
)(::windows
::core
::Interface
::as_raw(self), serializedfilegroups
.into_param().abi(), filegroupnamesarray
, &mut result__
).from_abi(result__
)
2767 #[cfg(feature = "Win32_System_Com")]
2768 ::windows
::imp
::interface_hierarchy
!(IFsrmFileGroupManager
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
2769 #[cfg(feature = "Win32_System_Com")]
2770 impl ::core
::cmp
::PartialEq
for IFsrmFileGroupManager
{
2771 fn eq(&self, other
: &Self) -> bool
{
2775 #[cfg(feature = "Win32_System_Com")]
2776 impl ::core
::cmp
::Eq
for IFsrmFileGroupManager {}
2777 #[cfg(feature = "Win32_System_Com")]
2778 impl ::core
::fmt
::Debug
for IFsrmFileGroupManager
{
2779 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
2780 f
.debug_tuple("IFsrmFileGroupManager").field(&self.0).finish()
2783 #[cfg(feature = "Win32_System_Com")]
2784 unsafe impl ::windows
::core
::Interface
for IFsrmFileGroupManager
{
2785 type Vtable
= IFsrmFileGroupManager_Vtbl
;
2787 #[cfg(feature = "Win32_System_Com")]
2788 impl ::core
::clone
::Clone
for IFsrmFileGroupManager
{
2789 fn clone(&self) -> Self {
2790 Self(self.0.clone())
2793 #[cfg(feature = "Win32_System_Com")]
2794 unsafe impl ::windows
::core
::ComInterface
for IFsrmFileGroupManager
{
2795 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x426677d5_018c_485c_8a51_20b86d00bdc4);
2797 #[cfg(feature = "Win32_System_Com")]
2800 pub struct IFsrmFileGroupManager_Vtbl
{
2801 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
2802 #[cfg(feature = "Win32_System_Com")]
2803 pub CreateFileGroup
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filegroup
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2804 #[cfg(not(feature = "Win32_System_Com"))]
2805 CreateFileGroup
: usize,
2806 #[cfg(feature = "Win32_System_Com")]
2807 pub GetFileGroup
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, filegroup
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2808 #[cfg(not(feature = "Win32_System_Com"))]
2809 GetFileGroup
: usize,
2810 #[cfg(feature = "Win32_System_Com")]
2811 pub EnumFileGroups
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, options
: FsrmEnumOptions
, filegroups
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2812 #[cfg(not(feature = "Win32_System_Com"))]
2813 EnumFileGroups
: usize,
2814 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2815 pub ExportFileGroups
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filegroupnamesarray
: *const super::super::System
::Com
::VARIANT
, serializedfilegroups
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
2816 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
2817 ExportFileGroups
: usize,
2818 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
2819 pub ImportFileGroups
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, serializedfilegroups
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, filegroupnamesarray
: *const super::super::System
::Com
::VARIANT
, filegroups
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
2820 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
2821 ImportFileGroups
: usize,
2823 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
2824 #[cfg(feature = "Win32_System_Com")]
2825 #[repr(transparent)]
2826 pub struct IFsrmFileManagementJob(::windows
::core
::IUnknown
);
2827 #[cfg(feature = "Win32_System_Com")]
2828 impl IFsrmFileManagementJob
{
2829 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
2830 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
2831 (::windows
::core
::Interface
::vtable(self).base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2833 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
2834 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
2835 (::windows
::core
::Interface
::vtable(self).base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2837 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
2839 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2841 (::windows
::core
::Interface
::vtable(self).base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
2843 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
2844 (::windows
::core
::Interface
::vtable(self).base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
2846 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
2847 (::windows
::core
::Interface
::vtable(self).base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
2849 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
2850 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
2851 (::windows
::core
::Interface
::vtable(self).Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2853 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
2855 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2857 (::windows
::core
::Interface
::vtable(self).SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
2859 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2860 #[cfg(feature = "Win32_System_Com")]
2861 pub unsafe fn NamespaceRoots(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
2862 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
2863 (::windows
::core
::Interface
::vtable(self).NamespaceRoots
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2865 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2866 #[cfg(feature = "Win32_System_Com")]
2867 pub unsafe fn SetNamespaceRoots(&self, namespaceroots
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
2868 (::windows
::core
::Interface
::vtable(self).SetNamespaceRoots
)(::windows
::core
::Interface
::as_raw(self), namespaceroots
).ok()
2870 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
2871 #[cfg(feature = "Win32_Foundation")]
2872 pub unsafe fn Enabled(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
2873 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
2874 (::windows
::core
::Interface
::vtable(self).Enabled
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2876 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
2877 #[cfg(feature = "Win32_Foundation")]
2878 pub unsafe fn SetEnabled
<P0
>(&self, enabled
: P0
) -> ::windows
::core
::Result
<()>
2880 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
2882 (::windows
::core
::Interface
::vtable(self).SetEnabled
)(::windows
::core
::Interface
::as_raw(self), enabled
.into_param().abi()).ok()
2884 pub unsafe fn OperationType(&self) -> ::windows
::core
::Result
<FsrmFileManagementType
> {
2885 let mut result__
= ::windows
::core
::zeroed
::<FsrmFileManagementType
>();
2886 (::windows
::core
::Interface
::vtable(self).OperationType
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2888 pub unsafe fn SetOperationType(&self, operationtype
: FsrmFileManagementType
) -> ::windows
::core
::Result
<()> {
2889 (::windows
::core
::Interface
::vtable(self).SetOperationType
)(::windows
::core
::Interface
::as_raw(self), operationtype
).ok()
2891 pub unsafe fn ExpirationDirectory(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
2892 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
2893 (::windows
::core
::Interface
::vtable(self).ExpirationDirectory
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2895 pub unsafe fn SetExpirationDirectory
<P0
>(&self, expirationdirectory
: P0
) -> ::windows
::core
::Result
<()>
2897 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2899 (::windows
::core
::Interface
::vtable(self).SetExpirationDirectory
)(::windows
::core
::Interface
::as_raw(self), expirationdirectory
.into_param().abi()).ok()
2901 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2902 #[cfg(feature = "Win32_System_Com")]
2903 pub unsafe fn CustomAction(&self) -> ::windows
::core
::Result
<IFsrmActionCommand
> {
2904 let mut result__
= ::windows
::core
::zeroed
::<IFsrmActionCommand
>();
2905 (::windows
::core
::Interface
::vtable(self).CustomAction
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2907 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2908 #[cfg(feature = "Win32_System_Com")]
2909 pub unsafe fn Notifications(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
2910 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
2911 (::windows
::core
::Interface
::vtable(self).Notifications
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2913 pub unsafe fn Logging(&self) -> ::windows
::core
::Result
<i32> {
2914 let mut result__
= ::windows
::core
::zeroed
::<i32>();
2915 (::windows
::core
::Interface
::vtable(self).Logging
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2917 pub unsafe fn SetLogging(&self, loggingflags
: i32) -> ::windows
::core
::Result
<()> {
2918 (::windows
::core
::Interface
::vtable(self).SetLogging
)(::windows
::core
::Interface
::as_raw(self), loggingflags
).ok()
2920 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
2921 #[cfg(feature = "Win32_Foundation")]
2922 pub unsafe fn ReportEnabled(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
2923 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
2924 (::windows
::core
::Interface
::vtable(self).ReportEnabled
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2926 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
2927 #[cfg(feature = "Win32_Foundation")]
2928 pub unsafe fn SetReportEnabled
<P0
>(&self, reportenabled
: P0
) -> ::windows
::core
::Result
<()>
2930 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
2932 (::windows
::core
::Interface
::vtable(self).SetReportEnabled
)(::windows
::core
::Interface
::as_raw(self), reportenabled
.into_param().abi()).ok()
2934 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2935 #[cfg(feature = "Win32_System_Com")]
2936 pub unsafe fn Formats(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
2937 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
2938 (::windows
::core
::Interface
::vtable(self).Formats
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2940 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2941 #[cfg(feature = "Win32_System_Com")]
2942 pub unsafe fn SetFormats(&self, formats
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
2943 (::windows
::core
::Interface
::vtable(self).SetFormats
)(::windows
::core
::Interface
::as_raw(self), formats
).ok()
2945 pub unsafe fn MailTo(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
2946 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
2947 (::windows
::core
::Interface
::vtable(self).MailTo
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2949 pub unsafe fn SetMailTo
<P0
>(&self, mailto
: P0
) -> ::windows
::core
::Result
<()>
2951 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2953 (::windows
::core
::Interface
::vtable(self).SetMailTo
)(::windows
::core
::Interface
::as_raw(self), mailto
.into_param().abi()).ok()
2955 pub unsafe fn DaysSinceFileCreated(&self) -> ::windows
::core
::Result
<i32> {
2956 let mut result__
= ::windows
::core
::zeroed
::<i32>();
2957 (::windows
::core
::Interface
::vtable(self).DaysSinceFileCreated
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2959 pub unsafe fn SetDaysSinceFileCreated(&self, dayssincecreation
: i32) -> ::windows
::core
::Result
<()> {
2960 (::windows
::core
::Interface
::vtable(self).SetDaysSinceFileCreated
)(::windows
::core
::Interface
::as_raw(self), dayssincecreation
).ok()
2962 pub unsafe fn DaysSinceFileLastAccessed(&self) -> ::windows
::core
::Result
<i32> {
2963 let mut result__
= ::windows
::core
::zeroed
::<i32>();
2964 (::windows
::core
::Interface
::vtable(self).DaysSinceFileLastAccessed
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2966 pub unsafe fn SetDaysSinceFileLastAccessed(&self, dayssinceaccess
: i32) -> ::windows
::core
::Result
<()> {
2967 (::windows
::core
::Interface
::vtable(self).SetDaysSinceFileLastAccessed
)(::windows
::core
::Interface
::as_raw(self), dayssinceaccess
).ok()
2969 pub unsafe fn DaysSinceFileLastModified(&self) -> ::windows
::core
::Result
<i32> {
2970 let mut result__
= ::windows
::core
::zeroed
::<i32>();
2971 (::windows
::core
::Interface
::vtable(self).DaysSinceFileLastModified
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2973 pub unsafe fn SetDaysSinceFileLastModified(&self, dayssincemodify
: i32) -> ::windows
::core
::Result
<()> {
2974 (::windows
::core
::Interface
::vtable(self).SetDaysSinceFileLastModified
)(::windows
::core
::Interface
::as_raw(self), dayssincemodify
).ok()
2976 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
2977 #[cfg(feature = "Win32_System_Com")]
2978 pub unsafe fn PropertyConditions(&self) -> ::windows
::core
::Result
<IFsrmCollection
> {
2979 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
2980 (::windows
::core
::Interface
::vtable(self).PropertyConditions
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2982 pub unsafe fn FromDate(&self) -> ::windows
::core
::Result
<f64> {
2983 let mut result__
= ::windows
::core
::zeroed
::<f64>();
2984 (::windows
::core
::Interface
::vtable(self).FromDate
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2986 pub unsafe fn SetFromDate(&self, fromdate
: f64) -> ::windows
::core
::Result
<()> {
2987 (::windows
::core
::Interface
::vtable(self).SetFromDate
)(::windows
::core
::Interface
::as_raw(self), fromdate
).ok()
2989 pub unsafe fn Task(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
2990 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
2991 (::windows
::core
::Interface
::vtable(self).Task
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
2993 pub unsafe fn SetTask
<P0
>(&self, taskname
: P0
) -> ::windows
::core
::Result
<()>
2995 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
2997 (::windows
::core
::Interface
::vtable(self).SetTask
)(::windows
::core
::Interface
::as_raw(self), taskname
.into_param().abi()).ok()
2999 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3000 #[cfg(feature = "Win32_System_Com")]
3001 pub unsafe fn Parameters(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
3002 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
3003 (::windows
::core
::Interface
::vtable(self).Parameters
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3005 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3006 #[cfg(feature = "Win32_System_Com")]
3007 pub unsafe fn SetParameters(&self, parameters
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
3008 (::windows
::core
::Interface
::vtable(self).SetParameters
)(::windows
::core
::Interface
::as_raw(self), parameters
).ok()
3010 pub unsafe fn RunningStatus(&self) -> ::windows
::core
::Result
<FsrmReportRunningStatus
> {
3011 let mut result__
= ::windows
::core
::zeroed
::<FsrmReportRunningStatus
>();
3012 (::windows
::core
::Interface
::vtable(self).RunningStatus
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3014 pub unsafe fn LastError(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
3015 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
3016 (::windows
::core
::Interface
::vtable(self).LastError
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3018 pub unsafe fn LastReportPathWithoutExtension(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
3019 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
3020 (::windows
::core
::Interface
::vtable(self).LastReportPathWithoutExtension
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3022 pub unsafe fn LastRun(&self) -> ::windows
::core
::Result
<f64> {
3023 let mut result__
= ::windows
::core
::zeroed
::<f64>();
3024 (::windows
::core
::Interface
::vtable(self).LastRun
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3026 pub unsafe fn FileNamePattern(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
3027 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
3028 (::windows
::core
::Interface
::vtable(self).FileNamePattern
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3030 pub unsafe fn SetFileNamePattern
<P0
>(&self, filenamepattern
: P0
) -> ::windows
::core
::Result
<()>
3032 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3034 (::windows
::core
::Interface
::vtable(self).SetFileNamePattern
)(::windows
::core
::Interface
::as_raw(self), filenamepattern
.into_param().abi()).ok()
3036 pub unsafe fn Run(&self, context
: FsrmReportGenerationContext
) -> ::windows
::core
::Result
<()> {
3037 (::windows
::core
::Interface
::vtable(self).Run
)(::windows
::core
::Interface
::as_raw(self), context
).ok()
3039 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
3040 #[cfg(feature = "Win32_Foundation")]
3041 pub unsafe fn WaitForCompletion(&self, waitseconds
: i32) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
3042 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
3043 (::windows
::core
::Interface
::vtable(self).WaitForCompletion
)(::windows
::core
::Interface
::as_raw(self), waitseconds
, &mut result__
).from_abi(result__
)
3045 pub unsafe fn Cancel(&self) -> ::windows
::core
::Result
<()> {
3046 (::windows
::core
::Interface
::vtable(self).Cancel
)(::windows
::core
::Interface
::as_raw(self)).ok()
3048 pub unsafe fn AddNotification(&self, days
: i32) -> ::windows
::core
::Result
<()> {
3049 (::windows
::core
::Interface
::vtable(self).AddNotification
)(::windows
::core
::Interface
::as_raw(self), days
).ok()
3051 pub unsafe fn DeleteNotification(&self, days
: i32) -> ::windows
::core
::Result
<()> {
3052 (::windows
::core
::Interface
::vtable(self).DeleteNotification
)(::windows
::core
::Interface
::as_raw(self), days
).ok()
3054 pub unsafe fn ModifyNotification(&self, days
: i32, newdays
: i32) -> ::windows
::core
::Result
<()> {
3055 (::windows
::core
::Interface
::vtable(self).ModifyNotification
)(::windows
::core
::Interface
::as_raw(self), days
, newdays
).ok()
3057 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3058 #[cfg(feature = "Win32_System_Com")]
3059 pub unsafe fn CreateNotificationAction(&self, days
: i32, actiontype
: FsrmActionType
) -> ::windows
::core
::Result
<IFsrmAction
> {
3060 let mut result__
= ::windows
::core
::zeroed
::<IFsrmAction
>();
3061 (::windows
::core
::Interface
::vtable(self).CreateNotificationAction
)(::windows
::core
::Interface
::as_raw(self), days
, actiontype
, &mut result__
).from_abi(result__
)
3063 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3064 #[cfg(feature = "Win32_System_Com")]
3065 pub unsafe fn EnumNotificationActions(&self, days
: i32) -> ::windows
::core
::Result
<IFsrmCollection
> {
3066 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
3067 (::windows
::core
::Interface
::vtable(self).EnumNotificationActions
)(::windows
::core
::Interface
::as_raw(self), days
, &mut result__
).from_abi(result__
)
3069 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3070 #[cfg(feature = "Win32_System_Com")]
3071 pub unsafe fn CreatePropertyCondition
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<IFsrmPropertyCondition
>
3073 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3075 let mut result__
= ::windows
::core
::zeroed
::<IFsrmPropertyCondition
>();
3076 (::windows
::core
::Interface
::vtable(self).CreatePropertyCondition
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi(), &mut result__
).from_abi(result__
)
3078 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3079 #[cfg(feature = "Win32_System_Com")]
3080 pub unsafe fn CreateCustomAction(&self) -> ::windows
::core
::Result
<IFsrmActionCommand
> {
3081 let mut result__
= ::windows
::core
::zeroed
::<IFsrmActionCommand
>();
3082 (::windows
::core
::Interface
::vtable(self).CreateCustomAction
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3085 #[cfg(feature = "Win32_System_Com")]
3086 ::windows
::imp
::interface_hierarchy
!(IFsrmFileManagementJob
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
);
3087 #[cfg(feature = "Win32_System_Com")]
3088 impl ::core
::cmp
::PartialEq
for IFsrmFileManagementJob
{
3089 fn eq(&self, other
: &Self) -> bool
{
3093 #[cfg(feature = "Win32_System_Com")]
3094 impl ::core
::cmp
::Eq
for IFsrmFileManagementJob {}
3095 #[cfg(feature = "Win32_System_Com")]
3096 impl ::core
::fmt
::Debug
for IFsrmFileManagementJob
{
3097 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3098 f
.debug_tuple("IFsrmFileManagementJob").field(&self.0).finish()
3101 #[cfg(feature = "Win32_System_Com")]
3102 unsafe impl ::windows
::core
::Interface
for IFsrmFileManagementJob
{
3103 type Vtable
= IFsrmFileManagementJob_Vtbl
;
3105 #[cfg(feature = "Win32_System_Com")]
3106 impl ::core
::clone
::Clone
for IFsrmFileManagementJob
{
3107 fn clone(&self) -> Self {
3108 Self(self.0.clone())
3111 #[cfg(feature = "Win32_System_Com")]
3112 unsafe impl ::windows
::core
::ComInterface
for IFsrmFileManagementJob
{
3113 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x0770687e_9f36_4d6f_8778_599d188461c9);
3115 #[cfg(feature = "Win32_System_Com")]
3118 pub struct IFsrmFileManagementJob_Vtbl
{
3119 pub base__
: IFsrmObject_Vtbl
,
3120 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3121 pub SetName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3122 #[cfg(feature = "Win32_System_Com")]
3123 pub NamespaceRoots
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, namespaceroots
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
3124 #[cfg(not(feature = "Win32_System_Com"))]
3125 NamespaceRoots
: usize,
3126 #[cfg(feature = "Win32_System_Com")]
3127 pub SetNamespaceRoots
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, namespaceroots
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
3128 #[cfg(not(feature = "Win32_System_Com"))]
3129 SetNamespaceRoots
: usize,
3130 #[cfg(feature = "Win32_Foundation")]
3131 pub Enabled
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, enabled
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
3132 #[cfg(not(feature = "Win32_Foundation"))]
3134 #[cfg(feature = "Win32_Foundation")]
3135 pub SetEnabled
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, enabled
: super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
3136 #[cfg(not(feature = "Win32_Foundation"))]
3138 pub OperationType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, operationtype
: *mut FsrmFileManagementType
) -> ::windows
::core
::HRESULT
,
3139 pub SetOperationType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, operationtype
: FsrmFileManagementType
) -> ::windows
::core
::HRESULT
,
3140 pub ExpirationDirectory
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, expirationdirectory
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3141 pub SetExpirationDirectory
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, expirationdirectory
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3142 #[cfg(feature = "Win32_System_Com")]
3143 pub CustomAction
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, action
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3144 #[cfg(not(feature = "Win32_System_Com"))]
3145 CustomAction
: usize,
3146 #[cfg(feature = "Win32_System_Com")]
3147 pub Notifications
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, notifications
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
3148 #[cfg(not(feature = "Win32_System_Com"))]
3149 Notifications
: usize,
3150 pub Logging
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, loggingflags
: *mut i32) -> ::windows
::core
::HRESULT
,
3151 pub SetLogging
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, loggingflags
: i32) -> ::windows
::core
::HRESULT
,
3152 #[cfg(feature = "Win32_Foundation")]
3153 pub ReportEnabled
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reportenabled
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
3154 #[cfg(not(feature = "Win32_Foundation"))]
3155 ReportEnabled
: usize,
3156 #[cfg(feature = "Win32_Foundation")]
3157 pub SetReportEnabled
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reportenabled
: super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
3158 #[cfg(not(feature = "Win32_Foundation"))]
3159 SetReportEnabled
: usize,
3160 #[cfg(feature = "Win32_System_Com")]
3161 pub Formats
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, formats
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
3162 #[cfg(not(feature = "Win32_System_Com"))]
3164 #[cfg(feature = "Win32_System_Com")]
3165 pub SetFormats
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, formats
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
3166 #[cfg(not(feature = "Win32_System_Com"))]
3168 pub MailTo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailto
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3169 pub SetMailTo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailto
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3170 pub DaysSinceFileCreated
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, dayssincecreation
: *mut i32) -> ::windows
::core
::HRESULT
,
3171 pub SetDaysSinceFileCreated
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, dayssincecreation
: i32) -> ::windows
::core
::HRESULT
,
3172 pub DaysSinceFileLastAccessed
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, dayssinceaccess
: *mut i32) -> ::windows
::core
::HRESULT
,
3173 pub SetDaysSinceFileLastAccessed
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, dayssinceaccess
: i32) -> ::windows
::core
::HRESULT
,
3174 pub DaysSinceFileLastModified
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, dayssincemodify
: *mut i32) -> ::windows
::core
::HRESULT
,
3175 pub SetDaysSinceFileLastModified
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, dayssincemodify
: i32) -> ::windows
::core
::HRESULT
,
3176 #[cfg(feature = "Win32_System_Com")]
3177 pub PropertyConditions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, propertyconditions
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3178 #[cfg(not(feature = "Win32_System_Com"))]
3179 PropertyConditions
: usize,
3180 pub FromDate
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, fromdate
: *mut f64) -> ::windows
::core
::HRESULT
,
3181 pub SetFromDate
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, fromdate
: f64) -> ::windows
::core
::HRESULT
,
3182 pub Task
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, taskname
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3183 pub SetTask
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, taskname
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3184 #[cfg(feature = "Win32_System_Com")]
3185 pub Parameters
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, parameters
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
3186 #[cfg(not(feature = "Win32_System_Com"))]
3188 #[cfg(feature = "Win32_System_Com")]
3189 pub SetParameters
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, parameters
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
3190 #[cfg(not(feature = "Win32_System_Com"))]
3191 SetParameters
: usize,
3192 pub RunningStatus
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, runningstatus
: *mut FsrmReportRunningStatus
) -> ::windows
::core
::HRESULT
,
3193 pub LastError
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, lasterror
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3194 pub LastReportPathWithoutExtension
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3195 pub LastRun
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, lastrun
: *mut f64) -> ::windows
::core
::HRESULT
,
3196 pub FileNamePattern
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filenamepattern
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3197 pub SetFileNamePattern
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filenamepattern
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3198 pub Run
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, context
: FsrmReportGenerationContext
) -> ::windows
::core
::HRESULT
,
3199 #[cfg(feature = "Win32_Foundation")]
3200 pub WaitForCompletion
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, waitseconds
: i32, completed
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
3201 #[cfg(not(feature = "Win32_Foundation"))]
3202 WaitForCompletion
: usize,
3203 pub Cancel
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3204 pub AddNotification
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, days
: i32) -> ::windows
::core
::HRESULT
,
3205 pub DeleteNotification
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, days
: i32) -> ::windows
::core
::HRESULT
,
3206 pub ModifyNotification
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, days
: i32, newdays
: i32) -> ::windows
::core
::HRESULT
,
3207 #[cfg(feature = "Win32_System_Com")]
3208 pub CreateNotificationAction
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, days
: i32, actiontype
: FsrmActionType
, action
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3209 #[cfg(not(feature = "Win32_System_Com"))]
3210 CreateNotificationAction
: usize,
3211 #[cfg(feature = "Win32_System_Com")]
3212 pub EnumNotificationActions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, days
: i32, actions
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3213 #[cfg(not(feature = "Win32_System_Com"))]
3214 EnumNotificationActions
: usize,
3215 #[cfg(feature = "Win32_System_Com")]
3216 pub CreatePropertyCondition
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, propertycondition
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3217 #[cfg(not(feature = "Win32_System_Com"))]
3218 CreatePropertyCondition
: usize,
3219 #[cfg(feature = "Win32_System_Com")]
3220 pub CreateCustomAction
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, customaction
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3221 #[cfg(not(feature = "Win32_System_Com"))]
3222 CreateCustomAction
: usize,
3224 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
3225 #[cfg(feature = "Win32_System_Com")]
3226 #[repr(transparent)]
3227 pub struct IFsrmFileManagementJobManager(::windows
::core
::IUnknown
);
3228 #[cfg(feature = "Win32_System_Com")]
3229 impl IFsrmFileManagementJobManager
{
3230 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3231 #[cfg(feature = "Win32_System_Com")]
3232 pub unsafe fn ActionVariables(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
3233 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
3234 (::windows
::core
::Interface
::vtable(self).ActionVariables
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3236 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3237 #[cfg(feature = "Win32_System_Com")]
3238 pub unsafe fn ActionVariableDescriptions(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
3239 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
3240 (::windows
::core
::Interface
::vtable(self).ActionVariableDescriptions
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3242 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3243 #[cfg(feature = "Win32_System_Com")]
3244 pub unsafe fn EnumFileManagementJobs(&self, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCollection
> {
3245 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
3246 (::windows
::core
::Interface
::vtable(self).EnumFileManagementJobs
)(::windows
::core
::Interface
::as_raw(self), options
, &mut result__
).from_abi(result__
)
3248 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3249 #[cfg(feature = "Win32_System_Com")]
3250 pub unsafe fn CreateFileManagementJob(&self) -> ::windows
::core
::Result
<IFsrmFileManagementJob
> {
3251 let mut result__
= ::windows
::core
::zeroed
::<IFsrmFileManagementJob
>();
3252 (::windows
::core
::Interface
::vtable(self).CreateFileManagementJob
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3254 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3255 #[cfg(feature = "Win32_System_Com")]
3256 pub unsafe fn GetFileManagementJob
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<IFsrmFileManagementJob
>
3258 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3260 let mut result__
= ::windows
::core
::zeroed
::<IFsrmFileManagementJob
>();
3261 (::windows
::core
::Interface
::vtable(self).GetFileManagementJob
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi(), &mut result__
).from_abi(result__
)
3264 #[cfg(feature = "Win32_System_Com")]
3265 ::windows
::imp
::interface_hierarchy
!(IFsrmFileManagementJobManager
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
3266 #[cfg(feature = "Win32_System_Com")]
3267 impl ::core
::cmp
::PartialEq
for IFsrmFileManagementJobManager
{
3268 fn eq(&self, other
: &Self) -> bool
{
3272 #[cfg(feature = "Win32_System_Com")]
3273 impl ::core
::cmp
::Eq
for IFsrmFileManagementJobManager {}
3274 #[cfg(feature = "Win32_System_Com")]
3275 impl ::core
::fmt
::Debug
for IFsrmFileManagementJobManager
{
3276 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3277 f
.debug_tuple("IFsrmFileManagementJobManager").field(&self.0).finish()
3280 #[cfg(feature = "Win32_System_Com")]
3281 unsafe impl ::windows
::core
::Interface
for IFsrmFileManagementJobManager
{
3282 type Vtable
= IFsrmFileManagementJobManager_Vtbl
;
3284 #[cfg(feature = "Win32_System_Com")]
3285 impl ::core
::clone
::Clone
for IFsrmFileManagementJobManager
{
3286 fn clone(&self) -> Self {
3287 Self(self.0.clone())
3290 #[cfg(feature = "Win32_System_Com")]
3291 unsafe impl ::windows
::core
::ComInterface
for IFsrmFileManagementJobManager
{
3292 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xee321ecb_d95e_48e9_907c_c7685a013235);
3294 #[cfg(feature = "Win32_System_Com")]
3297 pub struct IFsrmFileManagementJobManager_Vtbl
{
3298 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
3299 #[cfg(feature = "Win32_System_Com")]
3300 pub ActionVariables
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, variables
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
3301 #[cfg(not(feature = "Win32_System_Com"))]
3302 ActionVariables
: usize,
3303 #[cfg(feature = "Win32_System_Com")]
3304 pub ActionVariableDescriptions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, descriptions
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
3305 #[cfg(not(feature = "Win32_System_Com"))]
3306 ActionVariableDescriptions
: usize,
3307 #[cfg(feature = "Win32_System_Com")]
3308 pub EnumFileManagementJobs
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, options
: FsrmEnumOptions
, filemanagementjobs
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3309 #[cfg(not(feature = "Win32_System_Com"))]
3310 EnumFileManagementJobs
: usize,
3311 #[cfg(feature = "Win32_System_Com")]
3312 pub CreateFileManagementJob
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filemanagementjob
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3313 #[cfg(not(feature = "Win32_System_Com"))]
3314 CreateFileManagementJob
: usize,
3315 #[cfg(feature = "Win32_System_Com")]
3316 pub GetFileManagementJob
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, filemanagementjob
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3317 #[cfg(not(feature = "Win32_System_Com"))]
3318 GetFileManagementJob
: usize,
3320 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
3321 #[cfg(feature = "Win32_System_Com")]
3322 #[repr(transparent)]
3323 pub struct IFsrmFileScreen(::windows
::core
::IUnknown
);
3324 #[cfg(feature = "Win32_System_Com")]
3325 impl IFsrmFileScreen
{
3326 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
3327 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
3328 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3330 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
3331 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
3332 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3334 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
3336 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3338 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
3340 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
3341 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
3343 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
3344 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
3346 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3347 #[cfg(feature = "Win32_System_Com")]
3348 pub unsafe fn BlockedFileGroups(&self) -> ::windows
::core
::Result
<IFsrmMutableCollection
> {
3349 let mut result__
= ::windows
::core
::zeroed
::<IFsrmMutableCollection
>();
3350 (::windows
::core
::Interface
::vtable(self).base__
.BlockedFileGroups
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3352 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3353 #[cfg(feature = "Win32_System_Com")]
3354 pub unsafe fn SetBlockedFileGroups
<P0
>(&self, blocklist
: P0
) -> ::windows
::core
::Result
<()>
3356 P0
: ::windows
::core
::IntoParam
<IFsrmMutableCollection
>,
3358 (::windows
::core
::Interface
::vtable(self).base__
.SetBlockedFileGroups
)(::windows
::core
::Interface
::as_raw(self), blocklist
.into_param().abi()).ok()
3360 pub unsafe fn FileScreenFlags(&self) -> ::windows
::core
::Result
<i32> {
3361 let mut result__
= ::windows
::core
::zeroed
::<i32>();
3362 (::windows
::core
::Interface
::vtable(self).base__
.FileScreenFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3364 pub unsafe fn SetFileScreenFlags(&self, filescreenflags
: i32) -> ::windows
::core
::Result
<()> {
3365 (::windows
::core
::Interface
::vtable(self).base__
.SetFileScreenFlags
)(::windows
::core
::Interface
::as_raw(self), filescreenflags
).ok()
3367 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3368 #[cfg(feature = "Win32_System_Com")]
3369 pub unsafe fn CreateAction(&self, actiontype
: FsrmActionType
) -> ::windows
::core
::Result
<IFsrmAction
> {
3370 let mut result__
= ::windows
::core
::zeroed
::<IFsrmAction
>();
3371 (::windows
::core
::Interface
::vtable(self).base__
.CreateAction
)(::windows
::core
::Interface
::as_raw(self), actiontype
, &mut result__
).from_abi(result__
)
3373 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3374 #[cfg(feature = "Win32_System_Com")]
3375 pub unsafe fn EnumActions(&self) -> ::windows
::core
::Result
<IFsrmCollection
> {
3376 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
3377 (::windows
::core
::Interface
::vtable(self).base__
.EnumActions
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3379 pub unsafe fn Path(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
3380 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
3381 (::windows
::core
::Interface
::vtable(self).Path
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3383 pub unsafe fn SourceTemplateName(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
3384 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
3385 (::windows
::core
::Interface
::vtable(self).SourceTemplateName
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3387 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
3388 #[cfg(feature = "Win32_Foundation")]
3389 pub unsafe fn MatchesSourceTemplate(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
3390 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
3391 (::windows
::core
::Interface
::vtable(self).MatchesSourceTemplate
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3393 pub unsafe fn UserSid(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
3394 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
3395 (::windows
::core
::Interface
::vtable(self).UserSid
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3397 pub unsafe fn UserAccount(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
3398 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
3399 (::windows
::core
::Interface
::vtable(self).UserAccount
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3401 pub unsafe fn ApplyTemplate
<P0
>(&self, filescreentemplatename
: P0
) -> ::windows
::core
::Result
<()>
3403 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3405 (::windows
::core
::Interface
::vtable(self).ApplyTemplate
)(::windows
::core
::Interface
::as_raw(self), filescreentemplatename
.into_param().abi()).ok()
3408 #[cfg(feature = "Win32_System_Com")]
3409 ::windows
::imp
::interface_hierarchy
!(IFsrmFileScreen
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
, IFsrmFileScreenBase
);
3410 #[cfg(feature = "Win32_System_Com")]
3411 impl ::core
::cmp
::PartialEq
for IFsrmFileScreen
{
3412 fn eq(&self, other
: &Self) -> bool
{
3416 #[cfg(feature = "Win32_System_Com")]
3417 impl ::core
::cmp
::Eq
for IFsrmFileScreen {}
3418 #[cfg(feature = "Win32_System_Com")]
3419 impl ::core
::fmt
::Debug
for IFsrmFileScreen
{
3420 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3421 f
.debug_tuple("IFsrmFileScreen").field(&self.0).finish()
3424 #[cfg(feature = "Win32_System_Com")]
3425 unsafe impl ::windows
::core
::Interface
for IFsrmFileScreen
{
3426 type Vtable
= IFsrmFileScreen_Vtbl
;
3428 #[cfg(feature = "Win32_System_Com")]
3429 impl ::core
::clone
::Clone
for IFsrmFileScreen
{
3430 fn clone(&self) -> Self {
3431 Self(self.0.clone())
3434 #[cfg(feature = "Win32_System_Com")]
3435 unsafe impl ::windows
::core
::ComInterface
for IFsrmFileScreen
{
3436 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x5f6325d3_ce88_4733_84c1_2d6aefc5ea07);
3438 #[cfg(feature = "Win32_System_Com")]
3441 pub struct IFsrmFileScreen_Vtbl
{
3442 pub base__
: IFsrmFileScreenBase_Vtbl
,
3443 pub Path
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3444 pub SourceTemplateName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filescreentemplatename
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3445 #[cfg(feature = "Win32_Foundation")]
3446 pub MatchesSourceTemplate
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, matches
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
3447 #[cfg(not(feature = "Win32_Foundation"))]
3448 MatchesSourceTemplate
: usize,
3449 pub UserSid
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, usersid
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3450 pub UserAccount
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, useraccount
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3451 pub ApplyTemplate
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filescreentemplatename
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3453 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
3454 #[cfg(feature = "Win32_System_Com")]
3455 #[repr(transparent)]
3456 pub struct IFsrmFileScreenBase(::windows
::core
::IUnknown
);
3457 #[cfg(feature = "Win32_System_Com")]
3458 impl IFsrmFileScreenBase
{
3459 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
3460 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
3461 (::windows
::core
::Interface
::vtable(self).base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3463 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
3464 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
3465 (::windows
::core
::Interface
::vtable(self).base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3467 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
3469 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3471 (::windows
::core
::Interface
::vtable(self).base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
3473 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
3474 (::windows
::core
::Interface
::vtable(self).base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
3476 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
3477 (::windows
::core
::Interface
::vtable(self).base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
3479 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3480 #[cfg(feature = "Win32_System_Com")]
3481 pub unsafe fn BlockedFileGroups(&self) -> ::windows
::core
::Result
<IFsrmMutableCollection
> {
3482 let mut result__
= ::windows
::core
::zeroed
::<IFsrmMutableCollection
>();
3483 (::windows
::core
::Interface
::vtable(self).BlockedFileGroups
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3485 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3486 #[cfg(feature = "Win32_System_Com")]
3487 pub unsafe fn SetBlockedFileGroups
<P0
>(&self, blocklist
: P0
) -> ::windows
::core
::Result
<()>
3489 P0
: ::windows
::core
::IntoParam
<IFsrmMutableCollection
>,
3491 (::windows
::core
::Interface
::vtable(self).SetBlockedFileGroups
)(::windows
::core
::Interface
::as_raw(self), blocklist
.into_param().abi()).ok()
3493 pub unsafe fn FileScreenFlags(&self) -> ::windows
::core
::Result
<i32> {
3494 let mut result__
= ::windows
::core
::zeroed
::<i32>();
3495 (::windows
::core
::Interface
::vtable(self).FileScreenFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3497 pub unsafe fn SetFileScreenFlags(&self, filescreenflags
: i32) -> ::windows
::core
::Result
<()> {
3498 (::windows
::core
::Interface
::vtable(self).SetFileScreenFlags
)(::windows
::core
::Interface
::as_raw(self), filescreenflags
).ok()
3500 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3501 #[cfg(feature = "Win32_System_Com")]
3502 pub unsafe fn CreateAction(&self, actiontype
: FsrmActionType
) -> ::windows
::core
::Result
<IFsrmAction
> {
3503 let mut result__
= ::windows
::core
::zeroed
::<IFsrmAction
>();
3504 (::windows
::core
::Interface
::vtable(self).CreateAction
)(::windows
::core
::Interface
::as_raw(self), actiontype
, &mut result__
).from_abi(result__
)
3506 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3507 #[cfg(feature = "Win32_System_Com")]
3508 pub unsafe fn EnumActions(&self) -> ::windows
::core
::Result
<IFsrmCollection
> {
3509 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
3510 (::windows
::core
::Interface
::vtable(self).EnumActions
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3513 #[cfg(feature = "Win32_System_Com")]
3514 ::windows
::imp
::interface_hierarchy
!(IFsrmFileScreenBase
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
);
3515 #[cfg(feature = "Win32_System_Com")]
3516 impl ::core
::cmp
::PartialEq
for IFsrmFileScreenBase
{
3517 fn eq(&self, other
: &Self) -> bool
{
3521 #[cfg(feature = "Win32_System_Com")]
3522 impl ::core
::cmp
::Eq
for IFsrmFileScreenBase {}
3523 #[cfg(feature = "Win32_System_Com")]
3524 impl ::core
::fmt
::Debug
for IFsrmFileScreenBase
{
3525 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3526 f
.debug_tuple("IFsrmFileScreenBase").field(&self.0).finish()
3529 #[cfg(feature = "Win32_System_Com")]
3530 unsafe impl ::windows
::core
::Interface
for IFsrmFileScreenBase
{
3531 type Vtable
= IFsrmFileScreenBase_Vtbl
;
3533 #[cfg(feature = "Win32_System_Com")]
3534 impl ::core
::clone
::Clone
for IFsrmFileScreenBase
{
3535 fn clone(&self) -> Self {
3536 Self(self.0.clone())
3539 #[cfg(feature = "Win32_System_Com")]
3540 unsafe impl ::windows
::core
::ComInterface
for IFsrmFileScreenBase
{
3541 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xf3637e80_5b22_4a2b_a637_bbb642b41cfc);
3543 #[cfg(feature = "Win32_System_Com")]
3546 pub struct IFsrmFileScreenBase_Vtbl
{
3547 pub base__
: IFsrmObject_Vtbl
,
3548 #[cfg(feature = "Win32_System_Com")]
3549 pub BlockedFileGroups
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, blocklist
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3550 #[cfg(not(feature = "Win32_System_Com"))]
3551 BlockedFileGroups
: usize,
3552 #[cfg(feature = "Win32_System_Com")]
3553 pub SetBlockedFileGroups
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, blocklist
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3554 #[cfg(not(feature = "Win32_System_Com"))]
3555 SetBlockedFileGroups
: usize,
3556 pub FileScreenFlags
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filescreenflags
: *mut i32) -> ::windows
::core
::HRESULT
,
3557 pub SetFileScreenFlags
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filescreenflags
: i32) -> ::windows
::core
::HRESULT
,
3558 #[cfg(feature = "Win32_System_Com")]
3559 pub CreateAction
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, actiontype
: FsrmActionType
, action
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3560 #[cfg(not(feature = "Win32_System_Com"))]
3561 CreateAction
: usize,
3562 #[cfg(feature = "Win32_System_Com")]
3563 pub EnumActions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, actions
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3564 #[cfg(not(feature = "Win32_System_Com"))]
3567 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
3568 #[cfg(feature = "Win32_System_Com")]
3569 #[repr(transparent)]
3570 pub struct IFsrmFileScreenException(::windows
::core
::IUnknown
);
3571 #[cfg(feature = "Win32_System_Com")]
3572 impl IFsrmFileScreenException
{
3573 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
3574 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
3575 (::windows
::core
::Interface
::vtable(self).base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3577 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
3578 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
3579 (::windows
::core
::Interface
::vtable(self).base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3581 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
3583 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3585 (::windows
::core
::Interface
::vtable(self).base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
3587 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
3588 (::windows
::core
::Interface
::vtable(self).base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
3590 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
3591 (::windows
::core
::Interface
::vtable(self).base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
3593 pub unsafe fn Path(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
3594 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
3595 (::windows
::core
::Interface
::vtable(self).Path
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3597 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3598 #[cfg(feature = "Win32_System_Com")]
3599 pub unsafe fn AllowedFileGroups(&self) -> ::windows
::core
::Result
<IFsrmMutableCollection
> {
3600 let mut result__
= ::windows
::core
::zeroed
::<IFsrmMutableCollection
>();
3601 (::windows
::core
::Interface
::vtable(self).AllowedFileGroups
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3603 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3604 #[cfg(feature = "Win32_System_Com")]
3605 pub unsafe fn SetAllowedFileGroups
<P0
>(&self, allowlist
: P0
) -> ::windows
::core
::Result
<()>
3607 P0
: ::windows
::core
::IntoParam
<IFsrmMutableCollection
>,
3609 (::windows
::core
::Interface
::vtable(self).SetAllowedFileGroups
)(::windows
::core
::Interface
::as_raw(self), allowlist
.into_param().abi()).ok()
3612 #[cfg(feature = "Win32_System_Com")]
3613 ::windows
::imp
::interface_hierarchy
!(IFsrmFileScreenException
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
);
3614 #[cfg(feature = "Win32_System_Com")]
3615 impl ::core
::cmp
::PartialEq
for IFsrmFileScreenException
{
3616 fn eq(&self, other
: &Self) -> bool
{
3620 #[cfg(feature = "Win32_System_Com")]
3621 impl ::core
::cmp
::Eq
for IFsrmFileScreenException {}
3622 #[cfg(feature = "Win32_System_Com")]
3623 impl ::core
::fmt
::Debug
for IFsrmFileScreenException
{
3624 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3625 f
.debug_tuple("IFsrmFileScreenException").field(&self.0).finish()
3628 #[cfg(feature = "Win32_System_Com")]
3629 unsafe impl ::windows
::core
::Interface
for IFsrmFileScreenException
{
3630 type Vtable
= IFsrmFileScreenException_Vtbl
;
3632 #[cfg(feature = "Win32_System_Com")]
3633 impl ::core
::clone
::Clone
for IFsrmFileScreenException
{
3634 fn clone(&self) -> Self {
3635 Self(self.0.clone())
3638 #[cfg(feature = "Win32_System_Com")]
3639 unsafe impl ::windows
::core
::ComInterface
for IFsrmFileScreenException
{
3640 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xbee7ce02_df77_4515_9389_78f01c5afc1a);
3642 #[cfg(feature = "Win32_System_Com")]
3645 pub struct IFsrmFileScreenException_Vtbl
{
3646 pub base__
: IFsrmObject_Vtbl
,
3647 pub Path
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3648 #[cfg(feature = "Win32_System_Com")]
3649 pub AllowedFileGroups
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, allowlist
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3650 #[cfg(not(feature = "Win32_System_Com"))]
3651 AllowedFileGroups
: usize,
3652 #[cfg(feature = "Win32_System_Com")]
3653 pub SetAllowedFileGroups
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, allowlist
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3654 #[cfg(not(feature = "Win32_System_Com"))]
3655 SetAllowedFileGroups
: usize,
3657 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
3658 #[cfg(feature = "Win32_System_Com")]
3659 #[repr(transparent)]
3660 pub struct IFsrmFileScreenManager(::windows
::core
::IUnknown
);
3661 #[cfg(feature = "Win32_System_Com")]
3662 impl IFsrmFileScreenManager
{
3663 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3664 #[cfg(feature = "Win32_System_Com")]
3665 pub unsafe fn ActionVariables(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
3666 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
3667 (::windows
::core
::Interface
::vtable(self).ActionVariables
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3669 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3670 #[cfg(feature = "Win32_System_Com")]
3671 pub unsafe fn ActionVariableDescriptions(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
3672 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
3673 (::windows
::core
::Interface
::vtable(self).ActionVariableDescriptions
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3675 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3676 #[cfg(feature = "Win32_System_Com")]
3677 pub unsafe fn CreateFileScreen
<P0
>(&self, path
: P0
) -> ::windows
::core
::Result
<IFsrmFileScreen
>
3679 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3681 let mut result__
= ::windows
::core
::zeroed
::<IFsrmFileScreen
>();
3682 (::windows
::core
::Interface
::vtable(self).CreateFileScreen
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), &mut result__
).from_abi(result__
)
3684 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3685 #[cfg(feature = "Win32_System_Com")]
3686 pub unsafe fn GetFileScreen
<P0
>(&self, path
: P0
) -> ::windows
::core
::Result
<IFsrmFileScreen
>
3688 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3690 let mut result__
= ::windows
::core
::zeroed
::<IFsrmFileScreen
>();
3691 (::windows
::core
::Interface
::vtable(self).GetFileScreen
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), &mut result__
).from_abi(result__
)
3693 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3694 #[cfg(feature = "Win32_System_Com")]
3695 pub unsafe fn EnumFileScreens
<P0
>(&self, path
: P0
, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
>
3697 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3699 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
3700 (::windows
::core
::Interface
::vtable(self).EnumFileScreens
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), options
, &mut result__
).from_abi(result__
)
3702 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3703 #[cfg(feature = "Win32_System_Com")]
3704 pub unsafe fn CreateFileScreenException
<P0
>(&self, path
: P0
) -> ::windows
::core
::Result
<IFsrmFileScreenException
>
3706 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3708 let mut result__
= ::windows
::core
::zeroed
::<IFsrmFileScreenException
>();
3709 (::windows
::core
::Interface
::vtable(self).CreateFileScreenException
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), &mut result__
).from_abi(result__
)
3711 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3712 #[cfg(feature = "Win32_System_Com")]
3713 pub unsafe fn GetFileScreenException
<P0
>(&self, path
: P0
) -> ::windows
::core
::Result
<IFsrmFileScreenException
>
3715 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3717 let mut result__
= ::windows
::core
::zeroed
::<IFsrmFileScreenException
>();
3718 (::windows
::core
::Interface
::vtable(self).GetFileScreenException
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), &mut result__
).from_abi(result__
)
3720 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3721 #[cfg(feature = "Win32_System_Com")]
3722 pub unsafe fn EnumFileScreenExceptions
<P0
>(&self, path
: P0
, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
>
3724 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3726 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
3727 (::windows
::core
::Interface
::vtable(self).EnumFileScreenExceptions
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), options
, &mut result__
).from_abi(result__
)
3729 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3730 #[cfg(feature = "Win32_System_Com")]
3731 pub unsafe fn CreateFileScreenCollection(&self) -> ::windows
::core
::Result
<IFsrmCommittableCollection
> {
3732 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
3733 (::windows
::core
::Interface
::vtable(self).CreateFileScreenCollection
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3736 #[cfg(feature = "Win32_System_Com")]
3737 ::windows
::imp
::interface_hierarchy
!(IFsrmFileScreenManager
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
3738 #[cfg(feature = "Win32_System_Com")]
3739 impl ::core
::cmp
::PartialEq
for IFsrmFileScreenManager
{
3740 fn eq(&self, other
: &Self) -> bool
{
3744 #[cfg(feature = "Win32_System_Com")]
3745 impl ::core
::cmp
::Eq
for IFsrmFileScreenManager {}
3746 #[cfg(feature = "Win32_System_Com")]
3747 impl ::core
::fmt
::Debug
for IFsrmFileScreenManager
{
3748 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3749 f
.debug_tuple("IFsrmFileScreenManager").field(&self.0).finish()
3752 #[cfg(feature = "Win32_System_Com")]
3753 unsafe impl ::windows
::core
::Interface
for IFsrmFileScreenManager
{
3754 type Vtable
= IFsrmFileScreenManager_Vtbl
;
3756 #[cfg(feature = "Win32_System_Com")]
3757 impl ::core
::clone
::Clone
for IFsrmFileScreenManager
{
3758 fn clone(&self) -> Self {
3759 Self(self.0.clone())
3762 #[cfg(feature = "Win32_System_Com")]
3763 unsafe impl ::windows
::core
::ComInterface
for IFsrmFileScreenManager
{
3764 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xff4fa04e_5a94_4bda_a3a0_d5b4d3c52eba);
3766 #[cfg(feature = "Win32_System_Com")]
3769 pub struct IFsrmFileScreenManager_Vtbl
{
3770 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
3771 #[cfg(feature = "Win32_System_Com")]
3772 pub ActionVariables
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, variables
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
3773 #[cfg(not(feature = "Win32_System_Com"))]
3774 ActionVariables
: usize,
3775 #[cfg(feature = "Win32_System_Com")]
3776 pub ActionVariableDescriptions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, descriptions
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
3777 #[cfg(not(feature = "Win32_System_Com"))]
3778 ActionVariableDescriptions
: usize,
3779 #[cfg(feature = "Win32_System_Com")]
3780 pub CreateFileScreen
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, filescreen
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3781 #[cfg(not(feature = "Win32_System_Com"))]
3782 CreateFileScreen
: usize,
3783 #[cfg(feature = "Win32_System_Com")]
3784 pub GetFileScreen
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, filescreen
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3785 #[cfg(not(feature = "Win32_System_Com"))]
3786 GetFileScreen
: usize,
3787 #[cfg(feature = "Win32_System_Com")]
3788 pub EnumFileScreens
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, options
: FsrmEnumOptions
, filescreens
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3789 #[cfg(not(feature = "Win32_System_Com"))]
3790 EnumFileScreens
: usize,
3791 #[cfg(feature = "Win32_System_Com")]
3792 pub CreateFileScreenException
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, filescreenexception
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3793 #[cfg(not(feature = "Win32_System_Com"))]
3794 CreateFileScreenException
: usize,
3795 #[cfg(feature = "Win32_System_Com")]
3796 pub GetFileScreenException
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, filescreenexception
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3797 #[cfg(not(feature = "Win32_System_Com"))]
3798 GetFileScreenException
: usize,
3799 #[cfg(feature = "Win32_System_Com")]
3800 pub EnumFileScreenExceptions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, options
: FsrmEnumOptions
, filescreenexceptions
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3801 #[cfg(not(feature = "Win32_System_Com"))]
3802 EnumFileScreenExceptions
: usize,
3803 #[cfg(feature = "Win32_System_Com")]
3804 pub CreateFileScreenCollection
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, collection
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3805 #[cfg(not(feature = "Win32_System_Com"))]
3806 CreateFileScreenCollection
: usize,
3808 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
3809 #[cfg(feature = "Win32_System_Com")]
3810 #[repr(transparent)]
3811 pub struct IFsrmFileScreenTemplate(::windows
::core
::IUnknown
);
3812 #[cfg(feature = "Win32_System_Com")]
3813 impl IFsrmFileScreenTemplate
{
3814 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
3815 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
3816 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3818 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
3819 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
3820 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3822 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
3824 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3826 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
3828 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
3829 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
3831 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
3832 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
3834 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3835 #[cfg(feature = "Win32_System_Com")]
3836 pub unsafe fn BlockedFileGroups(&self) -> ::windows
::core
::Result
<IFsrmMutableCollection
> {
3837 let mut result__
= ::windows
::core
::zeroed
::<IFsrmMutableCollection
>();
3838 (::windows
::core
::Interface
::vtable(self).base__
.BlockedFileGroups
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3840 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3841 #[cfg(feature = "Win32_System_Com")]
3842 pub unsafe fn SetBlockedFileGroups
<P0
>(&self, blocklist
: P0
) -> ::windows
::core
::Result
<()>
3844 P0
: ::windows
::core
::IntoParam
<IFsrmMutableCollection
>,
3846 (::windows
::core
::Interface
::vtable(self).base__
.SetBlockedFileGroups
)(::windows
::core
::Interface
::as_raw(self), blocklist
.into_param().abi()).ok()
3848 pub unsafe fn FileScreenFlags(&self) -> ::windows
::core
::Result
<i32> {
3849 let mut result__
= ::windows
::core
::zeroed
::<i32>();
3850 (::windows
::core
::Interface
::vtable(self).base__
.FileScreenFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3852 pub unsafe fn SetFileScreenFlags(&self, filescreenflags
: i32) -> ::windows
::core
::Result
<()> {
3853 (::windows
::core
::Interface
::vtable(self).base__
.SetFileScreenFlags
)(::windows
::core
::Interface
::as_raw(self), filescreenflags
).ok()
3855 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3856 #[cfg(feature = "Win32_System_Com")]
3857 pub unsafe fn CreateAction(&self, actiontype
: FsrmActionType
) -> ::windows
::core
::Result
<IFsrmAction
> {
3858 let mut result__
= ::windows
::core
::zeroed
::<IFsrmAction
>();
3859 (::windows
::core
::Interface
::vtable(self).base__
.CreateAction
)(::windows
::core
::Interface
::as_raw(self), actiontype
, &mut result__
).from_abi(result__
)
3861 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3862 #[cfg(feature = "Win32_System_Com")]
3863 pub unsafe fn EnumActions(&self) -> ::windows
::core
::Result
<IFsrmCollection
> {
3864 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
3865 (::windows
::core
::Interface
::vtable(self).base__
.EnumActions
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3867 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
3868 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
3869 (::windows
::core
::Interface
::vtable(self).Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3871 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
3873 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3875 (::windows
::core
::Interface
::vtable(self).SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
3877 pub unsafe fn CopyTemplate
<P0
>(&self, filescreentemplatename
: P0
) -> ::windows
::core
::Result
<()>
3879 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3881 (::windows
::core
::Interface
::vtable(self).CopyTemplate
)(::windows
::core
::Interface
::as_raw(self), filescreentemplatename
.into_param().abi()).ok()
3883 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3884 #[cfg(feature = "Win32_System_Com")]
3885 pub unsafe fn CommitAndUpdateDerived(&self, commitoptions
: FsrmCommitOptions
, applyoptions
: FsrmTemplateApplyOptions
) -> ::windows
::core
::Result
<IFsrmDerivedObjectsResult
> {
3886 let mut result__
= ::windows
::core
::zeroed
::<IFsrmDerivedObjectsResult
>();
3887 (::windows
::core
::Interface
::vtable(self).CommitAndUpdateDerived
)(::windows
::core
::Interface
::as_raw(self), commitoptions
, applyoptions
, &mut result__
).from_abi(result__
)
3890 #[cfg(feature = "Win32_System_Com")]
3891 ::windows
::imp
::interface_hierarchy
!(IFsrmFileScreenTemplate
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
, IFsrmFileScreenBase
);
3892 #[cfg(feature = "Win32_System_Com")]
3893 impl ::core
::cmp
::PartialEq
for IFsrmFileScreenTemplate
{
3894 fn eq(&self, other
: &Self) -> bool
{
3898 #[cfg(feature = "Win32_System_Com")]
3899 impl ::core
::cmp
::Eq
for IFsrmFileScreenTemplate {}
3900 #[cfg(feature = "Win32_System_Com")]
3901 impl ::core
::fmt
::Debug
for IFsrmFileScreenTemplate
{
3902 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
3903 f
.debug_tuple("IFsrmFileScreenTemplate").field(&self.0).finish()
3906 #[cfg(feature = "Win32_System_Com")]
3907 unsafe impl ::windows
::core
::Interface
for IFsrmFileScreenTemplate
{
3908 type Vtable
= IFsrmFileScreenTemplate_Vtbl
;
3910 #[cfg(feature = "Win32_System_Com")]
3911 impl ::core
::clone
::Clone
for IFsrmFileScreenTemplate
{
3912 fn clone(&self) -> Self {
3913 Self(self.0.clone())
3916 #[cfg(feature = "Win32_System_Com")]
3917 unsafe impl ::windows
::core
::ComInterface
for IFsrmFileScreenTemplate
{
3918 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x205bebf8_dd93_452a_95a6_32b566b35828);
3920 #[cfg(feature = "Win32_System_Com")]
3923 pub struct IFsrmFileScreenTemplate_Vtbl
{
3924 pub base__
: IFsrmFileScreenBase_Vtbl
,
3925 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3926 pub SetName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3927 pub CopyTemplate
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filescreentemplatename
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
3928 #[cfg(feature = "Win32_System_Com")]
3929 pub CommitAndUpdateDerived
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, commitoptions
: FsrmCommitOptions
, applyoptions
: FsrmTemplateApplyOptions
, derivedobjectsresult
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
3930 #[cfg(not(feature = "Win32_System_Com"))]
3931 CommitAndUpdateDerived
: usize,
3933 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
3934 #[cfg(feature = "Win32_System_Com")]
3935 #[repr(transparent)]
3936 pub struct IFsrmFileScreenTemplateImported(::windows
::core
::IUnknown
);
3937 #[cfg(feature = "Win32_System_Com")]
3938 impl IFsrmFileScreenTemplateImported
{
3939 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
3940 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
3941 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3943 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
3944 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
3945 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3947 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
3949 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
3951 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
3953 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
3954 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
3956 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
3957 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
3959 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3960 #[cfg(feature = "Win32_System_Com")]
3961 pub unsafe fn BlockedFileGroups(&self) -> ::windows
::core
::Result
<IFsrmMutableCollection
> {
3962 let mut result__
= ::windows
::core
::zeroed
::<IFsrmMutableCollection
>();
3963 (::windows
::core
::Interface
::vtable(self).base__
.base__
.BlockedFileGroups
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3965 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3966 #[cfg(feature = "Win32_System_Com")]
3967 pub unsafe fn SetBlockedFileGroups
<P0
>(&self, blocklist
: P0
) -> ::windows
::core
::Result
<()>
3969 P0
: ::windows
::core
::IntoParam
<IFsrmMutableCollection
>,
3971 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetBlockedFileGroups
)(::windows
::core
::Interface
::as_raw(self), blocklist
.into_param().abi()).ok()
3973 pub unsafe fn FileScreenFlags(&self) -> ::windows
::core
::Result
<i32> {
3974 let mut result__
= ::windows
::core
::zeroed
::<i32>();
3975 (::windows
::core
::Interface
::vtable(self).base__
.base__
.FileScreenFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3977 pub unsafe fn SetFileScreenFlags(&self, filescreenflags
: i32) -> ::windows
::core
::Result
<()> {
3978 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetFileScreenFlags
)(::windows
::core
::Interface
::as_raw(self), filescreenflags
).ok()
3980 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3981 #[cfg(feature = "Win32_System_Com")]
3982 pub unsafe fn CreateAction(&self, actiontype
: FsrmActionType
) -> ::windows
::core
::Result
<IFsrmAction
> {
3983 let mut result__
= ::windows
::core
::zeroed
::<IFsrmAction
>();
3984 (::windows
::core
::Interface
::vtable(self).base__
.base__
.CreateAction
)(::windows
::core
::Interface
::as_raw(self), actiontype
, &mut result__
).from_abi(result__
)
3986 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
3987 #[cfg(feature = "Win32_System_Com")]
3988 pub unsafe fn EnumActions(&self) -> ::windows
::core
::Result
<IFsrmCollection
> {
3989 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
3990 (::windows
::core
::Interface
::vtable(self).base__
.base__
.EnumActions
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3992 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
3993 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
3994 (::windows
::core
::Interface
::vtable(self).base__
.Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
3996 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
3998 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
4000 (::windows
::core
::Interface
::vtable(self).base__
.SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
4002 pub unsafe fn CopyTemplate
<P0
>(&self, filescreentemplatename
: P0
) -> ::windows
::core
::Result
<()>
4004 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
4006 (::windows
::core
::Interface
::vtable(self).base__
.CopyTemplate
)(::windows
::core
::Interface
::as_raw(self), filescreentemplatename
.into_param().abi()).ok()
4008 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4009 #[cfg(feature = "Win32_System_Com")]
4010 pub unsafe fn CommitAndUpdateDerived(&self, commitoptions
: FsrmCommitOptions
, applyoptions
: FsrmTemplateApplyOptions
) -> ::windows
::core
::Result
<IFsrmDerivedObjectsResult
> {
4011 let mut result__
= ::windows
::core
::zeroed
::<IFsrmDerivedObjectsResult
>();
4012 (::windows
::core
::Interface
::vtable(self).base__
.CommitAndUpdateDerived
)(::windows
::core
::Interface
::as_raw(self), commitoptions
, applyoptions
, &mut result__
).from_abi(result__
)
4014 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
4015 #[cfg(feature = "Win32_Foundation")]
4016 pub unsafe fn OverwriteOnCommit(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
4017 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
4018 (::windows
::core
::Interface
::vtable(self).OverwriteOnCommit
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4020 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
4021 #[cfg(feature = "Win32_Foundation")]
4022 pub unsafe fn SetOverwriteOnCommit
<P0
>(&self, overwrite
: P0
) -> ::windows
::core
::Result
<()>
4024 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
4026 (::windows
::core
::Interface
::vtable(self).SetOverwriteOnCommit
)(::windows
::core
::Interface
::as_raw(self), overwrite
.into_param().abi()).ok()
4029 #[cfg(feature = "Win32_System_Com")]
4030 ::windows
::imp
::interface_hierarchy
!(IFsrmFileScreenTemplateImported
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
, IFsrmFileScreenBase
, IFsrmFileScreenTemplate
);
4031 #[cfg(feature = "Win32_System_Com")]
4032 impl ::core
::cmp
::PartialEq
for IFsrmFileScreenTemplateImported
{
4033 fn eq(&self, other
: &Self) -> bool
{
4037 #[cfg(feature = "Win32_System_Com")]
4038 impl ::core
::cmp
::Eq
for IFsrmFileScreenTemplateImported {}
4039 #[cfg(feature = "Win32_System_Com")]
4040 impl ::core
::fmt
::Debug
for IFsrmFileScreenTemplateImported
{
4041 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4042 f
.debug_tuple("IFsrmFileScreenTemplateImported").field(&self.0).finish()
4045 #[cfg(feature = "Win32_System_Com")]
4046 unsafe impl ::windows
::core
::Interface
for IFsrmFileScreenTemplateImported
{
4047 type Vtable
= IFsrmFileScreenTemplateImported_Vtbl
;
4049 #[cfg(feature = "Win32_System_Com")]
4050 impl ::core
::clone
::Clone
for IFsrmFileScreenTemplateImported
{
4051 fn clone(&self) -> Self {
4052 Self(self.0.clone())
4055 #[cfg(feature = "Win32_System_Com")]
4056 unsafe impl ::windows
::core
::ComInterface
for IFsrmFileScreenTemplateImported
{
4057 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xe1010359_3e5d_4ecd_9fe4_ef48622fdf30);
4059 #[cfg(feature = "Win32_System_Com")]
4062 pub struct IFsrmFileScreenTemplateImported_Vtbl
{
4063 pub base__
: IFsrmFileScreenTemplate_Vtbl
,
4064 #[cfg(feature = "Win32_Foundation")]
4065 pub OverwriteOnCommit
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, overwrite
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
4066 #[cfg(not(feature = "Win32_Foundation"))]
4067 OverwriteOnCommit
: usize,
4068 #[cfg(feature = "Win32_Foundation")]
4069 pub SetOverwriteOnCommit
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, overwrite
: super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
4070 #[cfg(not(feature = "Win32_Foundation"))]
4071 SetOverwriteOnCommit
: usize,
4073 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
4074 #[cfg(feature = "Win32_System_Com")]
4075 #[repr(transparent)]
4076 pub struct IFsrmFileScreenTemplateManager(::windows
::core
::IUnknown
);
4077 #[cfg(feature = "Win32_System_Com")]
4078 impl IFsrmFileScreenTemplateManager
{
4079 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4080 #[cfg(feature = "Win32_System_Com")]
4081 pub unsafe fn CreateTemplate(&self) -> ::windows
::core
::Result
<IFsrmFileScreenTemplate
> {
4082 let mut result__
= ::windows
::core
::zeroed
::<IFsrmFileScreenTemplate
>();
4083 (::windows
::core
::Interface
::vtable(self).CreateTemplate
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4085 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4086 #[cfg(feature = "Win32_System_Com")]
4087 pub unsafe fn GetTemplate
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<IFsrmFileScreenTemplate
>
4089 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
4091 let mut result__
= ::windows
::core
::zeroed
::<IFsrmFileScreenTemplate
>();
4092 (::windows
::core
::Interface
::vtable(self).GetTemplate
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi(), &mut result__
).from_abi(result__
)
4094 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4095 #[cfg(feature = "Win32_System_Com")]
4096 pub unsafe fn EnumTemplates(&self, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
> {
4097 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
4098 (::windows
::core
::Interface
::vtable(self).EnumTemplates
)(::windows
::core
::Interface
::as_raw(self), options
, &mut result__
).from_abi(result__
)
4100 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
4101 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4102 pub unsafe fn ExportTemplates(&self, filescreentemplatenamesarray
: *const super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4103 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4104 (::windows
::core
::Interface
::vtable(self).ExportTemplates
)(::windows
::core
::Interface
::as_raw(self), filescreentemplatenamesarray
, &mut result__
).from_abi(result__
)
4106 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
4107 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4108 pub unsafe fn ImportTemplates
<P0
>(&self, serializedfilescreentemplates
: P0
, filescreentemplatenamesarray
: *const super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
>
4110 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
4112 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
4113 (::windows
::core
::Interface
::vtable(self).ImportTemplates
)(::windows
::core
::Interface
::as_raw(self), serializedfilescreentemplates
.into_param().abi(), filescreentemplatenamesarray
, &mut result__
).from_abi(result__
)
4116 #[cfg(feature = "Win32_System_Com")]
4117 ::windows
::imp
::interface_hierarchy
!(IFsrmFileScreenTemplateManager
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
4118 #[cfg(feature = "Win32_System_Com")]
4119 impl ::core
::cmp
::PartialEq
for IFsrmFileScreenTemplateManager
{
4120 fn eq(&self, other
: &Self) -> bool
{
4124 #[cfg(feature = "Win32_System_Com")]
4125 impl ::core
::cmp
::Eq
for IFsrmFileScreenTemplateManager {}
4126 #[cfg(feature = "Win32_System_Com")]
4127 impl ::core
::fmt
::Debug
for IFsrmFileScreenTemplateManager
{
4128 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4129 f
.debug_tuple("IFsrmFileScreenTemplateManager").field(&self.0).finish()
4132 #[cfg(feature = "Win32_System_Com")]
4133 unsafe impl ::windows
::core
::Interface
for IFsrmFileScreenTemplateManager
{
4134 type Vtable
= IFsrmFileScreenTemplateManager_Vtbl
;
4136 #[cfg(feature = "Win32_System_Com")]
4137 impl ::core
::clone
::Clone
for IFsrmFileScreenTemplateManager
{
4138 fn clone(&self) -> Self {
4139 Self(self.0.clone())
4142 #[cfg(feature = "Win32_System_Com")]
4143 unsafe impl ::windows
::core
::ComInterface
for IFsrmFileScreenTemplateManager
{
4144 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xcfe36cba_1949_4e74_a14f_f1d580ceaf13);
4146 #[cfg(feature = "Win32_System_Com")]
4149 pub struct IFsrmFileScreenTemplateManager_Vtbl
{
4150 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
4151 #[cfg(feature = "Win32_System_Com")]
4152 pub CreateTemplate
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filescreentemplate
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4153 #[cfg(not(feature = "Win32_System_Com"))]
4154 CreateTemplate
: usize,
4155 #[cfg(feature = "Win32_System_Com")]
4156 pub GetTemplate
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, filescreentemplate
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4157 #[cfg(not(feature = "Win32_System_Com"))]
4159 #[cfg(feature = "Win32_System_Com")]
4160 pub EnumTemplates
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, options
: FsrmEnumOptions
, filescreentemplates
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4161 #[cfg(not(feature = "Win32_System_Com"))]
4162 EnumTemplates
: usize,
4163 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4164 pub ExportTemplates
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filescreentemplatenamesarray
: *const super::super::System
::Com
::VARIANT
, serializedfilescreentemplates
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4165 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
4166 ExportTemplates
: usize,
4167 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4168 pub ImportTemplates
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, serializedfilescreentemplates
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, filescreentemplatenamesarray
: *const super::super::System
::Com
::VARIANT
, filescreentemplates
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4169 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
4170 ImportTemplates
: usize,
4172 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
4173 #[cfg(feature = "Win32_System_Com")]
4174 #[repr(transparent)]
4175 pub struct IFsrmMutableCollection(::windows
::core
::IUnknown
);
4176 #[cfg(feature = "Win32_System_Com")]
4177 impl IFsrmMutableCollection
{
4178 pub unsafe fn _NewEnum(&self) -> ::windows
::core
::Result
<::windows
::core
::IUnknown
> {
4179 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::IUnknown
>();
4180 (::windows
::core
::Interface
::vtable(self).base__
._NewEnum
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4182 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
4183 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4184 pub unsafe fn get_Item(&self, index
: i32) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
4185 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
4186 (::windows
::core
::Interface
::vtable(self).base__
.get_Item
)(::windows
::core
::Interface
::as_raw(self), index
, &mut result__
).from_abi(result__
)
4188 pub unsafe fn Count(&self) -> ::windows
::core
::Result
<i32> {
4189 let mut result__
= ::windows
::core
::zeroed
::<i32>();
4190 (::windows
::core
::Interface
::vtable(self).base__
.Count
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4192 pub unsafe fn State(&self) -> ::windows
::core
::Result
<FsrmCollectionState
> {
4193 let mut result__
= ::windows
::core
::zeroed
::<FsrmCollectionState
>();
4194 (::windows
::core
::Interface
::vtable(self).base__
.State
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4196 pub unsafe fn Cancel(&self) -> ::windows
::core
::Result
<()> {
4197 (::windows
::core
::Interface
::vtable(self).base__
.Cancel
)(::windows
::core
::Interface
::as_raw(self)).ok()
4199 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
4200 #[cfg(feature = "Win32_Foundation")]
4201 pub unsafe fn WaitForCompletion(&self, waitseconds
: i32) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
4202 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
4203 (::windows
::core
::Interface
::vtable(self).base__
.WaitForCompletion
)(::windows
::core
::Interface
::as_raw(self), waitseconds
, &mut result__
).from_abi(result__
)
4205 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
4206 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4207 pub unsafe fn GetById(&self, id
: ::windows
::core
::GUID
) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
4208 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
4209 (::windows
::core
::Interface
::vtable(self).base__
.GetById
)(::windows
::core
::Interface
::as_raw(self), ::core
::mem
::transmute(id
), &mut result__
).from_abi(result__
)
4211 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
4212 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4213 pub unsafe fn Add(&self, item
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<()> {
4214 (::windows
::core
::Interface
::vtable(self).Add
)(::windows
::core
::Interface
::as_raw(self), ::core
::mem
::transmute(item
)).ok()
4216 pub unsafe fn Remove(&self, index
: i32) -> ::windows
::core
::Result
<()> {
4217 (::windows
::core
::Interface
::vtable(self).Remove
)(::windows
::core
::Interface
::as_raw(self), index
).ok()
4219 pub unsafe fn RemoveById(&self, id
: ::windows
::core
::GUID
) -> ::windows
::core
::Result
<()> {
4220 (::windows
::core
::Interface
::vtable(self).RemoveById
)(::windows
::core
::Interface
::as_raw(self), ::core
::mem
::transmute(id
)).ok()
4222 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4223 #[cfg(feature = "Win32_System_Com")]
4224 pub unsafe fn Clone(&self) -> ::windows
::core
::Result
<IFsrmMutableCollection
> {
4225 let mut result__
= ::windows
::core
::zeroed
::<IFsrmMutableCollection
>();
4226 (::windows
::core
::Interface
::vtable(self).Clone
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4229 #[cfg(feature = "Win32_System_Com")]
4230 ::windows
::imp
::interface_hierarchy
!(IFsrmMutableCollection
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmCollection
);
4231 #[cfg(feature = "Win32_System_Com")]
4232 impl ::core
::cmp
::PartialEq
for IFsrmMutableCollection
{
4233 fn eq(&self, other
: &Self) -> bool
{
4237 #[cfg(feature = "Win32_System_Com")]
4238 impl ::core
::cmp
::Eq
for IFsrmMutableCollection {}
4239 #[cfg(feature = "Win32_System_Com")]
4240 impl ::core
::fmt
::Debug
for IFsrmMutableCollection
{
4241 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4242 f
.debug_tuple("IFsrmMutableCollection").field(&self.0).finish()
4245 #[cfg(feature = "Win32_System_Com")]
4246 unsafe impl ::windows
::core
::Interface
for IFsrmMutableCollection
{
4247 type Vtable
= IFsrmMutableCollection_Vtbl
;
4249 #[cfg(feature = "Win32_System_Com")]
4250 impl ::core
::clone
::Clone
for IFsrmMutableCollection
{
4251 fn clone(&self) -> Self {
4252 Self(self.0.clone())
4255 #[cfg(feature = "Win32_System_Com")]
4256 unsafe impl ::windows
::core
::ComInterface
for IFsrmMutableCollection
{
4257 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x1bb617b8_3886_49dc_af82_a6c90fa35dda);
4259 #[cfg(feature = "Win32_System_Com")]
4262 pub struct IFsrmMutableCollection_Vtbl
{
4263 pub base__
: IFsrmCollection_Vtbl
,
4264 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4265 pub Add
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, item
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
4266 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
4268 pub Remove
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, index
: i32) -> ::windows
::core
::HRESULT
,
4269 pub RemoveById
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, id
: ::windows
::core
::GUID
) -> ::windows
::core
::HRESULT
,
4270 #[cfg(feature = "Win32_System_Com")]
4271 pub Clone
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, collection
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4272 #[cfg(not(feature = "Win32_System_Com"))]
4275 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
4276 #[cfg(feature = "Win32_System_Com")]
4277 #[repr(transparent)]
4278 pub struct IFsrmObject(::windows
::core
::IUnknown
);
4279 #[cfg(feature = "Win32_System_Com")]
4281 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
4282 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
4283 (::windows
::core
::Interface
::vtable(self).Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4285 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4286 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4287 (::windows
::core
::Interface
::vtable(self).Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4289 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
4291 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
4293 (::windows
::core
::Interface
::vtable(self).SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
4295 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
4296 (::windows
::core
::Interface
::vtable(self).Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
4298 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
4299 (::windows
::core
::Interface
::vtable(self).Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
4302 #[cfg(feature = "Win32_System_Com")]
4303 ::windows
::imp
::interface_hierarchy
!(IFsrmObject
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
4304 #[cfg(feature = "Win32_System_Com")]
4305 impl ::core
::cmp
::PartialEq
for IFsrmObject
{
4306 fn eq(&self, other
: &Self) -> bool
{
4310 #[cfg(feature = "Win32_System_Com")]
4311 impl ::core
::cmp
::Eq
for IFsrmObject {}
4312 #[cfg(feature = "Win32_System_Com")]
4313 impl ::core
::fmt
::Debug
for IFsrmObject
{
4314 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4315 f
.debug_tuple("IFsrmObject").field(&self.0).finish()
4318 #[cfg(feature = "Win32_System_Com")]
4319 unsafe impl ::windows
::core
::Interface
for IFsrmObject
{
4320 type Vtable
= IFsrmObject_Vtbl
;
4322 #[cfg(feature = "Win32_System_Com")]
4323 impl ::core
::clone
::Clone
for IFsrmObject
{
4324 fn clone(&self) -> Self {
4325 Self(self.0.clone())
4328 #[cfg(feature = "Win32_System_Com")]
4329 unsafe impl ::windows
::core
::ComInterface
for IFsrmObject
{
4330 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x22bcef93_4a3f_4183_89f9_2f8b8a628aee);
4332 #[cfg(feature = "Win32_System_Com")]
4335 pub struct IFsrmObject_Vtbl
{
4336 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
4337 pub Id
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, id
: *mut ::windows
::core
::GUID
) -> ::windows
::core
::HRESULT
,
4338 pub Description
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, description
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4339 pub SetDescription
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, description
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4340 pub Delete
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4341 pub Commit
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4343 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
4344 #[cfg(feature = "Win32_System_Com")]
4345 #[repr(transparent)]
4346 pub struct IFsrmPathMapper(::windows
::core
::IUnknown
);
4347 #[cfg(feature = "Win32_System_Com")]
4348 impl IFsrmPathMapper
{
4349 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4350 #[cfg(feature = "Win32_System_Com")]
4351 pub unsafe fn GetSharePathsForLocalPath
<P0
>(&self, localpath
: P0
) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
>
4353 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
4355 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
4356 (::windows
::core
::Interface
::vtable(self).GetSharePathsForLocalPath
)(::windows
::core
::Interface
::as_raw(self), localpath
.into_param().abi(), &mut result__
).from_abi(result__
)
4359 #[cfg(feature = "Win32_System_Com")]
4360 ::windows
::imp
::interface_hierarchy
!(IFsrmPathMapper
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
4361 #[cfg(feature = "Win32_System_Com")]
4362 impl ::core
::cmp
::PartialEq
for IFsrmPathMapper
{
4363 fn eq(&self, other
: &Self) -> bool
{
4367 #[cfg(feature = "Win32_System_Com")]
4368 impl ::core
::cmp
::Eq
for IFsrmPathMapper {}
4369 #[cfg(feature = "Win32_System_Com")]
4370 impl ::core
::fmt
::Debug
for IFsrmPathMapper
{
4371 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4372 f
.debug_tuple("IFsrmPathMapper").field(&self.0).finish()
4375 #[cfg(feature = "Win32_System_Com")]
4376 unsafe impl ::windows
::core
::Interface
for IFsrmPathMapper
{
4377 type Vtable
= IFsrmPathMapper_Vtbl
;
4379 #[cfg(feature = "Win32_System_Com")]
4380 impl ::core
::clone
::Clone
for IFsrmPathMapper
{
4381 fn clone(&self) -> Self {
4382 Self(self.0.clone())
4385 #[cfg(feature = "Win32_System_Com")]
4386 unsafe impl ::windows
::core
::ComInterface
for IFsrmPathMapper
{
4387 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x6f4dbfff_6920_4821_a6c3_b7e94c1fd60c);
4389 #[cfg(feature = "Win32_System_Com")]
4392 pub struct IFsrmPathMapper_Vtbl
{
4393 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
4394 #[cfg(feature = "Win32_System_Com")]
4395 pub GetSharePathsForLocalPath
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, localpath
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, sharepaths
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
4396 #[cfg(not(feature = "Win32_System_Com"))]
4397 GetSharePathsForLocalPath
: usize,
4399 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
4400 #[cfg(feature = "Win32_System_Com")]
4401 #[repr(transparent)]
4402 pub struct IFsrmPipelineModuleConnector(::windows
::core
::IUnknown
);
4403 #[cfg(feature = "Win32_System_Com")]
4404 impl IFsrmPipelineModuleConnector
{
4405 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4406 #[cfg(feature = "Win32_System_Com")]
4407 pub unsafe fn ModuleImplementation(&self) -> ::windows
::core
::Result
<IFsrmPipelineModuleImplementation
> {
4408 let mut result__
= ::windows
::core
::zeroed
::<IFsrmPipelineModuleImplementation
>();
4409 (::windows
::core
::Interface
::vtable(self).ModuleImplementation
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4411 pub unsafe fn ModuleName(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4412 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4413 (::windows
::core
::Interface
::vtable(self).ModuleName
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4415 pub unsafe fn HostingUserAccount(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4416 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4417 (::windows
::core
::Interface
::vtable(self).HostingUserAccount
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4419 pub unsafe fn HostingProcessPid(&self) -> ::windows
::core
::Result
<i32> {
4420 let mut result__
= ::windows
::core
::zeroed
::<i32>();
4421 (::windows
::core
::Interface
::vtable(self).HostingProcessPid
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4423 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4424 #[cfg(feature = "Win32_System_Com")]
4425 pub unsafe fn Bind
<P0
, P1
>(&self, moduledefinition
: P0
, moduleimplementation
: P1
) -> ::windows
::core
::Result
<()>
4427 P0
: ::windows
::core
::IntoParam
<IFsrmPipelineModuleDefinition
>,
4428 P1
: ::windows
::core
::IntoParam
<IFsrmPipelineModuleImplementation
>,
4430 (::windows
::core
::Interface
::vtable(self).Bind
)(::windows
::core
::Interface
::as_raw(self), moduledefinition
.into_param().abi(), moduleimplementation
.into_param().abi()).ok()
4433 #[cfg(feature = "Win32_System_Com")]
4434 ::windows
::imp
::interface_hierarchy
!(IFsrmPipelineModuleConnector
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
4435 #[cfg(feature = "Win32_System_Com")]
4436 impl ::core
::cmp
::PartialEq
for IFsrmPipelineModuleConnector
{
4437 fn eq(&self, other
: &Self) -> bool
{
4441 #[cfg(feature = "Win32_System_Com")]
4442 impl ::core
::cmp
::Eq
for IFsrmPipelineModuleConnector {}
4443 #[cfg(feature = "Win32_System_Com")]
4444 impl ::core
::fmt
::Debug
for IFsrmPipelineModuleConnector
{
4445 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4446 f
.debug_tuple("IFsrmPipelineModuleConnector").field(&self.0).finish()
4449 #[cfg(feature = "Win32_System_Com")]
4450 unsafe impl ::windows
::core
::Interface
for IFsrmPipelineModuleConnector
{
4451 type Vtable
= IFsrmPipelineModuleConnector_Vtbl
;
4453 #[cfg(feature = "Win32_System_Com")]
4454 impl ::core
::clone
::Clone
for IFsrmPipelineModuleConnector
{
4455 fn clone(&self) -> Self {
4456 Self(self.0.clone())
4459 #[cfg(feature = "Win32_System_Com")]
4460 unsafe impl ::windows
::core
::ComInterface
for IFsrmPipelineModuleConnector
{
4461 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xc16014f3_9aa1_46b3_b0a7_ab146eb205f2);
4463 #[cfg(feature = "Win32_System_Com")]
4466 pub struct IFsrmPipelineModuleConnector_Vtbl
{
4467 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
4468 #[cfg(feature = "Win32_System_Com")]
4469 pub ModuleImplementation
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, pipelinemoduleimplementation
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4470 #[cfg(not(feature = "Win32_System_Com"))]
4471 ModuleImplementation
: usize,
4472 pub ModuleName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, username
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4473 pub HostingUserAccount
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, useraccount
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4474 pub HostingProcessPid
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, pid
: *mut i32) -> ::windows
::core
::HRESULT
,
4475 #[cfg(feature = "Win32_System_Com")]
4476 pub Bind
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, moduledefinition
: *mut ::core
::ffi
::c_void
, moduleimplementation
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4477 #[cfg(not(feature = "Win32_System_Com"))]
4480 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
4481 #[cfg(feature = "Win32_System_Com")]
4482 #[repr(transparent)]
4483 pub struct IFsrmPipelineModuleDefinition(::windows
::core
::IUnknown
);
4484 #[cfg(feature = "Win32_System_Com")]
4485 impl IFsrmPipelineModuleDefinition
{
4486 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
4487 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
4488 (::windows
::core
::Interface
::vtable(self).base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4490 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4491 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4492 (::windows
::core
::Interface
::vtable(self).base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4494 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
4496 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
4498 (::windows
::core
::Interface
::vtable(self).base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
4500 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
4501 (::windows
::core
::Interface
::vtable(self).base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
4503 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
4504 (::windows
::core
::Interface
::vtable(self).base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
4506 pub unsafe fn ModuleClsid(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4507 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4508 (::windows
::core
::Interface
::vtable(self).ModuleClsid
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4510 pub unsafe fn SetModuleClsid
<P0
>(&self, moduleclsid
: P0
) -> ::windows
::core
::Result
<()>
4512 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
4514 (::windows
::core
::Interface
::vtable(self).SetModuleClsid
)(::windows
::core
::Interface
::as_raw(self), moduleclsid
.into_param().abi()).ok()
4516 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4517 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4518 (::windows
::core
::Interface
::vtable(self).Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4520 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
4522 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
4524 (::windows
::core
::Interface
::vtable(self).SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
4526 pub unsafe fn Company(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4527 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4528 (::windows
::core
::Interface
::vtable(self).Company
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4530 pub unsafe fn SetCompany
<P0
>(&self, company
: P0
) -> ::windows
::core
::Result
<()>
4532 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
4534 (::windows
::core
::Interface
::vtable(self).SetCompany
)(::windows
::core
::Interface
::as_raw(self), company
.into_param().abi()).ok()
4536 pub unsafe fn Version(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4537 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4538 (::windows
::core
::Interface
::vtable(self).Version
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4540 pub unsafe fn SetVersion
<P0
>(&self, version
: P0
) -> ::windows
::core
::Result
<()>
4542 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
4544 (::windows
::core
::Interface
::vtable(self).SetVersion
)(::windows
::core
::Interface
::as_raw(self), version
.into_param().abi()).ok()
4546 pub unsafe fn ModuleType(&self) -> ::windows
::core
::Result
<FsrmPipelineModuleType
> {
4547 let mut result__
= ::windows
::core
::zeroed
::<FsrmPipelineModuleType
>();
4548 (::windows
::core
::Interface
::vtable(self).ModuleType
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4550 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
4551 #[cfg(feature = "Win32_Foundation")]
4552 pub unsafe fn Enabled(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
4553 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
4554 (::windows
::core
::Interface
::vtable(self).Enabled
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4556 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
4557 #[cfg(feature = "Win32_Foundation")]
4558 pub unsafe fn SetEnabled
<P0
>(&self, enabled
: P0
) -> ::windows
::core
::Result
<()>
4560 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
4562 (::windows
::core
::Interface
::vtable(self).SetEnabled
)(::windows
::core
::Interface
::as_raw(self), enabled
.into_param().abi()).ok()
4564 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
4565 #[cfg(feature = "Win32_Foundation")]
4566 pub unsafe fn NeedsFileContent(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
4567 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
4568 (::windows
::core
::Interface
::vtable(self).NeedsFileContent
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4570 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
4571 #[cfg(feature = "Win32_Foundation")]
4572 pub unsafe fn SetNeedsFileContent
<P0
>(&self, needsfilecontent
: P0
) -> ::windows
::core
::Result
<()>
4574 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
4576 (::windows
::core
::Interface
::vtable(self).SetNeedsFileContent
)(::windows
::core
::Interface
::as_raw(self), needsfilecontent
.into_param().abi()).ok()
4578 pub unsafe fn Account(&self) -> ::windows
::core
::Result
<FsrmAccountType
> {
4579 let mut result__
= ::windows
::core
::zeroed
::<FsrmAccountType
>();
4580 (::windows
::core
::Interface
::vtable(self).Account
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4582 pub unsafe fn SetAccount(&self, retrievalaccount
: FsrmAccountType
) -> ::windows
::core
::Result
<()> {
4583 (::windows
::core
::Interface
::vtable(self).SetAccount
)(::windows
::core
::Interface
::as_raw(self), retrievalaccount
).ok()
4585 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4586 #[cfg(feature = "Win32_System_Com")]
4587 pub unsafe fn SupportedExtensions(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
4588 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
4589 (::windows
::core
::Interface
::vtable(self).SupportedExtensions
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4591 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4592 #[cfg(feature = "Win32_System_Com")]
4593 pub unsafe fn SetSupportedExtensions(&self, supportedextensions
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
4594 (::windows
::core
::Interface
::vtable(self).SetSupportedExtensions
)(::windows
::core
::Interface
::as_raw(self), supportedextensions
).ok()
4596 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4597 #[cfg(feature = "Win32_System_Com")]
4598 pub unsafe fn Parameters(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
4599 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
4600 (::windows
::core
::Interface
::vtable(self).Parameters
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4602 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4603 #[cfg(feature = "Win32_System_Com")]
4604 pub unsafe fn SetParameters(&self, parameters
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
4605 (::windows
::core
::Interface
::vtable(self).SetParameters
)(::windows
::core
::Interface
::as_raw(self), parameters
).ok()
4608 #[cfg(feature = "Win32_System_Com")]
4609 ::windows
::imp
::interface_hierarchy
!(IFsrmPipelineModuleDefinition
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
);
4610 #[cfg(feature = "Win32_System_Com")]
4611 impl ::core
::cmp
::PartialEq
for IFsrmPipelineModuleDefinition
{
4612 fn eq(&self, other
: &Self) -> bool
{
4616 #[cfg(feature = "Win32_System_Com")]
4617 impl ::core
::cmp
::Eq
for IFsrmPipelineModuleDefinition {}
4618 #[cfg(feature = "Win32_System_Com")]
4619 impl ::core
::fmt
::Debug
for IFsrmPipelineModuleDefinition
{
4620 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4621 f
.debug_tuple("IFsrmPipelineModuleDefinition").field(&self.0).finish()
4624 #[cfg(feature = "Win32_System_Com")]
4625 unsafe impl ::windows
::core
::Interface
for IFsrmPipelineModuleDefinition
{
4626 type Vtable
= IFsrmPipelineModuleDefinition_Vtbl
;
4628 #[cfg(feature = "Win32_System_Com")]
4629 impl ::core
::clone
::Clone
for IFsrmPipelineModuleDefinition
{
4630 fn clone(&self) -> Self {
4631 Self(self.0.clone())
4634 #[cfg(feature = "Win32_System_Com")]
4635 unsafe impl ::windows
::core
::ComInterface
for IFsrmPipelineModuleDefinition
{
4636 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x515c1277_2c81_440e_8fcf_367921ed4f59);
4638 #[cfg(feature = "Win32_System_Com")]
4641 pub struct IFsrmPipelineModuleDefinition_Vtbl
{
4642 pub base__
: IFsrmObject_Vtbl
,
4643 pub ModuleClsid
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, moduleclsid
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4644 pub SetModuleClsid
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, moduleclsid
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4645 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4646 pub SetName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4647 pub Company
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, company
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4648 pub SetCompany
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, company
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4649 pub Version
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, version
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4650 pub SetVersion
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, version
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4651 pub ModuleType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, moduletype
: *mut FsrmPipelineModuleType
) -> ::windows
::core
::HRESULT
,
4652 #[cfg(feature = "Win32_Foundation")]
4653 pub Enabled
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, enabled
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
4654 #[cfg(not(feature = "Win32_Foundation"))]
4656 #[cfg(feature = "Win32_Foundation")]
4657 pub SetEnabled
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, enabled
: super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
4658 #[cfg(not(feature = "Win32_Foundation"))]
4660 #[cfg(feature = "Win32_Foundation")]
4661 pub NeedsFileContent
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, needsfilecontent
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
4662 #[cfg(not(feature = "Win32_Foundation"))]
4663 NeedsFileContent
: usize,
4664 #[cfg(feature = "Win32_Foundation")]
4665 pub SetNeedsFileContent
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, needsfilecontent
: super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
4666 #[cfg(not(feature = "Win32_Foundation"))]
4667 SetNeedsFileContent
: usize,
4668 pub Account
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, retrievalaccount
: *mut FsrmAccountType
) -> ::windows
::core
::HRESULT
,
4669 pub SetAccount
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, retrievalaccount
: FsrmAccountType
) -> ::windows
::core
::HRESULT
,
4670 #[cfg(feature = "Win32_System_Com")]
4671 pub SupportedExtensions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, supportedextensions
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
4672 #[cfg(not(feature = "Win32_System_Com"))]
4673 SupportedExtensions
: usize,
4674 #[cfg(feature = "Win32_System_Com")]
4675 pub SetSupportedExtensions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, supportedextensions
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
4676 #[cfg(not(feature = "Win32_System_Com"))]
4677 SetSupportedExtensions
: usize,
4678 #[cfg(feature = "Win32_System_Com")]
4679 pub Parameters
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, parameters
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
4680 #[cfg(not(feature = "Win32_System_Com"))]
4682 #[cfg(feature = "Win32_System_Com")]
4683 pub SetParameters
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, parameters
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
4684 #[cfg(not(feature = "Win32_System_Com"))]
4685 SetParameters
: usize,
4687 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
4688 #[cfg(feature = "Win32_System_Com")]
4689 #[repr(transparent)]
4690 pub struct IFsrmPipelineModuleImplementation(::windows
::core
::IUnknown
);
4691 #[cfg(feature = "Win32_System_Com")]
4692 impl IFsrmPipelineModuleImplementation
{
4693 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4694 #[cfg(feature = "Win32_System_Com")]
4695 pub unsafe fn OnLoad
<P0
>(&self, moduledefinition
: P0
) -> ::windows
::core
::Result
<IFsrmPipelineModuleConnector
>
4697 P0
: ::windows
::core
::IntoParam
<IFsrmPipelineModuleDefinition
>,
4699 let mut result__
= ::windows
::core
::zeroed
::<IFsrmPipelineModuleConnector
>();
4700 (::windows
::core
::Interface
::vtable(self).OnLoad
)(::windows
::core
::Interface
::as_raw(self), moduledefinition
.into_param().abi(), &mut result__
).from_abi(result__
)
4702 pub unsafe fn OnUnload(&self) -> ::windows
::core
::Result
<()> {
4703 (::windows
::core
::Interface
::vtable(self).OnUnload
)(::windows
::core
::Interface
::as_raw(self)).ok()
4706 #[cfg(feature = "Win32_System_Com")]
4707 ::windows
::imp
::interface_hierarchy
!(IFsrmPipelineModuleImplementation
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
4708 #[cfg(feature = "Win32_System_Com")]
4709 impl ::core
::cmp
::PartialEq
for IFsrmPipelineModuleImplementation
{
4710 fn eq(&self, other
: &Self) -> bool
{
4714 #[cfg(feature = "Win32_System_Com")]
4715 impl ::core
::cmp
::Eq
for IFsrmPipelineModuleImplementation {}
4716 #[cfg(feature = "Win32_System_Com")]
4717 impl ::core
::fmt
::Debug
for IFsrmPipelineModuleImplementation
{
4718 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4719 f
.debug_tuple("IFsrmPipelineModuleImplementation").field(&self.0).finish()
4722 #[cfg(feature = "Win32_System_Com")]
4723 unsafe impl ::windows
::core
::Interface
for IFsrmPipelineModuleImplementation
{
4724 type Vtable
= IFsrmPipelineModuleImplementation_Vtbl
;
4726 #[cfg(feature = "Win32_System_Com")]
4727 impl ::core
::clone
::Clone
for IFsrmPipelineModuleImplementation
{
4728 fn clone(&self) -> Self {
4729 Self(self.0.clone())
4732 #[cfg(feature = "Win32_System_Com")]
4733 unsafe impl ::windows
::core
::ComInterface
for IFsrmPipelineModuleImplementation
{
4734 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xb7907906_2b02_4cb5_84a9_fdf54613d6cd);
4736 #[cfg(feature = "Win32_System_Com")]
4739 pub struct IFsrmPipelineModuleImplementation_Vtbl
{
4740 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
4741 #[cfg(feature = "Win32_System_Com")]
4742 pub OnLoad
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, moduledefinition
: *mut ::core
::ffi
::c_void
, moduleconnector
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4743 #[cfg(not(feature = "Win32_System_Com"))]
4745 pub OnUnload
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
4747 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
4748 #[cfg(feature = "Win32_System_Com")]
4749 #[repr(transparent)]
4750 pub struct IFsrmProperty(::windows
::core
::IUnknown
);
4751 #[cfg(feature = "Win32_System_Com")]
4752 impl IFsrmProperty
{
4753 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4754 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4755 (::windows
::core
::Interface
::vtable(self).Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4757 pub unsafe fn Value(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4758 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4759 (::windows
::core
::Interface
::vtable(self).Value
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4761 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4762 #[cfg(feature = "Win32_System_Com")]
4763 pub unsafe fn Sources(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
4764 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
4765 (::windows
::core
::Interface
::vtable(self).Sources
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4767 pub unsafe fn PropertyFlags(&self) -> ::windows
::core
::Result
<i32> {
4768 let mut result__
= ::windows
::core
::zeroed
::<i32>();
4769 (::windows
::core
::Interface
::vtable(self).PropertyFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4772 #[cfg(feature = "Win32_System_Com")]
4773 ::windows
::imp
::interface_hierarchy
!(IFsrmProperty
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
4774 #[cfg(feature = "Win32_System_Com")]
4775 impl ::core
::cmp
::PartialEq
for IFsrmProperty
{
4776 fn eq(&self, other
: &Self) -> bool
{
4780 #[cfg(feature = "Win32_System_Com")]
4781 impl ::core
::cmp
::Eq
for IFsrmProperty {}
4782 #[cfg(feature = "Win32_System_Com")]
4783 impl ::core
::fmt
::Debug
for IFsrmProperty
{
4784 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4785 f
.debug_tuple("IFsrmProperty").field(&self.0).finish()
4788 #[cfg(feature = "Win32_System_Com")]
4789 unsafe impl ::windows
::core
::Interface
for IFsrmProperty
{
4790 type Vtable
= IFsrmProperty_Vtbl
;
4792 #[cfg(feature = "Win32_System_Com")]
4793 impl ::core
::clone
::Clone
for IFsrmProperty
{
4794 fn clone(&self) -> Self {
4795 Self(self.0.clone())
4798 #[cfg(feature = "Win32_System_Com")]
4799 unsafe impl ::windows
::core
::ComInterface
for IFsrmProperty
{
4800 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x4a73fee4_4102_4fcc_9ffb_38614f9ee768);
4802 #[cfg(feature = "Win32_System_Com")]
4805 pub struct IFsrmProperty_Vtbl
{
4806 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
4807 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4808 pub Value
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, value
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4809 #[cfg(feature = "Win32_System_Com")]
4810 pub Sources
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, sources
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
4811 #[cfg(not(feature = "Win32_System_Com"))]
4813 pub PropertyFlags
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, flags
: *mut i32) -> ::windows
::core
::HRESULT
,
4815 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
4816 #[cfg(feature = "Win32_System_Com")]
4817 #[repr(transparent)]
4818 pub struct IFsrmPropertyBag(::windows
::core
::IUnknown
);
4819 #[cfg(feature = "Win32_System_Com")]
4820 impl IFsrmPropertyBag
{
4821 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4822 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4823 (::windows
::core
::Interface
::vtable(self).Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4825 pub unsafe fn RelativePath(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4826 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4827 (::windows
::core
::Interface
::vtable(self).RelativePath
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4829 pub unsafe fn VolumeName(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4830 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4831 (::windows
::core
::Interface
::vtable(self).VolumeName
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4833 pub unsafe fn RelativeNamespaceRoot(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4834 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4835 (::windows
::core
::Interface
::vtable(self).RelativeNamespaceRoot
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4837 pub unsafe fn VolumeIndex(&self) -> ::windows
::core
::Result
<u32> {
4838 let mut result__
= ::windows
::core
::zeroed
::<u32>();
4839 (::windows
::core
::Interface
::vtable(self).VolumeIndex
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4841 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
4842 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4843 pub unsafe fn FileId(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
4844 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
4845 (::windows
::core
::Interface
::vtable(self).FileId
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4847 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
4848 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4849 pub unsafe fn ParentDirectoryId(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
4850 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
4851 (::windows
::core
::Interface
::vtable(self).ParentDirectoryId
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4853 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
4854 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4855 pub unsafe fn Size(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
4856 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
4857 (::windows
::core
::Interface
::vtable(self).Size
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4859 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
4860 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4861 pub unsafe fn SizeAllocated(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
4862 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
4863 (::windows
::core
::Interface
::vtable(self).SizeAllocated
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4865 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
4866 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4867 pub unsafe fn CreationTime(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
4868 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
4869 (::windows
::core
::Interface
::vtable(self).CreationTime
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4871 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
4872 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4873 pub unsafe fn LastAccessTime(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
4874 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
4875 (::windows
::core
::Interface
::vtable(self).LastAccessTime
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4877 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
4878 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4879 pub unsafe fn LastModificationTime(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
4880 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
4881 (::windows
::core
::Interface
::vtable(self).LastModificationTime
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4883 pub unsafe fn Attributes(&self) -> ::windows
::core
::Result
<u32> {
4884 let mut result__
= ::windows
::core
::zeroed
::<u32>();
4885 (::windows
::core
::Interface
::vtable(self).Attributes
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4887 pub unsafe fn OwnerSid(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
4888 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
4889 (::windows
::core
::Interface
::vtable(self).OwnerSid
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4891 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4892 #[cfg(feature = "Win32_System_Com")]
4893 pub unsafe fn FilePropertyNames(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
4894 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
4895 (::windows
::core
::Interface
::vtable(self).FilePropertyNames
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4897 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4898 #[cfg(feature = "Win32_System_Com")]
4899 pub unsafe fn Messages(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
4900 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
4901 (::windows
::core
::Interface
::vtable(self).Messages
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4903 pub unsafe fn PropertyBagFlags(&self) -> ::windows
::core
::Result
<u32> {
4904 let mut result__
= ::windows
::core
::zeroed
::<u32>();
4905 (::windows
::core
::Interface
::vtable(self).PropertyBagFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
4907 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
4908 #[cfg(feature = "Win32_System_Com")]
4909 pub unsafe fn GetFileProperty
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<IFsrmProperty
>
4911 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
4913 let mut result__
= ::windows
::core
::zeroed
::<IFsrmProperty
>();
4914 (::windows
::core
::Interface
::vtable(self).GetFileProperty
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi(), &mut result__
).from_abi(result__
)
4916 pub unsafe fn SetFileProperty
<P0
, P1
>(&self, name
: P0
, value
: P1
) -> ::windows
::core
::Result
<()>
4918 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
4919 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
4921 (::windows
::core
::Interface
::vtable(self).SetFileProperty
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi(), value
.into_param().abi()).ok()
4923 pub unsafe fn AddMessage
<P0
>(&self, message
: P0
) -> ::windows
::core
::Result
<()>
4925 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
4927 (::windows
::core
::Interface
::vtable(self).AddMessage
)(::windows
::core
::Interface
::as_raw(self), message
.into_param().abi()).ok()
4929 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
4930 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4931 pub unsafe fn GetFileStreamInterface(&self, accessmode
: FsrmFileStreamingMode
, interfacetype
: FsrmFileStreamingInterfaceType
) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
4932 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
4933 (::windows
::core
::Interface
::vtable(self).GetFileStreamInterface
)(::windows
::core
::Interface
::as_raw(self), accessmode
, interfacetype
, &mut result__
).from_abi(result__
)
4936 #[cfg(feature = "Win32_System_Com")]
4937 ::windows
::imp
::interface_hierarchy
!(IFsrmPropertyBag
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
4938 #[cfg(feature = "Win32_System_Com")]
4939 impl ::core
::cmp
::PartialEq
for IFsrmPropertyBag
{
4940 fn eq(&self, other
: &Self) -> bool
{
4944 #[cfg(feature = "Win32_System_Com")]
4945 impl ::core
::cmp
::Eq
for IFsrmPropertyBag {}
4946 #[cfg(feature = "Win32_System_Com")]
4947 impl ::core
::fmt
::Debug
for IFsrmPropertyBag
{
4948 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
4949 f
.debug_tuple("IFsrmPropertyBag").field(&self.0).finish()
4952 #[cfg(feature = "Win32_System_Com")]
4953 unsafe impl ::windows
::core
::Interface
for IFsrmPropertyBag
{
4954 type Vtable
= IFsrmPropertyBag_Vtbl
;
4956 #[cfg(feature = "Win32_System_Com")]
4957 impl ::core
::clone
::Clone
for IFsrmPropertyBag
{
4958 fn clone(&self) -> Self {
4959 Self(self.0.clone())
4962 #[cfg(feature = "Win32_System_Com")]
4963 unsafe impl ::windows
::core
::ComInterface
for IFsrmPropertyBag
{
4964 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x774589d1_d300_4f7a_9a24_f7b766800250);
4966 #[cfg(feature = "Win32_System_Com")]
4969 pub struct IFsrmPropertyBag_Vtbl
{
4970 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
4971 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4972 pub RelativePath
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4973 pub VolumeName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, volumename
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4974 pub RelativeNamespaceRoot
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, relativenamespaceroot
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
4975 pub VolumeIndex
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, volumeid
: *mut u32) -> ::windows
::core
::HRESULT
,
4976 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4977 pub FileId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, fileid
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
4978 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
4980 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4981 pub ParentDirectoryId
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, parentdirectoryid
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
4982 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
4983 ParentDirectoryId
: usize,
4984 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4985 pub Size
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, size
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
4986 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
4988 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4989 pub SizeAllocated
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, sizeallocated
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
4990 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
4991 SizeAllocated
: usize,
4992 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4993 pub CreationTime
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, creationtime
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
4994 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
4995 CreationTime
: usize,
4996 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
4997 pub LastAccessTime
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, lastaccesstime
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
4998 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
4999 LastAccessTime
: usize,
5000 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5001 pub LastModificationTime
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, lastmodificationtime
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
5002 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
5003 LastModificationTime
: usize,
5004 pub Attributes
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, attributes
: *mut u32) -> ::windows
::core
::HRESULT
,
5005 pub OwnerSid
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, ownersid
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
5006 #[cfg(feature = "Win32_System_Com")]
5007 pub FilePropertyNames
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filepropertynames
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
5008 #[cfg(not(feature = "Win32_System_Com"))]
5009 FilePropertyNames
: usize,
5010 #[cfg(feature = "Win32_System_Com")]
5011 pub Messages
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, messages
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
5012 #[cfg(not(feature = "Win32_System_Com"))]
5014 pub PropertyBagFlags
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, flags
: *mut u32) -> ::windows
::core
::HRESULT
,
5015 #[cfg(feature = "Win32_System_Com")]
5016 pub GetFileProperty
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, fileproperty
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
5017 #[cfg(not(feature = "Win32_System_Com"))]
5018 GetFileProperty
: usize,
5019 pub SetFileProperty
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, value
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
5020 pub AddMessage
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, message
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
5021 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5022 pub GetFileStreamInterface
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, accessmode
: FsrmFileStreamingMode
, interfacetype
: FsrmFileStreamingInterfaceType
, pstreaminterface
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
5023 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
5024 GetFileStreamInterface
: usize,
5026 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
5027 #[cfg(feature = "Win32_System_Com")]
5028 #[repr(transparent)]
5029 pub struct IFsrmPropertyBag2(::windows
::core
::IUnknown
);
5030 #[cfg(feature = "Win32_System_Com")]
5031 impl IFsrmPropertyBag2
{
5032 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5033 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5034 (::windows
::core
::Interface
::vtable(self).base__
.Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5036 pub unsafe fn RelativePath(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5037 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5038 (::windows
::core
::Interface
::vtable(self).base__
.RelativePath
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5040 pub unsafe fn VolumeName(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5041 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5042 (::windows
::core
::Interface
::vtable(self).base__
.VolumeName
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5044 pub unsafe fn RelativeNamespaceRoot(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5045 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5046 (::windows
::core
::Interface
::vtable(self).base__
.RelativeNamespaceRoot
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5048 pub unsafe fn VolumeIndex(&self) -> ::windows
::core
::Result
<u32> {
5049 let mut result__
= ::windows
::core
::zeroed
::<u32>();
5050 (::windows
::core
::Interface
::vtable(self).base__
.VolumeIndex
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5052 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5053 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5054 pub unsafe fn FileId(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
5055 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
5056 (::windows
::core
::Interface
::vtable(self).base__
.FileId
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5058 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5059 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5060 pub unsafe fn ParentDirectoryId(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
5061 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
5062 (::windows
::core
::Interface
::vtable(self).base__
.ParentDirectoryId
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5064 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5065 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5066 pub unsafe fn Size(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
5067 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
5068 (::windows
::core
::Interface
::vtable(self).base__
.Size
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5070 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5071 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5072 pub unsafe fn SizeAllocated(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
5073 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
5074 (::windows
::core
::Interface
::vtable(self).base__
.SizeAllocated
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5076 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5077 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5078 pub unsafe fn CreationTime(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
5079 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
5080 (::windows
::core
::Interface
::vtable(self).base__
.CreationTime
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5082 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5083 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5084 pub unsafe fn LastAccessTime(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
5085 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
5086 (::windows
::core
::Interface
::vtable(self).base__
.LastAccessTime
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5088 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5089 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5090 pub unsafe fn LastModificationTime(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
5091 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
5092 (::windows
::core
::Interface
::vtable(self).base__
.LastModificationTime
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5094 pub unsafe fn Attributes(&self) -> ::windows
::core
::Result
<u32> {
5095 let mut result__
= ::windows
::core
::zeroed
::<u32>();
5096 (::windows
::core
::Interface
::vtable(self).base__
.Attributes
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5098 pub unsafe fn OwnerSid(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5099 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5100 (::windows
::core
::Interface
::vtable(self).base__
.OwnerSid
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5102 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5103 #[cfg(feature = "Win32_System_Com")]
5104 pub unsafe fn FilePropertyNames(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
5105 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
5106 (::windows
::core
::Interface
::vtable(self).base__
.FilePropertyNames
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5108 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5109 #[cfg(feature = "Win32_System_Com")]
5110 pub unsafe fn Messages(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
5111 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
5112 (::windows
::core
::Interface
::vtable(self).base__
.Messages
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5114 pub unsafe fn PropertyBagFlags(&self) -> ::windows
::core
::Result
<u32> {
5115 let mut result__
= ::windows
::core
::zeroed
::<u32>();
5116 (::windows
::core
::Interface
::vtable(self).base__
.PropertyBagFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5118 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5119 #[cfg(feature = "Win32_System_Com")]
5120 pub unsafe fn GetFileProperty
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<IFsrmProperty
>
5122 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5124 let mut result__
= ::windows
::core
::zeroed
::<IFsrmProperty
>();
5125 (::windows
::core
::Interface
::vtable(self).base__
.GetFileProperty
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi(), &mut result__
).from_abi(result__
)
5127 pub unsafe fn SetFileProperty
<P0
, P1
>(&self, name
: P0
, value
: P1
) -> ::windows
::core
::Result
<()>
5129 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5130 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5132 (::windows
::core
::Interface
::vtable(self).base__
.SetFileProperty
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi(), value
.into_param().abi()).ok()
5134 pub unsafe fn AddMessage
<P0
>(&self, message
: P0
) -> ::windows
::core
::Result
<()>
5136 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5138 (::windows
::core
::Interface
::vtable(self).base__
.AddMessage
)(::windows
::core
::Interface
::as_raw(self), message
.into_param().abi()).ok()
5140 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5141 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5142 pub unsafe fn GetFileStreamInterface(&self, accessmode
: FsrmFileStreamingMode
, interfacetype
: FsrmFileStreamingInterfaceType
) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
5143 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
5144 (::windows
::core
::Interface
::vtable(self).base__
.GetFileStreamInterface
)(::windows
::core
::Interface
::as_raw(self), accessmode
, interfacetype
, &mut result__
).from_abi(result__
)
5146 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5147 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5148 pub unsafe fn GetFieldValue(&self, field
: FsrmPropertyBagField
) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
5149 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
5150 (::windows
::core
::Interface
::vtable(self).GetFieldValue
)(::windows
::core
::Interface
::as_raw(self), field
, &mut result__
).from_abi(result__
)
5152 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5153 #[cfg(feature = "Win32_System_Com")]
5154 pub unsafe fn GetUntrustedInFileProperties(&self) -> ::windows
::core
::Result
<IFsrmCollection
> {
5155 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
5156 (::windows
::core
::Interface
::vtable(self).GetUntrustedInFileProperties
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5159 #[cfg(feature = "Win32_System_Com")]
5160 ::windows
::imp
::interface_hierarchy
!(IFsrmPropertyBag2
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmPropertyBag
);
5161 #[cfg(feature = "Win32_System_Com")]
5162 impl ::core
::cmp
::PartialEq
for IFsrmPropertyBag2
{
5163 fn eq(&self, other
: &Self) -> bool
{
5167 #[cfg(feature = "Win32_System_Com")]
5168 impl ::core
::cmp
::Eq
for IFsrmPropertyBag2 {}
5169 #[cfg(feature = "Win32_System_Com")]
5170 impl ::core
::fmt
::Debug
for IFsrmPropertyBag2
{
5171 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5172 f
.debug_tuple("IFsrmPropertyBag2").field(&self.0).finish()
5175 #[cfg(feature = "Win32_System_Com")]
5176 unsafe impl ::windows
::core
::Interface
for IFsrmPropertyBag2
{
5177 type Vtable
= IFsrmPropertyBag2_Vtbl
;
5179 #[cfg(feature = "Win32_System_Com")]
5180 impl ::core
::clone
::Clone
for IFsrmPropertyBag2
{
5181 fn clone(&self) -> Self {
5182 Self(self.0.clone())
5185 #[cfg(feature = "Win32_System_Com")]
5186 unsafe impl ::windows
::core
::ComInterface
for IFsrmPropertyBag2
{
5187 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x0e46bdbd_2402_4fed_9c30_9266e6eb2cc9);
5189 #[cfg(feature = "Win32_System_Com")]
5192 pub struct IFsrmPropertyBag2_Vtbl
{
5193 pub base__
: IFsrmPropertyBag_Vtbl
,
5194 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5195 pub GetFieldValue
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, field
: FsrmPropertyBagField
, value
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
5196 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
5197 GetFieldValue
: usize,
5198 #[cfg(feature = "Win32_System_Com")]
5199 pub GetUntrustedInFileProperties
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, props
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
5200 #[cfg(not(feature = "Win32_System_Com"))]
5201 GetUntrustedInFileProperties
: usize,
5203 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
5204 #[cfg(feature = "Win32_System_Com")]
5205 #[repr(transparent)]
5206 pub struct IFsrmPropertyCondition(::windows
::core
::IUnknown
);
5207 #[cfg(feature = "Win32_System_Com")]
5208 impl IFsrmPropertyCondition
{
5209 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5210 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5211 (::windows
::core
::Interface
::vtable(self).Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5213 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
5215 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5217 (::windows
::core
::Interface
::vtable(self).SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
5219 pub unsafe fn Type(&self) -> ::windows
::core
::Result
<FsrmPropertyConditionType
> {
5220 let mut result__
= ::windows
::core
::zeroed
::<FsrmPropertyConditionType
>();
5221 (::windows
::core
::Interface
::vtable(self).Type
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5223 pub unsafe fn SetType(&self, r
#type: FsrmPropertyConditionType) -> ::windows::core::Result<()> {
5224 (::windows
::core
::Interface
::vtable(self).SetType
)(::windows
::core
::Interface
::as_raw(self), r
#type).ok()
5226 pub unsafe fn Value(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5227 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5228 (::windows
::core
::Interface
::vtable(self).Value
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5230 pub unsafe fn SetValue
<P0
>(&self, value
: P0
) -> ::windows
::core
::Result
<()>
5232 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5234 (::windows
::core
::Interface
::vtable(self).SetValue
)(::windows
::core
::Interface
::as_raw(self), value
.into_param().abi()).ok()
5236 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
5237 (::windows
::core
::Interface
::vtable(self).Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
5240 #[cfg(feature = "Win32_System_Com")]
5241 ::windows
::imp
::interface_hierarchy
!(IFsrmPropertyCondition
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
5242 #[cfg(feature = "Win32_System_Com")]
5243 impl ::core
::cmp
::PartialEq
for IFsrmPropertyCondition
{
5244 fn eq(&self, other
: &Self) -> bool
{
5248 #[cfg(feature = "Win32_System_Com")]
5249 impl ::core
::cmp
::Eq
for IFsrmPropertyCondition {}
5250 #[cfg(feature = "Win32_System_Com")]
5251 impl ::core
::fmt
::Debug
for IFsrmPropertyCondition
{
5252 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5253 f
.debug_tuple("IFsrmPropertyCondition").field(&self.0).finish()
5256 #[cfg(feature = "Win32_System_Com")]
5257 unsafe impl ::windows
::core
::Interface
for IFsrmPropertyCondition
{
5258 type Vtable
= IFsrmPropertyCondition_Vtbl
;
5260 #[cfg(feature = "Win32_System_Com")]
5261 impl ::core
::clone
::Clone
for IFsrmPropertyCondition
{
5262 fn clone(&self) -> Self {
5263 Self(self.0.clone())
5266 #[cfg(feature = "Win32_System_Com")]
5267 unsafe impl ::windows
::core
::ComInterface
for IFsrmPropertyCondition
{
5268 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x326af66f_2ac0_4f68_bf8c_4759f054fa29);
5270 #[cfg(feature = "Win32_System_Com")]
5273 pub struct IFsrmPropertyCondition_Vtbl
{
5274 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
5275 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
5276 pub SetName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
5277 pub Type
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, r
#type: *mut FsrmPropertyConditionType) -> ::windows::core::HRESULT,
5278 pub SetType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, r
#type: FsrmPropertyConditionType) -> ::windows::core::HRESULT,
5279 pub Value
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, value
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
5280 pub SetValue
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, value
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
5281 pub Delete
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
5283 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
5284 #[cfg(feature = "Win32_System_Com")]
5285 #[repr(transparent)]
5286 pub struct IFsrmPropertyDefinition(::windows
::core
::IUnknown
);
5287 #[cfg(feature = "Win32_System_Com")]
5288 impl IFsrmPropertyDefinition
{
5289 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
5290 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
5291 (::windows
::core
::Interface
::vtable(self).base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5293 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5294 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5295 (::windows
::core
::Interface
::vtable(self).base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5297 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
5299 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5301 (::windows
::core
::Interface
::vtable(self).base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
5303 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
5304 (::windows
::core
::Interface
::vtable(self).base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
5306 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
5307 (::windows
::core
::Interface
::vtable(self).base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
5309 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5310 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5311 (::windows
::core
::Interface
::vtable(self).Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5313 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
5315 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5317 (::windows
::core
::Interface
::vtable(self).SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
5319 pub unsafe fn Type(&self) -> ::windows
::core
::Result
<FsrmPropertyDefinitionType
> {
5320 let mut result__
= ::windows
::core
::zeroed
::<FsrmPropertyDefinitionType
>();
5321 (::windows
::core
::Interface
::vtable(self).Type
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5323 pub unsafe fn SetType(&self, r
#type: FsrmPropertyDefinitionType) -> ::windows::core::Result<()> {
5324 (::windows
::core
::Interface
::vtable(self).SetType
)(::windows
::core
::Interface
::as_raw(self), r
#type).ok()
5326 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5327 #[cfg(feature = "Win32_System_Com")]
5328 pub unsafe fn PossibleValues(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
5329 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
5330 (::windows
::core
::Interface
::vtable(self).PossibleValues
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5332 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5333 #[cfg(feature = "Win32_System_Com")]
5334 pub unsafe fn SetPossibleValues(&self, possiblevalues
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
5335 (::windows
::core
::Interface
::vtable(self).SetPossibleValues
)(::windows
::core
::Interface
::as_raw(self), possiblevalues
).ok()
5337 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5338 #[cfg(feature = "Win32_System_Com")]
5339 pub unsafe fn ValueDescriptions(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
5340 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
5341 (::windows
::core
::Interface
::vtable(self).ValueDescriptions
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5343 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5344 #[cfg(feature = "Win32_System_Com")]
5345 pub unsafe fn SetValueDescriptions(&self, valuedescriptions
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
5346 (::windows
::core
::Interface
::vtable(self).SetValueDescriptions
)(::windows
::core
::Interface
::as_raw(self), valuedescriptions
).ok()
5348 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5349 #[cfg(feature = "Win32_System_Com")]
5350 pub unsafe fn Parameters(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
5351 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
5352 (::windows
::core
::Interface
::vtable(self).Parameters
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5354 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5355 #[cfg(feature = "Win32_System_Com")]
5356 pub unsafe fn SetParameters(&self, parameters
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
5357 (::windows
::core
::Interface
::vtable(self).SetParameters
)(::windows
::core
::Interface
::as_raw(self), parameters
).ok()
5360 #[cfg(feature = "Win32_System_Com")]
5361 ::windows
::imp
::interface_hierarchy
!(IFsrmPropertyDefinition
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
);
5362 #[cfg(feature = "Win32_System_Com")]
5363 impl ::core
::cmp
::PartialEq
for IFsrmPropertyDefinition
{
5364 fn eq(&self, other
: &Self) -> bool
{
5368 #[cfg(feature = "Win32_System_Com")]
5369 impl ::core
::cmp
::Eq
for IFsrmPropertyDefinition {}
5370 #[cfg(feature = "Win32_System_Com")]
5371 impl ::core
::fmt
::Debug
for IFsrmPropertyDefinition
{
5372 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5373 f
.debug_tuple("IFsrmPropertyDefinition").field(&self.0).finish()
5376 #[cfg(feature = "Win32_System_Com")]
5377 unsafe impl ::windows
::core
::Interface
for IFsrmPropertyDefinition
{
5378 type Vtable
= IFsrmPropertyDefinition_Vtbl
;
5380 #[cfg(feature = "Win32_System_Com")]
5381 impl ::core
::clone
::Clone
for IFsrmPropertyDefinition
{
5382 fn clone(&self) -> Self {
5383 Self(self.0.clone())
5386 #[cfg(feature = "Win32_System_Com")]
5387 unsafe impl ::windows
::core
::ComInterface
for IFsrmPropertyDefinition
{
5388 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xede0150f_e9a3_419c_877c_01fe5d24c5d3);
5390 #[cfg(feature = "Win32_System_Com")]
5393 pub struct IFsrmPropertyDefinition_Vtbl
{
5394 pub base__
: IFsrmObject_Vtbl
,
5395 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
5396 pub SetName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
5397 pub Type
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, r
#type: *mut FsrmPropertyDefinitionType) -> ::windows::core::HRESULT,
5398 pub SetType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, r
#type: FsrmPropertyDefinitionType) -> ::windows::core::HRESULT,
5399 #[cfg(feature = "Win32_System_Com")]
5400 pub PossibleValues
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, possiblevalues
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
5401 #[cfg(not(feature = "Win32_System_Com"))]
5402 PossibleValues
: usize,
5403 #[cfg(feature = "Win32_System_Com")]
5404 pub SetPossibleValues
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, possiblevalues
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
5405 #[cfg(not(feature = "Win32_System_Com"))]
5406 SetPossibleValues
: usize,
5407 #[cfg(feature = "Win32_System_Com")]
5408 pub ValueDescriptions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, valuedescriptions
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
5409 #[cfg(not(feature = "Win32_System_Com"))]
5410 ValueDescriptions
: usize,
5411 #[cfg(feature = "Win32_System_Com")]
5412 pub SetValueDescriptions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, valuedescriptions
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
5413 #[cfg(not(feature = "Win32_System_Com"))]
5414 SetValueDescriptions
: usize,
5415 #[cfg(feature = "Win32_System_Com")]
5416 pub Parameters
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, parameters
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
5417 #[cfg(not(feature = "Win32_System_Com"))]
5419 #[cfg(feature = "Win32_System_Com")]
5420 pub SetParameters
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, parameters
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
5421 #[cfg(not(feature = "Win32_System_Com"))]
5422 SetParameters
: usize,
5424 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
5425 #[cfg(feature = "Win32_System_Com")]
5426 #[repr(transparent)]
5427 pub struct IFsrmPropertyDefinition2(::windows
::core
::IUnknown
);
5428 #[cfg(feature = "Win32_System_Com")]
5429 impl IFsrmPropertyDefinition2
{
5430 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
5431 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
5432 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5434 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5435 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5436 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5438 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
5440 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5442 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
5444 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
5445 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
5447 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
5448 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
5450 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5451 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5452 (::windows
::core
::Interface
::vtable(self).base__
.Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5454 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
5456 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5458 (::windows
::core
::Interface
::vtable(self).base__
.SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
5460 pub unsafe fn Type(&self) -> ::windows
::core
::Result
<FsrmPropertyDefinitionType
> {
5461 let mut result__
= ::windows
::core
::zeroed
::<FsrmPropertyDefinitionType
>();
5462 (::windows
::core
::Interface
::vtable(self).base__
.Type
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5464 pub unsafe fn SetType(&self, r
#type: FsrmPropertyDefinitionType) -> ::windows::core::Result<()> {
5465 (::windows
::core
::Interface
::vtable(self).base__
.SetType
)(::windows
::core
::Interface
::as_raw(self), r
#type).ok()
5467 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5468 #[cfg(feature = "Win32_System_Com")]
5469 pub unsafe fn PossibleValues(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
5470 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
5471 (::windows
::core
::Interface
::vtable(self).base__
.PossibleValues
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5473 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5474 #[cfg(feature = "Win32_System_Com")]
5475 pub unsafe fn SetPossibleValues(&self, possiblevalues
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
5476 (::windows
::core
::Interface
::vtable(self).base__
.SetPossibleValues
)(::windows
::core
::Interface
::as_raw(self), possiblevalues
).ok()
5478 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5479 #[cfg(feature = "Win32_System_Com")]
5480 pub unsafe fn ValueDescriptions(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
5481 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
5482 (::windows
::core
::Interface
::vtable(self).base__
.ValueDescriptions
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5484 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5485 #[cfg(feature = "Win32_System_Com")]
5486 pub unsafe fn SetValueDescriptions(&self, valuedescriptions
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
5487 (::windows
::core
::Interface
::vtable(self).base__
.SetValueDescriptions
)(::windows
::core
::Interface
::as_raw(self), valuedescriptions
).ok()
5489 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5490 #[cfg(feature = "Win32_System_Com")]
5491 pub unsafe fn Parameters(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
5492 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
5493 (::windows
::core
::Interface
::vtable(self).base__
.Parameters
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5495 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5496 #[cfg(feature = "Win32_System_Com")]
5497 pub unsafe fn SetParameters(&self, parameters
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
5498 (::windows
::core
::Interface
::vtable(self).base__
.SetParameters
)(::windows
::core
::Interface
::as_raw(self), parameters
).ok()
5500 pub unsafe fn PropertyDefinitionFlags(&self) -> ::windows
::core
::Result
<i32> {
5501 let mut result__
= ::windows
::core
::zeroed
::<i32>();
5502 (::windows
::core
::Interface
::vtable(self).PropertyDefinitionFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5504 pub unsafe fn DisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5505 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5506 (::windows
::core
::Interface
::vtable(self).DisplayName
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5508 pub unsafe fn SetDisplayName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
5510 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5512 (::windows
::core
::Interface
::vtable(self).SetDisplayName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
5514 pub unsafe fn AppliesTo(&self) -> ::windows
::core
::Result
<i32> {
5515 let mut result__
= ::windows
::core
::zeroed
::<i32>();
5516 (::windows
::core
::Interface
::vtable(self).AppliesTo
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5518 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5519 #[cfg(feature = "Win32_System_Com")]
5520 pub unsafe fn ValueDefinitions(&self) -> ::windows
::core
::Result
<IFsrmCollection
> {
5521 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
5522 (::windows
::core
::Interface
::vtable(self).ValueDefinitions
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5525 #[cfg(feature = "Win32_System_Com")]
5526 ::windows
::imp
::interface_hierarchy
!(IFsrmPropertyDefinition2
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
, IFsrmPropertyDefinition
);
5527 #[cfg(feature = "Win32_System_Com")]
5528 impl ::core
::cmp
::PartialEq
for IFsrmPropertyDefinition2
{
5529 fn eq(&self, other
: &Self) -> bool
{
5533 #[cfg(feature = "Win32_System_Com")]
5534 impl ::core
::cmp
::Eq
for IFsrmPropertyDefinition2 {}
5535 #[cfg(feature = "Win32_System_Com")]
5536 impl ::core
::fmt
::Debug
for IFsrmPropertyDefinition2
{
5537 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5538 f
.debug_tuple("IFsrmPropertyDefinition2").field(&self.0).finish()
5541 #[cfg(feature = "Win32_System_Com")]
5542 unsafe impl ::windows
::core
::Interface
for IFsrmPropertyDefinition2
{
5543 type Vtable
= IFsrmPropertyDefinition2_Vtbl
;
5545 #[cfg(feature = "Win32_System_Com")]
5546 impl ::core
::clone
::Clone
for IFsrmPropertyDefinition2
{
5547 fn clone(&self) -> Self {
5548 Self(self.0.clone())
5551 #[cfg(feature = "Win32_System_Com")]
5552 unsafe impl ::windows
::core
::ComInterface
for IFsrmPropertyDefinition2
{
5553 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x47782152_d16c_4229_b4e1_0ddfe308b9f6);
5555 #[cfg(feature = "Win32_System_Com")]
5558 pub struct IFsrmPropertyDefinition2_Vtbl
{
5559 pub base__
: IFsrmPropertyDefinition_Vtbl
,
5560 pub PropertyDefinitionFlags
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, propertydefinitionflags
: *mut i32) -> ::windows
::core
::HRESULT
,
5561 pub DisplayName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
5562 pub SetDisplayName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
5563 pub AppliesTo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, appliesto
: *mut i32) -> ::windows
::core
::HRESULT
,
5564 #[cfg(feature = "Win32_System_Com")]
5565 pub ValueDefinitions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, valuedefinitions
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
5566 #[cfg(not(feature = "Win32_System_Com"))]
5567 ValueDefinitions
: usize,
5569 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
5570 #[cfg(feature = "Win32_System_Com")]
5571 #[repr(transparent)]
5572 pub struct IFsrmPropertyDefinitionValue(::windows
::core
::IUnknown
);
5573 #[cfg(feature = "Win32_System_Com")]
5574 impl IFsrmPropertyDefinitionValue
{
5575 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5576 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5577 (::windows
::core
::Interface
::vtable(self).Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5579 pub unsafe fn DisplayName(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5580 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5581 (::windows
::core
::Interface
::vtable(self).DisplayName
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5583 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5584 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5585 (::windows
::core
::Interface
::vtable(self).Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5587 pub unsafe fn UniqueID(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5588 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5589 (::windows
::core
::Interface
::vtable(self).UniqueID
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5592 #[cfg(feature = "Win32_System_Com")]
5593 ::windows
::imp
::interface_hierarchy
!(IFsrmPropertyDefinitionValue
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
5594 #[cfg(feature = "Win32_System_Com")]
5595 impl ::core
::cmp
::PartialEq
for IFsrmPropertyDefinitionValue
{
5596 fn eq(&self, other
: &Self) -> bool
{
5600 #[cfg(feature = "Win32_System_Com")]
5601 impl ::core
::cmp
::Eq
for IFsrmPropertyDefinitionValue {}
5602 #[cfg(feature = "Win32_System_Com")]
5603 impl ::core
::fmt
::Debug
for IFsrmPropertyDefinitionValue
{
5604 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5605 f
.debug_tuple("IFsrmPropertyDefinitionValue").field(&self.0).finish()
5608 #[cfg(feature = "Win32_System_Com")]
5609 unsafe impl ::windows
::core
::Interface
for IFsrmPropertyDefinitionValue
{
5610 type Vtable
= IFsrmPropertyDefinitionValue_Vtbl
;
5612 #[cfg(feature = "Win32_System_Com")]
5613 impl ::core
::clone
::Clone
for IFsrmPropertyDefinitionValue
{
5614 fn clone(&self) -> Self {
5615 Self(self.0.clone())
5618 #[cfg(feature = "Win32_System_Com")]
5619 unsafe impl ::windows
::core
::ComInterface
for IFsrmPropertyDefinitionValue
{
5620 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xe946d148_bd67_4178_8e22_1c44925ed710);
5622 #[cfg(feature = "Win32_System_Com")]
5625 pub struct IFsrmPropertyDefinitionValue_Vtbl
{
5626 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
5627 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
5628 pub DisplayName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, displayname
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
5629 pub Description
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, description
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
5630 pub UniqueID
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, uniqueid
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
5632 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
5633 #[cfg(feature = "Win32_System_Com")]
5634 #[repr(transparent)]
5635 pub struct IFsrmQuota(::windows
::core
::IUnknown
);
5636 #[cfg(feature = "Win32_System_Com")]
5638 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
5639 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
5640 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5642 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5643 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5644 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5646 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
5648 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5650 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
5652 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
5653 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
5655 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
5656 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
5658 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5659 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5660 pub unsafe fn QuotaLimit(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
5661 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
5662 (::windows
::core
::Interface
::vtable(self).base__
.base__
.QuotaLimit
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5664 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5665 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5666 pub unsafe fn SetQuotaLimit(&self, quotalimit
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<()> {
5667 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetQuotaLimit
)(::windows
::core
::Interface
::as_raw(self), ::core
::mem
::transmute(quotalimit
)).ok()
5669 pub unsafe fn QuotaFlags(&self) -> ::windows
::core
::Result
<i32> {
5670 let mut result__
= ::windows
::core
::zeroed
::<i32>();
5671 (::windows
::core
::Interface
::vtable(self).base__
.base__
.QuotaFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5673 pub unsafe fn SetQuotaFlags(&self, quotaflags
: i32) -> ::windows
::core
::Result
<()> {
5674 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetQuotaFlags
)(::windows
::core
::Interface
::as_raw(self), quotaflags
).ok()
5676 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5677 #[cfg(feature = "Win32_System_Com")]
5678 pub unsafe fn Thresholds(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
5679 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
5680 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Thresholds
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5682 pub unsafe fn AddThreshold(&self, threshold
: i32) -> ::windows
::core
::Result
<()> {
5683 (::windows
::core
::Interface
::vtable(self).base__
.base__
.AddThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
).ok()
5685 pub unsafe fn DeleteThreshold(&self, threshold
: i32) -> ::windows
::core
::Result
<()> {
5686 (::windows
::core
::Interface
::vtable(self).base__
.base__
.DeleteThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
).ok()
5688 pub unsafe fn ModifyThreshold(&self, threshold
: i32, newthreshold
: i32) -> ::windows
::core
::Result
<()> {
5689 (::windows
::core
::Interface
::vtable(self).base__
.base__
.ModifyThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
, newthreshold
).ok()
5691 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5692 #[cfg(feature = "Win32_System_Com")]
5693 pub unsafe fn CreateThresholdAction(&self, threshold
: i32, actiontype
: FsrmActionType
) -> ::windows
::core
::Result
<IFsrmAction
> {
5694 let mut result__
= ::windows
::core
::zeroed
::<IFsrmAction
>();
5695 (::windows
::core
::Interface
::vtable(self).base__
.base__
.CreateThresholdAction
)(::windows
::core
::Interface
::as_raw(self), threshold
, actiontype
, &mut result__
).from_abi(result__
)
5697 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5698 #[cfg(feature = "Win32_System_Com")]
5699 pub unsafe fn EnumThresholdActions(&self, threshold
: i32) -> ::windows
::core
::Result
<IFsrmCollection
> {
5700 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
5701 (::windows
::core
::Interface
::vtable(self).base__
.base__
.EnumThresholdActions
)(::windows
::core
::Interface
::as_raw(self), threshold
, &mut result__
).from_abi(result__
)
5703 pub unsafe fn Path(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5704 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5705 (::windows
::core
::Interface
::vtable(self).base__
.Path
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5707 pub unsafe fn UserSid(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5708 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5709 (::windows
::core
::Interface
::vtable(self).base__
.UserSid
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5711 pub unsafe fn UserAccount(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5712 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5713 (::windows
::core
::Interface
::vtable(self).base__
.UserAccount
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5715 pub unsafe fn SourceTemplateName(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5716 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5717 (::windows
::core
::Interface
::vtable(self).base__
.SourceTemplateName
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5719 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
5720 #[cfg(feature = "Win32_Foundation")]
5721 pub unsafe fn MatchesSourceTemplate(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
5722 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
5723 (::windows
::core
::Interface
::vtable(self).base__
.MatchesSourceTemplate
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5725 pub unsafe fn ApplyTemplate
<P0
>(&self, quotatemplatename
: P0
) -> ::windows
::core
::Result
<()>
5727 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5729 (::windows
::core
::Interface
::vtable(self).base__
.ApplyTemplate
)(::windows
::core
::Interface
::as_raw(self), quotatemplatename
.into_param().abi()).ok()
5731 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5732 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5733 pub unsafe fn QuotaUsed(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
5734 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
5735 (::windows
::core
::Interface
::vtable(self).QuotaUsed
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5737 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5738 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5739 pub unsafe fn QuotaPeakUsage(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
5740 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
5741 (::windows
::core
::Interface
::vtable(self).QuotaPeakUsage
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5743 pub unsafe fn QuotaPeakUsageTime(&self) -> ::windows
::core
::Result
<f64> {
5744 let mut result__
= ::windows
::core
::zeroed
::<f64>();
5745 (::windows
::core
::Interface
::vtable(self).QuotaPeakUsageTime
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5747 pub unsafe fn ResetPeakUsage(&self) -> ::windows
::core
::Result
<()> {
5748 (::windows
::core
::Interface
::vtable(self).ResetPeakUsage
)(::windows
::core
::Interface
::as_raw(self)).ok()
5750 pub unsafe fn RefreshUsageProperties(&self) -> ::windows
::core
::Result
<()> {
5751 (::windows
::core
::Interface
::vtable(self).RefreshUsageProperties
)(::windows
::core
::Interface
::as_raw(self)).ok()
5754 #[cfg(feature = "Win32_System_Com")]
5755 ::windows
::imp
::interface_hierarchy
!(IFsrmQuota
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
, IFsrmQuotaBase
, IFsrmQuotaObject
);
5756 #[cfg(feature = "Win32_System_Com")]
5757 impl ::core
::cmp
::PartialEq
for IFsrmQuota
{
5758 fn eq(&self, other
: &Self) -> bool
{
5762 #[cfg(feature = "Win32_System_Com")]
5763 impl ::core
::cmp
::Eq
for IFsrmQuota {}
5764 #[cfg(feature = "Win32_System_Com")]
5765 impl ::core
::fmt
::Debug
for IFsrmQuota
{
5766 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5767 f
.debug_tuple("IFsrmQuota").field(&self.0).finish()
5770 #[cfg(feature = "Win32_System_Com")]
5771 unsafe impl ::windows
::core
::Interface
for IFsrmQuota
{
5772 type Vtable
= IFsrmQuota_Vtbl
;
5774 #[cfg(feature = "Win32_System_Com")]
5775 impl ::core
::clone
::Clone
for IFsrmQuota
{
5776 fn clone(&self) -> Self {
5777 Self(self.0.clone())
5780 #[cfg(feature = "Win32_System_Com")]
5781 unsafe impl ::windows
::core
::ComInterface
for IFsrmQuota
{
5782 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x377f739d_9647_4b8e_97d2_5ffce6d759cd);
5784 #[cfg(feature = "Win32_System_Com")]
5787 pub struct IFsrmQuota_Vtbl
{
5788 pub base__
: IFsrmQuotaObject_Vtbl
,
5789 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5790 pub QuotaUsed
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, used
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
5791 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
5793 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5794 pub QuotaPeakUsage
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, peakusage
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
5795 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
5796 QuotaPeakUsage
: usize,
5797 pub QuotaPeakUsageTime
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, peakusagedatetime
: *mut f64) -> ::windows
::core
::HRESULT
,
5798 pub ResetPeakUsage
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
5799 pub RefreshUsageProperties
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
5801 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
5802 #[cfg(feature = "Win32_System_Com")]
5803 #[repr(transparent)]
5804 pub struct IFsrmQuotaBase(::windows
::core
::IUnknown
);
5805 #[cfg(feature = "Win32_System_Com")]
5806 impl IFsrmQuotaBase
{
5807 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
5808 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
5809 (::windows
::core
::Interface
::vtable(self).base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5811 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
5812 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
5813 (::windows
::core
::Interface
::vtable(self).base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5815 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
5817 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5819 (::windows
::core
::Interface
::vtable(self).base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
5821 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
5822 (::windows
::core
::Interface
::vtable(self).base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
5824 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
5825 (::windows
::core
::Interface
::vtable(self).base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
5827 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5828 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5829 pub unsafe fn QuotaLimit(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
5830 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
5831 (::windows
::core
::Interface
::vtable(self).QuotaLimit
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5833 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
5834 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5835 pub unsafe fn SetQuotaLimit(&self, quotalimit
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<()> {
5836 (::windows
::core
::Interface
::vtable(self).SetQuotaLimit
)(::windows
::core
::Interface
::as_raw(self), ::core
::mem
::transmute(quotalimit
)).ok()
5838 pub unsafe fn QuotaFlags(&self) -> ::windows
::core
::Result
<i32> {
5839 let mut result__
= ::windows
::core
::zeroed
::<i32>();
5840 (::windows
::core
::Interface
::vtable(self).QuotaFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5842 pub unsafe fn SetQuotaFlags(&self, quotaflags
: i32) -> ::windows
::core
::Result
<()> {
5843 (::windows
::core
::Interface
::vtable(self).SetQuotaFlags
)(::windows
::core
::Interface
::as_raw(self), quotaflags
).ok()
5845 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5846 #[cfg(feature = "Win32_System_Com")]
5847 pub unsafe fn Thresholds(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
5848 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
5849 (::windows
::core
::Interface
::vtable(self).Thresholds
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5851 pub unsafe fn AddThreshold(&self, threshold
: i32) -> ::windows
::core
::Result
<()> {
5852 (::windows
::core
::Interface
::vtable(self).AddThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
).ok()
5854 pub unsafe fn DeleteThreshold(&self, threshold
: i32) -> ::windows
::core
::Result
<()> {
5855 (::windows
::core
::Interface
::vtable(self).DeleteThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
).ok()
5857 pub unsafe fn ModifyThreshold(&self, threshold
: i32, newthreshold
: i32) -> ::windows
::core
::Result
<()> {
5858 (::windows
::core
::Interface
::vtable(self).ModifyThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
, newthreshold
).ok()
5860 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5861 #[cfg(feature = "Win32_System_Com")]
5862 pub unsafe fn CreateThresholdAction(&self, threshold
: i32, actiontype
: FsrmActionType
) -> ::windows
::core
::Result
<IFsrmAction
> {
5863 let mut result__
= ::windows
::core
::zeroed
::<IFsrmAction
>();
5864 (::windows
::core
::Interface
::vtable(self).CreateThresholdAction
)(::windows
::core
::Interface
::as_raw(self), threshold
, actiontype
, &mut result__
).from_abi(result__
)
5866 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5867 #[cfg(feature = "Win32_System_Com")]
5868 pub unsafe fn EnumThresholdActions(&self, threshold
: i32) -> ::windows
::core
::Result
<IFsrmCollection
> {
5869 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
5870 (::windows
::core
::Interface
::vtable(self).EnumThresholdActions
)(::windows
::core
::Interface
::as_raw(self), threshold
, &mut result__
).from_abi(result__
)
5873 #[cfg(feature = "Win32_System_Com")]
5874 ::windows
::imp
::interface_hierarchy
!(IFsrmQuotaBase
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
);
5875 #[cfg(feature = "Win32_System_Com")]
5876 impl ::core
::cmp
::PartialEq
for IFsrmQuotaBase
{
5877 fn eq(&self, other
: &Self) -> bool
{
5881 #[cfg(feature = "Win32_System_Com")]
5882 impl ::core
::cmp
::Eq
for IFsrmQuotaBase {}
5883 #[cfg(feature = "Win32_System_Com")]
5884 impl ::core
::fmt
::Debug
for IFsrmQuotaBase
{
5885 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
5886 f
.debug_tuple("IFsrmQuotaBase").field(&self.0).finish()
5889 #[cfg(feature = "Win32_System_Com")]
5890 unsafe impl ::windows
::core
::Interface
for IFsrmQuotaBase
{
5891 type Vtable
= IFsrmQuotaBase_Vtbl
;
5893 #[cfg(feature = "Win32_System_Com")]
5894 impl ::core
::clone
::Clone
for IFsrmQuotaBase
{
5895 fn clone(&self) -> Self {
5896 Self(self.0.clone())
5899 #[cfg(feature = "Win32_System_Com")]
5900 unsafe impl ::windows
::core
::ComInterface
for IFsrmQuotaBase
{
5901 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x1568a795_3924_4118_b74b_68d8f0fa5daf);
5903 #[cfg(feature = "Win32_System_Com")]
5906 pub struct IFsrmQuotaBase_Vtbl
{
5907 pub base__
: IFsrmObject_Vtbl
,
5908 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5909 pub QuotaLimit
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, quotalimit
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
5910 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
5912 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
5913 pub SetQuotaLimit
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, quotalimit
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
5914 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
5915 SetQuotaLimit
: usize,
5916 pub QuotaFlags
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, quotaflags
: *mut i32) -> ::windows
::core
::HRESULT
,
5917 pub SetQuotaFlags
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, quotaflags
: i32) -> ::windows
::core
::HRESULT
,
5918 #[cfg(feature = "Win32_System_Com")]
5919 pub Thresholds
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, thresholds
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
5920 #[cfg(not(feature = "Win32_System_Com"))]
5922 pub AddThreshold
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, threshold
: i32) -> ::windows
::core
::HRESULT
,
5923 pub DeleteThreshold
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, threshold
: i32) -> ::windows
::core
::HRESULT
,
5924 pub ModifyThreshold
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, threshold
: i32, newthreshold
: i32) -> ::windows
::core
::HRESULT
,
5925 #[cfg(feature = "Win32_System_Com")]
5926 pub CreateThresholdAction
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, threshold
: i32, actiontype
: FsrmActionType
, action
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
5927 #[cfg(not(feature = "Win32_System_Com"))]
5928 CreateThresholdAction
: usize,
5929 #[cfg(feature = "Win32_System_Com")]
5930 pub EnumThresholdActions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, threshold
: i32, actions
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
5931 #[cfg(not(feature = "Win32_System_Com"))]
5932 EnumThresholdActions
: usize,
5934 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
5935 #[cfg(feature = "Win32_System_Com")]
5936 #[repr(transparent)]
5937 pub struct IFsrmQuotaManager(::windows
::core
::IUnknown
);
5938 #[cfg(feature = "Win32_System_Com")]
5939 impl IFsrmQuotaManager
{
5940 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5941 #[cfg(feature = "Win32_System_Com")]
5942 pub unsafe fn ActionVariables(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
5943 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
5944 (::windows
::core
::Interface
::vtable(self).ActionVariables
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5946 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5947 #[cfg(feature = "Win32_System_Com")]
5948 pub unsafe fn ActionVariableDescriptions(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
5949 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
5950 (::windows
::core
::Interface
::vtable(self).ActionVariableDescriptions
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
5952 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5953 #[cfg(feature = "Win32_System_Com")]
5954 pub unsafe fn CreateQuota
<P0
>(&self, path
: P0
) -> ::windows
::core
::Result
<IFsrmQuota
>
5956 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5958 let mut result__
= ::windows
::core
::zeroed
::<IFsrmQuota
>();
5959 (::windows
::core
::Interface
::vtable(self).CreateQuota
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), &mut result__
).from_abi(result__
)
5961 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5962 #[cfg(feature = "Win32_System_Com")]
5963 pub unsafe fn CreateAutoApplyQuota
<P0
, P1
>(&self, quotatemplatename
: P0
, path
: P1
) -> ::windows
::core
::Result
<IFsrmAutoApplyQuota
>
5965 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5966 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5968 let mut result__
= ::windows
::core
::zeroed
::<IFsrmAutoApplyQuota
>();
5969 (::windows
::core
::Interface
::vtable(self).CreateAutoApplyQuota
)(::windows
::core
::Interface
::as_raw(self), quotatemplatename
.into_param().abi(), path
.into_param().abi(), &mut result__
).from_abi(result__
)
5971 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5972 #[cfg(feature = "Win32_System_Com")]
5973 pub unsafe fn GetQuota
<P0
>(&self, path
: P0
) -> ::windows
::core
::Result
<IFsrmQuota
>
5975 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5977 let mut result__
= ::windows
::core
::zeroed
::<IFsrmQuota
>();
5978 (::windows
::core
::Interface
::vtable(self).GetQuota
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), &mut result__
).from_abi(result__
)
5980 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5981 #[cfg(feature = "Win32_System_Com")]
5982 pub unsafe fn GetAutoApplyQuota
<P0
>(&self, path
: P0
) -> ::windows
::core
::Result
<IFsrmAutoApplyQuota
>
5984 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5986 let mut result__
= ::windows
::core
::zeroed
::<IFsrmAutoApplyQuota
>();
5987 (::windows
::core
::Interface
::vtable(self).GetAutoApplyQuota
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), &mut result__
).from_abi(result__
)
5989 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5990 #[cfg(feature = "Win32_System_Com")]
5991 pub unsafe fn GetRestrictiveQuota
<P0
>(&self, path
: P0
) -> ::windows
::core
::Result
<IFsrmQuota
>
5993 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
5995 let mut result__
= ::windows
::core
::zeroed
::<IFsrmQuota
>();
5996 (::windows
::core
::Interface
::vtable(self).GetRestrictiveQuota
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), &mut result__
).from_abi(result__
)
5998 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
5999 #[cfg(feature = "Win32_System_Com")]
6000 pub unsafe fn EnumQuotas
<P0
>(&self, path
: P0
, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
>
6002 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6004 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
6005 (::windows
::core
::Interface
::vtable(self).EnumQuotas
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), options
, &mut result__
).from_abi(result__
)
6007 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6008 #[cfg(feature = "Win32_System_Com")]
6009 pub unsafe fn EnumAutoApplyQuotas
<P0
>(&self, path
: P0
, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
>
6011 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6013 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
6014 (::windows
::core
::Interface
::vtable(self).EnumAutoApplyQuotas
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), options
, &mut result__
).from_abi(result__
)
6016 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6017 #[cfg(feature = "Win32_System_Com")]
6018 pub unsafe fn EnumEffectiveQuotas
<P0
>(&self, path
: P0
, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
>
6020 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6022 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
6023 (::windows
::core
::Interface
::vtable(self).EnumEffectiveQuotas
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), options
, &mut result__
).from_abi(result__
)
6025 pub unsafe fn Scan
<P0
>(&self, strpath
: P0
) -> ::windows
::core
::Result
<()>
6027 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6029 (::windows
::core
::Interface
::vtable(self).Scan
)(::windows
::core
::Interface
::as_raw(self), strpath
.into_param().abi()).ok()
6031 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6032 #[cfg(feature = "Win32_System_Com")]
6033 pub unsafe fn CreateQuotaCollection(&self) -> ::windows
::core
::Result
<IFsrmCommittableCollection
> {
6034 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
6035 (::windows
::core
::Interface
::vtable(self).CreateQuotaCollection
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6038 #[cfg(feature = "Win32_System_Com")]
6039 ::windows
::imp
::interface_hierarchy
!(IFsrmQuotaManager
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
6040 #[cfg(feature = "Win32_System_Com")]
6041 impl ::core
::cmp
::PartialEq
for IFsrmQuotaManager
{
6042 fn eq(&self, other
: &Self) -> bool
{
6046 #[cfg(feature = "Win32_System_Com")]
6047 impl ::core
::cmp
::Eq
for IFsrmQuotaManager {}
6048 #[cfg(feature = "Win32_System_Com")]
6049 impl ::core
::fmt
::Debug
for IFsrmQuotaManager
{
6050 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6051 f
.debug_tuple("IFsrmQuotaManager").field(&self.0).finish()
6054 #[cfg(feature = "Win32_System_Com")]
6055 unsafe impl ::windows
::core
::Interface
for IFsrmQuotaManager
{
6056 type Vtable
= IFsrmQuotaManager_Vtbl
;
6058 #[cfg(feature = "Win32_System_Com")]
6059 impl ::core
::clone
::Clone
for IFsrmQuotaManager
{
6060 fn clone(&self) -> Self {
6061 Self(self.0.clone())
6064 #[cfg(feature = "Win32_System_Com")]
6065 unsafe impl ::windows
::core
::ComInterface
for IFsrmQuotaManager
{
6066 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x8bb68c7d_19d8_4ffb_809e_be4fc1734014);
6068 #[cfg(feature = "Win32_System_Com")]
6071 pub struct IFsrmQuotaManager_Vtbl
{
6072 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
6073 #[cfg(feature = "Win32_System_Com")]
6074 pub ActionVariables
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, variables
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
6075 #[cfg(not(feature = "Win32_System_Com"))]
6076 ActionVariables
: usize,
6077 #[cfg(feature = "Win32_System_Com")]
6078 pub ActionVariableDescriptions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, descriptions
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
6079 #[cfg(not(feature = "Win32_System_Com"))]
6080 ActionVariableDescriptions
: usize,
6081 #[cfg(feature = "Win32_System_Com")]
6082 pub CreateQuota
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, quota
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
6083 #[cfg(not(feature = "Win32_System_Com"))]
6085 #[cfg(feature = "Win32_System_Com")]
6086 pub CreateAutoApplyQuota
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, quotatemplatename
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, quota
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
6087 #[cfg(not(feature = "Win32_System_Com"))]
6088 CreateAutoApplyQuota
: usize,
6089 #[cfg(feature = "Win32_System_Com")]
6090 pub GetQuota
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, quota
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
6091 #[cfg(not(feature = "Win32_System_Com"))]
6093 #[cfg(feature = "Win32_System_Com")]
6094 pub GetAutoApplyQuota
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, quota
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
6095 #[cfg(not(feature = "Win32_System_Com"))]
6096 GetAutoApplyQuota
: usize,
6097 #[cfg(feature = "Win32_System_Com")]
6098 pub GetRestrictiveQuota
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, quota
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
6099 #[cfg(not(feature = "Win32_System_Com"))]
6100 GetRestrictiveQuota
: usize,
6101 #[cfg(feature = "Win32_System_Com")]
6102 pub EnumQuotas
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, options
: FsrmEnumOptions
, quotas
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
6103 #[cfg(not(feature = "Win32_System_Com"))]
6105 #[cfg(feature = "Win32_System_Com")]
6106 pub EnumAutoApplyQuotas
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, options
: FsrmEnumOptions
, quotas
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
6107 #[cfg(not(feature = "Win32_System_Com"))]
6108 EnumAutoApplyQuotas
: usize,
6109 #[cfg(feature = "Win32_System_Com")]
6110 pub EnumEffectiveQuotas
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, options
: FsrmEnumOptions
, quotas
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
6111 #[cfg(not(feature = "Win32_System_Com"))]
6112 EnumEffectiveQuotas
: usize,
6113 pub Scan
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, strpath
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
6114 #[cfg(feature = "Win32_System_Com")]
6115 pub CreateQuotaCollection
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, collection
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
6116 #[cfg(not(feature = "Win32_System_Com"))]
6117 CreateQuotaCollection
: usize,
6119 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
6120 #[cfg(feature = "Win32_System_Com")]
6121 #[repr(transparent)]
6122 pub struct IFsrmQuotaManagerEx(::windows
::core
::IUnknown
);
6123 #[cfg(feature = "Win32_System_Com")]
6124 impl IFsrmQuotaManagerEx
{
6125 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6126 #[cfg(feature = "Win32_System_Com")]
6127 pub unsafe fn ActionVariables(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
6128 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
6129 (::windows
::core
::Interface
::vtable(self).base__
.ActionVariables
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6131 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6132 #[cfg(feature = "Win32_System_Com")]
6133 pub unsafe fn ActionVariableDescriptions(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
6134 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
6135 (::windows
::core
::Interface
::vtable(self).base__
.ActionVariableDescriptions
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6137 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6138 #[cfg(feature = "Win32_System_Com")]
6139 pub unsafe fn CreateQuota
<P0
>(&self, path
: P0
) -> ::windows
::core
::Result
<IFsrmQuota
>
6141 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6143 let mut result__
= ::windows
::core
::zeroed
::<IFsrmQuota
>();
6144 (::windows
::core
::Interface
::vtable(self).base__
.CreateQuota
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), &mut result__
).from_abi(result__
)
6146 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6147 #[cfg(feature = "Win32_System_Com")]
6148 pub unsafe fn CreateAutoApplyQuota
<P0
, P1
>(&self, quotatemplatename
: P0
, path
: P1
) -> ::windows
::core
::Result
<IFsrmAutoApplyQuota
>
6150 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6151 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6153 let mut result__
= ::windows
::core
::zeroed
::<IFsrmAutoApplyQuota
>();
6154 (::windows
::core
::Interface
::vtable(self).base__
.CreateAutoApplyQuota
)(::windows
::core
::Interface
::as_raw(self), quotatemplatename
.into_param().abi(), path
.into_param().abi(), &mut result__
).from_abi(result__
)
6156 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6157 #[cfg(feature = "Win32_System_Com")]
6158 pub unsafe fn GetQuota
<P0
>(&self, path
: P0
) -> ::windows
::core
::Result
<IFsrmQuota
>
6160 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6162 let mut result__
= ::windows
::core
::zeroed
::<IFsrmQuota
>();
6163 (::windows
::core
::Interface
::vtable(self).base__
.GetQuota
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), &mut result__
).from_abi(result__
)
6165 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6166 #[cfg(feature = "Win32_System_Com")]
6167 pub unsafe fn GetAutoApplyQuota
<P0
>(&self, path
: P0
) -> ::windows
::core
::Result
<IFsrmAutoApplyQuota
>
6169 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6171 let mut result__
= ::windows
::core
::zeroed
::<IFsrmAutoApplyQuota
>();
6172 (::windows
::core
::Interface
::vtable(self).base__
.GetAutoApplyQuota
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), &mut result__
).from_abi(result__
)
6174 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6175 #[cfg(feature = "Win32_System_Com")]
6176 pub unsafe fn GetRestrictiveQuota
<P0
>(&self, path
: P0
) -> ::windows
::core
::Result
<IFsrmQuota
>
6178 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6180 let mut result__
= ::windows
::core
::zeroed
::<IFsrmQuota
>();
6181 (::windows
::core
::Interface
::vtable(self).base__
.GetRestrictiveQuota
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), &mut result__
).from_abi(result__
)
6183 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6184 #[cfg(feature = "Win32_System_Com")]
6185 pub unsafe fn EnumQuotas
<P0
>(&self, path
: P0
, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
>
6187 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6189 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
6190 (::windows
::core
::Interface
::vtable(self).base__
.EnumQuotas
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), options
, &mut result__
).from_abi(result__
)
6192 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6193 #[cfg(feature = "Win32_System_Com")]
6194 pub unsafe fn EnumAutoApplyQuotas
<P0
>(&self, path
: P0
, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
>
6196 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6198 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
6199 (::windows
::core
::Interface
::vtable(self).base__
.EnumAutoApplyQuotas
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), options
, &mut result__
).from_abi(result__
)
6201 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6202 #[cfg(feature = "Win32_System_Com")]
6203 pub unsafe fn EnumEffectiveQuotas
<P0
>(&self, path
: P0
, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
>
6205 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6207 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
6208 (::windows
::core
::Interface
::vtable(self).base__
.EnumEffectiveQuotas
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), options
, &mut result__
).from_abi(result__
)
6210 pub unsafe fn Scan
<P0
>(&self, strpath
: P0
) -> ::windows
::core
::Result
<()>
6212 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6214 (::windows
::core
::Interface
::vtable(self).base__
.Scan
)(::windows
::core
::Interface
::as_raw(self), strpath
.into_param().abi()).ok()
6216 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6217 #[cfg(feature = "Win32_System_Com")]
6218 pub unsafe fn CreateQuotaCollection(&self) -> ::windows
::core
::Result
<IFsrmCommittableCollection
> {
6219 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
6220 (::windows
::core
::Interface
::vtable(self).base__
.CreateQuotaCollection
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6222 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
6223 #[cfg(feature = "Win32_Foundation")]
6224 pub unsafe fn IsAffectedByQuota
<P0
>(&self, path
: P0
, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
>
6226 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6228 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
6229 (::windows
::core
::Interface
::vtable(self).IsAffectedByQuota
)(::windows
::core
::Interface
::as_raw(self), path
.into_param().abi(), options
, &mut result__
).from_abi(result__
)
6232 #[cfg(feature = "Win32_System_Com")]
6233 ::windows
::imp
::interface_hierarchy
!(IFsrmQuotaManagerEx
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmQuotaManager
);
6234 #[cfg(feature = "Win32_System_Com")]
6235 impl ::core
::cmp
::PartialEq
for IFsrmQuotaManagerEx
{
6236 fn eq(&self, other
: &Self) -> bool
{
6240 #[cfg(feature = "Win32_System_Com")]
6241 impl ::core
::cmp
::Eq
for IFsrmQuotaManagerEx {}
6242 #[cfg(feature = "Win32_System_Com")]
6243 impl ::core
::fmt
::Debug
for IFsrmQuotaManagerEx
{
6244 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6245 f
.debug_tuple("IFsrmQuotaManagerEx").field(&self.0).finish()
6248 #[cfg(feature = "Win32_System_Com")]
6249 unsafe impl ::windows
::core
::Interface
for IFsrmQuotaManagerEx
{
6250 type Vtable
= IFsrmQuotaManagerEx_Vtbl
;
6252 #[cfg(feature = "Win32_System_Com")]
6253 impl ::core
::clone
::Clone
for IFsrmQuotaManagerEx
{
6254 fn clone(&self) -> Self {
6255 Self(self.0.clone())
6258 #[cfg(feature = "Win32_System_Com")]
6259 unsafe impl ::windows
::core
::ComInterface
for IFsrmQuotaManagerEx
{
6260 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x4846cb01_d430_494f_abb4_b1054999fb09);
6262 #[cfg(feature = "Win32_System_Com")]
6265 pub struct IFsrmQuotaManagerEx_Vtbl
{
6266 pub base__
: IFsrmQuotaManager_Vtbl
,
6267 #[cfg(feature = "Win32_Foundation")]
6268 pub IsAffectedByQuota
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, options
: FsrmEnumOptions
, affected
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
6269 #[cfg(not(feature = "Win32_Foundation"))]
6270 IsAffectedByQuota
: usize,
6272 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
6273 #[cfg(feature = "Win32_System_Com")]
6274 #[repr(transparent)]
6275 pub struct IFsrmQuotaObject(::windows
::core
::IUnknown
);
6276 #[cfg(feature = "Win32_System_Com")]
6277 impl IFsrmQuotaObject
{
6278 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
6279 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
6280 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6282 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6283 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6284 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6286 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
6288 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6290 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
6292 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
6293 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
6295 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
6296 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
6298 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
6299 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
6300 pub unsafe fn QuotaLimit(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
6301 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
6302 (::windows
::core
::Interface
::vtable(self).base__
.QuotaLimit
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6304 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
6305 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
6306 pub unsafe fn SetQuotaLimit(&self, quotalimit
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<()> {
6307 (::windows
::core
::Interface
::vtable(self).base__
.SetQuotaLimit
)(::windows
::core
::Interface
::as_raw(self), ::core
::mem
::transmute(quotalimit
)).ok()
6309 pub unsafe fn QuotaFlags(&self) -> ::windows
::core
::Result
<i32> {
6310 let mut result__
= ::windows
::core
::zeroed
::<i32>();
6311 (::windows
::core
::Interface
::vtable(self).base__
.QuotaFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6313 pub unsafe fn SetQuotaFlags(&self, quotaflags
: i32) -> ::windows
::core
::Result
<()> {
6314 (::windows
::core
::Interface
::vtable(self).base__
.SetQuotaFlags
)(::windows
::core
::Interface
::as_raw(self), quotaflags
).ok()
6316 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6317 #[cfg(feature = "Win32_System_Com")]
6318 pub unsafe fn Thresholds(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
6319 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
6320 (::windows
::core
::Interface
::vtable(self).base__
.Thresholds
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6322 pub unsafe fn AddThreshold(&self, threshold
: i32) -> ::windows
::core
::Result
<()> {
6323 (::windows
::core
::Interface
::vtable(self).base__
.AddThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
).ok()
6325 pub unsafe fn DeleteThreshold(&self, threshold
: i32) -> ::windows
::core
::Result
<()> {
6326 (::windows
::core
::Interface
::vtable(self).base__
.DeleteThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
).ok()
6328 pub unsafe fn ModifyThreshold(&self, threshold
: i32, newthreshold
: i32) -> ::windows
::core
::Result
<()> {
6329 (::windows
::core
::Interface
::vtable(self).base__
.ModifyThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
, newthreshold
).ok()
6331 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6332 #[cfg(feature = "Win32_System_Com")]
6333 pub unsafe fn CreateThresholdAction(&self, threshold
: i32, actiontype
: FsrmActionType
) -> ::windows
::core
::Result
<IFsrmAction
> {
6334 let mut result__
= ::windows
::core
::zeroed
::<IFsrmAction
>();
6335 (::windows
::core
::Interface
::vtable(self).base__
.CreateThresholdAction
)(::windows
::core
::Interface
::as_raw(self), threshold
, actiontype
, &mut result__
).from_abi(result__
)
6337 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6338 #[cfg(feature = "Win32_System_Com")]
6339 pub unsafe fn EnumThresholdActions(&self, threshold
: i32) -> ::windows
::core
::Result
<IFsrmCollection
> {
6340 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
6341 (::windows
::core
::Interface
::vtable(self).base__
.EnumThresholdActions
)(::windows
::core
::Interface
::as_raw(self), threshold
, &mut result__
).from_abi(result__
)
6343 pub unsafe fn Path(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6344 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6345 (::windows
::core
::Interface
::vtable(self).Path
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6347 pub unsafe fn UserSid(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6348 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6349 (::windows
::core
::Interface
::vtable(self).UserSid
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6351 pub unsafe fn UserAccount(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6352 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6353 (::windows
::core
::Interface
::vtable(self).UserAccount
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6355 pub unsafe fn SourceTemplateName(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6356 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6357 (::windows
::core
::Interface
::vtable(self).SourceTemplateName
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6359 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
6360 #[cfg(feature = "Win32_Foundation")]
6361 pub unsafe fn MatchesSourceTemplate(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
6362 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
6363 (::windows
::core
::Interface
::vtable(self).MatchesSourceTemplate
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6365 pub unsafe fn ApplyTemplate
<P0
>(&self, quotatemplatename
: P0
) -> ::windows
::core
::Result
<()>
6367 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6369 (::windows
::core
::Interface
::vtable(self).ApplyTemplate
)(::windows
::core
::Interface
::as_raw(self), quotatemplatename
.into_param().abi()).ok()
6372 #[cfg(feature = "Win32_System_Com")]
6373 ::windows
::imp
::interface_hierarchy
!(IFsrmQuotaObject
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
, IFsrmQuotaBase
);
6374 #[cfg(feature = "Win32_System_Com")]
6375 impl ::core
::cmp
::PartialEq
for IFsrmQuotaObject
{
6376 fn eq(&self, other
: &Self) -> bool
{
6380 #[cfg(feature = "Win32_System_Com")]
6381 impl ::core
::cmp
::Eq
for IFsrmQuotaObject {}
6382 #[cfg(feature = "Win32_System_Com")]
6383 impl ::core
::fmt
::Debug
for IFsrmQuotaObject
{
6384 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6385 f
.debug_tuple("IFsrmQuotaObject").field(&self.0).finish()
6388 #[cfg(feature = "Win32_System_Com")]
6389 unsafe impl ::windows
::core
::Interface
for IFsrmQuotaObject
{
6390 type Vtable
= IFsrmQuotaObject_Vtbl
;
6392 #[cfg(feature = "Win32_System_Com")]
6393 impl ::core
::clone
::Clone
for IFsrmQuotaObject
{
6394 fn clone(&self) -> Self {
6395 Self(self.0.clone())
6398 #[cfg(feature = "Win32_System_Com")]
6399 unsafe impl ::windows
::core
::ComInterface
for IFsrmQuotaObject
{
6400 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x42dc3511_61d5_48ae_b6dc_59fc00c0a8d6);
6402 #[cfg(feature = "Win32_System_Com")]
6405 pub struct IFsrmQuotaObject_Vtbl
{
6406 pub base__
: IFsrmQuotaBase_Vtbl
,
6407 pub Path
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
6408 pub UserSid
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, usersid
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
6409 pub UserAccount
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, useraccount
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
6410 pub SourceTemplateName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, quotatemplatename
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
6411 #[cfg(feature = "Win32_Foundation")]
6412 pub MatchesSourceTemplate
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, matches
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
6413 #[cfg(not(feature = "Win32_Foundation"))]
6414 MatchesSourceTemplate
: usize,
6415 pub ApplyTemplate
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, quotatemplatename
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
6417 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
6418 #[cfg(feature = "Win32_System_Com")]
6419 #[repr(transparent)]
6420 pub struct IFsrmQuotaTemplate(::windows
::core
::IUnknown
);
6421 #[cfg(feature = "Win32_System_Com")]
6422 impl IFsrmQuotaTemplate
{
6423 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
6424 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
6425 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6427 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6428 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6429 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6431 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
6433 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6435 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
6437 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
6438 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
6440 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
6441 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
6443 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
6444 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
6445 pub unsafe fn QuotaLimit(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
6446 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
6447 (::windows
::core
::Interface
::vtable(self).base__
.QuotaLimit
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6449 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
6450 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
6451 pub unsafe fn SetQuotaLimit(&self, quotalimit
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<()> {
6452 (::windows
::core
::Interface
::vtable(self).base__
.SetQuotaLimit
)(::windows
::core
::Interface
::as_raw(self), ::core
::mem
::transmute(quotalimit
)).ok()
6454 pub unsafe fn QuotaFlags(&self) -> ::windows
::core
::Result
<i32> {
6455 let mut result__
= ::windows
::core
::zeroed
::<i32>();
6456 (::windows
::core
::Interface
::vtable(self).base__
.QuotaFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6458 pub unsafe fn SetQuotaFlags(&self, quotaflags
: i32) -> ::windows
::core
::Result
<()> {
6459 (::windows
::core
::Interface
::vtable(self).base__
.SetQuotaFlags
)(::windows
::core
::Interface
::as_raw(self), quotaflags
).ok()
6461 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6462 #[cfg(feature = "Win32_System_Com")]
6463 pub unsafe fn Thresholds(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
6464 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
6465 (::windows
::core
::Interface
::vtable(self).base__
.Thresholds
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6467 pub unsafe fn AddThreshold(&self, threshold
: i32) -> ::windows
::core
::Result
<()> {
6468 (::windows
::core
::Interface
::vtable(self).base__
.AddThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
).ok()
6470 pub unsafe fn DeleteThreshold(&self, threshold
: i32) -> ::windows
::core
::Result
<()> {
6471 (::windows
::core
::Interface
::vtable(self).base__
.DeleteThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
).ok()
6473 pub unsafe fn ModifyThreshold(&self, threshold
: i32, newthreshold
: i32) -> ::windows
::core
::Result
<()> {
6474 (::windows
::core
::Interface
::vtable(self).base__
.ModifyThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
, newthreshold
).ok()
6476 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6477 #[cfg(feature = "Win32_System_Com")]
6478 pub unsafe fn CreateThresholdAction(&self, threshold
: i32, actiontype
: FsrmActionType
) -> ::windows
::core
::Result
<IFsrmAction
> {
6479 let mut result__
= ::windows
::core
::zeroed
::<IFsrmAction
>();
6480 (::windows
::core
::Interface
::vtable(self).base__
.CreateThresholdAction
)(::windows
::core
::Interface
::as_raw(self), threshold
, actiontype
, &mut result__
).from_abi(result__
)
6482 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6483 #[cfg(feature = "Win32_System_Com")]
6484 pub unsafe fn EnumThresholdActions(&self, threshold
: i32) -> ::windows
::core
::Result
<IFsrmCollection
> {
6485 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
6486 (::windows
::core
::Interface
::vtable(self).base__
.EnumThresholdActions
)(::windows
::core
::Interface
::as_raw(self), threshold
, &mut result__
).from_abi(result__
)
6488 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6489 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6490 (::windows
::core
::Interface
::vtable(self).Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6492 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
6494 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6496 (::windows
::core
::Interface
::vtable(self).SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
6498 pub unsafe fn CopyTemplate
<P0
>(&self, quotatemplatename
: P0
) -> ::windows
::core
::Result
<()>
6500 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6502 (::windows
::core
::Interface
::vtable(self).CopyTemplate
)(::windows
::core
::Interface
::as_raw(self), quotatemplatename
.into_param().abi()).ok()
6504 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6505 #[cfg(feature = "Win32_System_Com")]
6506 pub unsafe fn CommitAndUpdateDerived(&self, commitoptions
: FsrmCommitOptions
, applyoptions
: FsrmTemplateApplyOptions
) -> ::windows
::core
::Result
<IFsrmDerivedObjectsResult
> {
6507 let mut result__
= ::windows
::core
::zeroed
::<IFsrmDerivedObjectsResult
>();
6508 (::windows
::core
::Interface
::vtable(self).CommitAndUpdateDerived
)(::windows
::core
::Interface
::as_raw(self), commitoptions
, applyoptions
, &mut result__
).from_abi(result__
)
6511 #[cfg(feature = "Win32_System_Com")]
6512 ::windows
::imp
::interface_hierarchy
!(IFsrmQuotaTemplate
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
, IFsrmQuotaBase
);
6513 #[cfg(feature = "Win32_System_Com")]
6514 impl ::core
::cmp
::PartialEq
for IFsrmQuotaTemplate
{
6515 fn eq(&self, other
: &Self) -> bool
{
6519 #[cfg(feature = "Win32_System_Com")]
6520 impl ::core
::cmp
::Eq
for IFsrmQuotaTemplate {}
6521 #[cfg(feature = "Win32_System_Com")]
6522 impl ::core
::fmt
::Debug
for IFsrmQuotaTemplate
{
6523 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6524 f
.debug_tuple("IFsrmQuotaTemplate").field(&self.0).finish()
6527 #[cfg(feature = "Win32_System_Com")]
6528 unsafe impl ::windows
::core
::Interface
for IFsrmQuotaTemplate
{
6529 type Vtable
= IFsrmQuotaTemplate_Vtbl
;
6531 #[cfg(feature = "Win32_System_Com")]
6532 impl ::core
::clone
::Clone
for IFsrmQuotaTemplate
{
6533 fn clone(&self) -> Self {
6534 Self(self.0.clone())
6537 #[cfg(feature = "Win32_System_Com")]
6538 unsafe impl ::windows
::core
::ComInterface
for IFsrmQuotaTemplate
{
6539 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xa2efab31_295e_46bb_b976_e86d58b52e8b);
6541 #[cfg(feature = "Win32_System_Com")]
6544 pub struct IFsrmQuotaTemplate_Vtbl
{
6545 pub base__
: IFsrmQuotaBase_Vtbl
,
6546 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
6547 pub SetName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
6548 pub CopyTemplate
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, quotatemplatename
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
6549 #[cfg(feature = "Win32_System_Com")]
6550 pub CommitAndUpdateDerived
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, commitoptions
: FsrmCommitOptions
, applyoptions
: FsrmTemplateApplyOptions
, derivedobjectsresult
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
6551 #[cfg(not(feature = "Win32_System_Com"))]
6552 CommitAndUpdateDerived
: usize,
6554 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
6555 #[cfg(feature = "Win32_System_Com")]
6556 #[repr(transparent)]
6557 pub struct IFsrmQuotaTemplateImported(::windows
::core
::IUnknown
);
6558 #[cfg(feature = "Win32_System_Com")]
6559 impl IFsrmQuotaTemplateImported
{
6560 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
6561 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
6562 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6564 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6565 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6566 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6568 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
6570 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6572 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
6574 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
6575 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
6577 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
6578 (::windows
::core
::Interface
::vtable(self).base__
.base__
.base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
6580 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
6581 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
6582 pub unsafe fn QuotaLimit(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
6583 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
6584 (::windows
::core
::Interface
::vtable(self).base__
.base__
.QuotaLimit
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6586 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
6587 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
6588 pub unsafe fn SetQuotaLimit(&self, quotalimit
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<()> {
6589 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetQuotaLimit
)(::windows
::core
::Interface
::as_raw(self), ::core
::mem
::transmute(quotalimit
)).ok()
6591 pub unsafe fn QuotaFlags(&self) -> ::windows
::core
::Result
<i32> {
6592 let mut result__
= ::windows
::core
::zeroed
::<i32>();
6593 (::windows
::core
::Interface
::vtable(self).base__
.base__
.QuotaFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6595 pub unsafe fn SetQuotaFlags(&self, quotaflags
: i32) -> ::windows
::core
::Result
<()> {
6596 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetQuotaFlags
)(::windows
::core
::Interface
::as_raw(self), quotaflags
).ok()
6598 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6599 #[cfg(feature = "Win32_System_Com")]
6600 pub unsafe fn Thresholds(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
6601 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
6602 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Thresholds
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6604 pub unsafe fn AddThreshold(&self, threshold
: i32) -> ::windows
::core
::Result
<()> {
6605 (::windows
::core
::Interface
::vtable(self).base__
.base__
.AddThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
).ok()
6607 pub unsafe fn DeleteThreshold(&self, threshold
: i32) -> ::windows
::core
::Result
<()> {
6608 (::windows
::core
::Interface
::vtable(self).base__
.base__
.DeleteThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
).ok()
6610 pub unsafe fn ModifyThreshold(&self, threshold
: i32, newthreshold
: i32) -> ::windows
::core
::Result
<()> {
6611 (::windows
::core
::Interface
::vtable(self).base__
.base__
.ModifyThreshold
)(::windows
::core
::Interface
::as_raw(self), threshold
, newthreshold
).ok()
6613 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6614 #[cfg(feature = "Win32_System_Com")]
6615 pub unsafe fn CreateThresholdAction(&self, threshold
: i32, actiontype
: FsrmActionType
) -> ::windows
::core
::Result
<IFsrmAction
> {
6616 let mut result__
= ::windows
::core
::zeroed
::<IFsrmAction
>();
6617 (::windows
::core
::Interface
::vtable(self).base__
.base__
.CreateThresholdAction
)(::windows
::core
::Interface
::as_raw(self), threshold
, actiontype
, &mut result__
).from_abi(result__
)
6619 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6620 #[cfg(feature = "Win32_System_Com")]
6621 pub unsafe fn EnumThresholdActions(&self, threshold
: i32) -> ::windows
::core
::Result
<IFsrmCollection
> {
6622 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
6623 (::windows
::core
::Interface
::vtable(self).base__
.base__
.EnumThresholdActions
)(::windows
::core
::Interface
::as_raw(self), threshold
, &mut result__
).from_abi(result__
)
6625 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6626 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6627 (::windows
::core
::Interface
::vtable(self).base__
.Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6629 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
6631 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6633 (::windows
::core
::Interface
::vtable(self).base__
.SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
6635 pub unsafe fn CopyTemplate
<P0
>(&self, quotatemplatename
: P0
) -> ::windows
::core
::Result
<()>
6637 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6639 (::windows
::core
::Interface
::vtable(self).base__
.CopyTemplate
)(::windows
::core
::Interface
::as_raw(self), quotatemplatename
.into_param().abi()).ok()
6641 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6642 #[cfg(feature = "Win32_System_Com")]
6643 pub unsafe fn CommitAndUpdateDerived(&self, commitoptions
: FsrmCommitOptions
, applyoptions
: FsrmTemplateApplyOptions
) -> ::windows
::core
::Result
<IFsrmDerivedObjectsResult
> {
6644 let mut result__
= ::windows
::core
::zeroed
::<IFsrmDerivedObjectsResult
>();
6645 (::windows
::core
::Interface
::vtable(self).base__
.CommitAndUpdateDerived
)(::windows
::core
::Interface
::as_raw(self), commitoptions
, applyoptions
, &mut result__
).from_abi(result__
)
6647 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
6648 #[cfg(feature = "Win32_Foundation")]
6649 pub unsafe fn OverwriteOnCommit(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
6650 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
6651 (::windows
::core
::Interface
::vtable(self).OverwriteOnCommit
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6653 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
6654 #[cfg(feature = "Win32_Foundation")]
6655 pub unsafe fn SetOverwriteOnCommit
<P0
>(&self, overwrite
: P0
) -> ::windows
::core
::Result
<()>
6657 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
6659 (::windows
::core
::Interface
::vtable(self).SetOverwriteOnCommit
)(::windows
::core
::Interface
::as_raw(self), overwrite
.into_param().abi()).ok()
6662 #[cfg(feature = "Win32_System_Com")]
6663 ::windows
::imp
::interface_hierarchy
!(IFsrmQuotaTemplateImported
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
, IFsrmQuotaBase
, IFsrmQuotaTemplate
);
6664 #[cfg(feature = "Win32_System_Com")]
6665 impl ::core
::cmp
::PartialEq
for IFsrmQuotaTemplateImported
{
6666 fn eq(&self, other
: &Self) -> bool
{
6670 #[cfg(feature = "Win32_System_Com")]
6671 impl ::core
::cmp
::Eq
for IFsrmQuotaTemplateImported {}
6672 #[cfg(feature = "Win32_System_Com")]
6673 impl ::core
::fmt
::Debug
for IFsrmQuotaTemplateImported
{
6674 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6675 f
.debug_tuple("IFsrmQuotaTemplateImported").field(&self.0).finish()
6678 #[cfg(feature = "Win32_System_Com")]
6679 unsafe impl ::windows
::core
::Interface
for IFsrmQuotaTemplateImported
{
6680 type Vtable
= IFsrmQuotaTemplateImported_Vtbl
;
6682 #[cfg(feature = "Win32_System_Com")]
6683 impl ::core
::clone
::Clone
for IFsrmQuotaTemplateImported
{
6684 fn clone(&self) -> Self {
6685 Self(self.0.clone())
6688 #[cfg(feature = "Win32_System_Com")]
6689 unsafe impl ::windows
::core
::ComInterface
for IFsrmQuotaTemplateImported
{
6690 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x9a2bf113_a329_44cc_809a_5c00fce8da40);
6692 #[cfg(feature = "Win32_System_Com")]
6695 pub struct IFsrmQuotaTemplateImported_Vtbl
{
6696 pub base__
: IFsrmQuotaTemplate_Vtbl
,
6697 #[cfg(feature = "Win32_Foundation")]
6698 pub OverwriteOnCommit
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, overwrite
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
6699 #[cfg(not(feature = "Win32_Foundation"))]
6700 OverwriteOnCommit
: usize,
6701 #[cfg(feature = "Win32_Foundation")]
6702 pub SetOverwriteOnCommit
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, overwrite
: super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
6703 #[cfg(not(feature = "Win32_Foundation"))]
6704 SetOverwriteOnCommit
: usize,
6706 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
6707 #[cfg(feature = "Win32_System_Com")]
6708 #[repr(transparent)]
6709 pub struct IFsrmQuotaTemplateManager(::windows
::core
::IUnknown
);
6710 #[cfg(feature = "Win32_System_Com")]
6711 impl IFsrmQuotaTemplateManager
{
6712 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6713 #[cfg(feature = "Win32_System_Com")]
6714 pub unsafe fn CreateTemplate(&self) -> ::windows
::core
::Result
<IFsrmQuotaTemplate
> {
6715 let mut result__
= ::windows
::core
::zeroed
::<IFsrmQuotaTemplate
>();
6716 (::windows
::core
::Interface
::vtable(self).CreateTemplate
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6718 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6719 #[cfg(feature = "Win32_System_Com")]
6720 pub unsafe fn GetTemplate
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<IFsrmQuotaTemplate
>
6722 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6724 let mut result__
= ::windows
::core
::zeroed
::<IFsrmQuotaTemplate
>();
6725 (::windows
::core
::Interface
::vtable(self).GetTemplate
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi(), &mut result__
).from_abi(result__
)
6727 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6728 #[cfg(feature = "Win32_System_Com")]
6729 pub unsafe fn EnumTemplates(&self, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
> {
6730 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
6731 (::windows
::core
::Interface
::vtable(self).EnumTemplates
)(::windows
::core
::Interface
::as_raw(self), options
, &mut result__
).from_abi(result__
)
6733 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
6734 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
6735 pub unsafe fn ExportTemplates(&self, quotatemplatenamesarray
: *const super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6736 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6737 (::windows
::core
::Interface
::vtable(self).ExportTemplates
)(::windows
::core
::Interface
::as_raw(self), quotatemplatenamesarray
, &mut result__
).from_abi(result__
)
6739 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
6740 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
6741 pub unsafe fn ImportTemplates
<P0
>(&self, serializedquotatemplates
: P0
, quotatemplatenamesarray
: *const super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<IFsrmCommittableCollection
>
6743 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6745 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCommittableCollection
>();
6746 (::windows
::core
::Interface
::vtable(self).ImportTemplates
)(::windows
::core
::Interface
::as_raw(self), serializedquotatemplates
.into_param().abi(), quotatemplatenamesarray
, &mut result__
).from_abi(result__
)
6749 #[cfg(feature = "Win32_System_Com")]
6750 ::windows
::imp
::interface_hierarchy
!(IFsrmQuotaTemplateManager
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
6751 #[cfg(feature = "Win32_System_Com")]
6752 impl ::core
::cmp
::PartialEq
for IFsrmQuotaTemplateManager
{
6753 fn eq(&self, other
: &Self) -> bool
{
6757 #[cfg(feature = "Win32_System_Com")]
6758 impl ::core
::cmp
::Eq
for IFsrmQuotaTemplateManager {}
6759 #[cfg(feature = "Win32_System_Com")]
6760 impl ::core
::fmt
::Debug
for IFsrmQuotaTemplateManager
{
6761 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6762 f
.debug_tuple("IFsrmQuotaTemplateManager").field(&self.0).finish()
6765 #[cfg(feature = "Win32_System_Com")]
6766 unsafe impl ::windows
::core
::Interface
for IFsrmQuotaTemplateManager
{
6767 type Vtable
= IFsrmQuotaTemplateManager_Vtbl
;
6769 #[cfg(feature = "Win32_System_Com")]
6770 impl ::core
::clone
::Clone
for IFsrmQuotaTemplateManager
{
6771 fn clone(&self) -> Self {
6772 Self(self.0.clone())
6775 #[cfg(feature = "Win32_System_Com")]
6776 unsafe impl ::windows
::core
::ComInterface
for IFsrmQuotaTemplateManager
{
6777 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x4173ac41_172d_4d52_963c_fdc7e415f717);
6779 #[cfg(feature = "Win32_System_Com")]
6782 pub struct IFsrmQuotaTemplateManager_Vtbl
{
6783 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
6784 #[cfg(feature = "Win32_System_Com")]
6785 pub CreateTemplate
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, quotatemplate
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
6786 #[cfg(not(feature = "Win32_System_Com"))]
6787 CreateTemplate
: usize,
6788 #[cfg(feature = "Win32_System_Com")]
6789 pub GetTemplate
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, quotatemplate
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
6790 #[cfg(not(feature = "Win32_System_Com"))]
6792 #[cfg(feature = "Win32_System_Com")]
6793 pub EnumTemplates
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, options
: FsrmEnumOptions
, quotatemplates
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
6794 #[cfg(not(feature = "Win32_System_Com"))]
6795 EnumTemplates
: usize,
6796 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
6797 pub ExportTemplates
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, quotatemplatenamesarray
: *const super::super::System
::Com
::VARIANT
, serializedquotatemplates
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
6798 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
6799 ExportTemplates
: usize,
6800 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
6801 pub ImportTemplates
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, serializedquotatemplates
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, quotatemplatenamesarray
: *const super::super::System
::Com
::VARIANT
, quotatemplates
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
6802 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
6803 ImportTemplates
: usize,
6805 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
6806 #[cfg(feature = "Win32_System_Com")]
6807 #[repr(transparent)]
6808 pub struct IFsrmReport(::windows
::core
::IUnknown
);
6809 #[cfg(feature = "Win32_System_Com")]
6811 pub unsafe fn Type(&self) -> ::windows
::core
::Result
<FsrmReportType
> {
6812 let mut result__
= ::windows
::core
::zeroed
::<FsrmReportType
>();
6813 (::windows
::core
::Interface
::vtable(self).Type
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6815 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6816 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6817 (::windows
::core
::Interface
::vtable(self).Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6819 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
6821 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6823 (::windows
::core
::Interface
::vtable(self).SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
6825 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6826 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6827 (::windows
::core
::Interface
::vtable(self).Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6829 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
6831 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6833 (::windows
::core
::Interface
::vtable(self).SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
6835 pub unsafe fn LastGeneratedFileNamePrefix(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6836 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6837 (::windows
::core
::Interface
::vtable(self).LastGeneratedFileNamePrefix
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6839 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
6840 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
6841 pub unsafe fn GetFilter(&self, filter
: FsrmReportFilter
) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
6842 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
6843 (::windows
::core
::Interface
::vtable(self).GetFilter
)(::windows
::core
::Interface
::as_raw(self), filter
, &mut result__
).from_abi(result__
)
6845 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
6846 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
6847 pub unsafe fn SetFilter(&self, filter
: FsrmReportFilter
, filtervalue
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<()> {
6848 (::windows
::core
::Interface
::vtable(self).SetFilter
)(::windows
::core
::Interface
::as_raw(self), filter
, ::core
::mem
::transmute(filtervalue
)).ok()
6850 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
6851 (::windows
::core
::Interface
::vtable(self).Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
6854 #[cfg(feature = "Win32_System_Com")]
6855 ::windows
::imp
::interface_hierarchy
!(IFsrmReport
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
6856 #[cfg(feature = "Win32_System_Com")]
6857 impl ::core
::cmp
::PartialEq
for IFsrmReport
{
6858 fn eq(&self, other
: &Self) -> bool
{
6862 #[cfg(feature = "Win32_System_Com")]
6863 impl ::core
::cmp
::Eq
for IFsrmReport {}
6864 #[cfg(feature = "Win32_System_Com")]
6865 impl ::core
::fmt
::Debug
for IFsrmReport
{
6866 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
6867 f
.debug_tuple("IFsrmReport").field(&self.0).finish()
6870 #[cfg(feature = "Win32_System_Com")]
6871 unsafe impl ::windows
::core
::Interface
for IFsrmReport
{
6872 type Vtable
= IFsrmReport_Vtbl
;
6874 #[cfg(feature = "Win32_System_Com")]
6875 impl ::core
::clone
::Clone
for IFsrmReport
{
6876 fn clone(&self) -> Self {
6877 Self(self.0.clone())
6880 #[cfg(feature = "Win32_System_Com")]
6881 unsafe impl ::windows
::core
::ComInterface
for IFsrmReport
{
6882 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xd8cc81d9_46b8_4fa4_bfa5_4aa9dec9b638);
6884 #[cfg(feature = "Win32_System_Com")]
6887 pub struct IFsrmReport_Vtbl
{
6888 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
6889 pub Type
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reporttype
: *mut FsrmReportType
) -> ::windows
::core
::HRESULT
,
6890 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
6891 pub SetName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
6892 pub Description
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, description
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
6893 pub SetDescription
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, description
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
6894 pub LastGeneratedFileNamePrefix
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, prefix
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
6895 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
6896 pub GetFilter
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filter
: FsrmReportFilter
, filtervalue
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
6897 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
6899 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
6900 pub SetFilter
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, filter
: FsrmReportFilter
, filtervalue
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
6901 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
6903 pub Delete
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
6905 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
6906 #[cfg(feature = "Win32_System_Com")]
6907 #[repr(transparent)]
6908 pub struct IFsrmReportJob(::windows
::core
::IUnknown
);
6909 #[cfg(feature = "Win32_System_Com")]
6910 impl IFsrmReportJob
{
6911 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
6912 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
6913 (::windows
::core
::Interface
::vtable(self).base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6915 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6916 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6917 (::windows
::core
::Interface
::vtable(self).base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6919 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
6921 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6923 (::windows
::core
::Interface
::vtable(self).base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
6925 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
6926 (::windows
::core
::Interface
::vtable(self).base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
6928 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
6929 (::windows
::core
::Interface
::vtable(self).base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
6931 pub unsafe fn Task(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6932 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6933 (::windows
::core
::Interface
::vtable(self).Task
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6935 pub unsafe fn SetTask
<P0
>(&self, taskname
: P0
) -> ::windows
::core
::Result
<()>
6937 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6939 (::windows
::core
::Interface
::vtable(self).SetTask
)(::windows
::core
::Interface
::as_raw(self), taskname
.into_param().abi()).ok()
6941 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6942 #[cfg(feature = "Win32_System_Com")]
6943 pub unsafe fn NamespaceRoots(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
6944 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
6945 (::windows
::core
::Interface
::vtable(self).NamespaceRoots
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6947 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6948 #[cfg(feature = "Win32_System_Com")]
6949 pub unsafe fn SetNamespaceRoots(&self, namespaceroots
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
6950 (::windows
::core
::Interface
::vtable(self).SetNamespaceRoots
)(::windows
::core
::Interface
::as_raw(self), namespaceroots
).ok()
6952 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6953 #[cfg(feature = "Win32_System_Com")]
6954 pub unsafe fn Formats(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
6955 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
6956 (::windows
::core
::Interface
::vtable(self).Formats
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6958 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6959 #[cfg(feature = "Win32_System_Com")]
6960 pub unsafe fn SetFormats(&self, formats
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
6961 (::windows
::core
::Interface
::vtable(self).SetFormats
)(::windows
::core
::Interface
::as_raw(self), formats
).ok()
6963 pub unsafe fn MailTo(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6964 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6965 (::windows
::core
::Interface
::vtable(self).MailTo
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6967 pub unsafe fn SetMailTo
<P0
>(&self, mailto
: P0
) -> ::windows
::core
::Result
<()>
6969 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
6971 (::windows
::core
::Interface
::vtable(self).SetMailTo
)(::windows
::core
::Interface
::as_raw(self), mailto
.into_param().abi()).ok()
6973 pub unsafe fn RunningStatus(&self) -> ::windows
::core
::Result
<FsrmReportRunningStatus
> {
6974 let mut result__
= ::windows
::core
::zeroed
::<FsrmReportRunningStatus
>();
6975 (::windows
::core
::Interface
::vtable(self).RunningStatus
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6977 pub unsafe fn LastRun(&self) -> ::windows
::core
::Result
<f64> {
6978 let mut result__
= ::windows
::core
::zeroed
::<f64>();
6979 (::windows
::core
::Interface
::vtable(self).LastRun
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6981 pub unsafe fn LastError(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6982 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6983 (::windows
::core
::Interface
::vtable(self).LastError
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6985 pub unsafe fn LastGeneratedInDirectory(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
6986 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
6987 (::windows
::core
::Interface
::vtable(self).LastGeneratedInDirectory
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6989 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6990 #[cfg(feature = "Win32_System_Com")]
6991 pub unsafe fn EnumReports(&self) -> ::windows
::core
::Result
<IFsrmCollection
> {
6992 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
6993 (::windows
::core
::Interface
::vtable(self).EnumReports
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
6995 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
6996 #[cfg(feature = "Win32_System_Com")]
6997 pub unsafe fn CreateReport(&self, reporttype
: FsrmReportType
) -> ::windows
::core
::Result
<IFsrmReport
> {
6998 let mut result__
= ::windows
::core
::zeroed
::<IFsrmReport
>();
6999 (::windows
::core
::Interface
::vtable(self).CreateReport
)(::windows
::core
::Interface
::as_raw(self), reporttype
, &mut result__
).from_abi(result__
)
7001 pub unsafe fn Run(&self, context
: FsrmReportGenerationContext
) -> ::windows
::core
::Result
<()> {
7002 (::windows
::core
::Interface
::vtable(self).Run
)(::windows
::core
::Interface
::as_raw(self), context
).ok()
7004 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
7005 #[cfg(feature = "Win32_Foundation")]
7006 pub unsafe fn WaitForCompletion(&self, waitseconds
: i32) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
7007 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
7008 (::windows
::core
::Interface
::vtable(self).WaitForCompletion
)(::windows
::core
::Interface
::as_raw(self), waitseconds
, &mut result__
).from_abi(result__
)
7010 pub unsafe fn Cancel(&self) -> ::windows
::core
::Result
<()> {
7011 (::windows
::core
::Interface
::vtable(self).Cancel
)(::windows
::core
::Interface
::as_raw(self)).ok()
7014 #[cfg(feature = "Win32_System_Com")]
7015 ::windows
::imp
::interface_hierarchy
!(IFsrmReportJob
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
);
7016 #[cfg(feature = "Win32_System_Com")]
7017 impl ::core
::cmp
::PartialEq
for IFsrmReportJob
{
7018 fn eq(&self, other
: &Self) -> bool
{
7022 #[cfg(feature = "Win32_System_Com")]
7023 impl ::core
::cmp
::Eq
for IFsrmReportJob {}
7024 #[cfg(feature = "Win32_System_Com")]
7025 impl ::core
::fmt
::Debug
for IFsrmReportJob
{
7026 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7027 f
.debug_tuple("IFsrmReportJob").field(&self.0).finish()
7030 #[cfg(feature = "Win32_System_Com")]
7031 unsafe impl ::windows
::core
::Interface
for IFsrmReportJob
{
7032 type Vtable
= IFsrmReportJob_Vtbl
;
7034 #[cfg(feature = "Win32_System_Com")]
7035 impl ::core
::clone
::Clone
for IFsrmReportJob
{
7036 fn clone(&self) -> Self {
7037 Self(self.0.clone())
7040 #[cfg(feature = "Win32_System_Com")]
7041 unsafe impl ::windows
::core
::ComInterface
for IFsrmReportJob
{
7042 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x38e87280_715c_4c7d_a280_ea1651a19fef);
7044 #[cfg(feature = "Win32_System_Com")]
7047 pub struct IFsrmReportJob_Vtbl
{
7048 pub base__
: IFsrmObject_Vtbl
,
7049 pub Task
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, taskname
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7050 pub SetTask
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, taskname
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7051 #[cfg(feature = "Win32_System_Com")]
7052 pub NamespaceRoots
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, namespaceroots
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
7053 #[cfg(not(feature = "Win32_System_Com"))]
7054 NamespaceRoots
: usize,
7055 #[cfg(feature = "Win32_System_Com")]
7056 pub SetNamespaceRoots
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, namespaceroots
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
7057 #[cfg(not(feature = "Win32_System_Com"))]
7058 SetNamespaceRoots
: usize,
7059 #[cfg(feature = "Win32_System_Com")]
7060 pub Formats
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, formats
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
7061 #[cfg(not(feature = "Win32_System_Com"))]
7063 #[cfg(feature = "Win32_System_Com")]
7064 pub SetFormats
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, formats
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
7065 #[cfg(not(feature = "Win32_System_Com"))]
7067 pub MailTo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailto
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7068 pub SetMailTo
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailto
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7069 pub RunningStatus
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, runningstatus
: *mut FsrmReportRunningStatus
) -> ::windows
::core
::HRESULT
,
7070 pub LastRun
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, lastrun
: *mut f64) -> ::windows
::core
::HRESULT
,
7071 pub LastError
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, lasterror
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7072 pub LastGeneratedInDirectory
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, path
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7073 #[cfg(feature = "Win32_System_Com")]
7074 pub EnumReports
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reports
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
7075 #[cfg(not(feature = "Win32_System_Com"))]
7077 #[cfg(feature = "Win32_System_Com")]
7078 pub CreateReport
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reporttype
: FsrmReportType
, report
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
7079 #[cfg(not(feature = "Win32_System_Com"))]
7080 CreateReport
: usize,
7081 pub Run
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, context
: FsrmReportGenerationContext
) -> ::windows
::core
::HRESULT
,
7082 #[cfg(feature = "Win32_Foundation")]
7083 pub WaitForCompletion
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, waitseconds
: i32, completed
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
7084 #[cfg(not(feature = "Win32_Foundation"))]
7085 WaitForCompletion
: usize,
7086 pub Cancel
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
7088 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
7089 #[cfg(feature = "Win32_System_Com")]
7090 #[repr(transparent)]
7091 pub struct IFsrmReportManager(::windows
::core
::IUnknown
);
7092 #[cfg(feature = "Win32_System_Com")]
7093 impl IFsrmReportManager
{
7094 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
7095 #[cfg(feature = "Win32_System_Com")]
7096 pub unsafe fn EnumReportJobs(&self, options
: FsrmEnumOptions
) -> ::windows
::core
::Result
<IFsrmCollection
> {
7097 let mut result__
= ::windows
::core
::zeroed
::<IFsrmCollection
>();
7098 (::windows
::core
::Interface
::vtable(self).EnumReportJobs
)(::windows
::core
::Interface
::as_raw(self), options
, &mut result__
).from_abi(result__
)
7100 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
7101 #[cfg(feature = "Win32_System_Com")]
7102 pub unsafe fn CreateReportJob(&self) -> ::windows
::core
::Result
<IFsrmReportJob
> {
7103 let mut result__
= ::windows
::core
::zeroed
::<IFsrmReportJob
>();
7104 (::windows
::core
::Interface
::vtable(self).CreateReportJob
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7106 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
7107 #[cfg(feature = "Win32_System_Com")]
7108 pub unsafe fn GetReportJob
<P0
>(&self, taskname
: P0
) -> ::windows
::core
::Result
<IFsrmReportJob
>
7110 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7112 let mut result__
= ::windows
::core
::zeroed
::<IFsrmReportJob
>();
7113 (::windows
::core
::Interface
::vtable(self).GetReportJob
)(::windows
::core
::Interface
::as_raw(self), taskname
.into_param().abi(), &mut result__
).from_abi(result__
)
7115 pub unsafe fn GetOutputDirectory(&self, context
: FsrmReportGenerationContext
) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
7116 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
7117 (::windows
::core
::Interface
::vtable(self).GetOutputDirectory
)(::windows
::core
::Interface
::as_raw(self), context
, &mut result__
).from_abi(result__
)
7119 pub unsafe fn SetOutputDirectory
<P0
>(&self, context
: FsrmReportGenerationContext
, path
: P0
) -> ::windows
::core
::Result
<()>
7121 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7123 (::windows
::core
::Interface
::vtable(self).SetOutputDirectory
)(::windows
::core
::Interface
::as_raw(self), context
, path
.into_param().abi()).ok()
7125 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
7126 #[cfg(feature = "Win32_Foundation")]
7127 pub unsafe fn IsFilterValidForReportType(&self, reporttype
: FsrmReportType
, filter
: FsrmReportFilter
) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
7128 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
7129 (::windows
::core
::Interface
::vtable(self).IsFilterValidForReportType
)(::windows
::core
::Interface
::as_raw(self), reporttype
, filter
, &mut result__
).from_abi(result__
)
7131 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
7132 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7133 pub unsafe fn GetDefaultFilter(&self, reporttype
: FsrmReportType
, filter
: FsrmReportFilter
) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
7134 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
7135 (::windows
::core
::Interface
::vtable(self).GetDefaultFilter
)(::windows
::core
::Interface
::as_raw(self), reporttype
, filter
, &mut result__
).from_abi(result__
)
7137 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
7138 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7139 pub unsafe fn SetDefaultFilter(&self, reporttype
: FsrmReportType
, filter
: FsrmReportFilter
, filtervalue
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<()> {
7140 (::windows
::core
::Interface
::vtable(self).SetDefaultFilter
)(::windows
::core
::Interface
::as_raw(self), reporttype
, filter
, ::core
::mem
::transmute(filtervalue
)).ok()
7142 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
7143 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7144 pub unsafe fn GetReportSizeLimit(&self, limit
: FsrmReportLimit
) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
7145 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
7146 (::windows
::core
::Interface
::vtable(self).GetReportSizeLimit
)(::windows
::core
::Interface
::as_raw(self), limit
, &mut result__
).from_abi(result__
)
7148 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
7149 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7150 pub unsafe fn SetReportSizeLimit(&self, limit
: FsrmReportLimit
, limitvalue
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<()> {
7151 (::windows
::core
::Interface
::vtable(self).SetReportSizeLimit
)(::windows
::core
::Interface
::as_raw(self), limit
, ::core
::mem
::transmute(limitvalue
)).ok()
7154 #[cfg(feature = "Win32_System_Com")]
7155 ::windows
::imp
::interface_hierarchy
!(IFsrmReportManager
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
7156 #[cfg(feature = "Win32_System_Com")]
7157 impl ::core
::cmp
::PartialEq
for IFsrmReportManager
{
7158 fn eq(&self, other
: &Self) -> bool
{
7162 #[cfg(feature = "Win32_System_Com")]
7163 impl ::core
::cmp
::Eq
for IFsrmReportManager {}
7164 #[cfg(feature = "Win32_System_Com")]
7165 impl ::core
::fmt
::Debug
for IFsrmReportManager
{
7166 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7167 f
.debug_tuple("IFsrmReportManager").field(&self.0).finish()
7170 #[cfg(feature = "Win32_System_Com")]
7171 unsafe impl ::windows
::core
::Interface
for IFsrmReportManager
{
7172 type Vtable
= IFsrmReportManager_Vtbl
;
7174 #[cfg(feature = "Win32_System_Com")]
7175 impl ::core
::clone
::Clone
for IFsrmReportManager
{
7176 fn clone(&self) -> Self {
7177 Self(self.0.clone())
7180 #[cfg(feature = "Win32_System_Com")]
7181 unsafe impl ::windows
::core
::ComInterface
for IFsrmReportManager
{
7182 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x27b899fe_6ffa_4481_a184_d3daade8a02b);
7184 #[cfg(feature = "Win32_System_Com")]
7187 pub struct IFsrmReportManager_Vtbl
{
7188 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
7189 #[cfg(feature = "Win32_System_Com")]
7190 pub EnumReportJobs
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, options
: FsrmEnumOptions
, reportjobs
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
7191 #[cfg(not(feature = "Win32_System_Com"))]
7192 EnumReportJobs
: usize,
7193 #[cfg(feature = "Win32_System_Com")]
7194 pub CreateReportJob
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reportjob
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
7195 #[cfg(not(feature = "Win32_System_Com"))]
7196 CreateReportJob
: usize,
7197 #[cfg(feature = "Win32_System_Com")]
7198 pub GetReportJob
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, taskname
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, reportjob
: *mut *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
7199 #[cfg(not(feature = "Win32_System_Com"))]
7200 GetReportJob
: usize,
7201 pub GetOutputDirectory
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, context
: FsrmReportGenerationContext
, path
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7202 pub SetOutputDirectory
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, context
: FsrmReportGenerationContext
, path
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7203 #[cfg(feature = "Win32_Foundation")]
7204 pub IsFilterValidForReportType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reporttype
: FsrmReportType
, filter
: FsrmReportFilter
, valid
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
7205 #[cfg(not(feature = "Win32_Foundation"))]
7206 IsFilterValidForReportType
: usize,
7207 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7208 pub GetDefaultFilter
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reporttype
: FsrmReportType
, filter
: FsrmReportFilter
, filtervalue
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
7209 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
7210 GetDefaultFilter
: usize,
7211 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7212 pub SetDefaultFilter
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, reporttype
: FsrmReportType
, filter
: FsrmReportFilter
, filtervalue
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
7213 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
7214 SetDefaultFilter
: usize,
7215 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7216 pub GetReportSizeLimit
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, limit
: FsrmReportLimit
, limitvalue
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
7217 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
7218 GetReportSizeLimit
: usize,
7219 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7220 pub SetReportSizeLimit
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, limit
: FsrmReportLimit
, limitvalue
: super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
7221 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
7222 SetReportSizeLimit
: usize,
7224 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
7225 #[cfg(feature = "Win32_System_Com")]
7226 #[repr(transparent)]
7227 pub struct IFsrmReportScheduler(::windows
::core
::IUnknown
);
7228 #[cfg(feature = "Win32_System_Com")]
7229 impl IFsrmReportScheduler
{
7230 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
7231 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7232 pub unsafe fn VerifyNamespaces(&self, namespacessafearray
: *const super::super::System
::Com
::VARIANT
) -> ::windows
::core
::Result
<()> {
7233 (::windows
::core
::Interface
::vtable(self).VerifyNamespaces
)(::windows
::core
::Interface
::as_raw(self), namespacessafearray
).ok()
7235 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
7236 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7237 pub unsafe fn CreateScheduleTask
<P0
, P1
>(&self, taskname
: P0
, namespacessafearray
: *const super::super::System
::Com
::VARIANT
, serializedtask
: P1
) -> ::windows
::core
::Result
<()>
7239 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7240 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7242 (::windows
::core
::Interface
::vtable(self).CreateScheduleTask
)(::windows
::core
::Interface
::as_raw(self), taskname
.into_param().abi(), namespacessafearray
, serializedtask
.into_param().abi()).ok()
7244 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
7245 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7246 pub unsafe fn ModifyScheduleTask
<P0
, P1
>(&self, taskname
: P0
, namespacessafearray
: *const super::super::System
::Com
::VARIANT
, serializedtask
: P1
) -> ::windows
::core
::Result
<()>
7248 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7249 P1
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7251 (::windows
::core
::Interface
::vtable(self).ModifyScheduleTask
)(::windows
::core
::Interface
::as_raw(self), taskname
.into_param().abi(), namespacessafearray
, serializedtask
.into_param().abi()).ok()
7253 pub unsafe fn DeleteScheduleTask
<P0
>(&self, taskname
: P0
) -> ::windows
::core
::Result
<()>
7255 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7257 (::windows
::core
::Interface
::vtable(self).DeleteScheduleTask
)(::windows
::core
::Interface
::as_raw(self), taskname
.into_param().abi()).ok()
7260 #[cfg(feature = "Win32_System_Com")]
7261 ::windows
::imp
::interface_hierarchy
!(IFsrmReportScheduler
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
7262 #[cfg(feature = "Win32_System_Com")]
7263 impl ::core
::cmp
::PartialEq
for IFsrmReportScheduler
{
7264 fn eq(&self, other
: &Self) -> bool
{
7268 #[cfg(feature = "Win32_System_Com")]
7269 impl ::core
::cmp
::Eq
for IFsrmReportScheduler {}
7270 #[cfg(feature = "Win32_System_Com")]
7271 impl ::core
::fmt
::Debug
for IFsrmReportScheduler
{
7272 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7273 f
.debug_tuple("IFsrmReportScheduler").field(&self.0).finish()
7276 #[cfg(feature = "Win32_System_Com")]
7277 unsafe impl ::windows
::core
::Interface
for IFsrmReportScheduler
{
7278 type Vtable
= IFsrmReportScheduler_Vtbl
;
7280 #[cfg(feature = "Win32_System_Com")]
7281 impl ::core
::clone
::Clone
for IFsrmReportScheduler
{
7282 fn clone(&self) -> Self {
7283 Self(self.0.clone())
7286 #[cfg(feature = "Win32_System_Com")]
7287 unsafe impl ::windows
::core
::ComInterface
for IFsrmReportScheduler
{
7288 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x6879caf9_6617_4484_8719_71c3d8645f94);
7290 #[cfg(feature = "Win32_System_Com")]
7293 pub struct IFsrmReportScheduler_Vtbl
{
7294 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
7295 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7296 pub VerifyNamespaces
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, namespacessafearray
: *const super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
7297 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
7298 VerifyNamespaces
: usize,
7299 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7300 pub CreateScheduleTask
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, taskname
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, namespacessafearray
: *const super::super::System
::Com
::VARIANT
, serializedtask
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7301 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
7302 CreateScheduleTask
: usize,
7303 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7304 pub ModifyScheduleTask
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, taskname
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>, namespacessafearray
: *const super::super::System
::Com
::VARIANT
, serializedtask
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7305 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
7306 ModifyScheduleTask
: usize,
7307 pub DeleteScheduleTask
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, taskname
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7309 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
7310 #[cfg(feature = "Win32_System_Com")]
7311 #[repr(transparent)]
7312 pub struct IFsrmRule(::windows
::core
::IUnknown
);
7313 #[cfg(feature = "Win32_System_Com")]
7315 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
7316 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
7317 (::windows
::core
::Interface
::vtable(self).base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7319 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
7320 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
7321 (::windows
::core
::Interface
::vtable(self).base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7323 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
7325 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7327 (::windows
::core
::Interface
::vtable(self).base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
7329 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
7330 (::windows
::core
::Interface
::vtable(self).base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
7332 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
7333 (::windows
::core
::Interface
::vtable(self).base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
7335 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
7336 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
7337 (::windows
::core
::Interface
::vtable(self).Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7339 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
7341 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7343 (::windows
::core
::Interface
::vtable(self).SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
7345 pub unsafe fn RuleType(&self) -> ::windows
::core
::Result
<FsrmRuleType
> {
7346 let mut result__
= ::windows
::core
::zeroed
::<FsrmRuleType
>();
7347 (::windows
::core
::Interface
::vtable(self).RuleType
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7349 pub unsafe fn ModuleDefinitionName(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
7350 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
7351 (::windows
::core
::Interface
::vtable(self).ModuleDefinitionName
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7353 pub unsafe fn SetModuleDefinitionName
<P0
>(&self, moduledefinitionname
: P0
) -> ::windows
::core
::Result
<()>
7355 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7357 (::windows
::core
::Interface
::vtable(self).SetModuleDefinitionName
)(::windows
::core
::Interface
::as_raw(self), moduledefinitionname
.into_param().abi()).ok()
7359 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
7360 #[cfg(feature = "Win32_System_Com")]
7361 pub unsafe fn NamespaceRoots(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
7362 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
7363 (::windows
::core
::Interface
::vtable(self).NamespaceRoots
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7365 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
7366 #[cfg(feature = "Win32_System_Com")]
7367 pub unsafe fn SetNamespaceRoots(&self, namespaceroots
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
7368 (::windows
::core
::Interface
::vtable(self).SetNamespaceRoots
)(::windows
::core
::Interface
::as_raw(self), namespaceroots
).ok()
7370 pub unsafe fn RuleFlags(&self) -> ::windows
::core
::Result
<i32> {
7371 let mut result__
= ::windows
::core
::zeroed
::<i32>();
7372 (::windows
::core
::Interface
::vtable(self).RuleFlags
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7374 pub unsafe fn SetRuleFlags(&self, ruleflags
: i32) -> ::windows
::core
::Result
<()> {
7375 (::windows
::core
::Interface
::vtable(self).SetRuleFlags
)(::windows
::core
::Interface
::as_raw(self), ruleflags
).ok()
7377 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
7378 #[cfg(feature = "Win32_System_Com")]
7379 pub unsafe fn Parameters(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
7380 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
7381 (::windows
::core
::Interface
::vtable(self).Parameters
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7383 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
7384 #[cfg(feature = "Win32_System_Com")]
7385 pub unsafe fn SetParameters(&self, parameters
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
7386 (::windows
::core
::Interface
::vtable(self).SetParameters
)(::windows
::core
::Interface
::as_raw(self), parameters
).ok()
7388 #[doc = "*Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`*"]
7389 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7390 pub unsafe fn LastModified(&self) -> ::windows
::core
::Result
<super::super::System
::Com
::VARIANT
> {
7391 let mut result__
= ::windows
::core
::zeroed
::<super::super::System
::Com
::VARIANT
>();
7392 (::windows
::core
::Interface
::vtable(self).LastModified
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7395 #[cfg(feature = "Win32_System_Com")]
7396 ::windows
::imp
::interface_hierarchy
!(IFsrmRule
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
);
7397 #[cfg(feature = "Win32_System_Com")]
7398 impl ::core
::cmp
::PartialEq
for IFsrmRule
{
7399 fn eq(&self, other
: &Self) -> bool
{
7403 #[cfg(feature = "Win32_System_Com")]
7404 impl ::core
::cmp
::Eq
for IFsrmRule {}
7405 #[cfg(feature = "Win32_System_Com")]
7406 impl ::core
::fmt
::Debug
for IFsrmRule
{
7407 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7408 f
.debug_tuple("IFsrmRule").field(&self.0).finish()
7411 #[cfg(feature = "Win32_System_Com")]
7412 unsafe impl ::windows
::core
::Interface
for IFsrmRule
{
7413 type Vtable
= IFsrmRule_Vtbl
;
7415 #[cfg(feature = "Win32_System_Com")]
7416 impl ::core
::clone
::Clone
for IFsrmRule
{
7417 fn clone(&self) -> Self {
7418 Self(self.0.clone())
7421 #[cfg(feature = "Win32_System_Com")]
7422 unsafe impl ::windows
::core
::ComInterface
for IFsrmRule
{
7423 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xcb0df960_16f5_4495_9079_3f9360d831df);
7425 #[cfg(feature = "Win32_System_Com")]
7428 pub struct IFsrmRule_Vtbl
{
7429 pub base__
: IFsrmObject_Vtbl
,
7430 pub Name
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7431 pub SetName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, name
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7432 pub RuleType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, ruletype
: *mut FsrmRuleType
) -> ::windows
::core
::HRESULT
,
7433 pub ModuleDefinitionName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, moduledefinitionname
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7434 pub SetModuleDefinitionName
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, moduledefinitionname
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7435 #[cfg(feature = "Win32_System_Com")]
7436 pub NamespaceRoots
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, namespaceroots
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
7437 #[cfg(not(feature = "Win32_System_Com"))]
7438 NamespaceRoots
: usize,
7439 #[cfg(feature = "Win32_System_Com")]
7440 pub SetNamespaceRoots
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, namespaceroots
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
7441 #[cfg(not(feature = "Win32_System_Com"))]
7442 SetNamespaceRoots
: usize,
7443 pub RuleFlags
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, ruleflags
: *mut i32) -> ::windows
::core
::HRESULT
,
7444 pub SetRuleFlags
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, ruleflags
: i32) -> ::windows
::core
::HRESULT
,
7445 #[cfg(feature = "Win32_System_Com")]
7446 pub Parameters
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, parameters
: *mut *mut super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
7447 #[cfg(not(feature = "Win32_System_Com"))]
7449 #[cfg(feature = "Win32_System_Com")]
7450 pub SetParameters
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, parameters
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::HRESULT
,
7451 #[cfg(not(feature = "Win32_System_Com"))]
7452 SetParameters
: usize,
7453 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole"))]
7454 pub LastModified
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, lastmodified
: *mut super::super::System
::Com
::VARIANT
) -> ::windows
::core
::HRESULT
,
7455 #[cfg(not(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Ole")))]
7456 LastModified
: usize,
7458 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
7459 #[cfg(feature = "Win32_System_Com")]
7460 #[repr(transparent)]
7461 pub struct IFsrmSetting(::windows
::core
::IUnknown
);
7462 #[cfg(feature = "Win32_System_Com")]
7464 pub unsafe fn SmtpServer(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
7465 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
7466 (::windows
::core
::Interface
::vtable(self).SmtpServer
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7468 pub unsafe fn SetSmtpServer
<P0
>(&self, smtpserver
: P0
) -> ::windows
::core
::Result
<()>
7470 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7472 (::windows
::core
::Interface
::vtable(self).SetSmtpServer
)(::windows
::core
::Interface
::as_raw(self), smtpserver
.into_param().abi()).ok()
7474 pub unsafe fn MailFrom(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
7475 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
7476 (::windows
::core
::Interface
::vtable(self).MailFrom
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7478 pub unsafe fn SetMailFrom
<P0
>(&self, mailfrom
: P0
) -> ::windows
::core
::Result
<()>
7480 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7482 (::windows
::core
::Interface
::vtable(self).SetMailFrom
)(::windows
::core
::Interface
::as_raw(self), mailfrom
.into_param().abi()).ok()
7484 pub unsafe fn AdminEmail(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
7485 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
7486 (::windows
::core
::Interface
::vtable(self).AdminEmail
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7488 pub unsafe fn SetAdminEmail
<P0
>(&self, adminemail
: P0
) -> ::windows
::core
::Result
<()>
7490 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7492 (::windows
::core
::Interface
::vtable(self).SetAdminEmail
)(::windows
::core
::Interface
::as_raw(self), adminemail
.into_param().abi()).ok()
7494 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
7495 #[cfg(feature = "Win32_Foundation")]
7496 pub unsafe fn DisableCommandLine(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
7497 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
7498 (::windows
::core
::Interface
::vtable(self).DisableCommandLine
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7500 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
7501 #[cfg(feature = "Win32_Foundation")]
7502 pub unsafe fn SetDisableCommandLine
<P0
>(&self, disablecommandline
: P0
) -> ::windows
::core
::Result
<()>
7504 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
7506 (::windows
::core
::Interface
::vtable(self).SetDisableCommandLine
)(::windows
::core
::Interface
::as_raw(self), disablecommandline
.into_param().abi()).ok()
7508 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
7509 #[cfg(feature = "Win32_Foundation")]
7510 pub unsafe fn EnableScreeningAudit(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
7511 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
7512 (::windows
::core
::Interface
::vtable(self).EnableScreeningAudit
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7514 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
7515 #[cfg(feature = "Win32_Foundation")]
7516 pub unsafe fn SetEnableScreeningAudit
<P0
>(&self, enablescreeningaudit
: P0
) -> ::windows
::core
::Result
<()>
7518 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
7520 (::windows
::core
::Interface
::vtable(self).SetEnableScreeningAudit
)(::windows
::core
::Interface
::as_raw(self), enablescreeningaudit
.into_param().abi()).ok()
7522 pub unsafe fn EmailTest
<P0
>(&self, mailto
: P0
) -> ::windows
::core
::Result
<()>
7524 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7526 (::windows
::core
::Interface
::vtable(self).EmailTest
)(::windows
::core
::Interface
::as_raw(self), mailto
.into_param().abi()).ok()
7528 pub unsafe fn SetActionRunLimitInterval(&self, actiontype
: FsrmActionType
, delaytimeminutes
: i32) -> ::windows
::core
::Result
<()> {
7529 (::windows
::core
::Interface
::vtable(self).SetActionRunLimitInterval
)(::windows
::core
::Interface
::as_raw(self), actiontype
, delaytimeminutes
).ok()
7531 pub unsafe fn GetActionRunLimitInterval(&self, actiontype
: FsrmActionType
) -> ::windows
::core
::Result
<i32> {
7532 let mut result__
= ::windows
::core
::zeroed
::<i32>();
7533 (::windows
::core
::Interface
::vtable(self).GetActionRunLimitInterval
)(::windows
::core
::Interface
::as_raw(self), actiontype
, &mut result__
).from_abi(result__
)
7536 #[cfg(feature = "Win32_System_Com")]
7537 ::windows
::imp
::interface_hierarchy
!(IFsrmSetting
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
);
7538 #[cfg(feature = "Win32_System_Com")]
7539 impl ::core
::cmp
::PartialEq
for IFsrmSetting
{
7540 fn eq(&self, other
: &Self) -> bool
{
7544 #[cfg(feature = "Win32_System_Com")]
7545 impl ::core
::cmp
::Eq
for IFsrmSetting {}
7546 #[cfg(feature = "Win32_System_Com")]
7547 impl ::core
::fmt
::Debug
for IFsrmSetting
{
7548 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7549 f
.debug_tuple("IFsrmSetting").field(&self.0).finish()
7552 #[cfg(feature = "Win32_System_Com")]
7553 unsafe impl ::windows
::core
::Interface
for IFsrmSetting
{
7554 type Vtable
= IFsrmSetting_Vtbl
;
7556 #[cfg(feature = "Win32_System_Com")]
7557 impl ::core
::clone
::Clone
for IFsrmSetting
{
7558 fn clone(&self) -> Self {
7559 Self(self.0.clone())
7562 #[cfg(feature = "Win32_System_Com")]
7563 unsafe impl ::windows
::core
::ComInterface
for IFsrmSetting
{
7564 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xf411d4fd_14be_4260_8c40_03b7c95e608a);
7566 #[cfg(feature = "Win32_System_Com")]
7569 pub struct IFsrmSetting_Vtbl
{
7570 pub base__
: super::super::System
::Com
::IDispatch_Vtbl
,
7571 pub SmtpServer
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, smtpserver
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7572 pub SetSmtpServer
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, smtpserver
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7573 pub MailFrom
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailfrom
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7574 pub SetMailFrom
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailfrom
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7575 pub AdminEmail
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, adminemail
: *mut ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7576 pub SetAdminEmail
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, adminemail
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7577 #[cfg(feature = "Win32_Foundation")]
7578 pub DisableCommandLine
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, disablecommandline
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
7579 #[cfg(not(feature = "Win32_Foundation"))]
7580 DisableCommandLine
: usize,
7581 #[cfg(feature = "Win32_Foundation")]
7582 pub SetDisableCommandLine
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, disablecommandline
: super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
7583 #[cfg(not(feature = "Win32_Foundation"))]
7584 SetDisableCommandLine
: usize,
7585 #[cfg(feature = "Win32_Foundation")]
7586 pub EnableScreeningAudit
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, enablescreeningaudit
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
7587 #[cfg(not(feature = "Win32_Foundation"))]
7588 EnableScreeningAudit
: usize,
7589 #[cfg(feature = "Win32_Foundation")]
7590 pub SetEnableScreeningAudit
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, enablescreeningaudit
: super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
7591 #[cfg(not(feature = "Win32_Foundation"))]
7592 SetEnableScreeningAudit
: usize,
7593 pub EmailTest
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, mailto
: ::std
::mem
::MaybeUninit
<::windows
::core
::BSTR
>) -> ::windows
::core
::HRESULT
,
7594 pub SetActionRunLimitInterval
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, actiontype
: FsrmActionType
, delaytimeminutes
: i32) -> ::windows
::core
::HRESULT
,
7595 pub GetActionRunLimitInterval
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, actiontype
: FsrmActionType
, delaytimeminutes
: *mut i32) -> ::windows
::core
::HRESULT
,
7597 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
7598 #[cfg(feature = "Win32_System_Com")]
7599 #[repr(transparent)]
7600 pub struct IFsrmStorageModuleDefinition(::windows
::core
::IUnknown
);
7601 #[cfg(feature = "Win32_System_Com")]
7602 impl IFsrmStorageModuleDefinition
{
7603 pub unsafe fn Id(&self) -> ::windows
::core
::Result
<::windows
::core
::GUID
> {
7604 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::GUID
>();
7605 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Id
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7607 pub unsafe fn Description(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
7608 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
7609 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Description
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7611 pub unsafe fn SetDescription
<P0
>(&self, description
: P0
) -> ::windows
::core
::Result
<()>
7613 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7615 (::windows
::core
::Interface
::vtable(self).base__
.base__
.SetDescription
)(::windows
::core
::Interface
::as_raw(self), description
.into_param().abi()).ok()
7617 pub unsafe fn Delete(&self) -> ::windows
::core
::Result
<()> {
7618 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Delete
)(::windows
::core
::Interface
::as_raw(self)).ok()
7620 pub unsafe fn Commit(&self) -> ::windows
::core
::Result
<()> {
7621 (::windows
::core
::Interface
::vtable(self).base__
.base__
.Commit
)(::windows
::core
::Interface
::as_raw(self)).ok()
7623 pub unsafe fn ModuleClsid(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
7624 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
7625 (::windows
::core
::Interface
::vtable(self).base__
.ModuleClsid
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7627 pub unsafe fn SetModuleClsid
<P0
>(&self, moduleclsid
: P0
) -> ::windows
::core
::Result
<()>
7629 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7631 (::windows
::core
::Interface
::vtable(self).base__
.SetModuleClsid
)(::windows
::core
::Interface
::as_raw(self), moduleclsid
.into_param().abi()).ok()
7633 pub unsafe fn Name(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
7634 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
7635 (::windows
::core
::Interface
::vtable(self).base__
.Name
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7637 pub unsafe fn SetName
<P0
>(&self, name
: P0
) -> ::windows
::core
::Result
<()>
7639 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7641 (::windows
::core
::Interface
::vtable(self).base__
.SetName
)(::windows
::core
::Interface
::as_raw(self), name
.into_param().abi()).ok()
7643 pub unsafe fn Company(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
7644 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
7645 (::windows
::core
::Interface
::vtable(self).base__
.Company
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7647 pub unsafe fn SetCompany
<P0
>(&self, company
: P0
) -> ::windows
::core
::Result
<()>
7649 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7651 (::windows
::core
::Interface
::vtable(self).base__
.SetCompany
)(::windows
::core
::Interface
::as_raw(self), company
.into_param().abi()).ok()
7653 pub unsafe fn Version(&self) -> ::windows
::core
::Result
<::windows
::core
::BSTR
> {
7654 let mut result__
= ::windows
::core
::zeroed
::<::windows
::core
::BSTR
>();
7655 (::windows
::core
::Interface
::vtable(self).base__
.Version
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7657 pub unsafe fn SetVersion
<P0
>(&self, version
: P0
) -> ::windows
::core
::Result
<()>
7659 P0
: ::windows
::core
::IntoParam
<::windows
::core
::BSTR
>,
7661 (::windows
::core
::Interface
::vtable(self).base__
.SetVersion
)(::windows
::core
::Interface
::as_raw(self), version
.into_param().abi()).ok()
7663 pub unsafe fn ModuleType(&self) -> ::windows
::core
::Result
<FsrmPipelineModuleType
> {
7664 let mut result__
= ::windows
::core
::zeroed
::<FsrmPipelineModuleType
>();
7665 (::windows
::core
::Interface
::vtable(self).base__
.ModuleType
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7667 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
7668 #[cfg(feature = "Win32_Foundation")]
7669 pub unsafe fn Enabled(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
7670 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
7671 (::windows
::core
::Interface
::vtable(self).base__
.Enabled
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7673 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
7674 #[cfg(feature = "Win32_Foundation")]
7675 pub unsafe fn SetEnabled
<P0
>(&self, enabled
: P0
) -> ::windows
::core
::Result
<()>
7677 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
7679 (::windows
::core
::Interface
::vtable(self).base__
.SetEnabled
)(::windows
::core
::Interface
::as_raw(self), enabled
.into_param().abi()).ok()
7681 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
7682 #[cfg(feature = "Win32_Foundation")]
7683 pub unsafe fn NeedsFileContent(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
7684 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
7685 (::windows
::core
::Interface
::vtable(self).base__
.NeedsFileContent
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7687 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
7688 #[cfg(feature = "Win32_Foundation")]
7689 pub unsafe fn SetNeedsFileContent
<P0
>(&self, needsfilecontent
: P0
) -> ::windows
::core
::Result
<()>
7691 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
7693 (::windows
::core
::Interface
::vtable(self).base__
.SetNeedsFileContent
)(::windows
::core
::Interface
::as_raw(self), needsfilecontent
.into_param().abi()).ok()
7695 pub unsafe fn Account(&self) -> ::windows
::core
::Result
<FsrmAccountType
> {
7696 let mut result__
= ::windows
::core
::zeroed
::<FsrmAccountType
>();
7697 (::windows
::core
::Interface
::vtable(self).base__
.Account
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7699 pub unsafe fn SetAccount(&self, retrievalaccount
: FsrmAccountType
) -> ::windows
::core
::Result
<()> {
7700 (::windows
::core
::Interface
::vtable(self).base__
.SetAccount
)(::windows
::core
::Interface
::as_raw(self), retrievalaccount
).ok()
7702 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
7703 #[cfg(feature = "Win32_System_Com")]
7704 pub unsafe fn SupportedExtensions(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
7705 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
7706 (::windows
::core
::Interface
::vtable(self).base__
.SupportedExtensions
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7708 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
7709 #[cfg(feature = "Win32_System_Com")]
7710 pub unsafe fn SetSupportedExtensions(&self, supportedextensions
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
7711 (::windows
::core
::Interface
::vtable(self).base__
.SetSupportedExtensions
)(::windows
::core
::Interface
::as_raw(self), supportedextensions
).ok()
7713 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
7714 #[cfg(feature = "Win32_System_Com")]
7715 pub unsafe fn Parameters(&self) -> ::windows
::core
::Result
<*mut super::super::System
::Com
::SAFEARRAY
> {
7716 let mut result__
= ::windows
::core
::zeroed
::<*mut super::super::System
::Com
::SAFEARRAY
>();
7717 (::windows
::core
::Interface
::vtable(self).base__
.Parameters
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7719 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
7720 #[cfg(feature = "Win32_System_Com")]
7721 pub unsafe fn SetParameters(&self, parameters
: *const super::super::System
::Com
::SAFEARRAY
) -> ::windows
::core
::Result
<()> {
7722 (::windows
::core
::Interface
::vtable(self).base__
.SetParameters
)(::windows
::core
::Interface
::as_raw(self), parameters
).ok()
7724 pub unsafe fn Capabilities(&self) -> ::windows
::core
::Result
<FsrmStorageModuleCaps
> {
7725 let mut result__
= ::windows
::core
::zeroed
::<FsrmStorageModuleCaps
>();
7726 (::windows
::core
::Interface
::vtable(self).Capabilities
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7728 pub unsafe fn SetCapabilities(&self, capabilities
: FsrmStorageModuleCaps
) -> ::windows
::core
::Result
<()> {
7729 (::windows
::core
::Interface
::vtable(self).SetCapabilities
)(::windows
::core
::Interface
::as_raw(self), capabilities
).ok()
7731 pub unsafe fn StorageType(&self) -> ::windows
::core
::Result
<FsrmStorageModuleType
> {
7732 let mut result__
= ::windows
::core
::zeroed
::<FsrmStorageModuleType
>();
7733 (::windows
::core
::Interface
::vtable(self).StorageType
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7735 pub unsafe fn SetStorageType(&self, storagetype
: FsrmStorageModuleType
) -> ::windows
::core
::Result
<()> {
7736 (::windows
::core
::Interface
::vtable(self).SetStorageType
)(::windows
::core
::Interface
::as_raw(self), storagetype
).ok()
7738 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
7739 #[cfg(feature = "Win32_Foundation")]
7740 pub unsafe fn UpdatesFileContent(&self) -> ::windows
::core
::Result
<super::super::Foundation
::VARIANT_BOOL
> {
7741 let mut result__
= ::windows
::core
::zeroed
::<super::super::Foundation
::VARIANT_BOOL
>();
7742 (::windows
::core
::Interface
::vtable(self).UpdatesFileContent
)(::windows
::core
::Interface
::as_raw(self), &mut result__
).from_abi(result__
)
7744 #[doc = "*Required features: `\"Win32_Foundation\"`*"]
7745 #[cfg(feature = "Win32_Foundation")]
7746 pub unsafe fn SetUpdatesFileContent
<P0
>(&self, updatesfilecontent
: P0
) -> ::windows
::core
::Result
<()>
7748 P0
: ::windows
::core
::IntoParam
<super::super::Foundation
::VARIANT_BOOL
>,
7750 (::windows
::core
::Interface
::vtable(self).SetUpdatesFileContent
)(::windows
::core
::Interface
::as_raw(self), updatesfilecontent
.into_param().abi()).ok()
7753 #[cfg(feature = "Win32_System_Com")]
7754 ::windows
::imp
::interface_hierarchy
!(IFsrmStorageModuleDefinition
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmObject
, IFsrmPipelineModuleDefinition
);
7755 #[cfg(feature = "Win32_System_Com")]
7756 impl ::core
::cmp
::PartialEq
for IFsrmStorageModuleDefinition
{
7757 fn eq(&self, other
: &Self) -> bool
{
7761 #[cfg(feature = "Win32_System_Com")]
7762 impl ::core
::cmp
::Eq
for IFsrmStorageModuleDefinition {}
7763 #[cfg(feature = "Win32_System_Com")]
7764 impl ::core
::fmt
::Debug
for IFsrmStorageModuleDefinition
{
7765 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7766 f
.debug_tuple("IFsrmStorageModuleDefinition").field(&self.0).finish()
7769 #[cfg(feature = "Win32_System_Com")]
7770 unsafe impl ::windows
::core
::Interface
for IFsrmStorageModuleDefinition
{
7771 type Vtable
= IFsrmStorageModuleDefinition_Vtbl
;
7773 #[cfg(feature = "Win32_System_Com")]
7774 impl ::core
::clone
::Clone
for IFsrmStorageModuleDefinition
{
7775 fn clone(&self) -> Self {
7776 Self(self.0.clone())
7779 #[cfg(feature = "Win32_System_Com")]
7780 unsafe impl ::windows
::core
::ComInterface
for IFsrmStorageModuleDefinition
{
7781 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x15a81350_497d_4aba_80e9_d4dbcc5521fe);
7783 #[cfg(feature = "Win32_System_Com")]
7786 pub struct IFsrmStorageModuleDefinition_Vtbl
{
7787 pub base__
: IFsrmPipelineModuleDefinition_Vtbl
,
7788 pub Capabilities
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, capabilities
: *mut FsrmStorageModuleCaps
) -> ::windows
::core
::HRESULT
,
7789 pub SetCapabilities
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, capabilities
: FsrmStorageModuleCaps
) -> ::windows
::core
::HRESULT
,
7790 pub StorageType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, storagetype
: *mut FsrmStorageModuleType
) -> ::windows
::core
::HRESULT
,
7791 pub SetStorageType
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, storagetype
: FsrmStorageModuleType
) -> ::windows
::core
::HRESULT
,
7792 #[cfg(feature = "Win32_Foundation")]
7793 pub UpdatesFileContent
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, updatesfilecontent
: *mut super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
7794 #[cfg(not(feature = "Win32_Foundation"))]
7795 UpdatesFileContent
: usize,
7796 #[cfg(feature = "Win32_Foundation")]
7797 pub SetUpdatesFileContent
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, updatesfilecontent
: super::super::Foundation
::VARIANT_BOOL
) -> ::windows
::core
::HRESULT
,
7798 #[cfg(not(feature = "Win32_Foundation"))]
7799 SetUpdatesFileContent
: usize,
7801 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_System_Com\"`*"]
7802 #[cfg(feature = "Win32_System_Com")]
7803 #[repr(transparent)]
7804 pub struct IFsrmStorageModuleImplementation(::windows
::core
::IUnknown
);
7805 #[cfg(feature = "Win32_System_Com")]
7806 impl IFsrmStorageModuleImplementation
{
7807 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
7808 #[cfg(feature = "Win32_System_Com")]
7809 pub unsafe fn OnLoad
<P0
>(&self, moduledefinition
: P0
) -> ::windows
::core
::Result
<IFsrmPipelineModuleConnector
>
7811 P0
: ::windows
::core
::IntoParam
<IFsrmPipelineModuleDefinition
>,
7813 let mut result__
= ::windows
::core
::zeroed
::<IFsrmPipelineModuleConnector
>();
7814 (::windows
::core
::Interface
::vtable(self).base__
.OnLoad
)(::windows
::core
::Interface
::as_raw(self), moduledefinition
.into_param().abi(), &mut result__
).from_abi(result__
)
7816 pub unsafe fn OnUnload(&self) -> ::windows
::core
::Result
<()> {
7817 (::windows
::core
::Interface
::vtable(self).base__
.OnUnload
)(::windows
::core
::Interface
::as_raw(self)).ok()
7819 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
7820 #[cfg(feature = "Win32_System_Com")]
7821 pub unsafe fn UseDefinitions
<P0
>(&self, propertydefinitions
: P0
) -> ::windows
::core
::Result
<()>
7823 P0
: ::windows
::core
::IntoParam
<IFsrmCollection
>,
7825 (::windows
::core
::Interface
::vtable(self).UseDefinitions
)(::windows
::core
::Interface
::as_raw(self), propertydefinitions
.into_param().abi()).ok()
7827 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
7828 #[cfg(feature = "Win32_System_Com")]
7829 pub unsafe fn LoadProperties
<P0
>(&self, propertybag
: P0
) -> ::windows
::core
::Result
<()>
7831 P0
: ::windows
::core
::IntoParam
<IFsrmPropertyBag
>,
7833 (::windows
::core
::Interface
::vtable(self).LoadProperties
)(::windows
::core
::Interface
::as_raw(self), propertybag
.into_param().abi()).ok()
7835 #[doc = "*Required features: `\"Win32_System_Com\"`*"]
7836 #[cfg(feature = "Win32_System_Com")]
7837 pub unsafe fn SaveProperties
<P0
>(&self, propertybag
: P0
) -> ::windows
::core
::Result
<()>
7839 P0
: ::windows
::core
::IntoParam
<IFsrmPropertyBag
>,
7841 (::windows
::core
::Interface
::vtable(self).SaveProperties
)(::windows
::core
::Interface
::as_raw(self), propertybag
.into_param().abi()).ok()
7844 #[cfg(feature = "Win32_System_Com")]
7845 ::windows
::imp
::interface_hierarchy
!(IFsrmStorageModuleImplementation
, ::windows
::core
::IUnknown
, super::super::System
::Com
::IDispatch
, IFsrmPipelineModuleImplementation
);
7846 #[cfg(feature = "Win32_System_Com")]
7847 impl ::core
::cmp
::PartialEq
for IFsrmStorageModuleImplementation
{
7848 fn eq(&self, other
: &Self) -> bool
{
7852 #[cfg(feature = "Win32_System_Com")]
7853 impl ::core
::cmp
::Eq
for IFsrmStorageModuleImplementation {}
7854 #[cfg(feature = "Win32_System_Com")]
7855 impl ::core
::fmt
::Debug
for IFsrmStorageModuleImplementation
{
7856 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
7857 f
.debug_tuple("IFsrmStorageModuleImplementation").field(&self.0).finish()
7860 #[cfg(feature = "Win32_System_Com")]
7861 unsafe impl ::windows
::core
::Interface
for IFsrmStorageModuleImplementation
{
7862 type Vtable
= IFsrmStorageModuleImplementation_Vtbl
;
7864 #[cfg(feature = "Win32_System_Com")]
7865 impl ::core
::clone
::Clone
for IFsrmStorageModuleImplementation
{
7866 fn clone(&self) -> Self {
7867 Self(self.0.clone())
7870 #[cfg(feature = "Win32_System_Com")]
7871 unsafe impl ::windows
::core
::ComInterface
for IFsrmStorageModuleImplementation
{
7872 const IID
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x0af4a0da_895a_4e50_8712_a96724bcec64);
7874 #[cfg(feature = "Win32_System_Com")]
7877 pub struct IFsrmStorageModuleImplementation_Vtbl
{
7878 pub base__
: IFsrmPipelineModuleImplementation_Vtbl
,
7879 #[cfg(feature = "Win32_System_Com")]
7880 pub UseDefinitions
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, propertydefinitions
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
7881 #[cfg(not(feature = "Win32_System_Com"))]
7882 UseDefinitions
: usize,
7883 #[cfg(feature = "Win32_System_Com")]
7884 pub LoadProperties
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, propertybag
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
7885 #[cfg(not(feature = "Win32_System_Com"))]
7886 LoadProperties
: usize,
7887 #[cfg(feature = "Win32_System_Com")]
7888 pub SaveProperties
: unsafe extern "system" fn(this
: *mut ::core
::ffi
::c_void
, propertybag
: *mut ::core
::ffi
::c_void
) -> ::windows
::core
::HRESULT
,
7889 #[cfg(not(feature = "Win32_System_Com"))]
7890 SaveProperties
: usize,
7892 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7893 pub const AdSyncTask
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x2ae64751_b728_4d6b_97a0_b2da2e7d2a3b);
7894 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7895 pub const FSRM_DISPID_FEATURE_CLASSIFICATION
: u32 = 83886080u32;
7896 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7897 pub const FSRM_DISPID_FEATURE_FILESCREEN
: u32 = 50331648u32;
7898 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7899 pub const FSRM_DISPID_FEATURE_GENERAL
: u32 = 16777216u32;
7900 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7901 pub const FSRM_DISPID_FEATURE_MASK
: u32 = 251658240u32;
7902 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7903 pub const FSRM_DISPID_FEATURE_PIPELINE
: u32 = 100663296u32;
7904 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7905 pub const FSRM_DISPID_FEATURE_QUOTA
: u32 = 33554432u32;
7906 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7907 pub const FSRM_DISPID_FEATURE_REPORTS
: u32 = 67108864u32;
7908 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7909 pub const FSRM_DISPID_INTERFACE_A_MASK
: u32 = 15728640u32;
7910 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7911 pub const FSRM_DISPID_INTERFACE_B_MASK
: u32 = 983040u32;
7912 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7913 pub const FSRM_DISPID_INTERFACE_C_MASK
: u32 = 61440u32;
7914 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7915 pub const FSRM_DISPID_INTERFACE_D_MASK
: u32 = 3840u32;
7916 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7917 pub const FSRM_DISPID_IS_PROPERTY
: u32 = 128u32;
7918 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7919 pub const FSRM_DISPID_METHOD_NUM_MASK
: u32 = 127u32;
7920 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7921 pub const FSRM_E_ADR_MAX_EMAILS_SENT
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200130i32);
7922 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7923 pub const FSRM_E_ADR_NOT_DOMAIN_JOINED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200110i32);
7924 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7925 pub const FSRM_E_ADR_PATH_IS_LOCAL
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200111i32);
7926 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7927 pub const FSRM_E_ADR_SRV_NOT_SUPPORTED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200112i32);
7928 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7929 pub const FSRM_E_ALREADY_EXISTS
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200253i32);
7930 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7931 pub const FSRM_E_AUTO_QUOTA
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(283419i32);
7932 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7933 pub const FSRM_E_CACHE_INVALID
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200187i32);
7934 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7935 pub const FSRM_E_CACHE_MODULE_ALREADY_EXISTS
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200186i32);
7936 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7937 pub const FSRM_E_CANNOT_AGGREGATE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200201i32);
7938 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7939 pub const FSRM_E_CANNOT_ALLOW_REPARSE_POINT_TAG
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200170i32);
7940 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7941 pub const FSRM_E_CANNOT_CHANGE_PROPERTY_TYPE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200197i32);
7942 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7943 pub const FSRM_E_CANNOT_CREATE_TEMP_COPY
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200132i32);
7944 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7945 pub const FSRM_E_CANNOT_DELETE_SYSTEM_PROPERTY
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200135i32);
7946 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7947 pub const FSRM_E_CANNOT_REMOVE_READONLY
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200109i32);
7948 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7949 pub const FSRM_E_CANNOT_RENAME_PROPERTY
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200198i32);
7950 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7951 pub const FSRM_E_CANNOT_STORE_PROPERTIES
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200171i32);
7952 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7953 pub const FSRM_E_CANNOT_USE_DELETED_PROPERTY
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200143i32);
7954 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7955 pub const FSRM_E_CANNOT_USE_DEPRECATED_PROPERTY
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200145i32);
7956 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7957 pub const FSRM_E_CLASSIFICATION_ALREADY_RUNNING
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200195i32);
7958 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7959 pub const FSRM_E_CLASSIFICATION_CANCELED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200141i32);
7960 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7961 pub const FSRM_E_CLASSIFICATION_NOT_RUNNING
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200194i32);
7962 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7963 pub const FSRM_E_CLASSIFICATION_PARTIAL_BATCH
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200136i32);
7964 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7965 pub const FSRM_E_CLASSIFICATION_SCAN_FAIL
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200148i32);
7966 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7967 pub const FSRM_E_CLASSIFICATION_TIMEOUT
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200137i32);
7968 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7969 pub const FSRM_E_CLUSTER_NOT_RUNNING
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200210i32);
7970 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7971 pub const FSRM_E_CSC_PATH_NOT_SUPPORTED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200106i32);
7972 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7973 pub const FSRM_E_DIFFERENT_CLUSTER_GROUP
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200207i32);
7974 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7975 pub const FSRM_E_DRIVER_NOT_READY
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200237i32);
7976 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7977 pub const FSRM_E_DUPLICATE_NAME
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200240i32);
7978 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7979 pub const FSRM_E_EMAIL_NOT_SENT
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200228i32);
7980 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7981 pub const FSRM_E_ENUM_PROPERTIES_FAILED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200173i32);
7982 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7983 pub const FSRM_E_ERROR_NOT_ENABLED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200133i32);
7984 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7985 pub const FSRM_E_EXPIRATION_PATH_NOT_WRITEABLE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200105i32);
7986 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7987 pub const FSRM_E_EXPIRATION_PATH_TOO_LONG
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200104i32);
7988 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7989 pub const FSRM_E_EXPIRATION_VOLUME_NOT_NTFS
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200103i32);
7990 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7991 pub const FSRM_E_FAIL_BATCH
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200247i32);
7992 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7993 pub const FSRM_E_FILE_ENCRYPTED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200156i32);
7994 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7995 pub const FSRM_E_FILE_IN_USE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200134i32);
7996 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7997 pub const FSRM_E_FILE_MANAGEMENT_ACTION_GET_EXITCODE_FAILED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200152i32);
7998 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
7999 pub const FSRM_E_FILE_MANAGEMENT_ACTION_TIMEOUT
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200153i32);
8000 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8001 pub const FSRM_E_FILE_MANAGEMENT_EXPIRATION_DIR_IN_SCOPE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200185i32);
8002 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8003 pub const FSRM_E_FILE_MANAGEMENT_JOB_ALREADY_EXISTS
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200184i32);
8004 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8005 pub const FSRM_E_FILE_MANAGEMENT_JOB_ALREADY_RUNNING
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200193i32);
8006 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8007 pub const FSRM_E_FILE_MANAGEMENT_JOB_CUSTOM
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200191i32);
8008 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8009 pub const FSRM_E_FILE_MANAGEMENT_JOB_DEPRECATED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200102i32);
8010 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8011 pub const FSRM_E_FILE_MANAGEMENT_JOB_EXPIRATION
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200192i32);
8012 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8013 pub const FSRM_E_FILE_MANAGEMENT_JOB_INVALID_CONTINUOUS_CONFIG
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200108i32);
8014 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8015 pub const FSRM_E_FILE_MANAGEMENT_JOB_MAX_FILE_CONDITIONS
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200146i32);
8016 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8017 pub const FSRM_E_FILE_MANAGEMENT_JOB_NOTIFICATION
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200190i32);
8018 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8019 pub const FSRM_E_FILE_MANAGEMENT_JOB_NOT_LEGACY_ACCESSIBLE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200147i32);
8020 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8021 pub const FSRM_E_FILE_MANAGEMENT_JOB_RMS
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200120i32);
8022 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8023 pub const FSRM_E_FILE_OPEN_ERROR
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200189i32);
8024 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8025 pub const FSRM_E_FILE_SYSTEM_CORRUPT
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200225i32);
8026 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8027 pub const FSRM_E_INCOMPATIBLE_FORMAT
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200157i32);
8028 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8029 pub const FSRM_E_INPROC_MODULE_BLOCKED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200174i32);
8030 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8031 pub const FSRM_E_INSECURE_PATH
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200233i32);
8032 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8033 pub const FSRM_E_INSUFFICIENT_DISK
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200236i32);
8034 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8035 pub const FSRM_E_INVALID_AD_CLAIM
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200142i32);
8036 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8037 pub const FSRM_E_INVALID_COMBINATION
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200241i32);
8038 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8039 pub const FSRM_E_INVALID_DATASCREEN_DEFINITION
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200220i32);
8040 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8041 pub const FSRM_E_INVALID_EMAIL_ADDRESS
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200226i32);
8042 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8043 pub const FSRM_E_INVALID_FILEGROUP_DEFINITION
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200223i32);
8044 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8045 pub const FSRM_E_INVALID_FILENAME
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200214i32);
8046 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8047 pub const FSRM_E_INVALID_FOLDER_PROPERTY_STORE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200140i32);
8048 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8049 pub const FSRM_E_INVALID_IMPORT_VERSION
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200245i32);
8050 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8051 pub const FSRM_E_INVALID_LIMIT
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200249i32);
8052 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8053 pub const FSRM_E_INVALID_NAME
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200248i32);
8054 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8055 pub const FSRM_E_INVALID_PATH
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200250i32);
8056 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8057 pub const FSRM_E_INVALID_REPORT_DESC
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200215i32);
8058 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8059 pub const FSRM_E_INVALID_REPORT_FORMAT
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200216i32);
8060 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8061 pub const FSRM_E_INVALID_SCHEDULER_ARGUMENT
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200254i32);
8062 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8063 pub const FSRM_E_INVALID_SMTP_SERVER
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200232i32);
8064 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8065 pub const FSRM_E_INVALID_TEXT
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200246i32);
8066 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8067 pub const FSRM_E_INVALID_USER
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200251i32);
8068 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8069 pub const FSRM_E_LAST_ACCESS_UPDATE_DISABLED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200176i32);
8070 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8071 pub const FSRM_E_LEGACY_SCHEDULE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200107i32);
8072 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8073 pub const FSRM_E_LOADING_DISABLED_MODULE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200202i32);
8074 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8075 pub const FSRM_E_LONG_CMDLINE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200224i32);
8076 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8077 pub const FSRM_E_MAX_PROPERTY_DEFINITIONS
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200196i32);
8078 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8079 pub const FSRM_E_MESSAGE_LIMIT_EXCEEDED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200200i32);
8080 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8081 pub const FSRM_E_MODULE_INITIALIZATION
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200150i32);
8082 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8083 pub const FSRM_E_MODULE_INVALID_PARAM
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200151i32);
8084 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8085 pub const FSRM_E_MODULE_SESSION_INITIALIZATION
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200149i32);
8086 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8087 pub const FSRM_E_MODULE_TIMEOUT
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200101i32);
8088 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8089 pub const FSRM_E_NOT_CLUSTER_VOLUME
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200208i32);
8090 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8091 pub const FSRM_E_NOT_FOUND
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200255i32);
8092 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8093 pub const FSRM_E_NOT_SUPPORTED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200239i32);
8094 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8095 pub const FSRM_E_NO_EMAIL_ADDRESS
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200131i32);
8096 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8097 pub const FSRM_E_NO_PROPERTY_VALUE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200175i32);
8098 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8099 pub const FSRM_E_OBJECT_IN_USE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200199i32);
8100 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8101 pub const FSRM_E_OUT_OF_RANGE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200243i32);
8102 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8103 pub const FSRM_E_PARTIAL_CLASSIFICATION_PROPERTY_NOT_FOUND
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200169i32);
8104 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8105 pub const FSRM_E_PATH_NOT_FOUND
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200252i32);
8106 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8107 pub const FSRM_E_PATH_NOT_IN_NAMESPACE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200129i32);
8108 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8109 pub const FSRM_E_PERSIST_PROPERTIES_FAILED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200155i32);
8110 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8111 pub const FSRM_E_PERSIST_PROPERTIES_FAILED_ENCRYPTED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200166i32);
8112 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8113 pub const FSRM_E_PROPERTY_DELETED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200183i32);
8114 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8115 pub const FSRM_E_PROPERTY_MUST_APPLY_TO_FILES
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200138i32);
8116 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8117 pub const FSRM_E_PROPERTY_MUST_APPLY_TO_FOLDERS
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200124i32);
8118 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8119 pub const FSRM_E_PROPERTY_MUST_BE_GLOBAL
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200122i32);
8120 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8121 pub const FSRM_E_PROPERTY_MUST_BE_SECURE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200123i32);
8122 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8123 pub const FSRM_E_REBUILDING_FODLER_TYPE_INDEX
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200139i32);
8124 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8125 pub const FSRM_E_REPORT_GENERATION_ERR
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200204i32);
8126 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8127 pub const FSRM_E_REPORT_JOB_ALREADY_RUNNING
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200205i32);
8128 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8129 pub const FSRM_E_REPORT_TASK_TRIGGER
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200203i32);
8130 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8131 pub const FSRM_E_REPORT_TYPE_ALREADY_EXISTS
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200206i32);
8132 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8133 pub const FSRM_E_REQD_PARAM_MISSING
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200242i32);
8134 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8135 pub const FSRM_E_RMS_NO_PROTECTORS_INSTALLED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200126i32);
8136 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8137 pub const FSRM_E_RMS_NO_PROTECTOR_INSTALLED_FOR_FILE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200125i32);
8138 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8139 pub const FSRM_E_RMS_TEMPLATE_NOT_FOUND
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200128i32);
8140 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8141 pub const FSRM_E_SECURE_PROPERTIES_NOT_SUPPORTED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200127i32);
8142 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8143 pub const FSRM_E_SET_PROPERTY_FAILED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200172i32);
8144 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8145 pub const FSRM_E_SHADOW_COPY
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200212i32);
8146 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8147 pub const FSRM_E_STORE_NOT_INSTALLED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200209i32);
8148 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8149 pub const FSRM_E_SYNC_TASK_HAD_ERRORS
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200119i32);
8150 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8151 pub const FSRM_E_SYNC_TASK_TIMEOUT
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200144i32);
8152 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8153 pub const FSRM_E_TEXTREADER_FILENAME_TOO_LONG
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200158i32);
8154 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8155 pub const FSRM_E_TEXTREADER_IFILTER_CLSID_MALFORMED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200160i32);
8156 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8157 pub const FSRM_E_TEXTREADER_IFILTER_NOT_FOUND
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200167i32);
8158 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8159 pub const FSRM_E_TEXTREADER_NOT_INITIALIZED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200168i32);
8160 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8161 pub const FSRM_E_TEXTREADER_STREAM_ERROR
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200159i32);
8162 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8163 pub const FSRM_E_UNEXPECTED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200234i32);
8164 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8165 pub const FSRM_E_UNSECURE_LINK_TO_HOSTED_MODULE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200188i32);
8166 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8167 pub const FSRM_E_VOLUME_OFFLINE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200154i32);
8168 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8169 pub const FSRM_E_VOLUME_UNSUPPORTED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200235i32);
8170 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8171 pub const FSRM_E_WMI_FAILURE
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200121i32);
8172 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8173 pub const FSRM_E_XML_CORRUPTED
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(-2147200211i32);
8174 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8175 pub const FSRM_S_CLASSIFICATION_SCAN_FAILURES
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(283398i32);
8176 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8177 pub const FSRM_S_PARTIAL_BATCH
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(283396i32);
8178 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8179 pub const FSRM_S_PARTIAL_CLASSIFICATION
: ::windows
::core
::HRESULT
= ::windows
::core
::HRESULT(283397i32);
8180 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8181 pub const FsrmAccessDeniedRemediationClient
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x100b4fc8_74c1_470f_b1b7_dd7b6bae79bd);
8182 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8183 pub const FsrmClassificationManager
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xb15c0e47_c391_45b9_95c8_eb596c853f3a);
8184 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8185 pub const FsrmDaysNotSpecified
: i32 = -1i32;
8186 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8187 pub const FsrmExportImport
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x1482dc37_fae9_4787_9025_8ce4e024ab56);
8188 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8189 pub const FsrmFileGroupManager
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x8f1363f6_656f_4496_9226_13aecbd7718f);
8190 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8191 pub const FsrmFileManagementJobManager
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xeb18f9b2_4c3a_4321_b203_205120cff614);
8192 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8193 pub const FsrmFileScreenManager
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x95941183_db53_4c5f_b37b_7d0921cf9dc7);
8194 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8195 pub const FsrmFileScreenTemplateManager
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x243111df_e474_46aa_a054_eaa33edc292a);
8196 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8197 pub const FsrmMaxExcludeFolders
: u32 = 32u32;
8198 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8199 pub const FsrmMaxNumberPropertyDefinitions
: u32 = 100u32;
8200 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8201 pub const FsrmMaxNumberThresholds
: u32 = 16u32;
8202 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8203 pub const FsrmMaxThresholdValue
: u32 = 250u32;
8204 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8205 pub const FsrmMinQuotaLimit
: u32 = 1024u32;
8206 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8207 pub const FsrmMinThresholdValue
: u32 = 1u32;
8208 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8209 pub const FsrmPathMapper
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xf3be42bd_8ac2_409e_bbd8_faf9b6b41feb);
8210 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8211 pub const FsrmPipelineModuleConnector
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xc7643375_1eb5_44de_a062_623547d933bc);
8212 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8213 pub const FsrmQuotaManager
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x90dcab7f_347c_4bfc_b543_540326305fbe);
8214 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8215 pub const FsrmQuotaTemplateManager
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x97d3d443_251c_4337_81e7_b32e8f4ee65e);
8216 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8217 pub const FsrmReportManager
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0x0058ef37_aa66_4c48_bd5b_2fce432ab0c8);
8218 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8219 pub const FsrmReportScheduler
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xea25f1b8_1b8d_4290_8ee8_e17c12c2fe20);
8220 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8221 pub const FsrmSetting
: ::windows
::core
::GUID
= ::windows
::core
::GUID
::from_u128(0xf556d708_6d4d_4594_9c61_7dbb0dae2a46);
8222 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8223 pub const MessageSizeLimit
: u32 = 4096u32;
8224 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8225 #[repr(transparent)]
8226 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8227 pub struct AdrClientDisplayFlags(pub i32);
8228 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8229 pub const AdrClientDisplayFlags_AllowEmailRequests
: AdrClientDisplayFlags
= AdrClientDisplayFlags(1i32);
8230 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8231 pub const AdrClientDisplayFlags_ShowDeviceTroubleshooting
: AdrClientDisplayFlags
= AdrClientDisplayFlags(2i32);
8232 impl ::core
::marker
::Copy
for AdrClientDisplayFlags {}
8233 impl ::core
::clone
::Clone
for AdrClientDisplayFlags
{
8234 fn clone(&self) -> Self {
8238 impl ::core
::default::Default
for AdrClientDisplayFlags
{
8239 fn default() -> Self {
8243 impl ::windows
::core
::TypeKind
for AdrClientDisplayFlags
{
8244 type TypeKind
= ::windows
::core
::CopyType
;
8246 impl ::core
::fmt
::Debug
for AdrClientDisplayFlags
{
8247 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8248 f
.debug_tuple("AdrClientDisplayFlags").field(&self.0).finish()
8251 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8252 #[repr(transparent)]
8253 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8254 pub struct AdrClientErrorType(pub i32);
8255 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8256 pub const AdrClientErrorType_Unknown
: AdrClientErrorType
= AdrClientErrorType(0i32);
8257 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8258 pub const AdrClientErrorType_AccessDenied
: AdrClientErrorType
= AdrClientErrorType(1i32);
8259 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8260 pub const AdrClientErrorType_FileNotFound
: AdrClientErrorType
= AdrClientErrorType(2i32);
8261 impl ::core
::marker
::Copy
for AdrClientErrorType {}
8262 impl ::core
::clone
::Clone
for AdrClientErrorType
{
8263 fn clone(&self) -> Self {
8267 impl ::core
::default::Default
for AdrClientErrorType
{
8268 fn default() -> Self {
8272 impl ::windows
::core
::TypeKind
for AdrClientErrorType
{
8273 type TypeKind
= ::windows
::core
::CopyType
;
8275 impl ::core
::fmt
::Debug
for AdrClientErrorType
{
8276 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8277 f
.debug_tuple("AdrClientErrorType").field(&self.0).finish()
8280 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8281 #[repr(transparent)]
8282 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8283 pub struct AdrClientFlags(pub i32);
8284 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8285 pub const AdrClientFlags_None
: AdrClientFlags
= AdrClientFlags(0i32);
8286 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8287 pub const AdrClientFlags_FailForLocalPaths
: AdrClientFlags
= AdrClientFlags(1i32);
8288 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8289 pub const AdrClientFlags_FailIfNotSupportedByServer
: AdrClientFlags
= AdrClientFlags(2i32);
8290 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8291 pub const AdrClientFlags_FailIfNotDomainJoined
: AdrClientFlags
= AdrClientFlags(4i32);
8292 impl ::core
::marker
::Copy
for AdrClientFlags {}
8293 impl ::core
::clone
::Clone
for AdrClientFlags
{
8294 fn clone(&self) -> Self {
8298 impl ::core
::default::Default
for AdrClientFlags
{
8299 fn default() -> Self {
8303 impl ::windows
::core
::TypeKind
for AdrClientFlags
{
8304 type TypeKind
= ::windows
::core
::CopyType
;
8306 impl ::core
::fmt
::Debug
for AdrClientFlags
{
8307 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8308 f
.debug_tuple("AdrClientFlags").field(&self.0).finish()
8311 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8312 #[repr(transparent)]
8313 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8314 pub struct AdrEmailFlags(pub i32);
8315 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8316 pub const AdrEmailFlags_PutDataOwnerOnToLine
: AdrEmailFlags
= AdrEmailFlags(1i32);
8317 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8318 pub const AdrEmailFlags_PutAdminOnToLine
: AdrEmailFlags
= AdrEmailFlags(2i32);
8319 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8320 pub const AdrEmailFlags_IncludeDeviceClaims
: AdrEmailFlags
= AdrEmailFlags(4i32);
8321 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8322 pub const AdrEmailFlags_IncludeUserInfo
: AdrEmailFlags
= AdrEmailFlags(8i32);
8323 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8324 pub const AdrEmailFlags_GenerateEventLog
: AdrEmailFlags
= AdrEmailFlags(16i32);
8325 impl ::core
::marker
::Copy
for AdrEmailFlags {}
8326 impl ::core
::clone
::Clone
for AdrEmailFlags
{
8327 fn clone(&self) -> Self {
8331 impl ::core
::default::Default
for AdrEmailFlags
{
8332 fn default() -> Self {
8336 impl ::windows
::core
::TypeKind
for AdrEmailFlags
{
8337 type TypeKind
= ::windows
::core
::CopyType
;
8339 impl ::core
::fmt
::Debug
for AdrEmailFlags
{
8340 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8341 f
.debug_tuple("AdrEmailFlags").field(&self.0).finish()
8344 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8345 #[repr(transparent)]
8346 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8347 pub struct FsrmAccountType(pub i32);
8348 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8349 pub const FsrmAccountType_Unknown
: FsrmAccountType
= FsrmAccountType(0i32);
8350 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8351 pub const FsrmAccountType_NetworkService
: FsrmAccountType
= FsrmAccountType(1i32);
8352 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8353 pub const FsrmAccountType_LocalService
: FsrmAccountType
= FsrmAccountType(2i32);
8354 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8355 pub const FsrmAccountType_LocalSystem
: FsrmAccountType
= FsrmAccountType(3i32);
8356 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8357 pub const FsrmAccountType_InProc
: FsrmAccountType
= FsrmAccountType(4i32);
8358 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8359 pub const FsrmAccountType_External
: FsrmAccountType
= FsrmAccountType(5i32);
8360 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8361 pub const FsrmAccountType_Automatic
: FsrmAccountType
= FsrmAccountType(500i32);
8362 impl ::core
::marker
::Copy
for FsrmAccountType {}
8363 impl ::core
::clone
::Clone
for FsrmAccountType
{
8364 fn clone(&self) -> Self {
8368 impl ::core
::default::Default
for FsrmAccountType
{
8369 fn default() -> Self {
8373 impl ::windows
::core
::TypeKind
for FsrmAccountType
{
8374 type TypeKind
= ::windows
::core
::CopyType
;
8376 impl ::core
::fmt
::Debug
for FsrmAccountType
{
8377 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8378 f
.debug_tuple("FsrmAccountType").field(&self.0).finish()
8381 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8382 #[repr(transparent)]
8383 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8384 pub struct FsrmActionType(pub i32);
8385 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8386 pub const FsrmActionType_Unknown
: FsrmActionType
= FsrmActionType(0i32);
8387 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8388 pub const FsrmActionType_EventLog
: FsrmActionType
= FsrmActionType(1i32);
8389 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8390 pub const FsrmActionType_Email
: FsrmActionType
= FsrmActionType(2i32);
8391 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8392 pub const FsrmActionType_Command
: FsrmActionType
= FsrmActionType(3i32);
8393 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8394 pub const FsrmActionType_Report
: FsrmActionType
= FsrmActionType(4i32);
8395 impl ::core
::marker
::Copy
for FsrmActionType {}
8396 impl ::core
::clone
::Clone
for FsrmActionType
{
8397 fn clone(&self) -> Self {
8401 impl ::core
::default::Default
for FsrmActionType
{
8402 fn default() -> Self {
8406 impl ::windows
::core
::TypeKind
for FsrmActionType
{
8407 type TypeKind
= ::windows
::core
::CopyType
;
8409 impl ::core
::fmt
::Debug
for FsrmActionType
{
8410 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8411 f
.debug_tuple("FsrmActionType").field(&self.0).finish()
8414 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8415 #[repr(transparent)]
8416 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8417 pub struct FsrmClassificationLoggingFlags(pub i32);
8418 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8419 pub const FsrmClassificationLoggingFlags_None
: FsrmClassificationLoggingFlags
= FsrmClassificationLoggingFlags(0i32);
8420 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8421 pub const FsrmClassificationLoggingFlags_ClassificationsInLogFile
: FsrmClassificationLoggingFlags
= FsrmClassificationLoggingFlags(1i32);
8422 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8423 pub const FsrmClassificationLoggingFlags_ErrorsInLogFile
: FsrmClassificationLoggingFlags
= FsrmClassificationLoggingFlags(2i32);
8424 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8425 pub const FsrmClassificationLoggingFlags_ClassificationsInSystemLog
: FsrmClassificationLoggingFlags
= FsrmClassificationLoggingFlags(4i32);
8426 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8427 pub const FsrmClassificationLoggingFlags_ErrorsInSystemLog
: FsrmClassificationLoggingFlags
= FsrmClassificationLoggingFlags(8i32);
8428 impl ::core
::marker
::Copy
for FsrmClassificationLoggingFlags {}
8429 impl ::core
::clone
::Clone
for FsrmClassificationLoggingFlags
{
8430 fn clone(&self) -> Self {
8434 impl ::core
::default::Default
for FsrmClassificationLoggingFlags
{
8435 fn default() -> Self {
8439 impl ::windows
::core
::TypeKind
for FsrmClassificationLoggingFlags
{
8440 type TypeKind
= ::windows
::core
::CopyType
;
8442 impl ::core
::fmt
::Debug
for FsrmClassificationLoggingFlags
{
8443 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8444 f
.debug_tuple("FsrmClassificationLoggingFlags").field(&self.0).finish()
8447 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8448 #[repr(transparent)]
8449 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8450 pub struct FsrmCollectionState(pub i32);
8451 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8452 pub const FsrmCollectionState_Fetching
: FsrmCollectionState
= FsrmCollectionState(1i32);
8453 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8454 pub const FsrmCollectionState_Committing
: FsrmCollectionState
= FsrmCollectionState(2i32);
8455 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8456 pub const FsrmCollectionState_Complete
: FsrmCollectionState
= FsrmCollectionState(3i32);
8457 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8458 pub const FsrmCollectionState_Cancelled
: FsrmCollectionState
= FsrmCollectionState(4i32);
8459 impl ::core
::marker
::Copy
for FsrmCollectionState {}
8460 impl ::core
::clone
::Clone
for FsrmCollectionState
{
8461 fn clone(&self) -> Self {
8465 impl ::core
::default::Default
for FsrmCollectionState
{
8466 fn default() -> Self {
8470 impl ::windows
::core
::TypeKind
for FsrmCollectionState
{
8471 type TypeKind
= ::windows
::core
::CopyType
;
8473 impl ::core
::fmt
::Debug
for FsrmCollectionState
{
8474 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8475 f
.debug_tuple("FsrmCollectionState").field(&self.0).finish()
8478 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8479 #[repr(transparent)]
8480 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8481 pub struct FsrmCommitOptions(pub i32);
8482 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8483 pub const FsrmCommitOptions_None
: FsrmCommitOptions
= FsrmCommitOptions(0i32);
8484 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8485 pub const FsrmCommitOptions_Asynchronous
: FsrmCommitOptions
= FsrmCommitOptions(1i32);
8486 impl ::core
::marker
::Copy
for FsrmCommitOptions {}
8487 impl ::core
::clone
::Clone
for FsrmCommitOptions
{
8488 fn clone(&self) -> Self {
8492 impl ::core
::default::Default
for FsrmCommitOptions
{
8493 fn default() -> Self {
8497 impl ::windows
::core
::TypeKind
for FsrmCommitOptions
{
8498 type TypeKind
= ::windows
::core
::CopyType
;
8500 impl ::core
::fmt
::Debug
for FsrmCommitOptions
{
8501 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8502 f
.debug_tuple("FsrmCommitOptions").field(&self.0).finish()
8505 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8506 #[repr(transparent)]
8507 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8508 pub struct FsrmEnumOptions(pub i32);
8509 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8510 pub const FsrmEnumOptions_None
: FsrmEnumOptions
= FsrmEnumOptions(0i32);
8511 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8512 pub const FsrmEnumOptions_Asynchronous
: FsrmEnumOptions
= FsrmEnumOptions(1i32);
8513 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8514 pub const FsrmEnumOptions_CheckRecycleBin
: FsrmEnumOptions
= FsrmEnumOptions(2i32);
8515 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8516 pub const FsrmEnumOptions_IncludeClusterNodes
: FsrmEnumOptions
= FsrmEnumOptions(4i32);
8517 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8518 pub const FsrmEnumOptions_IncludeDeprecatedObjects
: FsrmEnumOptions
= FsrmEnumOptions(8i32);
8519 impl ::core
::marker
::Copy
for FsrmEnumOptions {}
8520 impl ::core
::clone
::Clone
for FsrmEnumOptions
{
8521 fn clone(&self) -> Self {
8525 impl ::core
::default::Default
for FsrmEnumOptions
{
8526 fn default() -> Self {
8530 impl ::windows
::core
::TypeKind
for FsrmEnumOptions
{
8531 type TypeKind
= ::windows
::core
::CopyType
;
8533 impl ::core
::fmt
::Debug
for FsrmEnumOptions
{
8534 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8535 f
.debug_tuple("FsrmEnumOptions").field(&self.0).finish()
8538 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8539 #[repr(transparent)]
8540 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8541 pub struct FsrmEventType(pub i32);
8542 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8543 pub const FsrmEventType_Unknown
: FsrmEventType
= FsrmEventType(0i32);
8544 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8545 pub const FsrmEventType_Information
: FsrmEventType
= FsrmEventType(1i32);
8546 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8547 pub const FsrmEventType_Warning
: FsrmEventType
= FsrmEventType(2i32);
8548 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8549 pub const FsrmEventType_Error
: FsrmEventType
= FsrmEventType(3i32);
8550 impl ::core
::marker
::Copy
for FsrmEventType {}
8551 impl ::core
::clone
::Clone
for FsrmEventType
{
8552 fn clone(&self) -> Self {
8556 impl ::core
::default::Default
for FsrmEventType
{
8557 fn default() -> Self {
8561 impl ::windows
::core
::TypeKind
for FsrmEventType
{
8562 type TypeKind
= ::windows
::core
::CopyType
;
8564 impl ::core
::fmt
::Debug
for FsrmEventType
{
8565 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8566 f
.debug_tuple("FsrmEventType").field(&self.0).finish()
8569 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8570 #[repr(transparent)]
8571 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8572 pub struct FsrmExecutionOption(pub i32);
8573 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8574 pub const FsrmExecutionOption_Unknown
: FsrmExecutionOption
= FsrmExecutionOption(0i32);
8575 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8576 pub const FsrmExecutionOption_EvaluateUnset
: FsrmExecutionOption
= FsrmExecutionOption(1i32);
8577 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8578 pub const FsrmExecutionOption_ReEvaluate_ConsiderExistingValue
: FsrmExecutionOption
= FsrmExecutionOption(2i32);
8579 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8580 pub const FsrmExecutionOption_ReEvaluate_IgnoreExistingValue
: FsrmExecutionOption
= FsrmExecutionOption(3i32);
8581 impl ::core
::marker
::Copy
for FsrmExecutionOption {}
8582 impl ::core
::clone
::Clone
for FsrmExecutionOption
{
8583 fn clone(&self) -> Self {
8587 impl ::core
::default::Default
for FsrmExecutionOption
{
8588 fn default() -> Self {
8592 impl ::windows
::core
::TypeKind
for FsrmExecutionOption
{
8593 type TypeKind
= ::windows
::core
::CopyType
;
8595 impl ::core
::fmt
::Debug
for FsrmExecutionOption
{
8596 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8597 f
.debug_tuple("FsrmExecutionOption").field(&self.0).finish()
8600 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8601 #[repr(transparent)]
8602 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8603 pub struct FsrmFileConditionType(pub i32);
8604 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8605 pub const FsrmFileConditionType_Unknown
: FsrmFileConditionType
= FsrmFileConditionType(0i32);
8606 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8607 pub const FsrmFileConditionType_Property
: FsrmFileConditionType
= FsrmFileConditionType(1i32);
8608 impl ::core
::marker
::Copy
for FsrmFileConditionType {}
8609 impl ::core
::clone
::Clone
for FsrmFileConditionType
{
8610 fn clone(&self) -> Self {
8614 impl ::core
::default::Default
for FsrmFileConditionType
{
8615 fn default() -> Self {
8619 impl ::windows
::core
::TypeKind
for FsrmFileConditionType
{
8620 type TypeKind
= ::windows
::core
::CopyType
;
8622 impl ::core
::fmt
::Debug
for FsrmFileConditionType
{
8623 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8624 f
.debug_tuple("FsrmFileConditionType").field(&self.0).finish()
8627 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8628 #[repr(transparent)]
8629 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8630 pub struct FsrmFileManagementLoggingFlags(pub i32);
8631 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8632 pub const FsrmFileManagementLoggingFlags_None
: FsrmFileManagementLoggingFlags
= FsrmFileManagementLoggingFlags(0i32);
8633 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8634 pub const FsrmFileManagementLoggingFlags_Error
: FsrmFileManagementLoggingFlags
= FsrmFileManagementLoggingFlags(1i32);
8635 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8636 pub const FsrmFileManagementLoggingFlags_Information
: FsrmFileManagementLoggingFlags
= FsrmFileManagementLoggingFlags(2i32);
8637 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8638 pub const FsrmFileManagementLoggingFlags_Audit
: FsrmFileManagementLoggingFlags
= FsrmFileManagementLoggingFlags(4i32);
8639 impl ::core
::marker
::Copy
for FsrmFileManagementLoggingFlags {}
8640 impl ::core
::clone
::Clone
for FsrmFileManagementLoggingFlags
{
8641 fn clone(&self) -> Self {
8645 impl ::core
::default::Default
for FsrmFileManagementLoggingFlags
{
8646 fn default() -> Self {
8650 impl ::windows
::core
::TypeKind
for FsrmFileManagementLoggingFlags
{
8651 type TypeKind
= ::windows
::core
::CopyType
;
8653 impl ::core
::fmt
::Debug
for FsrmFileManagementLoggingFlags
{
8654 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8655 f
.debug_tuple("FsrmFileManagementLoggingFlags").field(&self.0).finish()
8658 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8659 #[repr(transparent)]
8660 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8661 pub struct FsrmFileManagementType(pub i32);
8662 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8663 pub const FsrmFileManagementType_Unknown
: FsrmFileManagementType
= FsrmFileManagementType(0i32);
8664 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8665 pub const FsrmFileManagementType_Expiration
: FsrmFileManagementType
= FsrmFileManagementType(1i32);
8666 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8667 pub const FsrmFileManagementType_Custom
: FsrmFileManagementType
= FsrmFileManagementType(2i32);
8668 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8669 pub const FsrmFileManagementType_Rms
: FsrmFileManagementType
= FsrmFileManagementType(3i32);
8670 impl ::core
::marker
::Copy
for FsrmFileManagementType {}
8671 impl ::core
::clone
::Clone
for FsrmFileManagementType
{
8672 fn clone(&self) -> Self {
8676 impl ::core
::default::Default
for FsrmFileManagementType
{
8677 fn default() -> Self {
8681 impl ::windows
::core
::TypeKind
for FsrmFileManagementType
{
8682 type TypeKind
= ::windows
::core
::CopyType
;
8684 impl ::core
::fmt
::Debug
for FsrmFileManagementType
{
8685 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8686 f
.debug_tuple("FsrmFileManagementType").field(&self.0).finish()
8689 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8690 #[repr(transparent)]
8691 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8692 pub struct FsrmFileScreenFlags(pub i32);
8693 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8694 pub const FsrmFileScreenFlags_Enforce
: FsrmFileScreenFlags
= FsrmFileScreenFlags(1i32);
8695 impl ::core
::marker
::Copy
for FsrmFileScreenFlags {}
8696 impl ::core
::clone
::Clone
for FsrmFileScreenFlags
{
8697 fn clone(&self) -> Self {
8701 impl ::core
::default::Default
for FsrmFileScreenFlags
{
8702 fn default() -> Self {
8706 impl ::windows
::core
::TypeKind
for FsrmFileScreenFlags
{
8707 type TypeKind
= ::windows
::core
::CopyType
;
8709 impl ::core
::fmt
::Debug
for FsrmFileScreenFlags
{
8710 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8711 f
.debug_tuple("FsrmFileScreenFlags").field(&self.0).finish()
8714 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8715 #[repr(transparent)]
8716 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8717 pub struct FsrmFileStreamingInterfaceType(pub i32);
8718 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8719 pub const FsrmFileStreamingInterfaceType_Unknown
: FsrmFileStreamingInterfaceType
= FsrmFileStreamingInterfaceType(0i32);
8720 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8721 pub const FsrmFileStreamingInterfaceType_ILockBytes
: FsrmFileStreamingInterfaceType
= FsrmFileStreamingInterfaceType(1i32);
8722 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8723 pub const FsrmFileStreamingInterfaceType_IStream
: FsrmFileStreamingInterfaceType
= FsrmFileStreamingInterfaceType(2i32);
8724 impl ::core
::marker
::Copy
for FsrmFileStreamingInterfaceType {}
8725 impl ::core
::clone
::Clone
for FsrmFileStreamingInterfaceType
{
8726 fn clone(&self) -> Self {
8730 impl ::core
::default::Default
for FsrmFileStreamingInterfaceType
{
8731 fn default() -> Self {
8735 impl ::windows
::core
::TypeKind
for FsrmFileStreamingInterfaceType
{
8736 type TypeKind
= ::windows
::core
::CopyType
;
8738 impl ::core
::fmt
::Debug
for FsrmFileStreamingInterfaceType
{
8739 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8740 f
.debug_tuple("FsrmFileStreamingInterfaceType").field(&self.0).finish()
8743 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8744 #[repr(transparent)]
8745 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8746 pub struct FsrmFileStreamingMode(pub i32);
8747 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8748 pub const FsrmFileStreamingMode_Unknown
: FsrmFileStreamingMode
= FsrmFileStreamingMode(0i32);
8749 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8750 pub const FsrmFileStreamingMode_Read
: FsrmFileStreamingMode
= FsrmFileStreamingMode(1i32);
8751 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8752 pub const FsrmFileStreamingMode_Write
: FsrmFileStreamingMode
= FsrmFileStreamingMode(2i32);
8753 impl ::core
::marker
::Copy
for FsrmFileStreamingMode {}
8754 impl ::core
::clone
::Clone
for FsrmFileStreamingMode
{
8755 fn clone(&self) -> Self {
8759 impl ::core
::default::Default
for FsrmFileStreamingMode
{
8760 fn default() -> Self {
8764 impl ::windows
::core
::TypeKind
for FsrmFileStreamingMode
{
8765 type TypeKind
= ::windows
::core
::CopyType
;
8767 impl ::core
::fmt
::Debug
for FsrmFileStreamingMode
{
8768 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8769 f
.debug_tuple("FsrmFileStreamingMode").field(&self.0).finish()
8772 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8773 #[repr(transparent)]
8774 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8775 pub struct FsrmFileSystemPropertyId(pub i32);
8776 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8777 pub const FsrmFileSystemPropertyId_Undefined
: FsrmFileSystemPropertyId
= FsrmFileSystemPropertyId(0i32);
8778 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8779 pub const FsrmFileSystemPropertyId_FileName
: FsrmFileSystemPropertyId
= FsrmFileSystemPropertyId(1i32);
8780 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8781 pub const FsrmFileSystemPropertyId_DateCreated
: FsrmFileSystemPropertyId
= FsrmFileSystemPropertyId(2i32);
8782 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8783 pub const FsrmFileSystemPropertyId_DateLastAccessed
: FsrmFileSystemPropertyId
= FsrmFileSystemPropertyId(3i32);
8784 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8785 pub const FsrmFileSystemPropertyId_DateLastModified
: FsrmFileSystemPropertyId
= FsrmFileSystemPropertyId(4i32);
8786 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8787 pub const FsrmFileSystemPropertyId_DateNow
: FsrmFileSystemPropertyId
= FsrmFileSystemPropertyId(5i32);
8788 impl ::core
::marker
::Copy
for FsrmFileSystemPropertyId {}
8789 impl ::core
::clone
::Clone
for FsrmFileSystemPropertyId
{
8790 fn clone(&self) -> Self {
8794 impl ::core
::default::Default
for FsrmFileSystemPropertyId
{
8795 fn default() -> Self {
8799 impl ::windows
::core
::TypeKind
for FsrmFileSystemPropertyId
{
8800 type TypeKind
= ::windows
::core
::CopyType
;
8802 impl ::core
::fmt
::Debug
for FsrmFileSystemPropertyId
{
8803 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8804 f
.debug_tuple("FsrmFileSystemPropertyId").field(&self.0).finish()
8807 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8808 #[repr(transparent)]
8809 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8810 pub struct FsrmGetFilePropertyOptions(pub i32);
8811 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8812 pub const FsrmGetFilePropertyOptions_None
: FsrmGetFilePropertyOptions
= FsrmGetFilePropertyOptions(0i32);
8813 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8814 pub const FsrmGetFilePropertyOptions_NoRuleEvaluation
: FsrmGetFilePropertyOptions
= FsrmGetFilePropertyOptions(1i32);
8815 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8816 pub const FsrmGetFilePropertyOptions_Persistent
: FsrmGetFilePropertyOptions
= FsrmGetFilePropertyOptions(2i32);
8817 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8818 pub const FsrmGetFilePropertyOptions_FailOnPersistErrors
: FsrmGetFilePropertyOptions
= FsrmGetFilePropertyOptions(4i32);
8819 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8820 pub const FsrmGetFilePropertyOptions_SkipOrphaned
: FsrmGetFilePropertyOptions
= FsrmGetFilePropertyOptions(8i32);
8821 impl ::core
::marker
::Copy
for FsrmGetFilePropertyOptions {}
8822 impl ::core
::clone
::Clone
for FsrmGetFilePropertyOptions
{
8823 fn clone(&self) -> Self {
8827 impl ::core
::default::Default
for FsrmGetFilePropertyOptions
{
8828 fn default() -> Self {
8832 impl ::windows
::core
::TypeKind
for FsrmGetFilePropertyOptions
{
8833 type TypeKind
= ::windows
::core
::CopyType
;
8835 impl ::core
::fmt
::Debug
for FsrmGetFilePropertyOptions
{
8836 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8837 f
.debug_tuple("FsrmGetFilePropertyOptions").field(&self.0).finish()
8840 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8841 #[repr(transparent)]
8842 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8843 pub struct FsrmPipelineModuleType(pub i32);
8844 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8845 pub const FsrmPipelineModuleType_Unknown
: FsrmPipelineModuleType
= FsrmPipelineModuleType(0i32);
8846 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8847 pub const FsrmPipelineModuleType_Storage
: FsrmPipelineModuleType
= FsrmPipelineModuleType(1i32);
8848 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8849 pub const FsrmPipelineModuleType_Classifier
: FsrmPipelineModuleType
= FsrmPipelineModuleType(2i32);
8850 impl ::core
::marker
::Copy
for FsrmPipelineModuleType {}
8851 impl ::core
::clone
::Clone
for FsrmPipelineModuleType
{
8852 fn clone(&self) -> Self {
8856 impl ::core
::default::Default
for FsrmPipelineModuleType
{
8857 fn default() -> Self {
8861 impl ::windows
::core
::TypeKind
for FsrmPipelineModuleType
{
8862 type TypeKind
= ::windows
::core
::CopyType
;
8864 impl ::core
::fmt
::Debug
for FsrmPipelineModuleType
{
8865 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8866 f
.debug_tuple("FsrmPipelineModuleType").field(&self.0).finish()
8869 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8870 #[repr(transparent)]
8871 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8872 pub struct FsrmPropertyBagField(pub i32);
8873 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8874 pub const FsrmPropertyBagField_AccessVolume
: FsrmPropertyBagField
= FsrmPropertyBagField(0i32);
8875 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8876 pub const FsrmPropertyBagField_VolumeGuidName
: FsrmPropertyBagField
= FsrmPropertyBagField(1i32);
8877 impl ::core
::marker
::Copy
for FsrmPropertyBagField {}
8878 impl ::core
::clone
::Clone
for FsrmPropertyBagField
{
8879 fn clone(&self) -> Self {
8883 impl ::core
::default::Default
for FsrmPropertyBagField
{
8884 fn default() -> Self {
8888 impl ::windows
::core
::TypeKind
for FsrmPropertyBagField
{
8889 type TypeKind
= ::windows
::core
::CopyType
;
8891 impl ::core
::fmt
::Debug
for FsrmPropertyBagField
{
8892 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8893 f
.debug_tuple("FsrmPropertyBagField").field(&self.0).finish()
8896 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8897 #[repr(transparent)]
8898 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8899 pub struct FsrmPropertyBagFlags(pub i32);
8900 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8901 pub const FsrmPropertyBagFlags_UpdatedByClassifier
: FsrmPropertyBagFlags
= FsrmPropertyBagFlags(1i32);
8902 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8903 pub const FsrmPropertyBagFlags_FailedLoadingProperties
: FsrmPropertyBagFlags
= FsrmPropertyBagFlags(2i32);
8904 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8905 pub const FsrmPropertyBagFlags_FailedSavingProperties
: FsrmPropertyBagFlags
= FsrmPropertyBagFlags(4i32);
8906 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8907 pub const FsrmPropertyBagFlags_FailedClassifyingProperties
: FsrmPropertyBagFlags
= FsrmPropertyBagFlags(8i32);
8908 impl ::core
::marker
::Copy
for FsrmPropertyBagFlags {}
8909 impl ::core
::clone
::Clone
for FsrmPropertyBagFlags
{
8910 fn clone(&self) -> Self {
8914 impl ::core
::default::Default
for FsrmPropertyBagFlags
{
8915 fn default() -> Self {
8919 impl ::windows
::core
::TypeKind
for FsrmPropertyBagFlags
{
8920 type TypeKind
= ::windows
::core
::CopyType
;
8922 impl ::core
::fmt
::Debug
for FsrmPropertyBagFlags
{
8923 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8924 f
.debug_tuple("FsrmPropertyBagFlags").field(&self.0).finish()
8927 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8928 #[repr(transparent)]
8929 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8930 pub struct FsrmPropertyConditionType(pub i32);
8931 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8932 pub const FsrmPropertyConditionType_Unknown
: FsrmPropertyConditionType
= FsrmPropertyConditionType(0i32);
8933 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8934 pub const FsrmPropertyConditionType_Equal
: FsrmPropertyConditionType
= FsrmPropertyConditionType(1i32);
8935 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8936 pub const FsrmPropertyConditionType_NotEqual
: FsrmPropertyConditionType
= FsrmPropertyConditionType(2i32);
8937 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8938 pub const FsrmPropertyConditionType_GreaterThan
: FsrmPropertyConditionType
= FsrmPropertyConditionType(3i32);
8939 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8940 pub const FsrmPropertyConditionType_LessThan
: FsrmPropertyConditionType
= FsrmPropertyConditionType(4i32);
8941 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8942 pub const FsrmPropertyConditionType_Contain
: FsrmPropertyConditionType
= FsrmPropertyConditionType(5i32);
8943 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8944 pub const FsrmPropertyConditionType_Exist
: FsrmPropertyConditionType
= FsrmPropertyConditionType(6i32);
8945 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8946 pub const FsrmPropertyConditionType_NotExist
: FsrmPropertyConditionType
= FsrmPropertyConditionType(7i32);
8947 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8948 pub const FsrmPropertyConditionType_StartWith
: FsrmPropertyConditionType
= FsrmPropertyConditionType(8i32);
8949 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8950 pub const FsrmPropertyConditionType_EndWith
: FsrmPropertyConditionType
= FsrmPropertyConditionType(9i32);
8951 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8952 pub const FsrmPropertyConditionType_ContainedIn
: FsrmPropertyConditionType
= FsrmPropertyConditionType(10i32);
8953 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8954 pub const FsrmPropertyConditionType_PrefixOf
: FsrmPropertyConditionType
= FsrmPropertyConditionType(11i32);
8955 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8956 pub const FsrmPropertyConditionType_SuffixOf
: FsrmPropertyConditionType
= FsrmPropertyConditionType(12i32);
8957 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8958 pub const FsrmPropertyConditionType_MatchesPattern
: FsrmPropertyConditionType
= FsrmPropertyConditionType(13i32);
8959 impl ::core
::marker
::Copy
for FsrmPropertyConditionType {}
8960 impl ::core
::clone
::Clone
for FsrmPropertyConditionType
{
8961 fn clone(&self) -> Self {
8965 impl ::core
::default::Default
for FsrmPropertyConditionType
{
8966 fn default() -> Self {
8970 impl ::windows
::core
::TypeKind
for FsrmPropertyConditionType
{
8971 type TypeKind
= ::windows
::core
::CopyType
;
8973 impl ::core
::fmt
::Debug
for FsrmPropertyConditionType
{
8974 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
8975 f
.debug_tuple("FsrmPropertyConditionType").field(&self.0).finish()
8978 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8979 #[repr(transparent)]
8980 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
8981 pub struct FsrmPropertyDefinitionAppliesTo(pub i32);
8982 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8983 pub const FsrmPropertyDefinitionAppliesTo_Files
: FsrmPropertyDefinitionAppliesTo
= FsrmPropertyDefinitionAppliesTo(1i32);
8984 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
8985 pub const FsrmPropertyDefinitionAppliesTo_Folders
: FsrmPropertyDefinitionAppliesTo
= FsrmPropertyDefinitionAppliesTo(2i32);
8986 impl ::core
::marker
::Copy
for FsrmPropertyDefinitionAppliesTo {}
8987 impl ::core
::clone
::Clone
for FsrmPropertyDefinitionAppliesTo
{
8988 fn clone(&self) -> Self {
8992 impl ::core
::default::Default
for FsrmPropertyDefinitionAppliesTo
{
8993 fn default() -> Self {
8997 impl ::windows
::core
::TypeKind
for FsrmPropertyDefinitionAppliesTo
{
8998 type TypeKind
= ::windows
::core
::CopyType
;
9000 impl ::core
::fmt
::Debug
for FsrmPropertyDefinitionAppliesTo
{
9001 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9002 f
.debug_tuple("FsrmPropertyDefinitionAppliesTo").field(&self.0).finish()
9005 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9006 #[repr(transparent)]
9007 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9008 pub struct FsrmPropertyDefinitionFlags(pub i32);
9009 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9010 pub const FsrmPropertyDefinitionFlags_Global
: FsrmPropertyDefinitionFlags
= FsrmPropertyDefinitionFlags(1i32);
9011 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9012 pub const FsrmPropertyDefinitionFlags_Deprecated
: FsrmPropertyDefinitionFlags
= FsrmPropertyDefinitionFlags(2i32);
9013 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9014 pub const FsrmPropertyDefinitionFlags_Secure
: FsrmPropertyDefinitionFlags
= FsrmPropertyDefinitionFlags(4i32);
9015 impl ::core
::marker
::Copy
for FsrmPropertyDefinitionFlags {}
9016 impl ::core
::clone
::Clone
for FsrmPropertyDefinitionFlags
{
9017 fn clone(&self) -> Self {
9021 impl ::core
::default::Default
for FsrmPropertyDefinitionFlags
{
9022 fn default() -> Self {
9026 impl ::windows
::core
::TypeKind
for FsrmPropertyDefinitionFlags
{
9027 type TypeKind
= ::windows
::core
::CopyType
;
9029 impl ::core
::fmt
::Debug
for FsrmPropertyDefinitionFlags
{
9030 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9031 f
.debug_tuple("FsrmPropertyDefinitionFlags").field(&self.0).finish()
9034 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9035 #[repr(transparent)]
9036 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9037 pub struct FsrmPropertyDefinitionType(pub i32);
9038 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9039 pub const FsrmPropertyDefinitionType_Unknown
: FsrmPropertyDefinitionType
= FsrmPropertyDefinitionType(0i32);
9040 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9041 pub const FsrmPropertyDefinitionType_OrderedList
: FsrmPropertyDefinitionType
= FsrmPropertyDefinitionType(1i32);
9042 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9043 pub const FsrmPropertyDefinitionType_MultiChoiceList
: FsrmPropertyDefinitionType
= FsrmPropertyDefinitionType(2i32);
9044 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9045 pub const FsrmPropertyDefinitionType_SingleChoiceList
: FsrmPropertyDefinitionType
= FsrmPropertyDefinitionType(3i32);
9046 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9047 pub const FsrmPropertyDefinitionType_String
: FsrmPropertyDefinitionType
= FsrmPropertyDefinitionType(4i32);
9048 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9049 pub const FsrmPropertyDefinitionType_MultiString
: FsrmPropertyDefinitionType
= FsrmPropertyDefinitionType(5i32);
9050 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9051 pub const FsrmPropertyDefinitionType_Int
: FsrmPropertyDefinitionType
= FsrmPropertyDefinitionType(6i32);
9052 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9053 pub const FsrmPropertyDefinitionType_Bool
: FsrmPropertyDefinitionType
= FsrmPropertyDefinitionType(7i32);
9054 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9055 pub const FsrmPropertyDefinitionType_Date
: FsrmPropertyDefinitionType
= FsrmPropertyDefinitionType(8i32);
9056 impl ::core
::marker
::Copy
for FsrmPropertyDefinitionType {}
9057 impl ::core
::clone
::Clone
for FsrmPropertyDefinitionType
{
9058 fn clone(&self) -> Self {
9062 impl ::core
::default::Default
for FsrmPropertyDefinitionType
{
9063 fn default() -> Self {
9067 impl ::windows
::core
::TypeKind
for FsrmPropertyDefinitionType
{
9068 type TypeKind
= ::windows
::core
::CopyType
;
9070 impl ::core
::fmt
::Debug
for FsrmPropertyDefinitionType
{
9071 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9072 f
.debug_tuple("FsrmPropertyDefinitionType").field(&self.0).finish()
9075 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9076 #[repr(transparent)]
9077 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9078 pub struct FsrmPropertyFlags(pub i32);
9079 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9080 pub const FsrmPropertyFlags_None
: FsrmPropertyFlags
= FsrmPropertyFlags(0i32);
9081 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9082 pub const FsrmPropertyFlags_Orphaned
: FsrmPropertyFlags
= FsrmPropertyFlags(1i32);
9083 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9084 pub const FsrmPropertyFlags_RetrievedFromCache
: FsrmPropertyFlags
= FsrmPropertyFlags(2i32);
9085 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9086 pub const FsrmPropertyFlags_RetrievedFromStorage
: FsrmPropertyFlags
= FsrmPropertyFlags(4i32);
9087 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9088 pub const FsrmPropertyFlags_SetByClassifier
: FsrmPropertyFlags
= FsrmPropertyFlags(8i32);
9089 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9090 pub const FsrmPropertyFlags_Deleted
: FsrmPropertyFlags
= FsrmPropertyFlags(16i32);
9091 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9092 pub const FsrmPropertyFlags_Reclassified
: FsrmPropertyFlags
= FsrmPropertyFlags(32i32);
9093 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9094 pub const FsrmPropertyFlags_AggregationFailed
: FsrmPropertyFlags
= FsrmPropertyFlags(64i32);
9095 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9096 pub const FsrmPropertyFlags_Existing
: FsrmPropertyFlags
= FsrmPropertyFlags(128i32);
9097 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9098 pub const FsrmPropertyFlags_FailedLoadingProperties
: FsrmPropertyFlags
= FsrmPropertyFlags(256i32);
9099 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9100 pub const FsrmPropertyFlags_FailedClassifyingProperties
: FsrmPropertyFlags
= FsrmPropertyFlags(512i32);
9101 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9102 pub const FsrmPropertyFlags_FailedSavingProperties
: FsrmPropertyFlags
= FsrmPropertyFlags(1024i32);
9103 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9104 pub const FsrmPropertyFlags_Secure
: FsrmPropertyFlags
= FsrmPropertyFlags(2048i32);
9105 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9106 pub const FsrmPropertyFlags_PolicyDerived
: FsrmPropertyFlags
= FsrmPropertyFlags(4096i32);
9107 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9108 pub const FsrmPropertyFlags_Inherited
: FsrmPropertyFlags
= FsrmPropertyFlags(8192i32);
9109 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9110 pub const FsrmPropertyFlags_Manual
: FsrmPropertyFlags
= FsrmPropertyFlags(16384i32);
9111 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9112 pub const FsrmPropertyFlags_ExplicitValueDeleted
: FsrmPropertyFlags
= FsrmPropertyFlags(32768i32);
9113 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9114 pub const FsrmPropertyFlags_PropertyDeletedFromClear
: FsrmPropertyFlags
= FsrmPropertyFlags(65536i32);
9115 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9116 pub const FsrmPropertyFlags_PropertySourceMask
: FsrmPropertyFlags
= FsrmPropertyFlags(14i32);
9117 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9118 pub const FsrmPropertyFlags_PersistentMask
: FsrmPropertyFlags
= FsrmPropertyFlags(20480i32);
9119 impl ::core
::marker
::Copy
for FsrmPropertyFlags {}
9120 impl ::core
::clone
::Clone
for FsrmPropertyFlags
{
9121 fn clone(&self) -> Self {
9125 impl ::core
::default::Default
for FsrmPropertyFlags
{
9126 fn default() -> Self {
9130 impl ::windows
::core
::TypeKind
for FsrmPropertyFlags
{
9131 type TypeKind
= ::windows
::core
::CopyType
;
9133 impl ::core
::fmt
::Debug
for FsrmPropertyFlags
{
9134 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9135 f
.debug_tuple("FsrmPropertyFlags").field(&self.0).finish()
9138 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9139 #[repr(transparent)]
9140 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9141 pub struct FsrmPropertyValueType(pub i32);
9142 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9143 pub const FsrmPropertyValueType_Undefined
: FsrmPropertyValueType
= FsrmPropertyValueType(0i32);
9144 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9145 pub const FsrmPropertyValueType_Literal
: FsrmPropertyValueType
= FsrmPropertyValueType(1i32);
9146 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9147 pub const FsrmPropertyValueType_DateOffset
: FsrmPropertyValueType
= FsrmPropertyValueType(2i32);
9148 impl ::core
::marker
::Copy
for FsrmPropertyValueType {}
9149 impl ::core
::clone
::Clone
for FsrmPropertyValueType
{
9150 fn clone(&self) -> Self {
9154 impl ::core
::default::Default
for FsrmPropertyValueType
{
9155 fn default() -> Self {
9159 impl ::windows
::core
::TypeKind
for FsrmPropertyValueType
{
9160 type TypeKind
= ::windows
::core
::CopyType
;
9162 impl ::core
::fmt
::Debug
for FsrmPropertyValueType
{
9163 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9164 f
.debug_tuple("FsrmPropertyValueType").field(&self.0).finish()
9167 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9168 #[repr(transparent)]
9169 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9170 pub struct FsrmQuotaFlags(pub i32);
9171 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9172 pub const FsrmQuotaFlags_Enforce
: FsrmQuotaFlags
= FsrmQuotaFlags(256i32);
9173 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9174 pub const FsrmQuotaFlags_Disable
: FsrmQuotaFlags
= FsrmQuotaFlags(512i32);
9175 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9176 pub const FsrmQuotaFlags_StatusIncomplete
: FsrmQuotaFlags
= FsrmQuotaFlags(65536i32);
9177 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9178 pub const FsrmQuotaFlags_StatusRebuilding
: FsrmQuotaFlags
= FsrmQuotaFlags(131072i32);
9179 impl ::core
::marker
::Copy
for FsrmQuotaFlags {}
9180 impl ::core
::clone
::Clone
for FsrmQuotaFlags
{
9181 fn clone(&self) -> Self {
9185 impl ::core
::default::Default
for FsrmQuotaFlags
{
9186 fn default() -> Self {
9190 impl ::windows
::core
::TypeKind
for FsrmQuotaFlags
{
9191 type TypeKind
= ::windows
::core
::CopyType
;
9193 impl ::core
::fmt
::Debug
for FsrmQuotaFlags
{
9194 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9195 f
.debug_tuple("FsrmQuotaFlags").field(&self.0).finish()
9198 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9199 #[repr(transparent)]
9200 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9201 pub struct FsrmReportFilter(pub i32);
9202 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9203 pub const FsrmReportFilter_MinSize
: FsrmReportFilter
= FsrmReportFilter(1i32);
9204 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9205 pub const FsrmReportFilter_MinAgeDays
: FsrmReportFilter
= FsrmReportFilter(2i32);
9206 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9207 pub const FsrmReportFilter_MaxAgeDays
: FsrmReportFilter
= FsrmReportFilter(3i32);
9208 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9209 pub const FsrmReportFilter_MinQuotaUsage
: FsrmReportFilter
= FsrmReportFilter(4i32);
9210 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9211 pub const FsrmReportFilter_FileGroups
: FsrmReportFilter
= FsrmReportFilter(5i32);
9212 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9213 pub const FsrmReportFilter_Owners
: FsrmReportFilter
= FsrmReportFilter(6i32);
9214 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9215 pub const FsrmReportFilter_NamePattern
: FsrmReportFilter
= FsrmReportFilter(7i32);
9216 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9217 pub const FsrmReportFilter_Property
: FsrmReportFilter
= FsrmReportFilter(8i32);
9218 impl ::core
::marker
::Copy
for FsrmReportFilter {}
9219 impl ::core
::clone
::Clone
for FsrmReportFilter
{
9220 fn clone(&self) -> Self {
9224 impl ::core
::default::Default
for FsrmReportFilter
{
9225 fn default() -> Self {
9229 impl ::windows
::core
::TypeKind
for FsrmReportFilter
{
9230 type TypeKind
= ::windows
::core
::CopyType
;
9232 impl ::core
::fmt
::Debug
for FsrmReportFilter
{
9233 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9234 f
.debug_tuple("FsrmReportFilter").field(&self.0).finish()
9237 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9238 #[repr(transparent)]
9239 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9240 pub struct FsrmReportFormat(pub i32);
9241 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9242 pub const FsrmReportFormat_Unknown
: FsrmReportFormat
= FsrmReportFormat(0i32);
9243 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9244 pub const FsrmReportFormat_DHtml
: FsrmReportFormat
= FsrmReportFormat(1i32);
9245 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9246 pub const FsrmReportFormat_Html
: FsrmReportFormat
= FsrmReportFormat(2i32);
9247 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9248 pub const FsrmReportFormat_Txt
: FsrmReportFormat
= FsrmReportFormat(3i32);
9249 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9250 pub const FsrmReportFormat_Csv
: FsrmReportFormat
= FsrmReportFormat(4i32);
9251 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9252 pub const FsrmReportFormat_Xml
: FsrmReportFormat
= FsrmReportFormat(5i32);
9253 impl ::core
::marker
::Copy
for FsrmReportFormat {}
9254 impl ::core
::clone
::Clone
for FsrmReportFormat
{
9255 fn clone(&self) -> Self {
9259 impl ::core
::default::Default
for FsrmReportFormat
{
9260 fn default() -> Self {
9264 impl ::windows
::core
::TypeKind
for FsrmReportFormat
{
9265 type TypeKind
= ::windows
::core
::CopyType
;
9267 impl ::core
::fmt
::Debug
for FsrmReportFormat
{
9268 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9269 f
.debug_tuple("FsrmReportFormat").field(&self.0).finish()
9272 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9273 #[repr(transparent)]
9274 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9275 pub struct FsrmReportGenerationContext(pub i32);
9276 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9277 pub const FsrmReportGenerationContext_Undefined
: FsrmReportGenerationContext
= FsrmReportGenerationContext(1i32);
9278 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9279 pub const FsrmReportGenerationContext_ScheduledReport
: FsrmReportGenerationContext
= FsrmReportGenerationContext(2i32);
9280 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9281 pub const FsrmReportGenerationContext_InteractiveReport
: FsrmReportGenerationContext
= FsrmReportGenerationContext(3i32);
9282 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9283 pub const FsrmReportGenerationContext_IncidentReport
: FsrmReportGenerationContext
= FsrmReportGenerationContext(4i32);
9284 impl ::core
::marker
::Copy
for FsrmReportGenerationContext {}
9285 impl ::core
::clone
::Clone
for FsrmReportGenerationContext
{
9286 fn clone(&self) -> Self {
9290 impl ::core
::default::Default
for FsrmReportGenerationContext
{
9291 fn default() -> Self {
9295 impl ::windows
::core
::TypeKind
for FsrmReportGenerationContext
{
9296 type TypeKind
= ::windows
::core
::CopyType
;
9298 impl ::core
::fmt
::Debug
for FsrmReportGenerationContext
{
9299 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9300 f
.debug_tuple("FsrmReportGenerationContext").field(&self.0).finish()
9303 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9304 #[repr(transparent)]
9305 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9306 pub struct FsrmReportLimit(pub i32);
9307 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9308 pub const FsrmReportLimit_MaxFiles
: FsrmReportLimit
= FsrmReportLimit(1i32);
9309 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9310 pub const FsrmReportLimit_MaxFileGroups
: FsrmReportLimit
= FsrmReportLimit(2i32);
9311 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9312 pub const FsrmReportLimit_MaxOwners
: FsrmReportLimit
= FsrmReportLimit(3i32);
9313 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9314 pub const FsrmReportLimit_MaxFilesPerFileGroup
: FsrmReportLimit
= FsrmReportLimit(4i32);
9315 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9316 pub const FsrmReportLimit_MaxFilesPerOwner
: FsrmReportLimit
= FsrmReportLimit(5i32);
9317 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9318 pub const FsrmReportLimit_MaxFilesPerDuplGroup
: FsrmReportLimit
= FsrmReportLimit(6i32);
9319 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9320 pub const FsrmReportLimit_MaxDuplicateGroups
: FsrmReportLimit
= FsrmReportLimit(7i32);
9321 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9322 pub const FsrmReportLimit_MaxQuotas
: FsrmReportLimit
= FsrmReportLimit(8i32);
9323 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9324 pub const FsrmReportLimit_MaxFileScreenEvents
: FsrmReportLimit
= FsrmReportLimit(9i32);
9325 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9326 pub const FsrmReportLimit_MaxPropertyValues
: FsrmReportLimit
= FsrmReportLimit(10i32);
9327 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9328 pub const FsrmReportLimit_MaxFilesPerPropertyValue
: FsrmReportLimit
= FsrmReportLimit(11i32);
9329 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9330 pub const FsrmReportLimit_MaxFolders
: FsrmReportLimit
= FsrmReportLimit(12i32);
9331 impl ::core
::marker
::Copy
for FsrmReportLimit {}
9332 impl ::core
::clone
::Clone
for FsrmReportLimit
{
9333 fn clone(&self) -> Self {
9337 impl ::core
::default::Default
for FsrmReportLimit
{
9338 fn default() -> Self {
9342 impl ::windows
::core
::TypeKind
for FsrmReportLimit
{
9343 type TypeKind
= ::windows
::core
::CopyType
;
9345 impl ::core
::fmt
::Debug
for FsrmReportLimit
{
9346 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9347 f
.debug_tuple("FsrmReportLimit").field(&self.0).finish()
9350 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9351 #[repr(transparent)]
9352 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9353 pub struct FsrmReportRunningStatus(pub i32);
9354 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9355 pub const FsrmReportRunningStatus_Unknown
: FsrmReportRunningStatus
= FsrmReportRunningStatus(0i32);
9356 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9357 pub const FsrmReportRunningStatus_NotRunning
: FsrmReportRunningStatus
= FsrmReportRunningStatus(1i32);
9358 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9359 pub const FsrmReportRunningStatus_Queued
: FsrmReportRunningStatus
= FsrmReportRunningStatus(2i32);
9360 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9361 pub const FsrmReportRunningStatus_Running
: FsrmReportRunningStatus
= FsrmReportRunningStatus(3i32);
9362 impl ::core
::marker
::Copy
for FsrmReportRunningStatus {}
9363 impl ::core
::clone
::Clone
for FsrmReportRunningStatus
{
9364 fn clone(&self) -> Self {
9368 impl ::core
::default::Default
for FsrmReportRunningStatus
{
9369 fn default() -> Self {
9373 impl ::windows
::core
::TypeKind
for FsrmReportRunningStatus
{
9374 type TypeKind
= ::windows
::core
::CopyType
;
9376 impl ::core
::fmt
::Debug
for FsrmReportRunningStatus
{
9377 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9378 f
.debug_tuple("FsrmReportRunningStatus").field(&self.0).finish()
9381 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9382 #[repr(transparent)]
9383 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9384 pub struct FsrmReportType(pub i32);
9385 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9386 pub const FsrmReportType_Unknown
: FsrmReportType
= FsrmReportType(0i32);
9387 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9388 pub const FsrmReportType_LargeFiles
: FsrmReportType
= FsrmReportType(1i32);
9389 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9390 pub const FsrmReportType_FilesByType
: FsrmReportType
= FsrmReportType(2i32);
9391 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9392 pub const FsrmReportType_LeastRecentlyAccessed
: FsrmReportType
= FsrmReportType(3i32);
9393 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9394 pub const FsrmReportType_MostRecentlyAccessed
: FsrmReportType
= FsrmReportType(4i32);
9395 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9396 pub const FsrmReportType_QuotaUsage
: FsrmReportType
= FsrmReportType(5i32);
9397 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9398 pub const FsrmReportType_FilesByOwner
: FsrmReportType
= FsrmReportType(6i32);
9399 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9400 pub const FsrmReportType_ExportReport
: FsrmReportType
= FsrmReportType(7i32);
9401 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9402 pub const FsrmReportType_DuplicateFiles
: FsrmReportType
= FsrmReportType(8i32);
9403 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9404 pub const FsrmReportType_FileScreenAudit
: FsrmReportType
= FsrmReportType(9i32);
9405 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9406 pub const FsrmReportType_FilesByProperty
: FsrmReportType
= FsrmReportType(10i32);
9407 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9408 pub const FsrmReportType_AutomaticClassification
: FsrmReportType
= FsrmReportType(11i32);
9409 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9410 pub const FsrmReportType_Expiration
: FsrmReportType
= FsrmReportType(12i32);
9411 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9412 pub const FsrmReportType_FoldersByProperty
: FsrmReportType
= FsrmReportType(13i32);
9413 impl ::core
::marker
::Copy
for FsrmReportType {}
9414 impl ::core
::clone
::Clone
for FsrmReportType
{
9415 fn clone(&self) -> Self {
9419 impl ::core
::default::Default
for FsrmReportType
{
9420 fn default() -> Self {
9424 impl ::windows
::core
::TypeKind
for FsrmReportType
{
9425 type TypeKind
= ::windows
::core
::CopyType
;
9427 impl ::core
::fmt
::Debug
for FsrmReportType
{
9428 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9429 f
.debug_tuple("FsrmReportType").field(&self.0).finish()
9432 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9433 #[repr(transparent)]
9434 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9435 pub struct FsrmRuleFlags(pub i32);
9436 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9437 pub const FsrmRuleFlags_Disabled
: FsrmRuleFlags
= FsrmRuleFlags(256i32);
9438 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9439 pub const FsrmRuleFlags_ClearAutomaticallyClassifiedProperty
: FsrmRuleFlags
= FsrmRuleFlags(1024i32);
9440 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9441 pub const FsrmRuleFlags_ClearManuallyClassifiedProperty
: FsrmRuleFlags
= FsrmRuleFlags(2048i32);
9442 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9443 pub const FsrmRuleFlags_Invalid
: FsrmRuleFlags
= FsrmRuleFlags(4096i32);
9444 impl ::core
::marker
::Copy
for FsrmRuleFlags {}
9445 impl ::core
::clone
::Clone
for FsrmRuleFlags
{
9446 fn clone(&self) -> Self {
9450 impl ::core
::default::Default
for FsrmRuleFlags
{
9451 fn default() -> Self {
9455 impl ::windows
::core
::TypeKind
for FsrmRuleFlags
{
9456 type TypeKind
= ::windows
::core
::CopyType
;
9458 impl ::core
::fmt
::Debug
for FsrmRuleFlags
{
9459 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9460 f
.debug_tuple("FsrmRuleFlags").field(&self.0).finish()
9463 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9464 #[repr(transparent)]
9465 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9466 pub struct FsrmRuleType(pub i32);
9467 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9468 pub const FsrmRuleType_Unknown
: FsrmRuleType
= FsrmRuleType(0i32);
9469 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9470 pub const FsrmRuleType_Classification
: FsrmRuleType
= FsrmRuleType(1i32);
9471 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9472 pub const FsrmRuleType_Generic
: FsrmRuleType
= FsrmRuleType(2i32);
9473 impl ::core
::marker
::Copy
for FsrmRuleType {}
9474 impl ::core
::clone
::Clone
for FsrmRuleType
{
9475 fn clone(&self) -> Self {
9479 impl ::core
::default::Default
for FsrmRuleType
{
9480 fn default() -> Self {
9484 impl ::windows
::core
::TypeKind
for FsrmRuleType
{
9485 type TypeKind
= ::windows
::core
::CopyType
;
9487 impl ::core
::fmt
::Debug
for FsrmRuleType
{
9488 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9489 f
.debug_tuple("FsrmRuleType").field(&self.0).finish()
9492 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9493 #[repr(transparent)]
9494 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9495 pub struct FsrmStorageModuleCaps(pub i32);
9496 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9497 pub const FsrmStorageModuleCaps_Unknown
: FsrmStorageModuleCaps
= FsrmStorageModuleCaps(0i32);
9498 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9499 pub const FsrmStorageModuleCaps_CanGet
: FsrmStorageModuleCaps
= FsrmStorageModuleCaps(1i32);
9500 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9501 pub const FsrmStorageModuleCaps_CanSet
: FsrmStorageModuleCaps
= FsrmStorageModuleCaps(2i32);
9502 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9503 pub const FsrmStorageModuleCaps_CanHandleDirectories
: FsrmStorageModuleCaps
= FsrmStorageModuleCaps(4i32);
9504 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9505 pub const FsrmStorageModuleCaps_CanHandleFiles
: FsrmStorageModuleCaps
= FsrmStorageModuleCaps(8i32);
9506 impl ::core
::marker
::Copy
for FsrmStorageModuleCaps {}
9507 impl ::core
::clone
::Clone
for FsrmStorageModuleCaps
{
9508 fn clone(&self) -> Self {
9512 impl ::core
::default::Default
for FsrmStorageModuleCaps
{
9513 fn default() -> Self {
9517 impl ::windows
::core
::TypeKind
for FsrmStorageModuleCaps
{
9518 type TypeKind
= ::windows
::core
::CopyType
;
9520 impl ::core
::fmt
::Debug
for FsrmStorageModuleCaps
{
9521 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9522 f
.debug_tuple("FsrmStorageModuleCaps").field(&self.0).finish()
9525 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9526 #[repr(transparent)]
9527 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9528 pub struct FsrmStorageModuleType(pub i32);
9529 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9530 pub const FsrmStorageModuleType_Unknown
: FsrmStorageModuleType
= FsrmStorageModuleType(0i32);
9531 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9532 pub const FsrmStorageModuleType_Cache
: FsrmStorageModuleType
= FsrmStorageModuleType(1i32);
9533 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9534 pub const FsrmStorageModuleType_InFile
: FsrmStorageModuleType
= FsrmStorageModuleType(2i32);
9535 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9536 pub const FsrmStorageModuleType_Database
: FsrmStorageModuleType
= FsrmStorageModuleType(3i32);
9537 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9538 pub const FsrmStorageModuleType_System
: FsrmStorageModuleType
= FsrmStorageModuleType(100i32);
9539 impl ::core
::marker
::Copy
for FsrmStorageModuleType {}
9540 impl ::core
::clone
::Clone
for FsrmStorageModuleType
{
9541 fn clone(&self) -> Self {
9545 impl ::core
::default::Default
for FsrmStorageModuleType
{
9546 fn default() -> Self {
9550 impl ::windows
::core
::TypeKind
for FsrmStorageModuleType
{
9551 type TypeKind
= ::windows
::core
::CopyType
;
9553 impl ::core
::fmt
::Debug
for FsrmStorageModuleType
{
9554 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9555 f
.debug_tuple("FsrmStorageModuleType").field(&self.0).finish()
9558 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9559 #[repr(transparent)]
9560 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
9561 pub struct FsrmTemplateApplyOptions(pub i32);
9562 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9563 pub const FsrmTemplateApplyOptions_ApplyToDerivedMatching
: FsrmTemplateApplyOptions
= FsrmTemplateApplyOptions(1i32);
9564 #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`*"]
9565 pub const FsrmTemplateApplyOptions_ApplyToDerivedAll
: FsrmTemplateApplyOptions
= FsrmTemplateApplyOptions(2i32);
9566 impl ::core
::marker
::Copy
for FsrmTemplateApplyOptions {}
9567 impl ::core
::clone
::Clone
for FsrmTemplateApplyOptions
{
9568 fn clone(&self) -> Self {
9572 impl ::core
::default::Default
for FsrmTemplateApplyOptions
{
9573 fn default() -> Self {
9577 impl ::windows
::core
::TypeKind
for FsrmTemplateApplyOptions
{
9578 type TypeKind
= ::windows
::core
::CopyType
;
9580 impl ::core
::fmt
::Debug
for FsrmTemplateApplyOptions
{
9581 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
9582 f
.debug_tuple("FsrmTemplateApplyOptions").field(&self.0).finish()
9585 #[cfg(feature = "implement")]
9586 ::core
::include
!("impl.rs");