| 1 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsAdd(dfsentrypath : ::windows_sys::core::PCWSTR, servername : ::windows_sys::core::PCWSTR, sharename : ::windows_sys::core::PCWSTR, comment : ::windows_sys::core::PCWSTR, flags : u32) -> u32); |
| 2 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsAddFtRoot(servername : ::windows_sys::core::PCWSTR, rootshare : ::windows_sys::core::PCWSTR, ftdfsname : ::windows_sys::core::PCWSTR, comment : ::windows_sys::core::PCWSTR, flags : u32) -> u32); |
| 3 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsAddRootTarget(pdfspath : ::windows_sys::core::PCWSTR, ptargetpath : ::windows_sys::core::PCWSTR, majorversion : u32, pcomment : ::windows_sys::core::PCWSTR, flags : u32) -> u32); |
| 4 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsAddStdRoot(servername : ::windows_sys::core::PCWSTR, rootshare : ::windows_sys::core::PCWSTR, comment : ::windows_sys::core::PCWSTR, flags : u32) -> u32); |
| 5 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsEnum(dfsname : ::windows_sys::core::PCWSTR, level : u32, prefmaxlen : u32, buffer : *mut *mut u8, entriesread : *mut u32, resumehandle : *mut u32) -> u32); |
| 6 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsGetClientInfo(dfsentrypath : ::windows_sys::core::PCWSTR, servername : ::windows_sys::core::PCWSTR, sharename : ::windows_sys::core::PCWSTR, level : u32, buffer : *mut *mut u8) -> u32); |
| 7 |
#[cfg(feature = "Win32_Security")] |
| 8 |
::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn NetDfsGetFtContainerSecurity(domainname : ::windows_sys::core::PCWSTR, securityinformation : u32, ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor : *mut u32) -> u32); |
| 9 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsGetInfo(dfsentrypath : ::windows_sys::core::PCWSTR, servername : ::windows_sys::core::PCWSTR, sharename : ::windows_sys::core::PCWSTR, level : u32, buffer : *mut *mut u8) -> u32); |
| 10 |
#[cfg(feature = "Win32_Security")] |
| 11 |
::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn NetDfsGetSecurity(dfsentrypath : ::windows_sys::core::PCWSTR, securityinformation : u32, ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor : *mut u32) -> u32); |
| 12 |
#[cfg(feature = "Win32_Security")] |
| 13 |
::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn NetDfsGetStdContainerSecurity(machinename : ::windows_sys::core::PCWSTR, securityinformation : u32, ppsecuritydescriptor : *mut super::super::Security:: PSECURITY_DESCRIPTOR, lpcbsecuritydescriptor : *mut u32) -> u32); |
| 14 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsGetSupportedNamespaceVersion(origin : DFS_NAMESPACE_VERSION_ORIGIN, pname : ::windows_sys::core::PCWSTR, ppversioninfo : *mut *mut DFS_SUPPORTED_NAMESPACE_VERSION_INFO) -> u32); |
| 15 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsMove(olddfsentrypath : ::windows_sys::core::PCWSTR, newdfsentrypath : ::windows_sys::core::PCWSTR, flags : u32) -> u32); |
| 16 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsRemove(dfsentrypath : ::windows_sys::core::PCWSTR, servername : ::windows_sys::core::PCWSTR, sharename : ::windows_sys::core::PCWSTR) -> u32); |
| 17 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsRemoveFtRoot(servername : ::windows_sys::core::PCWSTR, rootshare : ::windows_sys::core::PCWSTR, ftdfsname : ::windows_sys::core::PCWSTR, flags : u32) -> u32); |
| 18 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsRemoveFtRootForced(domainname : ::windows_sys::core::PCWSTR, servername : ::windows_sys::core::PCWSTR, rootshare : ::windows_sys::core::PCWSTR, ftdfsname : ::windows_sys::core::PCWSTR, flags : u32) -> u32); |
| 19 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsRemoveRootTarget(pdfspath : ::windows_sys::core::PCWSTR, ptargetpath : ::windows_sys::core::PCWSTR, flags : u32) -> u32); |
| 20 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsRemoveStdRoot(servername : ::windows_sys::core::PCWSTR, rootshare : ::windows_sys::core::PCWSTR, flags : u32) -> u32); |
| 21 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsSetClientInfo(dfsentrypath : ::windows_sys::core::PCWSTR, servername : ::windows_sys::core::PCWSTR, sharename : ::windows_sys::core::PCWSTR, level : u32, buffer : *const u8) -> u32); |
| 22 |
#[cfg(feature = "Win32_Security")] |
| 23 |
::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn NetDfsSetFtContainerSecurity(domainname : ::windows_sys::core::PCWSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); |
| 24 |
::windows_targets::link!("netapi32.dll" "system" fn NetDfsSetInfo(dfsentrypath : ::windows_sys::core::PCWSTR, servername : ::windows_sys::core::PCWSTR, sharename : ::windows_sys::core::PCWSTR, level : u32, buffer : *const u8) -> u32); |
| 25 |
#[cfg(feature = "Win32_Security")] |
| 26 |
::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn NetDfsSetSecurity(dfsentrypath : ::windows_sys::core::PCWSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); |
| 27 |
#[cfg(feature = "Win32_Security")] |
| 28 |
::windows_targets::link!("netapi32.dll" "system" #[doc = "Required features: `\"Win32_Security\"`"] fn NetDfsSetStdContainerSecurity(machinename : ::windows_sys::core::PCWSTR, securityinformation : u32, psecuritydescriptor : super::super::Security:: PSECURITY_DESCRIPTOR) -> u32); |
| 29 |
pub const DFS_ADD_VOLUME: u32 = 1u32; |
| 30 |
pub const DFS_FORCE_REMOVE: u32 = 2147483648u32; |
| 31 |
pub const DFS_MOVE_FLAG_REPLACE_IF_EXISTS: u32 = 1u32; |
| 32 |
pub const DFS_NAMESPACE_VERSION_ORIGIN_COMBINED: DFS_NAMESPACE_VERSION_ORIGIN = 0i32; |
| 33 |
pub const DFS_NAMESPACE_VERSION_ORIGIN_DOMAIN: DFS_NAMESPACE_VERSION_ORIGIN = 2i32; |
| 34 |
pub const DFS_NAMESPACE_VERSION_ORIGIN_SERVER: DFS_NAMESPACE_VERSION_ORIGIN = 1i32; |
| 35 |
pub const DFS_PROPERTY_FLAG_ABDE: u32 = 32u32; |
| 36 |
pub const DFS_PROPERTY_FLAG_CLUSTER_ENABLED: u32 = 16u32; |
| 37 |
pub const DFS_PROPERTY_FLAG_INSITE_REFERRALS: u32 = 1u32; |
| 38 |
pub const DFS_PROPERTY_FLAG_ROOT_SCALABILITY: u32 = 2u32; |
| 39 |
pub const DFS_PROPERTY_FLAG_SITE_COSTING: u32 = 4u32; |
| 40 |
pub const DFS_PROPERTY_FLAG_TARGET_FAILBACK: u32 = 8u32; |
| 41 |
pub const DFS_RESTORE_VOLUME: u32 = 2u32; |
| 42 |
pub const DFS_SITE_PRIMARY: u32 = 1u32; |
| 43 |
pub const DFS_STORAGE_FLAVOR_UNUSED2: u32 = 768u32; |
| 44 |
pub const DFS_STORAGE_STATES: u32 = 15u32; |
| 45 |
pub const DFS_STORAGE_STATE_ACTIVE: u32 = 4u32; |
| 46 |
pub const DFS_STORAGE_STATE_OFFLINE: u32 = 1u32; |
| 47 |
pub const DFS_STORAGE_STATE_ONLINE: u32 = 2u32; |
| 48 |
pub const DFS_VOLUME_FLAVORS: u32 = 768u32; |
| 49 |
pub const DFS_VOLUME_FLAVOR_AD_BLOB: u32 = 512u32; |
| 50 |
pub const DFS_VOLUME_FLAVOR_STANDALONE: u32 = 256u32; |
| 51 |
pub const DFS_VOLUME_FLAVOR_UNUSED1: u32 = 0u32; |
| 52 |
pub const DFS_VOLUME_STATES: u32 = 15u32; |
| 53 |
pub const DFS_VOLUME_STATE_FORCE_SYNC: u32 = 64u32; |
| 54 |
pub const DFS_VOLUME_STATE_INCONSISTENT: u32 = 2u32; |
| 55 |
pub const DFS_VOLUME_STATE_OFFLINE: u32 = 3u32; |
| 56 |
pub const DFS_VOLUME_STATE_OK: u32 = 1u32; |
| 57 |
pub const DFS_VOLUME_STATE_ONLINE: u32 = 4u32; |
| 58 |
pub const DFS_VOLUME_STATE_RESYNCHRONIZE: u32 = 16u32; |
| 59 |
pub const DFS_VOLUME_STATE_STANDBY: u32 = 32u32; |
| 60 |
pub const DfsGlobalHighPriorityClass: DFS_TARGET_PRIORITY_CLASS = 1i32; |
| 61 |
pub const DfsGlobalLowPriorityClass: DFS_TARGET_PRIORITY_CLASS = 4i32; |
| 62 |
pub const DfsInvalidPriorityClass: DFS_TARGET_PRIORITY_CLASS = -1i32; |
| 63 |
pub const DfsSiteCostHighPriorityClass: DFS_TARGET_PRIORITY_CLASS = 2i32; |
| 64 |
pub const DfsSiteCostLowPriorityClass: DFS_TARGET_PRIORITY_CLASS = 3i32; |
| 65 |
pub const DfsSiteCostNormalPriorityClass: DFS_TARGET_PRIORITY_CLASS = 0i32; |
| 66 |
pub const FSCTL_DFS_BASE: u32 = 6u32; |
| 67 |
pub const FSCTL_DFS_GET_PKT_ENTRY_STATE: u32 = 401340u32; |
| 68 |
pub const NET_DFS_SETDC_FLAGS: u32 = 0u32; |
| 69 |
pub const NET_DFS_SETDC_INITPKT: u32 = 2u32; |
| 70 |
pub const NET_DFS_SETDC_TIMEOUT: u32 = 1u32; |
| 71 |
pub type DFS_NAMESPACE_VERSION_ORIGIN = i32; |
| 72 |
pub type DFS_TARGET_PRIORITY_CLASS = i32; |
| 73 |
#[repr(C)] |
| 74 |
pub struct DFS_GET_PKT_ENTRY_STATE_ARG { |
| 75 |
pub DfsEntryPathLen: u16, |
| 76 |
pub ServerNameLen: u16, |
| 77 |
pub ShareNameLen: u16, |
| 78 |
pub Level: u32, |
| 79 |
pub Buffer: [u16; 1], |
| 80 |
} |
| 81 |
impl ::core::marker::Copy for DFS_GET_PKT_ENTRY_STATE_ARG {} |
| 82 |
impl ::core::clone::Clone for DFS_GET_PKT_ENTRY_STATE_ARG { |
| 83 |
fn clone(&self) -> Self { |
| 84 |
*self |
| 85 |
} |
| 86 |
} |
| 87 |
#[repr(C)] |
| 88 |
pub struct DFS_INFO_1 { |
| 89 |
pub EntryPath: ::windows_sys::core::PWSTR, |
| 90 |
} |
| 91 |
impl ::core::marker::Copy for DFS_INFO_1 {} |
| 92 |
impl ::core::clone::Clone for DFS_INFO_1 { |
| 93 |
fn clone(&self) -> Self { |
| 94 |
*self |
| 95 |
} |
| 96 |
} |
| 97 |
#[repr(C)] |
| 98 |
pub struct DFS_INFO_100 { |
| 99 |
pub Comment: ::windows_sys::core::PWSTR, |
| 100 |
} |
| 101 |
impl ::core::marker::Copy for DFS_INFO_100 {} |
| 102 |
impl ::core::clone::Clone for DFS_INFO_100 { |
| 103 |
fn clone(&self) -> Self { |
| 104 |
*self |
| 105 |
} |
| 106 |
} |
| 107 |
#[repr(C)] |
| 108 |
pub struct DFS_INFO_101 { |
| 109 |
pub State: u32, |
| 110 |
} |
| 111 |
impl ::core::marker::Copy for DFS_INFO_101 {} |
| 112 |
impl ::core::clone::Clone for DFS_INFO_101 { |
| 113 |
fn clone(&self) -> Self { |
| 114 |
*self |
| 115 |
} |
| 116 |
} |
| 117 |
#[repr(C)] |
| 118 |
pub struct DFS_INFO_102 { |
| 119 |
pub Timeout: u32, |
| 120 |
} |
| 121 |
impl ::core::marker::Copy for DFS_INFO_102 {} |
| 122 |
impl ::core::clone::Clone for DFS_INFO_102 { |
| 123 |
fn clone(&self) -> Self { |
| 124 |
*self |
| 125 |
} |
| 126 |
} |
| 127 |
#[repr(C)] |
| 128 |
pub struct DFS_INFO_103 { |
| 129 |
pub PropertyFlagMask: u32, |
| 130 |
pub PropertyFlags: u32, |
| 131 |
} |
| 132 |
impl ::core::marker::Copy for DFS_INFO_103 {} |
| 133 |
impl ::core::clone::Clone for DFS_INFO_103 { |
| 134 |
fn clone(&self) -> Self { |
| 135 |
*self |
| 136 |
} |
| 137 |
} |
| 138 |
#[repr(C)] |
| 139 |
pub struct DFS_INFO_104 { |
| 140 |
pub TargetPriority: DFS_TARGET_PRIORITY, |
| 141 |
} |
| 142 |
impl ::core::marker::Copy for DFS_INFO_104 {} |
| 143 |
impl ::core::clone::Clone for DFS_INFO_104 { |
| 144 |
fn clone(&self) -> Self { |
| 145 |
*self |
| 146 |
} |
| 147 |
} |
| 148 |
#[repr(C)] |
| 149 |
pub struct DFS_INFO_105 { |
| 150 |
pub Comment: ::windows_sys::core::PWSTR, |
| 151 |
pub State: u32, |
| 152 |
pub Timeout: u32, |
| 153 |
pub PropertyFlagMask: u32, |
| 154 |
pub PropertyFlags: u32, |
| 155 |
} |
| 156 |
impl ::core::marker::Copy for DFS_INFO_105 {} |
| 157 |
impl ::core::clone::Clone for DFS_INFO_105 { |
| 158 |
fn clone(&self) -> Self { |
| 159 |
*self |
| 160 |
} |
| 161 |
} |
| 162 |
#[repr(C)] |
| 163 |
pub struct DFS_INFO_106 { |
| 164 |
pub State: u32, |
| 165 |
pub TargetPriority: DFS_TARGET_PRIORITY, |
| 166 |
} |
| 167 |
impl ::core::marker::Copy for DFS_INFO_106 {} |
| 168 |
impl ::core::clone::Clone for DFS_INFO_106 { |
| 169 |
fn clone(&self) -> Self { |
| 170 |
*self |
| 171 |
} |
| 172 |
} |
| 173 |
#[repr(C)] |
| 174 |
#[doc = "Required features: `\"Win32_Security\"`"] |
| 175 |
#[cfg(feature = "Win32_Security")] |
| 176 |
pub struct DFS_INFO_107 { |
| 177 |
pub Comment: ::windows_sys::core::PWSTR, |
| 178 |
pub State: u32, |
| 179 |
pub Timeout: u32, |
| 180 |
pub PropertyFlagMask: u32, |
| 181 |
pub PropertyFlags: u32, |
| 182 |
pub SdLengthReserved: u32, |
| 183 |
pub pSecurityDescriptor: super::super::Security::PSECURITY_DESCRIPTOR, |
| 184 |
} |
| 185 |
#[cfg(feature = "Win32_Security")] |
| 186 |
impl ::core::marker::Copy for DFS_INFO_107 {} |
| 187 |
#[cfg(feature = "Win32_Security")] |
| 188 |
impl ::core::clone::Clone for DFS_INFO_107 { |
| 189 |
fn clone(&self) -> Self { |
| 190 |
*self |
| 191 |
} |
| 192 |
} |
| 193 |
#[repr(C)] |
| 194 |
#[doc = "Required features: `\"Win32_Security\"`"] |
| 195 |
#[cfg(feature = "Win32_Security")] |
| 196 |
pub struct DFS_INFO_150 { |
| 197 |
pub SdLengthReserved: u32, |
| 198 |
pub pSecurityDescriptor: super::super::Security::PSECURITY_DESCRIPTOR, |
| 199 |
} |
| 200 |
#[cfg(feature = "Win32_Security")] |
| 201 |
impl ::core::marker::Copy for DFS_INFO_150 {} |
| 202 |
#[cfg(feature = "Win32_Security")] |
| 203 |
impl ::core::clone::Clone for DFS_INFO_150 { |
| 204 |
fn clone(&self) -> Self { |
| 205 |
*self |
| 206 |
} |
| 207 |
} |
| 208 |
#[repr(C)] |
| 209 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 210 |
pub struct DFS_INFO_1_32 { |
| 211 |
pub EntryPath: u32, |
| 212 |
} |
| 213 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 214 |
impl ::core::marker::Copy for DFS_INFO_1_32 {} |
| 215 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 216 |
impl ::core::clone::Clone for DFS_INFO_1_32 { |
| 217 |
fn clone(&self) -> Self { |
| 218 |
*self |
| 219 |
} |
| 220 |
} |
| 221 |
#[repr(C)] |
| 222 |
pub struct DFS_INFO_2 { |
| 223 |
pub EntryPath: ::windows_sys::core::PWSTR, |
| 224 |
pub Comment: ::windows_sys::core::PWSTR, |
| 225 |
pub State: u32, |
| 226 |
pub NumberOfStorages: u32, |
| 227 |
} |
| 228 |
impl ::core::marker::Copy for DFS_INFO_2 {} |
| 229 |
impl ::core::clone::Clone for DFS_INFO_2 { |
| 230 |
fn clone(&self) -> Self { |
| 231 |
*self |
| 232 |
} |
| 233 |
} |
| 234 |
#[repr(C)] |
| 235 |
pub struct DFS_INFO_200 { |
| 236 |
pub FtDfsName: ::windows_sys::core::PWSTR, |
| 237 |
} |
| 238 |
impl ::core::marker::Copy for DFS_INFO_200 {} |
| 239 |
impl ::core::clone::Clone for DFS_INFO_200 { |
| 240 |
fn clone(&self) -> Self { |
| 241 |
*self |
| 242 |
} |
| 243 |
} |
| 244 |
#[repr(C)] |
| 245 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 246 |
pub struct DFS_INFO_2_32 { |
| 247 |
pub EntryPath: u32, |
| 248 |
pub Comment: u32, |
| 249 |
pub State: u32, |
| 250 |
pub NumberOfStorages: u32, |
| 251 |
} |
| 252 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 253 |
impl ::core::marker::Copy for DFS_INFO_2_32 {} |
| 254 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 255 |
impl ::core::clone::Clone for DFS_INFO_2_32 { |
| 256 |
fn clone(&self) -> Self { |
| 257 |
*self |
| 258 |
} |
| 259 |
} |
| 260 |
#[repr(C)] |
| 261 |
pub struct DFS_INFO_3 { |
| 262 |
pub EntryPath: ::windows_sys::core::PWSTR, |
| 263 |
pub Comment: ::windows_sys::core::PWSTR, |
| 264 |
pub State: u32, |
| 265 |
pub NumberOfStorages: u32, |
| 266 |
pub Storage: *mut DFS_STORAGE_INFO, |
| 267 |
} |
| 268 |
impl ::core::marker::Copy for DFS_INFO_3 {} |
| 269 |
impl ::core::clone::Clone for DFS_INFO_3 { |
| 270 |
fn clone(&self) -> Self { |
| 271 |
*self |
| 272 |
} |
| 273 |
} |
| 274 |
#[repr(C)] |
| 275 |
pub struct DFS_INFO_300 { |
| 276 |
pub Flags: u32, |
| 277 |
pub DfsName: ::windows_sys::core::PWSTR, |
| 278 |
} |
| 279 |
impl ::core::marker::Copy for DFS_INFO_300 {} |
| 280 |
impl ::core::clone::Clone for DFS_INFO_300 { |
| 281 |
fn clone(&self) -> Self { |
| 282 |
*self |
| 283 |
} |
| 284 |
} |
| 285 |
#[repr(C)] |
| 286 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 287 |
pub struct DFS_INFO_3_32 { |
| 288 |
pub EntryPath: u32, |
| 289 |
pub Comment: u32, |
| 290 |
pub State: u32, |
| 291 |
pub NumberOfStorages: u32, |
| 292 |
pub Storage: u32, |
| 293 |
} |
| 294 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 295 |
impl ::core::marker::Copy for DFS_INFO_3_32 {} |
| 296 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 297 |
impl ::core::clone::Clone for DFS_INFO_3_32 { |
| 298 |
fn clone(&self) -> Self { |
| 299 |
*self |
| 300 |
} |
| 301 |
} |
| 302 |
#[repr(C)] |
| 303 |
pub struct DFS_INFO_4 { |
| 304 |
pub EntryPath: ::windows_sys::core::PWSTR, |
| 305 |
pub Comment: ::windows_sys::core::PWSTR, |
| 306 |
pub State: u32, |
| 307 |
pub Timeout: u32, |
| 308 |
pub Guid: ::windows_sys::core::GUID, |
| 309 |
pub NumberOfStorages: u32, |
| 310 |
pub Storage: *mut DFS_STORAGE_INFO, |
| 311 |
} |
| 312 |
impl ::core::marker::Copy for DFS_INFO_4 {} |
| 313 |
impl ::core::clone::Clone for DFS_INFO_4 { |
| 314 |
fn clone(&self) -> Self { |
| 315 |
*self |
| 316 |
} |
| 317 |
} |
| 318 |
#[repr(C)] |
| 319 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 320 |
pub struct DFS_INFO_4_32 { |
| 321 |
pub EntryPath: u32, |
| 322 |
pub Comment: u32, |
| 323 |
pub State: u32, |
| 324 |
pub Timeout: u32, |
| 325 |
pub Guid: ::windows_sys::core::GUID, |
| 326 |
pub NumberOfStorages: u32, |
| 327 |
pub Storage: u32, |
| 328 |
} |
| 329 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 330 |
impl ::core::marker::Copy for DFS_INFO_4_32 {} |
| 331 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 332 |
impl ::core::clone::Clone for DFS_INFO_4_32 { |
| 333 |
fn clone(&self) -> Self { |
| 334 |
*self |
| 335 |
} |
| 336 |
} |
| 337 |
#[repr(C)] |
| 338 |
pub struct DFS_INFO_5 { |
| 339 |
pub EntryPath: ::windows_sys::core::PWSTR, |
| 340 |
pub Comment: ::windows_sys::core::PWSTR, |
| 341 |
pub State: u32, |
| 342 |
pub Timeout: u32, |
| 343 |
pub Guid: ::windows_sys::core::GUID, |
| 344 |
pub PropertyFlags: u32, |
| 345 |
pub MetadataSize: u32, |
| 346 |
pub NumberOfStorages: u32, |
| 347 |
} |
| 348 |
impl ::core::marker::Copy for DFS_INFO_5 {} |
| 349 |
impl ::core::clone::Clone for DFS_INFO_5 { |
| 350 |
fn clone(&self) -> Self { |
| 351 |
*self |
| 352 |
} |
| 353 |
} |
| 354 |
#[repr(C)] |
| 355 |
pub struct DFS_INFO_50 { |
| 356 |
pub NamespaceMajorVersion: u32, |
| 357 |
pub NamespaceMinorVersion: u32, |
| 358 |
pub NamespaceCapabilities: u64, |
| 359 |
} |
| 360 |
impl ::core::marker::Copy for DFS_INFO_50 {} |
| 361 |
impl ::core::clone::Clone for DFS_INFO_50 { |
| 362 |
fn clone(&self) -> Self { |
| 363 |
*self |
| 364 |
} |
| 365 |
} |
| 366 |
#[repr(C)] |
| 367 |
pub struct DFS_INFO_6 { |
| 368 |
pub EntryPath: ::windows_sys::core::PWSTR, |
| 369 |
pub Comment: ::windows_sys::core::PWSTR, |
| 370 |
pub State: u32, |
| 371 |
pub Timeout: u32, |
| 372 |
pub Guid: ::windows_sys::core::GUID, |
| 373 |
pub PropertyFlags: u32, |
| 374 |
pub MetadataSize: u32, |
| 375 |
pub NumberOfStorages: u32, |
| 376 |
pub Storage: *mut DFS_STORAGE_INFO_1, |
| 377 |
} |
| 378 |
impl ::core::marker::Copy for DFS_INFO_6 {} |
| 379 |
impl ::core::clone::Clone for DFS_INFO_6 { |
| 380 |
fn clone(&self) -> Self { |
| 381 |
*self |
| 382 |
} |
| 383 |
} |
| 384 |
#[repr(C)] |
| 385 |
pub struct DFS_INFO_7 { |
| 386 |
pub GenerationGuid: ::windows_sys::core::GUID, |
| 387 |
} |
| 388 |
impl ::core::marker::Copy for DFS_INFO_7 {} |
| 389 |
impl ::core::clone::Clone for DFS_INFO_7 { |
| 390 |
fn clone(&self) -> Self { |
| 391 |
*self |
| 392 |
} |
| 393 |
} |
| 394 |
#[repr(C)] |
| 395 |
#[doc = "Required features: `\"Win32_Security\"`"] |
| 396 |
#[cfg(feature = "Win32_Security")] |
| 397 |
pub struct DFS_INFO_8 { |
| 398 |
pub EntryPath: ::windows_sys::core::PWSTR, |
| 399 |
pub Comment: ::windows_sys::core::PWSTR, |
| 400 |
pub State: u32, |
| 401 |
pub Timeout: u32, |
| 402 |
pub Guid: ::windows_sys::core::GUID, |
| 403 |
pub PropertyFlags: u32, |
| 404 |
pub MetadataSize: u32, |
| 405 |
pub SdLengthReserved: u32, |
| 406 |
pub pSecurityDescriptor: super::super::Security::PSECURITY_DESCRIPTOR, |
| 407 |
pub NumberOfStorages: u32, |
| 408 |
} |
| 409 |
#[cfg(feature = "Win32_Security")] |
| 410 |
impl ::core::marker::Copy for DFS_INFO_8 {} |
| 411 |
#[cfg(feature = "Win32_Security")] |
| 412 |
impl ::core::clone::Clone for DFS_INFO_8 { |
| 413 |
fn clone(&self) -> Self { |
| 414 |
*self |
| 415 |
} |
| 416 |
} |
| 417 |
#[repr(C)] |
| 418 |
#[doc = "Required features: `\"Win32_Security\"`"] |
| 419 |
#[cfg(feature = "Win32_Security")] |
| 420 |
pub struct DFS_INFO_9 { |
| 421 |
pub EntryPath: ::windows_sys::core::PWSTR, |
| 422 |
pub Comment: ::windows_sys::core::PWSTR, |
| 423 |
pub State: u32, |
| 424 |
pub Timeout: u32, |
| 425 |
pub Guid: ::windows_sys::core::GUID, |
| 426 |
pub PropertyFlags: u32, |
| 427 |
pub MetadataSize: u32, |
| 428 |
pub SdLengthReserved: u32, |
| 429 |
pub pSecurityDescriptor: super::super::Security::PSECURITY_DESCRIPTOR, |
| 430 |
pub NumberOfStorages: u32, |
| 431 |
pub Storage: *mut DFS_STORAGE_INFO_1, |
| 432 |
} |
| 433 |
#[cfg(feature = "Win32_Security")] |
| 434 |
impl ::core::marker::Copy for DFS_INFO_9 {} |
| 435 |
#[cfg(feature = "Win32_Security")] |
| 436 |
impl ::core::clone::Clone for DFS_INFO_9 { |
| 437 |
fn clone(&self) -> Self { |
| 438 |
*self |
| 439 |
} |
| 440 |
} |
| 441 |
#[repr(C)] |
| 442 |
pub struct DFS_SITELIST_INFO { |
| 443 |
pub cSites: u32, |
| 444 |
pub Site: [DFS_SITENAME_INFO; 1], |
| 445 |
} |
| 446 |
impl ::core::marker::Copy for DFS_SITELIST_INFO {} |
| 447 |
impl ::core::clone::Clone for DFS_SITELIST_INFO { |
| 448 |
fn clone(&self) -> Self { |
| 449 |
*self |
| 450 |
} |
| 451 |
} |
| 452 |
#[repr(C)] |
| 453 |
pub struct DFS_SITENAME_INFO { |
| 454 |
pub SiteFlags: u32, |
| 455 |
pub SiteName: ::windows_sys::core::PWSTR, |
| 456 |
} |
| 457 |
impl ::core::marker::Copy for DFS_SITENAME_INFO {} |
| 458 |
impl ::core::clone::Clone for DFS_SITENAME_INFO { |
| 459 |
fn clone(&self) -> Self { |
| 460 |
*self |
| 461 |
} |
| 462 |
} |
| 463 |
#[repr(C)] |
| 464 |
pub struct DFS_STORAGE_INFO { |
| 465 |
pub State: u32, |
| 466 |
pub ServerName: ::windows_sys::core::PWSTR, |
| 467 |
pub ShareName: ::windows_sys::core::PWSTR, |
| 468 |
} |
| 469 |
impl ::core::marker::Copy for DFS_STORAGE_INFO {} |
| 470 |
impl ::core::clone::Clone for DFS_STORAGE_INFO { |
| 471 |
fn clone(&self) -> Self { |
| 472 |
*self |
| 473 |
} |
| 474 |
} |
| 475 |
#[repr(C)] |
| 476 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 477 |
pub struct DFS_STORAGE_INFO_0_32 { |
| 478 |
pub State: u32, |
| 479 |
pub ServerName: u32, |
| 480 |
pub ShareName: u32, |
| 481 |
} |
| 482 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 483 |
impl ::core::marker::Copy for DFS_STORAGE_INFO_0_32 {} |
| 484 |
#[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| 485 |
impl ::core::clone::Clone for DFS_STORAGE_INFO_0_32 { |
| 486 |
fn clone(&self) -> Self { |
| 487 |
*self |
| 488 |
} |
| 489 |
} |
| 490 |
#[repr(C)] |
| 491 |
pub struct DFS_STORAGE_INFO_1 { |
| 492 |
pub State: u32, |
| 493 |
pub ServerName: ::windows_sys::core::PWSTR, |
| 494 |
pub ShareName: ::windows_sys::core::PWSTR, |
| 495 |
pub TargetPriority: DFS_TARGET_PRIORITY, |
| 496 |
} |
| 497 |
impl ::core::marker::Copy for DFS_STORAGE_INFO_1 {} |
| 498 |
impl ::core::clone::Clone for DFS_STORAGE_INFO_1 { |
| 499 |
fn clone(&self) -> Self { |
| 500 |
*self |
| 501 |
} |
| 502 |
} |
| 503 |
#[repr(C)] |
| 504 |
pub struct DFS_SUPPORTED_NAMESPACE_VERSION_INFO { |
| 505 |
pub DomainDfsMajorVersion: u32, |
| 506 |
pub DomainDfsMinorVersion: u32, |
| 507 |
pub DomainDfsCapabilities: u64, |
| 508 |
pub StandaloneDfsMajorVersion: u32, |
| 509 |
pub StandaloneDfsMinorVersion: u32, |
| 510 |
pub StandaloneDfsCapabilities: u64, |
| 511 |
} |
| 512 |
impl ::core::marker::Copy for DFS_SUPPORTED_NAMESPACE_VERSION_INFO {} |
| 513 |
impl ::core::clone::Clone for DFS_SUPPORTED_NAMESPACE_VERSION_INFO { |
| 514 |
fn clone(&self) -> Self { |
| 515 |
*self |
| 516 |
} |
| 517 |
} |
| 518 |
#[repr(C)] |
| 519 |
pub struct DFS_TARGET_PRIORITY { |
| 520 |
pub TargetPriorityClass: DFS_TARGET_PRIORITY_CLASS, |
| 521 |
pub TargetPriorityRank: u16, |
| 522 |
pub Reserved: u16, |
| 523 |
} |
| 524 |
impl ::core::marker::Copy for DFS_TARGET_PRIORITY {} |
| 525 |
impl ::core::clone::Clone for DFS_TARGET_PRIORITY { |
| 526 |
fn clone(&self) -> Self { |
| 527 |
*self |
| 528 |
} |
| 529 |
} |