1 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
3 pub unsafe fn NetDfsAdd
<P0
, P1
, P2
, P3
>(dfsentrypath
: P0
, servername
: P1
, sharename
: P2
, comment
: P3
, flags
: u32) -> u32
5 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
6 P1
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
7 P2
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
8 P3
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
10 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsAdd ( dfsentrypath
: :: windows
::core
::PCWSTR
, servername
: :: windows
::core
::PCWSTR
, sharename
: :: windows
::core
::PCWSTR
, comment
: :: windows
::core
::PCWSTR
, flags
: u32 ) -> u32 );
11 NetDfsAdd(dfsentrypath
.into_param().abi(), servername
.into_param().abi(), sharename
.into_param().abi(), comment
.into_param().abi(), flags
)
13 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
15 pub unsafe fn NetDfsAddFtRoot
<P0
, P1
, P2
, P3
>(servername
: P0
, rootshare
: P1
, ftdfsname
: P2
, comment
: P3
, flags
: u32) -> u32
17 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
18 P1
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
19 P2
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
20 P3
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
22 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsAddFtRoot ( servername
: :: windows
::core
::PCWSTR
, rootshare
: :: windows
::core
::PCWSTR
, ftdfsname
: :: windows
::core
::PCWSTR
, comment
: :: windows
::core
::PCWSTR
, flags
: u32 ) -> u32 );
23 NetDfsAddFtRoot(servername
.into_param().abi(), rootshare
.into_param().abi(), ftdfsname
.into_param().abi(), comment
.into_param().abi(), flags
)
25 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
27 pub unsafe fn NetDfsAddRootTarget
<P0
, P1
, P2
>(pdfspath
: P0
, ptargetpath
: P1
, majorversion
: u32, pcomment
: P2
, flags
: u32) -> u32
29 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
30 P1
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
31 P2
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
33 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsAddRootTarget ( pdfspath
: :: windows
::core
::PCWSTR
, ptargetpath
: :: windows
::core
::PCWSTR
, majorversion
: u32 , pcomment
: :: windows
::core
::PCWSTR
, flags
: u32 ) -> u32 );
34 NetDfsAddRootTarget(pdfspath
.into_param().abi(), ptargetpath
.into_param().abi(), majorversion
, pcomment
.into_param().abi(), flags
)
36 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
38 pub unsafe fn NetDfsAddStdRoot
<P0
, P1
, P2
>(servername
: P0
, rootshare
: P1
, comment
: P2
, flags
: u32) -> u32
40 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
41 P1
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
42 P2
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
44 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsAddStdRoot ( servername
: :: windows
::core
::PCWSTR
, rootshare
: :: windows
::core
::PCWSTR
, comment
: :: windows
::core
::PCWSTR
, flags
: u32 ) -> u32 );
45 NetDfsAddStdRoot(servername
.into_param().abi(), rootshare
.into_param().abi(), comment
.into_param().abi(), flags
)
47 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
49 pub unsafe fn NetDfsEnum
<P0
>(dfsname
: P0
, level
: u32, prefmaxlen
: u32, buffer
: *mut *mut u8, entriesread
: *mut u32, resumehandle
: *mut u32) -> u32
51 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
53 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsEnum ( dfsname
: :: windows
::core
::PCWSTR
, level
: u32 , prefmaxlen
: u32 , buffer
: *mut *mut u8 , entriesread
: *mut u32 , resumehandle
: *mut u32 ) -> u32 );
54 NetDfsEnum(dfsname
.into_param().abi(), level
, prefmaxlen
, buffer
, entriesread
, resumehandle
)
56 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
58 pub unsafe fn NetDfsGetClientInfo
<P0
, P1
, P2
>(dfsentrypath
: P0
, servername
: P1
, sharename
: P2
, level
: u32, buffer
: *mut *mut u8) -> u32
60 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
61 P1
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
62 P2
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
64 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsGetClientInfo ( dfsentrypath
: :: windows
::core
::PCWSTR
, servername
: :: windows
::core
::PCWSTR
, sharename
: :: windows
::core
::PCWSTR
, level
: u32 , buffer
: *mut *mut u8 ) -> u32 );
65 NetDfsGetClientInfo(dfsentrypath
.into_param().abi(), servername
.into_param().abi(), sharename
.into_param().abi(), level
, buffer
)
67 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"]
68 #[cfg(feature = "Win32_Security")]
70 pub unsafe fn NetDfsGetFtContainerSecurity
<P0
>(domainname
: P0
, securityinformation
: u32, ppsecuritydescriptor
: *mut super::super::Security
::PSECURITY_DESCRIPTOR
, lpcbsecuritydescriptor
: *mut u32) -> u32
72 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
74 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsGetFtContainerSecurity ( domainname
: :: windows
::core
::PCWSTR
, securityinformation
: u32 , ppsecuritydescriptor
: *mut super::super::Security
:: PSECURITY_DESCRIPTOR
, lpcbsecuritydescriptor
: *mut u32 ) -> u32 );
75 NetDfsGetFtContainerSecurity(domainname
.into_param().abi(), securityinformation
, ppsecuritydescriptor
, lpcbsecuritydescriptor
)
77 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
79 pub unsafe fn NetDfsGetInfo
<P0
, P1
, P2
>(dfsentrypath
: P0
, servername
: P1
, sharename
: P2
, level
: u32, buffer
: *mut *mut u8) -> u32
81 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
82 P1
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
83 P2
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
85 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsGetInfo ( dfsentrypath
: :: windows
::core
::PCWSTR
, servername
: :: windows
::core
::PCWSTR
, sharename
: :: windows
::core
::PCWSTR
, level
: u32 , buffer
: *mut *mut u8 ) -> u32 );
86 NetDfsGetInfo(dfsentrypath
.into_param().abi(), servername
.into_param().abi(), sharename
.into_param().abi(), level
, buffer
)
88 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"]
89 #[cfg(feature = "Win32_Security")]
91 pub unsafe fn NetDfsGetSecurity
<P0
>(dfsentrypath
: P0
, securityinformation
: u32, ppsecuritydescriptor
: *mut super::super::Security
::PSECURITY_DESCRIPTOR
, lpcbsecuritydescriptor
: *mut u32) -> u32
93 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
95 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsGetSecurity ( dfsentrypath
: :: windows
::core
::PCWSTR
, securityinformation
: u32 , ppsecuritydescriptor
: *mut super::super::Security
:: PSECURITY_DESCRIPTOR
, lpcbsecuritydescriptor
: *mut u32 ) -> u32 );
96 NetDfsGetSecurity(dfsentrypath
.into_param().abi(), securityinformation
, ppsecuritydescriptor
, lpcbsecuritydescriptor
)
98 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"]
99 #[cfg(feature = "Win32_Security")]
101 pub unsafe fn NetDfsGetStdContainerSecurity
<P0
>(machinename
: P0
, securityinformation
: u32, ppsecuritydescriptor
: *mut super::super::Security
::PSECURITY_DESCRIPTOR
, lpcbsecuritydescriptor
: *mut u32) -> u32
103 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
105 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsGetStdContainerSecurity ( machinename
: :: windows
::core
::PCWSTR
, securityinformation
: u32 , ppsecuritydescriptor
: *mut super::super::Security
:: PSECURITY_DESCRIPTOR
, lpcbsecuritydescriptor
: *mut u32 ) -> u32 );
106 NetDfsGetStdContainerSecurity(machinename
.into_param().abi(), securityinformation
, ppsecuritydescriptor
, lpcbsecuritydescriptor
)
108 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
110 pub unsafe fn NetDfsGetSupportedNamespaceVersion
<P0
>(origin
: DFS_NAMESPACE_VERSION_ORIGIN
, pname
: P0
, ppversioninfo
: *mut *mut DFS_SUPPORTED_NAMESPACE_VERSION_INFO
) -> u32
112 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
114 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsGetSupportedNamespaceVersion ( origin
: DFS_NAMESPACE_VERSION_ORIGIN
, pname
: :: windows
::core
::PCWSTR
, ppversioninfo
: *mut *mut DFS_SUPPORTED_NAMESPACE_VERSION_INFO
) -> u32 );
115 NetDfsGetSupportedNamespaceVersion(origin
, pname
.into_param().abi(), ppversioninfo
)
117 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
119 pub unsafe fn NetDfsMove
<P0
, P1
>(olddfsentrypath
: P0
, newdfsentrypath
: P1
, flags
: u32) -> u32
121 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
122 P1
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
124 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsMove ( olddfsentrypath
: :: windows
::core
::PCWSTR
, newdfsentrypath
: :: windows
::core
::PCWSTR
, flags
: u32 ) -> u32 );
125 NetDfsMove(olddfsentrypath
.into_param().abi(), newdfsentrypath
.into_param().abi(), flags
)
127 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
129 pub unsafe fn NetDfsRemove
<P0
, P1
, P2
>(dfsentrypath
: P0
, servername
: P1
, sharename
: P2
) -> u32
131 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
132 P1
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
133 P2
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
135 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsRemove ( dfsentrypath
: :: windows
::core
::PCWSTR
, servername
: :: windows
::core
::PCWSTR
, sharename
: :: windows
::core
::PCWSTR
) -> u32 );
136 NetDfsRemove(dfsentrypath
.into_param().abi(), servername
.into_param().abi(), sharename
.into_param().abi())
138 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
140 pub unsafe fn NetDfsRemoveFtRoot
<P0
, P1
, P2
>(servername
: P0
, rootshare
: P1
, ftdfsname
: P2
, flags
: u32) -> u32
142 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
143 P1
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
144 P2
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
146 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsRemoveFtRoot ( servername
: :: windows
::core
::PCWSTR
, rootshare
: :: windows
::core
::PCWSTR
, ftdfsname
: :: windows
::core
::PCWSTR
, flags
: u32 ) -> u32 );
147 NetDfsRemoveFtRoot(servername
.into_param().abi(), rootshare
.into_param().abi(), ftdfsname
.into_param().abi(), flags
)
149 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
151 pub unsafe fn NetDfsRemoveFtRootForced
<P0
, P1
, P2
, P3
>(domainname
: P0
, servername
: P1
, rootshare
: P2
, ftdfsname
: P3
, flags
: u32) -> u32
153 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
154 P1
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
155 P2
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
156 P3
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
158 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsRemoveFtRootForced ( domainname
: :: windows
::core
::PCWSTR
, servername
: :: windows
::core
::PCWSTR
, rootshare
: :: windows
::core
::PCWSTR
, ftdfsname
: :: windows
::core
::PCWSTR
, flags
: u32 ) -> u32 );
159 NetDfsRemoveFtRootForced(domainname
.into_param().abi(), servername
.into_param().abi(), rootshare
.into_param().abi(), ftdfsname
.into_param().abi(), flags
)
161 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
163 pub unsafe fn NetDfsRemoveRootTarget
<P0
, P1
>(pdfspath
: P0
, ptargetpath
: P1
, flags
: u32) -> u32
165 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
166 P1
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
168 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsRemoveRootTarget ( pdfspath
: :: windows
::core
::PCWSTR
, ptargetpath
: :: windows
::core
::PCWSTR
, flags
: u32 ) -> u32 );
169 NetDfsRemoveRootTarget(pdfspath
.into_param().abi(), ptargetpath
.into_param().abi(), flags
)
171 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
173 pub unsafe fn NetDfsRemoveStdRoot
<P0
, P1
>(servername
: P0
, rootshare
: P1
, flags
: u32) -> u32
175 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
176 P1
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
178 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsRemoveStdRoot ( servername
: :: windows
::core
::PCWSTR
, rootshare
: :: windows
::core
::PCWSTR
, flags
: u32 ) -> u32 );
179 NetDfsRemoveStdRoot(servername
.into_param().abi(), rootshare
.into_param().abi(), flags
)
181 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
183 pub unsafe fn NetDfsSetClientInfo
<P0
, P1
, P2
>(dfsentrypath
: P0
, servername
: P1
, sharename
: P2
, level
: u32, buffer
: *const u8) -> u32
185 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
186 P1
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
187 P2
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
189 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsSetClientInfo ( dfsentrypath
: :: windows
::core
::PCWSTR
, servername
: :: windows
::core
::PCWSTR
, sharename
: :: windows
::core
::PCWSTR
, level
: u32 , buffer
: *const u8 ) -> u32 );
190 NetDfsSetClientInfo(dfsentrypath
.into_param().abi(), servername
.into_param().abi(), sharename
.into_param().abi(), level
, buffer
)
192 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"]
193 #[cfg(feature = "Win32_Security")]
195 pub unsafe fn NetDfsSetFtContainerSecurity
<P0
, P1
>(domainname
: P0
, securityinformation
: u32, psecuritydescriptor
: P1
) -> u32
197 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
198 P1
: ::windows
::core
::IntoParam
<super::super::Security
::PSECURITY_DESCRIPTOR
>,
200 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsSetFtContainerSecurity ( domainname
: :: windows
::core
::PCWSTR
, securityinformation
: u32 , psecuritydescriptor
: super::super::Security
:: PSECURITY_DESCRIPTOR
) -> u32 );
201 NetDfsSetFtContainerSecurity(domainname
.into_param().abi(), securityinformation
, psecuritydescriptor
.into_param().abi())
203 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
205 pub unsafe fn NetDfsSetInfo
<P0
, P1
, P2
>(dfsentrypath
: P0
, servername
: P1
, sharename
: P2
, level
: u32, buffer
: *const u8) -> u32
207 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
208 P1
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
209 P2
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
211 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsSetInfo ( dfsentrypath
: :: windows
::core
::PCWSTR
, servername
: :: windows
::core
::PCWSTR
, sharename
: :: windows
::core
::PCWSTR
, level
: u32 , buffer
: *const u8 ) -> u32 );
212 NetDfsSetInfo(dfsentrypath
.into_param().abi(), servername
.into_param().abi(), sharename
.into_param().abi(), level
, buffer
)
214 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"]
215 #[cfg(feature = "Win32_Security")]
217 pub unsafe fn NetDfsSetSecurity
<P0
, P1
>(dfsentrypath
: P0
, securityinformation
: u32, psecuritydescriptor
: P1
) -> u32
219 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
220 P1
: ::windows
::core
::IntoParam
<super::super::Security
::PSECURITY_DESCRIPTOR
>,
222 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsSetSecurity ( dfsentrypath
: :: windows
::core
::PCWSTR
, securityinformation
: u32 , psecuritydescriptor
: super::super::Security
:: PSECURITY_DESCRIPTOR
) -> u32 );
223 NetDfsSetSecurity(dfsentrypath
.into_param().abi(), securityinformation
, psecuritydescriptor
.into_param().abi())
225 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"]
226 #[cfg(feature = "Win32_Security")]
228 pub unsafe fn NetDfsSetStdContainerSecurity
<P0
, P1
>(machinename
: P0
, securityinformation
: u32, psecuritydescriptor
: P1
) -> u32
230 P0
: ::windows
::core
::IntoParam
<::windows
::core
::PCWSTR
>,
231 P1
: ::windows
::core
::IntoParam
<super::super::Security
::PSECURITY_DESCRIPTOR
>,
233 ::windows
::imp
::link
! ( "netapi32.dll""system" fn NetDfsSetStdContainerSecurity ( machinename
: :: windows
::core
::PCWSTR
, securityinformation
: u32 , psecuritydescriptor
: super::super::Security
:: PSECURITY_DESCRIPTOR
) -> u32 );
234 NetDfsSetStdContainerSecurity(machinename
.into_param().abi(), securityinformation
, psecuritydescriptor
.into_param().abi())
236 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
237 pub const DFS_ADD_VOLUME
: u32 = 1u32;
238 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
239 pub const DFS_FORCE_REMOVE
: u32 = 2147483648u32;
240 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
241 pub const DFS_MOVE_FLAG_REPLACE_IF_EXISTS
: u32 = 1u32;
242 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
243 pub const DFS_PROPERTY_FLAG_ABDE
: u32 = 32u32;
244 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
245 pub const DFS_PROPERTY_FLAG_CLUSTER_ENABLED
: u32 = 16u32;
246 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
247 pub const DFS_PROPERTY_FLAG_INSITE_REFERRALS
: u32 = 1u32;
248 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
249 pub const DFS_PROPERTY_FLAG_ROOT_SCALABILITY
: u32 = 2u32;
250 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
251 pub const DFS_PROPERTY_FLAG_SITE_COSTING
: u32 = 4u32;
252 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
253 pub const DFS_PROPERTY_FLAG_TARGET_FAILBACK
: u32 = 8u32;
254 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
255 pub const DFS_RESTORE_VOLUME
: u32 = 2u32;
256 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
257 pub const DFS_SITE_PRIMARY
: u32 = 1u32;
258 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
259 pub const DFS_STORAGE_FLAVOR_UNUSED2
: u32 = 768u32;
260 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
261 pub const DFS_STORAGE_STATES
: u32 = 15u32;
262 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
263 pub const DFS_STORAGE_STATE_ACTIVE
: u32 = 4u32;
264 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
265 pub const DFS_STORAGE_STATE_OFFLINE
: u32 = 1u32;
266 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
267 pub const DFS_STORAGE_STATE_ONLINE
: u32 = 2u32;
268 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
269 pub const DFS_VOLUME_FLAVORS
: u32 = 768u32;
270 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
271 pub const DFS_VOLUME_FLAVOR_AD_BLOB
: u32 = 512u32;
272 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
273 pub const DFS_VOLUME_FLAVOR_STANDALONE
: u32 = 256u32;
274 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
275 pub const DFS_VOLUME_FLAVOR_UNUSED1
: u32 = 0u32;
276 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
277 pub const DFS_VOLUME_STATES
: u32 = 15u32;
278 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
279 pub const DFS_VOLUME_STATE_FORCE_SYNC
: u32 = 64u32;
280 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
281 pub const DFS_VOLUME_STATE_INCONSISTENT
: u32 = 2u32;
282 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
283 pub const DFS_VOLUME_STATE_OFFLINE
: u32 = 3u32;
284 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
285 pub const DFS_VOLUME_STATE_OK
: u32 = 1u32;
286 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
287 pub const DFS_VOLUME_STATE_ONLINE
: u32 = 4u32;
288 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
289 pub const DFS_VOLUME_STATE_RESYNCHRONIZE
: u32 = 16u32;
290 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
291 pub const DFS_VOLUME_STATE_STANDBY
: u32 = 32u32;
292 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
293 pub const FSCTL_DFS_BASE
: u32 = 6u32;
294 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
295 pub const FSCTL_DFS_GET_PKT_ENTRY_STATE
: u32 = 401340u32;
296 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
297 pub const NET_DFS_SETDC_FLAGS
: u32 = 0u32;
298 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
299 pub const NET_DFS_SETDC_INITPKT
: u32 = 2u32;
300 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
301 pub const NET_DFS_SETDC_TIMEOUT
: u32 = 1u32;
302 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
304 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
305 pub struct DFS_NAMESPACE_VERSION_ORIGIN(pub i32);
306 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
307 pub const DFS_NAMESPACE_VERSION_ORIGIN_COMBINED
: DFS_NAMESPACE_VERSION_ORIGIN
= DFS_NAMESPACE_VERSION_ORIGIN(0i32);
308 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
309 pub const DFS_NAMESPACE_VERSION_ORIGIN_SERVER
: DFS_NAMESPACE_VERSION_ORIGIN
= DFS_NAMESPACE_VERSION_ORIGIN(1i32);
310 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
311 pub const DFS_NAMESPACE_VERSION_ORIGIN_DOMAIN
: DFS_NAMESPACE_VERSION_ORIGIN
= DFS_NAMESPACE_VERSION_ORIGIN(2i32);
312 impl ::core
::marker
::Copy
for DFS_NAMESPACE_VERSION_ORIGIN {}
313 impl ::core
::clone
::Clone
for DFS_NAMESPACE_VERSION_ORIGIN
{
314 fn clone(&self) -> Self {
318 impl ::core
::default::Default
for DFS_NAMESPACE_VERSION_ORIGIN
{
319 fn default() -> Self {
323 impl ::windows
::core
::TypeKind
for DFS_NAMESPACE_VERSION_ORIGIN
{
324 type TypeKind
= ::windows
::core
::CopyType
;
326 impl ::core
::fmt
::Debug
for DFS_NAMESPACE_VERSION_ORIGIN
{
327 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
328 f
.debug_tuple("DFS_NAMESPACE_VERSION_ORIGIN").field(&self.0).finish()
331 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
333 #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)]
334 pub struct DFS_TARGET_PRIORITY_CLASS(pub i32);
335 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
336 pub const DfsInvalidPriorityClass
: DFS_TARGET_PRIORITY_CLASS
= DFS_TARGET_PRIORITY_CLASS(-1i32);
337 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
338 pub const DfsSiteCostNormalPriorityClass
: DFS_TARGET_PRIORITY_CLASS
= DFS_TARGET_PRIORITY_CLASS(0i32);
339 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
340 pub const DfsGlobalHighPriorityClass
: DFS_TARGET_PRIORITY_CLASS
= DFS_TARGET_PRIORITY_CLASS(1i32);
341 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
342 pub const DfsSiteCostHighPriorityClass
: DFS_TARGET_PRIORITY_CLASS
= DFS_TARGET_PRIORITY_CLASS(2i32);
343 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
344 pub const DfsSiteCostLowPriorityClass
: DFS_TARGET_PRIORITY_CLASS
= DFS_TARGET_PRIORITY_CLASS(3i32);
345 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
346 pub const DfsGlobalLowPriorityClass
: DFS_TARGET_PRIORITY_CLASS
= DFS_TARGET_PRIORITY_CLASS(4i32);
347 impl ::core
::marker
::Copy
for DFS_TARGET_PRIORITY_CLASS {}
348 impl ::core
::clone
::Clone
for DFS_TARGET_PRIORITY_CLASS
{
349 fn clone(&self) -> Self {
353 impl ::core
::default::Default
for DFS_TARGET_PRIORITY_CLASS
{
354 fn default() -> Self {
358 impl ::windows
::core
::TypeKind
for DFS_TARGET_PRIORITY_CLASS
{
359 type TypeKind
= ::windows
::core
::CopyType
;
361 impl ::core
::fmt
::Debug
for DFS_TARGET_PRIORITY_CLASS
{
362 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
363 f
.debug_tuple("DFS_TARGET_PRIORITY_CLASS").field(&self.0).finish()
367 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
368 pub struct DFS_GET_PKT_ENTRY_STATE_ARG
{
369 pub DfsEntryPathLen
: u16,
370 pub ServerNameLen
: u16,
371 pub ShareNameLen
: u16,
373 pub Buffer
: [u16; 1],
375 impl ::core
::marker
::Copy
for DFS_GET_PKT_ENTRY_STATE_ARG {}
376 impl ::core
::clone
::Clone
for DFS_GET_PKT_ENTRY_STATE_ARG
{
377 fn clone(&self) -> Self {
381 impl ::core
::fmt
::Debug
for DFS_GET_PKT_ENTRY_STATE_ARG
{
382 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
383 f
.debug_struct("DFS_GET_PKT_ENTRY_STATE_ARG").field("DfsEntryPathLen", &self.DfsEntryPathLen
).field("ServerNameLen", &self.ServerNameLen
).field("ShareNameLen", &self.ShareNameLen
).field("Level", &self.Level
).field("Buffer", &self.Buffer
).finish()
386 impl ::windows
::core
::TypeKind
for DFS_GET_PKT_ENTRY_STATE_ARG
{
387 type TypeKind
= ::windows
::core
::CopyType
;
389 impl ::core
::cmp
::PartialEq
for DFS_GET_PKT_ENTRY_STATE_ARG
{
390 fn eq(&self, other
: &Self) -> bool
{
391 self.DfsEntryPathLen
== other
.DfsEntryPathLen
&& self.ServerNameLen
== other
.ServerNameLen
&& self.ShareNameLen
== other
.ShareNameLen
&& self.Level
== other
.Level
&& self.Buffer
== other
.Buffer
394 impl ::core
::cmp
::Eq
for DFS_GET_PKT_ENTRY_STATE_ARG {}
395 impl ::core
::default::Default
for DFS_GET_PKT_ENTRY_STATE_ARG
{
396 fn default() -> Self {
397 unsafe { ::core::mem::zeroed() }
401 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
402 pub struct DFS_INFO_1
{
403 pub EntryPath
: ::windows
::core
::PWSTR
,
405 impl ::core
::marker
::Copy
for DFS_INFO_1 {}
406 impl ::core
::clone
::Clone
for DFS_INFO_1
{
407 fn clone(&self) -> Self {
411 impl ::core
::fmt
::Debug
for DFS_INFO_1
{
412 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
413 f
.debug_struct("DFS_INFO_1").field("EntryPath", &self.EntryPath
).finish()
416 impl ::windows
::core
::TypeKind
for DFS_INFO_1
{
417 type TypeKind
= ::windows
::core
::CopyType
;
419 impl ::core
::cmp
::PartialEq
for DFS_INFO_1
{
420 fn eq(&self, other
: &Self) -> bool
{
421 self.EntryPath
== other
.EntryPath
424 impl ::core
::cmp
::Eq
for DFS_INFO_1 {}
425 impl ::core
::default::Default
for DFS_INFO_1
{
426 fn default() -> Self {
427 unsafe { ::core::mem::zeroed() }
431 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
432 pub struct DFS_INFO_100
{
433 pub Comment
: ::windows
::core
::PWSTR
,
435 impl ::core
::marker
::Copy
for DFS_INFO_100 {}
436 impl ::core
::clone
::Clone
for DFS_INFO_100
{
437 fn clone(&self) -> Self {
441 impl ::core
::fmt
::Debug
for DFS_INFO_100
{
442 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
443 f
.debug_struct("DFS_INFO_100").field("Comment", &self.Comment
).finish()
446 impl ::windows
::core
::TypeKind
for DFS_INFO_100
{
447 type TypeKind
= ::windows
::core
::CopyType
;
449 impl ::core
::cmp
::PartialEq
for DFS_INFO_100
{
450 fn eq(&self, other
: &Self) -> bool
{
451 self.Comment
== other
.Comment
454 impl ::core
::cmp
::Eq
for DFS_INFO_100 {}
455 impl ::core
::default::Default
for DFS_INFO_100
{
456 fn default() -> Self {
457 unsafe { ::core::mem::zeroed() }
461 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
462 pub struct DFS_INFO_101
{
465 impl ::core
::marker
::Copy
for DFS_INFO_101 {}
466 impl ::core
::clone
::Clone
for DFS_INFO_101
{
467 fn clone(&self) -> Self {
471 impl ::core
::fmt
::Debug
for DFS_INFO_101
{
472 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
473 f
.debug_struct("DFS_INFO_101").field("State", &self.State
).finish()
476 impl ::windows
::core
::TypeKind
for DFS_INFO_101
{
477 type TypeKind
= ::windows
::core
::CopyType
;
479 impl ::core
::cmp
::PartialEq
for DFS_INFO_101
{
480 fn eq(&self, other
: &Self) -> bool
{
481 self.State
== other
.State
484 impl ::core
::cmp
::Eq
for DFS_INFO_101 {}
485 impl ::core
::default::Default
for DFS_INFO_101
{
486 fn default() -> Self {
487 unsafe { ::core::mem::zeroed() }
491 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
492 pub struct DFS_INFO_102
{
495 impl ::core
::marker
::Copy
for DFS_INFO_102 {}
496 impl ::core
::clone
::Clone
for DFS_INFO_102
{
497 fn clone(&self) -> Self {
501 impl ::core
::fmt
::Debug
for DFS_INFO_102
{
502 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
503 f
.debug_struct("DFS_INFO_102").field("Timeout", &self.Timeout
).finish()
506 impl ::windows
::core
::TypeKind
for DFS_INFO_102
{
507 type TypeKind
= ::windows
::core
::CopyType
;
509 impl ::core
::cmp
::PartialEq
for DFS_INFO_102
{
510 fn eq(&self, other
: &Self) -> bool
{
511 self.Timeout
== other
.Timeout
514 impl ::core
::cmp
::Eq
for DFS_INFO_102 {}
515 impl ::core
::default::Default
for DFS_INFO_102
{
516 fn default() -> Self {
517 unsafe { ::core::mem::zeroed() }
521 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
522 pub struct DFS_INFO_103
{
523 pub PropertyFlagMask
: u32,
524 pub PropertyFlags
: u32,
526 impl ::core
::marker
::Copy
for DFS_INFO_103 {}
527 impl ::core
::clone
::Clone
for DFS_INFO_103
{
528 fn clone(&self) -> Self {
532 impl ::core
::fmt
::Debug
for DFS_INFO_103
{
533 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
534 f
.debug_struct("DFS_INFO_103").field("PropertyFlagMask", &self.PropertyFlagMask
).field("PropertyFlags", &self.PropertyFlags
).finish()
537 impl ::windows
::core
::TypeKind
for DFS_INFO_103
{
538 type TypeKind
= ::windows
::core
::CopyType
;
540 impl ::core
::cmp
::PartialEq
for DFS_INFO_103
{
541 fn eq(&self, other
: &Self) -> bool
{
542 self.PropertyFlagMask
== other
.PropertyFlagMask
&& self.PropertyFlags
== other
.PropertyFlags
545 impl ::core
::cmp
::Eq
for DFS_INFO_103 {}
546 impl ::core
::default::Default
for DFS_INFO_103
{
547 fn default() -> Self {
548 unsafe { ::core::mem::zeroed() }
552 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
553 pub struct DFS_INFO_104
{
554 pub TargetPriority
: DFS_TARGET_PRIORITY
,
556 impl ::core
::marker
::Copy
for DFS_INFO_104 {}
557 impl ::core
::clone
::Clone
for DFS_INFO_104
{
558 fn clone(&self) -> Self {
562 impl ::core
::fmt
::Debug
for DFS_INFO_104
{
563 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
564 f
.debug_struct("DFS_INFO_104").field("TargetPriority", &self.TargetPriority
).finish()
567 impl ::windows
::core
::TypeKind
for DFS_INFO_104
{
568 type TypeKind
= ::windows
::core
::CopyType
;
570 impl ::core
::cmp
::PartialEq
for DFS_INFO_104
{
571 fn eq(&self, other
: &Self) -> bool
{
572 self.TargetPriority
== other
.TargetPriority
575 impl ::core
::cmp
::Eq
for DFS_INFO_104 {}
576 impl ::core
::default::Default
for DFS_INFO_104
{
577 fn default() -> Self {
578 unsafe { ::core::mem::zeroed() }
582 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
583 pub struct DFS_INFO_105
{
584 pub Comment
: ::windows
::core
::PWSTR
,
587 pub PropertyFlagMask
: u32,
588 pub PropertyFlags
: u32,
590 impl ::core
::marker
::Copy
for DFS_INFO_105 {}
591 impl ::core
::clone
::Clone
for DFS_INFO_105
{
592 fn clone(&self) -> Self {
596 impl ::core
::fmt
::Debug
for DFS_INFO_105
{
597 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
598 f
.debug_struct("DFS_INFO_105").field("Comment", &self.Comment
).field("State", &self.State
).field("Timeout", &self.Timeout
).field("PropertyFlagMask", &self.PropertyFlagMask
).field("PropertyFlags", &self.PropertyFlags
).finish()
601 impl ::windows
::core
::TypeKind
for DFS_INFO_105
{
602 type TypeKind
= ::windows
::core
::CopyType
;
604 impl ::core
::cmp
::PartialEq
for DFS_INFO_105
{
605 fn eq(&self, other
: &Self) -> bool
{
606 self.Comment
== other
.Comment
&& self.State
== other
.State
&& self.Timeout
== other
.Timeout
&& self.PropertyFlagMask
== other
.PropertyFlagMask
&& self.PropertyFlags
== other
.PropertyFlags
609 impl ::core
::cmp
::Eq
for DFS_INFO_105 {}
610 impl ::core
::default::Default
for DFS_INFO_105
{
611 fn default() -> Self {
612 unsafe { ::core::mem::zeroed() }
616 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
617 pub struct DFS_INFO_106
{
619 pub TargetPriority
: DFS_TARGET_PRIORITY
,
621 impl ::core
::marker
::Copy
for DFS_INFO_106 {}
622 impl ::core
::clone
::Clone
for DFS_INFO_106
{
623 fn clone(&self) -> Self {
627 impl ::core
::fmt
::Debug
for DFS_INFO_106
{
628 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
629 f
.debug_struct("DFS_INFO_106").field("State", &self.State
).field("TargetPriority", &self.TargetPriority
).finish()
632 impl ::windows
::core
::TypeKind
for DFS_INFO_106
{
633 type TypeKind
= ::windows
::core
::CopyType
;
635 impl ::core
::cmp
::PartialEq
for DFS_INFO_106
{
636 fn eq(&self, other
: &Self) -> bool
{
637 self.State
== other
.State
&& self.TargetPriority
== other
.TargetPriority
640 impl ::core
::cmp
::Eq
for DFS_INFO_106 {}
641 impl ::core
::default::Default
for DFS_INFO_106
{
642 fn default() -> Self {
643 unsafe { ::core::mem::zeroed() }
647 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"]
648 #[cfg(feature = "Win32_Security")]
649 pub struct DFS_INFO_107
{
650 pub Comment
: ::windows
::core
::PWSTR
,
653 pub PropertyFlagMask
: u32,
654 pub PropertyFlags
: u32,
655 pub SdLengthReserved
: u32,
656 pub pSecurityDescriptor
: super::super::Security
::PSECURITY_DESCRIPTOR
,
658 #[cfg(feature = "Win32_Security")]
659 impl ::core
::marker
::Copy
for DFS_INFO_107 {}
660 #[cfg(feature = "Win32_Security")]
661 impl ::core
::clone
::Clone
for DFS_INFO_107
{
662 fn clone(&self) -> Self {
666 #[cfg(feature = "Win32_Security")]
667 impl ::core
::fmt
::Debug
for DFS_INFO_107
{
668 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
669 f
.debug_struct("DFS_INFO_107").field("Comment", &self.Comment
).field("State", &self.State
).field("Timeout", &self.Timeout
).field("PropertyFlagMask", &self.PropertyFlagMask
).field("PropertyFlags", &self.PropertyFlags
).field("SdLengthReserved", &self.SdLengthReserved
).field("pSecurityDescriptor", &self.pSecurityDescriptor
).finish()
672 #[cfg(feature = "Win32_Security")]
673 impl ::windows
::core
::TypeKind
for DFS_INFO_107
{
674 type TypeKind
= ::windows
::core
::CopyType
;
676 #[cfg(feature = "Win32_Security")]
677 impl ::core
::cmp
::PartialEq
for DFS_INFO_107
{
678 fn eq(&self, other
: &Self) -> bool
{
679 self.Comment
== other
.Comment
&& self.State
== other
.State
&& self.Timeout
== other
.Timeout
&& self.PropertyFlagMask
== other
.PropertyFlagMask
&& self.PropertyFlags
== other
.PropertyFlags
&& self.SdLengthReserved
== other
.SdLengthReserved
&& self.pSecurityDescriptor
== other
.pSecurityDescriptor
682 #[cfg(feature = "Win32_Security")]
683 impl ::core
::cmp
::Eq
for DFS_INFO_107 {}
684 #[cfg(feature = "Win32_Security")]
685 impl ::core
::default::Default
for DFS_INFO_107
{
686 fn default() -> Self {
687 unsafe { ::core::mem::zeroed() }
691 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"]
692 #[cfg(feature = "Win32_Security")]
693 pub struct DFS_INFO_150
{
694 pub SdLengthReserved
: u32,
695 pub pSecurityDescriptor
: super::super::Security
::PSECURITY_DESCRIPTOR
,
697 #[cfg(feature = "Win32_Security")]
698 impl ::core
::marker
::Copy
for DFS_INFO_150 {}
699 #[cfg(feature = "Win32_Security")]
700 impl ::core
::clone
::Clone
for DFS_INFO_150
{
701 fn clone(&self) -> Self {
705 #[cfg(feature = "Win32_Security")]
706 impl ::core
::fmt
::Debug
for DFS_INFO_150
{
707 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
708 f
.debug_struct("DFS_INFO_150").field("SdLengthReserved", &self.SdLengthReserved
).field("pSecurityDescriptor", &self.pSecurityDescriptor
).finish()
711 #[cfg(feature = "Win32_Security")]
712 impl ::windows
::core
::TypeKind
for DFS_INFO_150
{
713 type TypeKind
= ::windows
::core
::CopyType
;
715 #[cfg(feature = "Win32_Security")]
716 impl ::core
::cmp
::PartialEq
for DFS_INFO_150
{
717 fn eq(&self, other
: &Self) -> bool
{
718 self.SdLengthReserved
== other
.SdLengthReserved
&& self.pSecurityDescriptor
== other
.pSecurityDescriptor
721 #[cfg(feature = "Win32_Security")]
722 impl ::core
::cmp
::Eq
for DFS_INFO_150 {}
723 #[cfg(feature = "Win32_Security")]
724 impl ::core
::default::Default
for DFS_INFO_150
{
725 fn default() -> Self {
726 unsafe { ::core::mem::zeroed() }
730 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
731 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
732 pub struct DFS_INFO_1_32
{
735 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
736 impl ::core
::marker
::Copy
for DFS_INFO_1_32 {}
737 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
738 impl ::core
::clone
::Clone
for DFS_INFO_1_32
{
739 fn clone(&self) -> Self {
743 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
744 impl ::core
::fmt
::Debug
for DFS_INFO_1_32
{
745 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
746 f
.debug_struct("DFS_INFO_1_32").field("EntryPath", &self.EntryPath
).finish()
749 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
750 impl ::windows
::core
::TypeKind
for DFS_INFO_1_32
{
751 type TypeKind
= ::windows
::core
::CopyType
;
753 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
754 impl ::core
::cmp
::PartialEq
for DFS_INFO_1_32
{
755 fn eq(&self, other
: &Self) -> bool
{
756 self.EntryPath
== other
.EntryPath
759 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
760 impl ::core
::cmp
::Eq
for DFS_INFO_1_32 {}
761 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
762 impl ::core
::default::Default
for DFS_INFO_1_32
{
763 fn default() -> Self {
764 unsafe { ::core::mem::zeroed() }
768 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
769 pub struct DFS_INFO_2
{
770 pub EntryPath
: ::windows
::core
::PWSTR
,
771 pub Comment
: ::windows
::core
::PWSTR
,
773 pub NumberOfStorages
: u32,
775 impl ::core
::marker
::Copy
for DFS_INFO_2 {}
776 impl ::core
::clone
::Clone
for DFS_INFO_2
{
777 fn clone(&self) -> Self {
781 impl ::core
::fmt
::Debug
for DFS_INFO_2
{
782 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
783 f
.debug_struct("DFS_INFO_2").field("EntryPath", &self.EntryPath
).field("Comment", &self.Comment
).field("State", &self.State
).field("NumberOfStorages", &self.NumberOfStorages
).finish()
786 impl ::windows
::core
::TypeKind
for DFS_INFO_2
{
787 type TypeKind
= ::windows
::core
::CopyType
;
789 impl ::core
::cmp
::PartialEq
for DFS_INFO_2
{
790 fn eq(&self, other
: &Self) -> bool
{
791 self.EntryPath
== other
.EntryPath
&& self.Comment
== other
.Comment
&& self.State
== other
.State
&& self.NumberOfStorages
== other
.NumberOfStorages
794 impl ::core
::cmp
::Eq
for DFS_INFO_2 {}
795 impl ::core
::default::Default
for DFS_INFO_2
{
796 fn default() -> Self {
797 unsafe { ::core::mem::zeroed() }
801 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
802 pub struct DFS_INFO_200
{
803 pub FtDfsName
: ::windows
::core
::PWSTR
,
805 impl ::core
::marker
::Copy
for DFS_INFO_200 {}
806 impl ::core
::clone
::Clone
for DFS_INFO_200
{
807 fn clone(&self) -> Self {
811 impl ::core
::fmt
::Debug
for DFS_INFO_200
{
812 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
813 f
.debug_struct("DFS_INFO_200").field("FtDfsName", &self.FtDfsName
).finish()
816 impl ::windows
::core
::TypeKind
for DFS_INFO_200
{
817 type TypeKind
= ::windows
::core
::CopyType
;
819 impl ::core
::cmp
::PartialEq
for DFS_INFO_200
{
820 fn eq(&self, other
: &Self) -> bool
{
821 self.FtDfsName
== other
.FtDfsName
824 impl ::core
::cmp
::Eq
for DFS_INFO_200 {}
825 impl ::core
::default::Default
for DFS_INFO_200
{
826 fn default() -> Self {
827 unsafe { ::core::mem::zeroed() }
831 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
832 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
833 pub struct DFS_INFO_2_32
{
837 pub NumberOfStorages
: u32,
839 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
840 impl ::core
::marker
::Copy
for DFS_INFO_2_32 {}
841 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
842 impl ::core
::clone
::Clone
for DFS_INFO_2_32
{
843 fn clone(&self) -> Self {
847 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
848 impl ::core
::fmt
::Debug
for DFS_INFO_2_32
{
849 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
850 f
.debug_struct("DFS_INFO_2_32").field("EntryPath", &self.EntryPath
).field("Comment", &self.Comment
).field("State", &self.State
).field("NumberOfStorages", &self.NumberOfStorages
).finish()
853 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
854 impl ::windows
::core
::TypeKind
for DFS_INFO_2_32
{
855 type TypeKind
= ::windows
::core
::CopyType
;
857 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
858 impl ::core
::cmp
::PartialEq
for DFS_INFO_2_32
{
859 fn eq(&self, other
: &Self) -> bool
{
860 self.EntryPath
== other
.EntryPath
&& self.Comment
== other
.Comment
&& self.State
== other
.State
&& self.NumberOfStorages
== other
.NumberOfStorages
863 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
864 impl ::core
::cmp
::Eq
for DFS_INFO_2_32 {}
865 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
866 impl ::core
::default::Default
for DFS_INFO_2_32
{
867 fn default() -> Self {
868 unsafe { ::core::mem::zeroed() }
872 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
873 pub struct DFS_INFO_3
{
874 pub EntryPath
: ::windows
::core
::PWSTR
,
875 pub Comment
: ::windows
::core
::PWSTR
,
877 pub NumberOfStorages
: u32,
878 pub Storage
: *mut DFS_STORAGE_INFO
,
880 impl ::core
::marker
::Copy
for DFS_INFO_3 {}
881 impl ::core
::clone
::Clone
for DFS_INFO_3
{
882 fn clone(&self) -> Self {
886 impl ::core
::fmt
::Debug
for DFS_INFO_3
{
887 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
888 f
.debug_struct("DFS_INFO_3").field("EntryPath", &self.EntryPath
).field("Comment", &self.Comment
).field("State", &self.State
).field("NumberOfStorages", &self.NumberOfStorages
).field("Storage", &self.Storage
).finish()
891 impl ::windows
::core
::TypeKind
for DFS_INFO_3
{
892 type TypeKind
= ::windows
::core
::CopyType
;
894 impl ::core
::cmp
::PartialEq
for DFS_INFO_3
{
895 fn eq(&self, other
: &Self) -> bool
{
896 self.EntryPath
== other
.EntryPath
&& self.Comment
== other
.Comment
&& self.State
== other
.State
&& self.NumberOfStorages
== other
.NumberOfStorages
&& self.Storage
== other
.Storage
899 impl ::core
::cmp
::Eq
for DFS_INFO_3 {}
900 impl ::core
::default::Default
for DFS_INFO_3
{
901 fn default() -> Self {
902 unsafe { ::core::mem::zeroed() }
906 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
907 pub struct DFS_INFO_300
{
909 pub DfsName
: ::windows
::core
::PWSTR
,
911 impl ::core
::marker
::Copy
for DFS_INFO_300 {}
912 impl ::core
::clone
::Clone
for DFS_INFO_300
{
913 fn clone(&self) -> Self {
917 impl ::core
::fmt
::Debug
for DFS_INFO_300
{
918 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
919 f
.debug_struct("DFS_INFO_300").field("Flags", &self.Flags
).field("DfsName", &self.DfsName
).finish()
922 impl ::windows
::core
::TypeKind
for DFS_INFO_300
{
923 type TypeKind
= ::windows
::core
::CopyType
;
925 impl ::core
::cmp
::PartialEq
for DFS_INFO_300
{
926 fn eq(&self, other
: &Self) -> bool
{
927 self.Flags
== other
.Flags
&& self.DfsName
== other
.DfsName
930 impl ::core
::cmp
::Eq
for DFS_INFO_300 {}
931 impl ::core
::default::Default
for DFS_INFO_300
{
932 fn default() -> Self {
933 unsafe { ::core::mem::zeroed() }
937 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
938 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
939 pub struct DFS_INFO_3_32
{
943 pub NumberOfStorages
: u32,
946 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
947 impl ::core
::marker
::Copy
for DFS_INFO_3_32 {}
948 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
949 impl ::core
::clone
::Clone
for DFS_INFO_3_32
{
950 fn clone(&self) -> Self {
954 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
955 impl ::core
::fmt
::Debug
for DFS_INFO_3_32
{
956 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
957 f
.debug_struct("DFS_INFO_3_32").field("EntryPath", &self.EntryPath
).field("Comment", &self.Comment
).field("State", &self.State
).field("NumberOfStorages", &self.NumberOfStorages
).field("Storage", &self.Storage
).finish()
960 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
961 impl ::windows
::core
::TypeKind
for DFS_INFO_3_32
{
962 type TypeKind
= ::windows
::core
::CopyType
;
964 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
965 impl ::core
::cmp
::PartialEq
for DFS_INFO_3_32
{
966 fn eq(&self, other
: &Self) -> bool
{
967 self.EntryPath
== other
.EntryPath
&& self.Comment
== other
.Comment
&& self.State
== other
.State
&& self.NumberOfStorages
== other
.NumberOfStorages
&& self.Storage
== other
.Storage
970 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
971 impl ::core
::cmp
::Eq
for DFS_INFO_3_32 {}
972 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
973 impl ::core
::default::Default
for DFS_INFO_3_32
{
974 fn default() -> Self {
975 unsafe { ::core::mem::zeroed() }
979 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
980 pub struct DFS_INFO_4
{
981 pub EntryPath
: ::windows
::core
::PWSTR
,
982 pub Comment
: ::windows
::core
::PWSTR
,
985 pub Guid
: ::windows
::core
::GUID
,
986 pub NumberOfStorages
: u32,
987 pub Storage
: *mut DFS_STORAGE_INFO
,
989 impl ::core
::marker
::Copy
for DFS_INFO_4 {}
990 impl ::core
::clone
::Clone
for DFS_INFO_4
{
991 fn clone(&self) -> Self {
995 impl ::core
::fmt
::Debug
for DFS_INFO_4
{
996 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
997 f
.debug_struct("DFS_INFO_4").field("EntryPath", &self.EntryPath
).field("Comment", &self.Comment
).field("State", &self.State
).field("Timeout", &self.Timeout
).field("Guid", &self.Guid
).field("NumberOfStorages", &self.NumberOfStorages
).field("Storage", &self.Storage
).finish()
1000 impl ::windows
::core
::TypeKind
for DFS_INFO_4
{
1001 type TypeKind
= ::windows
::core
::CopyType
;
1003 impl ::core
::cmp
::PartialEq
for DFS_INFO_4
{
1004 fn eq(&self, other
: &Self) -> bool
{
1005 self.EntryPath
== other
.EntryPath
&& self.Comment
== other
.Comment
&& self.State
== other
.State
&& self.Timeout
== other
.Timeout
&& self.Guid
== other
.Guid
&& self.NumberOfStorages
== other
.NumberOfStorages
&& self.Storage
== other
.Storage
1008 impl ::core
::cmp
::Eq
for DFS_INFO_4 {}
1009 impl ::core
::default::Default
for DFS_INFO_4
{
1010 fn default() -> Self {
1011 unsafe { ::core::mem::zeroed() }
1015 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
1016 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1017 pub struct DFS_INFO_4_32
{
1022 pub Guid
: ::windows
::core
::GUID
,
1023 pub NumberOfStorages
: u32,
1026 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1027 impl ::core
::marker
::Copy
for DFS_INFO_4_32 {}
1028 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1029 impl ::core
::clone
::Clone
for DFS_INFO_4_32
{
1030 fn clone(&self) -> Self {
1034 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1035 impl ::core
::fmt
::Debug
for DFS_INFO_4_32
{
1036 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1037 f
.debug_struct("DFS_INFO_4_32").field("EntryPath", &self.EntryPath
).field("Comment", &self.Comment
).field("State", &self.State
).field("Timeout", &self.Timeout
).field("Guid", &self.Guid
).field("NumberOfStorages", &self.NumberOfStorages
).field("Storage", &self.Storage
).finish()
1040 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1041 impl ::windows
::core
::TypeKind
for DFS_INFO_4_32
{
1042 type TypeKind
= ::windows
::core
::CopyType
;
1044 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1045 impl ::core
::cmp
::PartialEq
for DFS_INFO_4_32
{
1046 fn eq(&self, other
: &Self) -> bool
{
1047 self.EntryPath
== other
.EntryPath
&& self.Comment
== other
.Comment
&& self.State
== other
.State
&& self.Timeout
== other
.Timeout
&& self.Guid
== other
.Guid
&& self.NumberOfStorages
== other
.NumberOfStorages
&& self.Storage
== other
.Storage
1050 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1051 impl ::core
::cmp
::Eq
for DFS_INFO_4_32 {}
1052 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1053 impl ::core
::default::Default
for DFS_INFO_4_32
{
1054 fn default() -> Self {
1055 unsafe { ::core::mem::zeroed() }
1059 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
1060 pub struct DFS_INFO_5
{
1061 pub EntryPath
: ::windows
::core
::PWSTR
,
1062 pub Comment
: ::windows
::core
::PWSTR
,
1065 pub Guid
: ::windows
::core
::GUID
,
1066 pub PropertyFlags
: u32,
1067 pub MetadataSize
: u32,
1068 pub NumberOfStorages
: u32,
1070 impl ::core
::marker
::Copy
for DFS_INFO_5 {}
1071 impl ::core
::clone
::Clone
for DFS_INFO_5
{
1072 fn clone(&self) -> Self {
1076 impl ::core
::fmt
::Debug
for DFS_INFO_5
{
1077 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1078 f
.debug_struct("DFS_INFO_5").field("EntryPath", &self.EntryPath
).field("Comment", &self.Comment
).field("State", &self.State
).field("Timeout", &self.Timeout
).field("Guid", &self.Guid
).field("PropertyFlags", &self.PropertyFlags
).field("MetadataSize", &self.MetadataSize
).field("NumberOfStorages", &self.NumberOfStorages
).finish()
1081 impl ::windows
::core
::TypeKind
for DFS_INFO_5
{
1082 type TypeKind
= ::windows
::core
::CopyType
;
1084 impl ::core
::cmp
::PartialEq
for DFS_INFO_5
{
1085 fn eq(&self, other
: &Self) -> bool
{
1086 self.EntryPath
== other
.EntryPath
&& self.Comment
== other
.Comment
&& self.State
== other
.State
&& self.Timeout
== other
.Timeout
&& self.Guid
== other
.Guid
&& self.PropertyFlags
== other
.PropertyFlags
&& self.MetadataSize
== other
.MetadataSize
&& self.NumberOfStorages
== other
.NumberOfStorages
1089 impl ::core
::cmp
::Eq
for DFS_INFO_5 {}
1090 impl ::core
::default::Default
for DFS_INFO_5
{
1091 fn default() -> Self {
1092 unsafe { ::core::mem::zeroed() }
1096 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
1097 pub struct DFS_INFO_50
{
1098 pub NamespaceMajorVersion
: u32,
1099 pub NamespaceMinorVersion
: u32,
1100 pub NamespaceCapabilities
: u64,
1102 impl ::core
::marker
::Copy
for DFS_INFO_50 {}
1103 impl ::core
::clone
::Clone
for DFS_INFO_50
{
1104 fn clone(&self) -> Self {
1108 impl ::core
::fmt
::Debug
for DFS_INFO_50
{
1109 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1110 f
.debug_struct("DFS_INFO_50").field("NamespaceMajorVersion", &self.NamespaceMajorVersion
).field("NamespaceMinorVersion", &self.NamespaceMinorVersion
).field("NamespaceCapabilities", &self.NamespaceCapabilities
).finish()
1113 impl ::windows
::core
::TypeKind
for DFS_INFO_50
{
1114 type TypeKind
= ::windows
::core
::CopyType
;
1116 impl ::core
::cmp
::PartialEq
for DFS_INFO_50
{
1117 fn eq(&self, other
: &Self) -> bool
{
1118 self.NamespaceMajorVersion
== other
.NamespaceMajorVersion
&& self.NamespaceMinorVersion
== other
.NamespaceMinorVersion
&& self.NamespaceCapabilities
== other
.NamespaceCapabilities
1121 impl ::core
::cmp
::Eq
for DFS_INFO_50 {}
1122 impl ::core
::default::Default
for DFS_INFO_50
{
1123 fn default() -> Self {
1124 unsafe { ::core::mem::zeroed() }
1128 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
1129 pub struct DFS_INFO_6
{
1130 pub EntryPath
: ::windows
::core
::PWSTR
,
1131 pub Comment
: ::windows
::core
::PWSTR
,
1134 pub Guid
: ::windows
::core
::GUID
,
1135 pub PropertyFlags
: u32,
1136 pub MetadataSize
: u32,
1137 pub NumberOfStorages
: u32,
1138 pub Storage
: *mut DFS_STORAGE_INFO_1
,
1140 impl ::core
::marker
::Copy
for DFS_INFO_6 {}
1141 impl ::core
::clone
::Clone
for DFS_INFO_6
{
1142 fn clone(&self) -> Self {
1146 impl ::core
::fmt
::Debug
for DFS_INFO_6
{
1147 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1148 f
.debug_struct("DFS_INFO_6").field("EntryPath", &self.EntryPath
).field("Comment", &self.Comment
).field("State", &self.State
).field("Timeout", &self.Timeout
).field("Guid", &self.Guid
).field("PropertyFlags", &self.PropertyFlags
).field("MetadataSize", &self.MetadataSize
).field("NumberOfStorages", &self.NumberOfStorages
).field("Storage", &self.Storage
).finish()
1151 impl ::windows
::core
::TypeKind
for DFS_INFO_6
{
1152 type TypeKind
= ::windows
::core
::CopyType
;
1154 impl ::core
::cmp
::PartialEq
for DFS_INFO_6
{
1155 fn eq(&self, other
: &Self) -> bool
{
1156 self.EntryPath
== other
.EntryPath
&& self.Comment
== other
.Comment
&& self.State
== other
.State
&& self.Timeout
== other
.Timeout
&& self.Guid
== other
.Guid
&& self.PropertyFlags
== other
.PropertyFlags
&& self.MetadataSize
== other
.MetadataSize
&& self.NumberOfStorages
== other
.NumberOfStorages
&& self.Storage
== other
.Storage
1159 impl ::core
::cmp
::Eq
for DFS_INFO_6 {}
1160 impl ::core
::default::Default
for DFS_INFO_6
{
1161 fn default() -> Self {
1162 unsafe { ::core::mem::zeroed() }
1166 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
1167 pub struct DFS_INFO_7
{
1168 pub GenerationGuid
: ::windows
::core
::GUID
,
1170 impl ::core
::marker
::Copy
for DFS_INFO_7 {}
1171 impl ::core
::clone
::Clone
for DFS_INFO_7
{
1172 fn clone(&self) -> Self {
1176 impl ::core
::fmt
::Debug
for DFS_INFO_7
{
1177 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1178 f
.debug_struct("DFS_INFO_7").field("GenerationGuid", &self.GenerationGuid
).finish()
1181 impl ::windows
::core
::TypeKind
for DFS_INFO_7
{
1182 type TypeKind
= ::windows
::core
::CopyType
;
1184 impl ::core
::cmp
::PartialEq
for DFS_INFO_7
{
1185 fn eq(&self, other
: &Self) -> bool
{
1186 self.GenerationGuid
== other
.GenerationGuid
1189 impl ::core
::cmp
::Eq
for DFS_INFO_7 {}
1190 impl ::core
::default::Default
for DFS_INFO_7
{
1191 fn default() -> Self {
1192 unsafe { ::core::mem::zeroed() }
1196 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"]
1197 #[cfg(feature = "Win32_Security")]
1198 pub struct DFS_INFO_8
{
1199 pub EntryPath
: ::windows
::core
::PWSTR
,
1200 pub Comment
: ::windows
::core
::PWSTR
,
1203 pub Guid
: ::windows
::core
::GUID
,
1204 pub PropertyFlags
: u32,
1205 pub MetadataSize
: u32,
1206 pub SdLengthReserved
: u32,
1207 pub pSecurityDescriptor
: super::super::Security
::PSECURITY_DESCRIPTOR
,
1208 pub NumberOfStorages
: u32,
1210 #[cfg(feature = "Win32_Security")]
1211 impl ::core
::marker
::Copy
for DFS_INFO_8 {}
1212 #[cfg(feature = "Win32_Security")]
1213 impl ::core
::clone
::Clone
for DFS_INFO_8
{
1214 fn clone(&self) -> Self {
1218 #[cfg(feature = "Win32_Security")]
1219 impl ::core
::fmt
::Debug
for DFS_INFO_8
{
1220 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1221 f
.debug_struct("DFS_INFO_8").field("EntryPath", &self.EntryPath
).field("Comment", &self.Comment
).field("State", &self.State
).field("Timeout", &self.Timeout
).field("Guid", &self.Guid
).field("PropertyFlags", &self.PropertyFlags
).field("MetadataSize", &self.MetadataSize
).field("SdLengthReserved", &self.SdLengthReserved
).field("pSecurityDescriptor", &self.pSecurityDescriptor
).field("NumberOfStorages", &self.NumberOfStorages
).finish()
1224 #[cfg(feature = "Win32_Security")]
1225 impl ::windows
::core
::TypeKind
for DFS_INFO_8
{
1226 type TypeKind
= ::windows
::core
::CopyType
;
1228 #[cfg(feature = "Win32_Security")]
1229 impl ::core
::cmp
::PartialEq
for DFS_INFO_8
{
1230 fn eq(&self, other
: &Self) -> bool
{
1231 self.EntryPath
== other
.EntryPath
&& self.Comment
== other
.Comment
&& self.State
== other
.State
&& self.Timeout
== other
.Timeout
&& self.Guid
== other
.Guid
&& self.PropertyFlags
== other
.PropertyFlags
&& self.MetadataSize
== other
.MetadataSize
&& self.SdLengthReserved
== other
.SdLengthReserved
&& self.pSecurityDescriptor
== other
.pSecurityDescriptor
&& self.NumberOfStorages
== other
.NumberOfStorages
1234 #[cfg(feature = "Win32_Security")]
1235 impl ::core
::cmp
::Eq
for DFS_INFO_8 {}
1236 #[cfg(feature = "Win32_Security")]
1237 impl ::core
::default::Default
for DFS_INFO_8
{
1238 fn default() -> Self {
1239 unsafe { ::core::mem::zeroed() }
1243 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`, `\"Win32_Security\"`*"]
1244 #[cfg(feature = "Win32_Security")]
1245 pub struct DFS_INFO_9
{
1246 pub EntryPath
: ::windows
::core
::PWSTR
,
1247 pub Comment
: ::windows
::core
::PWSTR
,
1250 pub Guid
: ::windows
::core
::GUID
,
1251 pub PropertyFlags
: u32,
1252 pub MetadataSize
: u32,
1253 pub SdLengthReserved
: u32,
1254 pub pSecurityDescriptor
: super::super::Security
::PSECURITY_DESCRIPTOR
,
1255 pub NumberOfStorages
: u32,
1256 pub Storage
: *mut DFS_STORAGE_INFO_1
,
1258 #[cfg(feature = "Win32_Security")]
1259 impl ::core
::marker
::Copy
for DFS_INFO_9 {}
1260 #[cfg(feature = "Win32_Security")]
1261 impl ::core
::clone
::Clone
for DFS_INFO_9
{
1262 fn clone(&self) -> Self {
1266 #[cfg(feature = "Win32_Security")]
1267 impl ::core
::fmt
::Debug
for DFS_INFO_9
{
1268 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1269 f
.debug_struct("DFS_INFO_9").field("EntryPath", &self.EntryPath
).field("Comment", &self.Comment
).field("State", &self.State
).field("Timeout", &self.Timeout
).field("Guid", &self.Guid
).field("PropertyFlags", &self.PropertyFlags
).field("MetadataSize", &self.MetadataSize
).field("SdLengthReserved", &self.SdLengthReserved
).field("pSecurityDescriptor", &self.pSecurityDescriptor
).field("NumberOfStorages", &self.NumberOfStorages
).field("Storage", &self.Storage
).finish()
1272 #[cfg(feature = "Win32_Security")]
1273 impl ::windows
::core
::TypeKind
for DFS_INFO_9
{
1274 type TypeKind
= ::windows
::core
::CopyType
;
1276 #[cfg(feature = "Win32_Security")]
1277 impl ::core
::cmp
::PartialEq
for DFS_INFO_9
{
1278 fn eq(&self, other
: &Self) -> bool
{
1279 self.EntryPath
== other
.EntryPath
&& self.Comment
== other
.Comment
&& self.State
== other
.State
&& self.Timeout
== other
.Timeout
&& self.Guid
== other
.Guid
&& self.PropertyFlags
== other
.PropertyFlags
&& self.MetadataSize
== other
.MetadataSize
&& self.SdLengthReserved
== other
.SdLengthReserved
&& self.pSecurityDescriptor
== other
.pSecurityDescriptor
&& self.NumberOfStorages
== other
.NumberOfStorages
&& self.Storage
== other
.Storage
1282 #[cfg(feature = "Win32_Security")]
1283 impl ::core
::cmp
::Eq
for DFS_INFO_9 {}
1284 #[cfg(feature = "Win32_Security")]
1285 impl ::core
::default::Default
for DFS_INFO_9
{
1286 fn default() -> Self {
1287 unsafe { ::core::mem::zeroed() }
1291 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
1292 pub struct DFS_SITELIST_INFO
{
1294 pub Site
: [DFS_SITENAME_INFO
; 1],
1296 impl ::core
::marker
::Copy
for DFS_SITELIST_INFO {}
1297 impl ::core
::clone
::Clone
for DFS_SITELIST_INFO
{
1298 fn clone(&self) -> Self {
1302 impl ::core
::fmt
::Debug
for DFS_SITELIST_INFO
{
1303 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1304 f
.debug_struct("DFS_SITELIST_INFO").field("cSites", &self.cSites
).field("Site", &self.Site
).finish()
1307 impl ::windows
::core
::TypeKind
for DFS_SITELIST_INFO
{
1308 type TypeKind
= ::windows
::core
::CopyType
;
1310 impl ::core
::cmp
::PartialEq
for DFS_SITELIST_INFO
{
1311 fn eq(&self, other
: &Self) -> bool
{
1312 self.cSites
== other
.cSites
&& self.Site
== other
.Site
1315 impl ::core
::cmp
::Eq
for DFS_SITELIST_INFO {}
1316 impl ::core
::default::Default
for DFS_SITELIST_INFO
{
1317 fn default() -> Self {
1318 unsafe { ::core::mem::zeroed() }
1322 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
1323 pub struct DFS_SITENAME_INFO
{
1325 pub SiteName
: ::windows
::core
::PWSTR
,
1327 impl ::core
::marker
::Copy
for DFS_SITENAME_INFO {}
1328 impl ::core
::clone
::Clone
for DFS_SITENAME_INFO
{
1329 fn clone(&self) -> Self {
1333 impl ::core
::fmt
::Debug
for DFS_SITENAME_INFO
{
1334 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1335 f
.debug_struct("DFS_SITENAME_INFO").field("SiteFlags", &self.SiteFlags
).field("SiteName", &self.SiteName
).finish()
1338 impl ::windows
::core
::TypeKind
for DFS_SITENAME_INFO
{
1339 type TypeKind
= ::windows
::core
::CopyType
;
1341 impl ::core
::cmp
::PartialEq
for DFS_SITENAME_INFO
{
1342 fn eq(&self, other
: &Self) -> bool
{
1343 self.SiteFlags
== other
.SiteFlags
&& self.SiteName
== other
.SiteName
1346 impl ::core
::cmp
::Eq
for DFS_SITENAME_INFO {}
1347 impl ::core
::default::Default
for DFS_SITENAME_INFO
{
1348 fn default() -> Self {
1349 unsafe { ::core::mem::zeroed() }
1353 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
1354 pub struct DFS_STORAGE_INFO
{
1356 pub ServerName
: ::windows
::core
::PWSTR
,
1357 pub ShareName
: ::windows
::core
::PWSTR
,
1359 impl ::core
::marker
::Copy
for DFS_STORAGE_INFO {}
1360 impl ::core
::clone
::Clone
for DFS_STORAGE_INFO
{
1361 fn clone(&self) -> Self {
1365 impl ::core
::fmt
::Debug
for DFS_STORAGE_INFO
{
1366 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1367 f
.debug_struct("DFS_STORAGE_INFO").field("State", &self.State
).field("ServerName", &self.ServerName
).field("ShareName", &self.ShareName
).finish()
1370 impl ::windows
::core
::TypeKind
for DFS_STORAGE_INFO
{
1371 type TypeKind
= ::windows
::core
::CopyType
;
1373 impl ::core
::cmp
::PartialEq
for DFS_STORAGE_INFO
{
1374 fn eq(&self, other
: &Self) -> bool
{
1375 self.State
== other
.State
&& self.ServerName
== other
.ServerName
&& self.ShareName
== other
.ShareName
1378 impl ::core
::cmp
::Eq
for DFS_STORAGE_INFO {}
1379 impl ::core
::default::Default
for DFS_STORAGE_INFO
{
1380 fn default() -> Self {
1381 unsafe { ::core::mem::zeroed() }
1385 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
1386 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1387 pub struct DFS_STORAGE_INFO_0_32
{
1389 pub ServerName
: u32,
1392 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1393 impl ::core
::marker
::Copy
for DFS_STORAGE_INFO_0_32 {}
1394 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1395 impl ::core
::clone
::Clone
for DFS_STORAGE_INFO_0_32
{
1396 fn clone(&self) -> Self {
1400 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1401 impl ::core
::fmt
::Debug
for DFS_STORAGE_INFO_0_32
{
1402 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1403 f
.debug_struct("DFS_STORAGE_INFO_0_32").field("State", &self.State
).field("ServerName", &self.ServerName
).field("ShareName", &self.ShareName
).finish()
1406 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1407 impl ::windows
::core
::TypeKind
for DFS_STORAGE_INFO_0_32
{
1408 type TypeKind
= ::windows
::core
::CopyType
;
1410 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1411 impl ::core
::cmp
::PartialEq
for DFS_STORAGE_INFO_0_32
{
1412 fn eq(&self, other
: &Self) -> bool
{
1413 self.State
== other
.State
&& self.ServerName
== other
.ServerName
&& self.ShareName
== other
.ShareName
1416 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1417 impl ::core
::cmp
::Eq
for DFS_STORAGE_INFO_0_32 {}
1418 #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))]
1419 impl ::core
::default::Default
for DFS_STORAGE_INFO_0_32
{
1420 fn default() -> Self {
1421 unsafe { ::core::mem::zeroed() }
1425 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
1426 pub struct DFS_STORAGE_INFO_1
{
1428 pub ServerName
: ::windows
::core
::PWSTR
,
1429 pub ShareName
: ::windows
::core
::PWSTR
,
1430 pub TargetPriority
: DFS_TARGET_PRIORITY
,
1432 impl ::core
::marker
::Copy
for DFS_STORAGE_INFO_1 {}
1433 impl ::core
::clone
::Clone
for DFS_STORAGE_INFO_1
{
1434 fn clone(&self) -> Self {
1438 impl ::core
::fmt
::Debug
for DFS_STORAGE_INFO_1
{
1439 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1440 f
.debug_struct("DFS_STORAGE_INFO_1").field("State", &self.State
).field("ServerName", &self.ServerName
).field("ShareName", &self.ShareName
).field("TargetPriority", &self.TargetPriority
).finish()
1443 impl ::windows
::core
::TypeKind
for DFS_STORAGE_INFO_1
{
1444 type TypeKind
= ::windows
::core
::CopyType
;
1446 impl ::core
::cmp
::PartialEq
for DFS_STORAGE_INFO_1
{
1447 fn eq(&self, other
: &Self) -> bool
{
1448 self.State
== other
.State
&& self.ServerName
== other
.ServerName
&& self.ShareName
== other
.ShareName
&& self.TargetPriority
== other
.TargetPriority
1451 impl ::core
::cmp
::Eq
for DFS_STORAGE_INFO_1 {}
1452 impl ::core
::default::Default
for DFS_STORAGE_INFO_1
{
1453 fn default() -> Self {
1454 unsafe { ::core::mem::zeroed() }
1458 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
1459 pub struct DFS_SUPPORTED_NAMESPACE_VERSION_INFO
{
1460 pub DomainDfsMajorVersion
: u32,
1461 pub DomainDfsMinorVersion
: u32,
1462 pub DomainDfsCapabilities
: u64,
1463 pub StandaloneDfsMajorVersion
: u32,
1464 pub StandaloneDfsMinorVersion
: u32,
1465 pub StandaloneDfsCapabilities
: u64,
1467 impl ::core
::marker
::Copy
for DFS_SUPPORTED_NAMESPACE_VERSION_INFO {}
1468 impl ::core
::clone
::Clone
for DFS_SUPPORTED_NAMESPACE_VERSION_INFO
{
1469 fn clone(&self) -> Self {
1473 impl ::core
::fmt
::Debug
for DFS_SUPPORTED_NAMESPACE_VERSION_INFO
{
1474 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1475 f
.debug_struct("DFS_SUPPORTED_NAMESPACE_VERSION_INFO").field("DomainDfsMajorVersion", &self.DomainDfsMajorVersion
).field("DomainDfsMinorVersion", &self.DomainDfsMinorVersion
).field("DomainDfsCapabilities", &self.DomainDfsCapabilities
).field("StandaloneDfsMajorVersion", &self.StandaloneDfsMajorVersion
).field("StandaloneDfsMinorVersion", &self.StandaloneDfsMinorVersion
).field("StandaloneDfsCapabilities", &self.StandaloneDfsCapabilities
).finish()
1478 impl ::windows
::core
::TypeKind
for DFS_SUPPORTED_NAMESPACE_VERSION_INFO
{
1479 type TypeKind
= ::windows
::core
::CopyType
;
1481 impl ::core
::cmp
::PartialEq
for DFS_SUPPORTED_NAMESPACE_VERSION_INFO
{
1482 fn eq(&self, other
: &Self) -> bool
{
1483 self.DomainDfsMajorVersion
== other
.DomainDfsMajorVersion
&& self.DomainDfsMinorVersion
== other
.DomainDfsMinorVersion
&& self.DomainDfsCapabilities
== other
.DomainDfsCapabilities
&& self.StandaloneDfsMajorVersion
== other
.StandaloneDfsMajorVersion
&& self.StandaloneDfsMinorVersion
== other
.StandaloneDfsMinorVersion
&& self.StandaloneDfsCapabilities
== other
.StandaloneDfsCapabilities
1486 impl ::core
::cmp
::Eq
for DFS_SUPPORTED_NAMESPACE_VERSION_INFO {}
1487 impl ::core
::default::Default
for DFS_SUPPORTED_NAMESPACE_VERSION_INFO
{
1488 fn default() -> Self {
1489 unsafe { ::core::mem::zeroed() }
1493 #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"]
1494 pub struct DFS_TARGET_PRIORITY
{
1495 pub TargetPriorityClass
: DFS_TARGET_PRIORITY_CLASS
,
1496 pub TargetPriorityRank
: u16,
1499 impl ::core
::marker
::Copy
for DFS_TARGET_PRIORITY {}
1500 impl ::core
::clone
::Clone
for DFS_TARGET_PRIORITY
{
1501 fn clone(&self) -> Self {
1505 impl ::core
::fmt
::Debug
for DFS_TARGET_PRIORITY
{
1506 fn fmt(&self, f
: &mut ::core
::fmt
::Formatter
<'_
>) -> ::core
::fmt
::Result
{
1507 f
.debug_struct("DFS_TARGET_PRIORITY").field("TargetPriorityClass", &self.TargetPriorityClass
).field("TargetPriorityRank", &self.TargetPriorityRank
).field("Reserved", &self.Reserved
).finish()
1510 impl ::windows
::core
::TypeKind
for DFS_TARGET_PRIORITY
{
1511 type TypeKind
= ::windows
::core
::CopyType
;
1513 impl ::core
::cmp
::PartialEq
for DFS_TARGET_PRIORITY
{
1514 fn eq(&self, other
: &Self) -> bool
{
1515 self.TargetPriorityClass
== other
.TargetPriorityClass
&& self.TargetPriorityRank
== other
.TargetPriorityRank
&& self.Reserved
== other
.Reserved
1518 impl ::core
::cmp
::Eq
for DFS_TARGET_PRIORITY {}
1519 impl ::core
::default::Default
for DFS_TARGET_PRIORITY
{
1520 fn default() -> Self {
1521 unsafe { ::core::mem::zeroed() }
1524 #[cfg(feature = "implement")]
1525 ::core
::include
!("impl.rs");