diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:25 +0000 |
commit | 5363f350887b1e5b5dd21a86f88c8af9d7fea6da (patch) | |
tree | 35ca005eb6e0e9a1ba3bb5dbc033209ad445dc17 /vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem | |
parent | Adding debian version 1.66.0+dfsg1-1. (diff) | |
download | rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.tar.xz rustc-5363f350887b1e5b5dd21a86f88c8af9d7fea6da.zip |
Merging upstream version 1.67.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem')
-rw-r--r-- | vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs | 170 |
1 files changed, 85 insertions, 85 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs index cf7ff6e9f..9b99520a6 100644 --- a/vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Storage/DistributedFileSystem/mod.rs @@ -1,4 +1,4 @@ -#[link(name = "windows")] +#[cfg_attr(windows, link(name = "windows"))] extern "system" { #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub 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; @@ -55,6 +55,90 @@ extern "system" { pub const DFS_ADD_VOLUME: u32 = 1u32; #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub const DFS_FORCE_REMOVE: u32 = 2147483648u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_MOVE_FLAG_REPLACE_IF_EXISTS: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_PROPERTY_FLAG_ABDE: u32 = 32u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_PROPERTY_FLAG_CLUSTER_ENABLED: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_PROPERTY_FLAG_INSITE_REFERRALS: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_PROPERTY_FLAG_ROOT_SCALABILITY: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_PROPERTY_FLAG_SITE_COSTING: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_PROPERTY_FLAG_TARGET_FAILBACK: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_RESTORE_VOLUME: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_SITE_PRIMARY: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_STORAGE_FLAVOR_UNUSED2: u32 = 768u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_STORAGE_STATES: u32 = 15u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_STORAGE_STATE_ACTIVE: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_STORAGE_STATE_OFFLINE: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_STORAGE_STATE_ONLINE: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_VOLUME_FLAVORS: u32 = 768u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_VOLUME_FLAVOR_AD_BLOB: u32 = 512u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_VOLUME_FLAVOR_STANDALONE: u32 = 256u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_VOLUME_FLAVOR_UNUSED1: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_VOLUME_STATES: u32 = 15u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_VOLUME_STATE_FORCE_SYNC: u32 = 64u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_VOLUME_STATE_INCONSISTENT: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_VOLUME_STATE_OFFLINE: u32 = 3u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_VOLUME_STATE_OK: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_VOLUME_STATE_ONLINE: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_VOLUME_STATE_RESYNCHRONIZE: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_VOLUME_STATE_STANDBY: u32 = 32u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const FSCTL_DFS_BASE: u32 = 6u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const FSCTL_DFS_GET_PKT_ENTRY_STATE: u32 = 401340u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const NET_DFS_SETDC_FLAGS: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const NET_DFS_SETDC_INITPKT: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const NET_DFS_SETDC_TIMEOUT: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub type DFS_NAMESPACE_VERSION_ORIGIN = i32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_NAMESPACE_VERSION_ORIGIN_COMBINED: DFS_NAMESPACE_VERSION_ORIGIN = 0i32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_NAMESPACE_VERSION_ORIGIN_SERVER: DFS_NAMESPACE_VERSION_ORIGIN = 1i32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DFS_NAMESPACE_VERSION_ORIGIN_DOMAIN: DFS_NAMESPACE_VERSION_ORIGIN = 2i32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub type DFS_TARGET_PRIORITY_CLASS = i32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DfsInvalidPriorityClass: DFS_TARGET_PRIORITY_CLASS = -1i32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DfsSiteCostNormalPriorityClass: DFS_TARGET_PRIORITY_CLASS = 0i32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DfsGlobalHighPriorityClass: DFS_TARGET_PRIORITY_CLASS = 1i32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DfsSiteCostHighPriorityClass: DFS_TARGET_PRIORITY_CLASS = 2i32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DfsSiteCostLowPriorityClass: DFS_TARGET_PRIORITY_CLASS = 3i32; +#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] +pub const DfsGlobalLowPriorityClass: DFS_TARGET_PRIORITY_CLASS = 4i32; #[repr(C)] #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub struct DFS_GET_PKT_ENTRY_STATE_ARG { @@ -445,30 +529,6 @@ impl ::core::clone::Clone for DFS_INFO_9 { *self } } -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_MOVE_FLAG_REPLACE_IF_EXISTS: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub type DFS_NAMESPACE_VERSION_ORIGIN = i32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_NAMESPACE_VERSION_ORIGIN_COMBINED: DFS_NAMESPACE_VERSION_ORIGIN = 0i32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_NAMESPACE_VERSION_ORIGIN_SERVER: DFS_NAMESPACE_VERSION_ORIGIN = 1i32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_NAMESPACE_VERSION_ORIGIN_DOMAIN: DFS_NAMESPACE_VERSION_ORIGIN = 2i32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_PROPERTY_FLAG_ABDE: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_PROPERTY_FLAG_CLUSTER_ENABLED: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_PROPERTY_FLAG_INSITE_REFERRALS: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_PROPERTY_FLAG_ROOT_SCALABILITY: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_PROPERTY_FLAG_SITE_COSTING: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_PROPERTY_FLAG_TARGET_FAILBACK: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_RESTORE_VOLUME: u32 = 2u32; #[repr(C)] #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub struct DFS_SITELIST_INFO { @@ -493,10 +553,6 @@ impl ::core::clone::Clone for DFS_SITENAME_INFO { *self } } -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_SITE_PRIMARY: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_STORAGE_FLAVOR_UNUSED2: u32 = 768u32; #[repr(C)] #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub struct DFS_STORAGE_INFO { @@ -540,14 +596,6 @@ impl ::core::clone::Clone for DFS_STORAGE_INFO_1 { *self } } -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_STORAGE_STATES: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_STORAGE_STATE_ACTIVE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_STORAGE_STATE_OFFLINE: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_STORAGE_STATE_ONLINE: u32 = 2u32; #[repr(C)] #[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] pub struct DFS_SUPPORTED_NAMESPACE_VERSION_INFO { @@ -577,51 +625,3 @@ impl ::core::clone::Clone for DFS_TARGET_PRIORITY { *self } } -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub type DFS_TARGET_PRIORITY_CLASS = i32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DfsInvalidPriorityClass: DFS_TARGET_PRIORITY_CLASS = -1i32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DfsSiteCostNormalPriorityClass: DFS_TARGET_PRIORITY_CLASS = 0i32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DfsGlobalHighPriorityClass: DFS_TARGET_PRIORITY_CLASS = 1i32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DfsSiteCostHighPriorityClass: DFS_TARGET_PRIORITY_CLASS = 2i32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DfsSiteCostLowPriorityClass: DFS_TARGET_PRIORITY_CLASS = 3i32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DfsGlobalLowPriorityClass: DFS_TARGET_PRIORITY_CLASS = 4i32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_VOLUME_FLAVORS: u32 = 768u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_VOLUME_FLAVOR_AD_BLOB: u32 = 512u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_VOLUME_FLAVOR_STANDALONE: u32 = 256u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_VOLUME_FLAVOR_UNUSED1: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_VOLUME_STATES: u32 = 15u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_VOLUME_STATE_FORCE_SYNC: u32 = 64u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_VOLUME_STATE_INCONSISTENT: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_VOLUME_STATE_OFFLINE: u32 = 3u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_VOLUME_STATE_OK: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_VOLUME_STATE_ONLINE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_VOLUME_STATE_RESYNCHRONIZE: u32 = 16u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const DFS_VOLUME_STATE_STANDBY: u32 = 32u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const FSCTL_DFS_BASE: u32 = 6u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const FSCTL_DFS_GET_PKT_ENTRY_STATE: u32 = 401340u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const NET_DFS_SETDC_FLAGS: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const NET_DFS_SETDC_INITPKT: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Storage_DistributedFileSystem\"`*"] -pub const NET_DFS_SETDC_TIMEOUT: u32 = 1u32; |