summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs739
1 files changed, 368 insertions, 371 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs b/vendor/windows-sys/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs
index 888a456a7..e9ca8ce88 100644
--- a/vendor/windows-sys/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs
+++ b/vendor/windows-sys/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs
@@ -1,76 +1,40 @@
pub type AsyncIBackgroundCopyCallback = *mut ::core::ffi::c_void;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub struct BG_AUTH_CREDENTIALS {
- pub Target: BG_AUTH_TARGET,
- pub Scheme: BG_AUTH_SCHEME,
- pub Credentials: BG_AUTH_CREDENTIALS_UNION,
-}
-impl ::core::marker::Copy for BG_AUTH_CREDENTIALS {}
-impl ::core::clone::Clone for BG_AUTH_CREDENTIALS {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub union BG_AUTH_CREDENTIALS_UNION {
- pub Basic: BG_BASIC_CREDENTIALS,
-}
-impl ::core::marker::Copy for BG_AUTH_CREDENTIALS_UNION {}
-impl ::core::clone::Clone for BG_AUTH_CREDENTIALS_UNION {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub type BG_AUTH_SCHEME = i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_AUTH_SCHEME_BASIC: BG_AUTH_SCHEME = 1i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_AUTH_SCHEME_DIGEST: BG_AUTH_SCHEME = 2i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_AUTH_SCHEME_NTLM: BG_AUTH_SCHEME = 3i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_AUTH_SCHEME_NEGOTIATE: BG_AUTH_SCHEME = 4i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_AUTH_SCHEME_PASSPORT: BG_AUTH_SCHEME = 5i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub type BG_AUTH_TARGET = i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_AUTH_TARGET_SERVER: BG_AUTH_TARGET = 1i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_AUTH_TARGET_PROXY: BG_AUTH_TARGET = 2i32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub struct BG_BASIC_CREDENTIALS {
- pub UserName: ::windows_sys::core::PWSTR,
- pub Password: ::windows_sys::core::PWSTR,
-}
-impl ::core::marker::Copy for BG_BASIC_CREDENTIALS {}
-impl ::core::clone::Clone for BG_BASIC_CREDENTIALS {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub type BG_CERT_STORE_LOCATION = i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_CERT_STORE_LOCATION_CURRENT_USER: BG_CERT_STORE_LOCATION = 0i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_CERT_STORE_LOCATION_LOCAL_MACHINE: BG_CERT_STORE_LOCATION = 1i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_CERT_STORE_LOCATION_CURRENT_SERVICE: BG_CERT_STORE_LOCATION = 2i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_CERT_STORE_LOCATION_SERVICES: BG_CERT_STORE_LOCATION = 3i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_CERT_STORE_LOCATION_USERS: BG_CERT_STORE_LOCATION = 4i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_CERT_STORE_LOCATION_CURRENT_USER_GROUP_POLICY: BG_CERT_STORE_LOCATION = 5i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_CERT_STORE_LOCATION_LOCAL_MACHINE_GROUP_POLICY: BG_CERT_STORE_LOCATION = 6i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_CERT_STORE_LOCATION_LOCAL_MACHINE_ENTERPRISE: BG_CERT_STORE_LOCATION = 7i32;
+pub type IBITSExtensionSetup = *mut ::core::ffi::c_void;
+pub type IBITSExtensionSetupFactory = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyCallback = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyCallback1 = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyCallback2 = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyCallback3 = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyError = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyFile = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyFile2 = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyFile3 = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyFile4 = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyFile5 = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyFile6 = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyGroup = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyJob = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyJob1 = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyJob2 = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyJob3 = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyJob4 = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyJob5 = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyJobHttpOptions = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyJobHttpOptions2 = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyJobHttpOptions3 = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyManager = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyQMgr = *mut ::core::ffi::c_void;
+pub type IBackgroundCopyServerCertificateValidationCallback = *mut ::core::ffi::c_void;
+pub type IBitsPeer = *mut ::core::ffi::c_void;
+pub type IBitsPeerCacheAdministration = *mut ::core::ffi::c_void;
+pub type IBitsPeerCacheRecord = *mut ::core::ffi::c_void;
+pub type IBitsTokenOptions = *mut ::core::ffi::c_void;
+pub type IEnumBackgroundCopyFiles = *mut ::core::ffi::c_void;
+pub type IEnumBackgroundCopyGroups = *mut ::core::ffi::c_void;
+pub type IEnumBackgroundCopyJobs = *mut ::core::ffi::c_void;
+pub type IEnumBackgroundCopyJobs1 = *mut ::core::ffi::c_void;
+pub type IEnumBitsPeerCacheRecords = *mut ::core::ffi::c_void;
+pub type IEnumBitsPeers = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const BG_COPY_FILE_ALL: u32 = 15u32;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
@@ -88,26 +52,6 @@ pub const BG_ENABLE_PEERCACHING_CLIENT: u32 = 1u32;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const BG_ENABLE_PEERCACHING_SERVER: u32 = 2u32;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub type BG_ERROR_CONTEXT = i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_ERROR_CONTEXT_NONE: BG_ERROR_CONTEXT = 0i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_ERROR_CONTEXT_UNKNOWN: BG_ERROR_CONTEXT = 1i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_ERROR_CONTEXT_GENERAL_QUEUE_MANAGER: BG_ERROR_CONTEXT = 2i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_ERROR_CONTEXT_QUEUE_MANAGER_NOTIFICATION: BG_ERROR_CONTEXT = 3i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_ERROR_CONTEXT_LOCAL_FILE: BG_ERROR_CONTEXT = 4i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_ERROR_CONTEXT_REMOTE_FILE: BG_ERROR_CONTEXT = 5i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_ERROR_CONTEXT_GENERAL_TRANSPORT: BG_ERROR_CONTEXT = 6i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_ERROR_CONTEXT_REMOTE_APPLICATION: BG_ERROR_CONTEXT = 7i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_ERROR_CONTEXT_SERVER_CERTIFICATE_CALLBACK: BG_ERROR_CONTEXT = 8i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const BG_E_APP_PACKAGE_NOT_FOUND: i32 = -2145386390i32;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const BG_E_APP_PACKAGE_SCENARIO_NOT_SUPPORTED: i32 = -2145386389i32;
@@ -361,46 +305,6 @@ pub const BG_E_VALIDATION_FAILED: i32 = -2145386413i32;
pub const BG_E_VOLUME_CHANGED: i32 = -2145386482i32;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const BG_E_WATCHDOG_TIMEOUT: i32 = -2145386391i32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub struct BG_FILE_INFO {
- pub RemoteName: ::windows_sys::core::PWSTR,
- pub LocalName: ::windows_sys::core::PWSTR,
-}
-impl ::core::marker::Copy for BG_FILE_INFO {}
-impl ::core::clone::Clone for BG_FILE_INFO {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`*"]
-#[cfg(feature = "Win32_Foundation")]
-pub struct BG_FILE_PROGRESS {
- pub BytesTotal: u64,
- pub BytesTransferred: u64,
- pub Completed: super::super::Foundation::BOOL,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for BG_FILE_PROGRESS {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for BG_FILE_PROGRESS {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub struct BG_FILE_RANGE {
- pub InitialOffset: u64,
- pub Length: u64,
-}
-impl ::core::marker::Copy for BG_FILE_RANGE {}
-impl ::core::clone::Clone for BG_FILE_RANGE {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const BG_HTTP_REDIRECT_POLICY_ALLOW_HTTPS_TO_HTTP: u32 = 2048u32;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
@@ -420,96 +324,6 @@ pub const BG_JOB_ENABLE_PEERCACHING_SERVER: u32 = 2u32;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const BG_JOB_ENUM_ALL_USERS: u32 = 1u32;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub type BG_JOB_PRIORITY = i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_PRIORITY_FOREGROUND: BG_JOB_PRIORITY = 0i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_PRIORITY_HIGH: BG_JOB_PRIORITY = 1i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_PRIORITY_NORMAL: BG_JOB_PRIORITY = 2i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_PRIORITY_LOW: BG_JOB_PRIORITY = 3i32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub struct BG_JOB_PROGRESS {
- pub BytesTotal: u64,
- pub BytesTransferred: u64,
- pub FilesTotal: u32,
- pub FilesTransferred: u32,
-}
-impl ::core::marker::Copy for BG_JOB_PROGRESS {}
-impl ::core::clone::Clone for BG_JOB_PROGRESS {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub type BG_JOB_PROXY_USAGE = i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_PROXY_USAGE_PRECONFIG: BG_JOB_PROXY_USAGE = 0i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_PROXY_USAGE_NO_PROXY: BG_JOB_PROXY_USAGE = 1i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_PROXY_USAGE_OVERRIDE: BG_JOB_PROXY_USAGE = 2i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_PROXY_USAGE_AUTODETECT: BG_JOB_PROXY_USAGE = 3i32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub struct BG_JOB_REPLY_PROGRESS {
- pub BytesTotal: u64,
- pub BytesTransferred: u64,
-}
-impl ::core::marker::Copy for BG_JOB_REPLY_PROGRESS {}
-impl ::core::clone::Clone for BG_JOB_REPLY_PROGRESS {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub type BG_JOB_STATE = i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_STATE_QUEUED: BG_JOB_STATE = 0i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_STATE_CONNECTING: BG_JOB_STATE = 1i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_STATE_TRANSFERRING: BG_JOB_STATE = 2i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_STATE_SUSPENDED: BG_JOB_STATE = 3i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_STATE_ERROR: BG_JOB_STATE = 4i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_STATE_TRANSIENT_ERROR: BG_JOB_STATE = 5i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_STATE_TRANSFERRED: BG_JOB_STATE = 6i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_STATE_ACKNOWLEDGED: BG_JOB_STATE = 7i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_STATE_CANCELLED: BG_JOB_STATE = 8i32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`*"]
-#[cfg(feature = "Win32_Foundation")]
-pub struct BG_JOB_TIMES {
- pub CreationTime: super::super::Foundation::FILETIME,
- pub ModificationTime: super::super::Foundation::FILETIME,
- pub TransferCompletionTime: super::super::Foundation::FILETIME,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for BG_JOB_TIMES {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for BG_JOB_TIMES {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub type BG_JOB_TYPE = i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_TYPE_DOWNLOAD: BG_JOB_TYPE = 0i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_TYPE_UPLOAD: BG_JOB_TYPE = 1i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_JOB_TYPE_UPLOAD_REPLY: BG_JOB_TYPE = 2i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const BG_NOTIFY_DISABLE: u32 = 4u32;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const BG_NOTIFY_FILE_RANGES_TRANSFERRED: u32 = 32u32;
@@ -541,12 +355,6 @@ pub const BG_S_PARTIAL_COMPLETE: i32 = 2097175i32;
pub const BG_S_PROXY_CHANGED: i32 = 2097194i32;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const BG_S_UNABLE_TO_DELETE_FILES: i32 = 2097178i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub type BG_TOKEN = u32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_TOKEN_LOCAL_FILE: BG_TOKEN = 1u32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BG_TOKEN_NETWORK: BG_TOKEN = 2u32;
pub const BITSExtensionSetupFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4022053736, data2: 29318, data3: 18307, data4: [148, 191, 148, 97, 216, 183, 231, 233] };
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const BITS_COST_OPTION_IGNORE_CONGESTION: u32 = 2147483648u32;
@@ -569,69 +377,6 @@ pub const BITS_COST_STATE_UNRESTRICTED: u32 = 1u32;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const BITS_COST_STATE_USAGE_BASED: u32 = 64u32;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub type BITS_FILE_PROPERTY_ID = i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BITS_FILE_PROPERTY_ID_HTTP_RESPONSE_HEADERS: BITS_FILE_PROPERTY_ID = 1i32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub union BITS_FILE_PROPERTY_VALUE {
- pub String: ::windows_sys::core::PWSTR,
-}
-impl ::core::marker::Copy for BITS_FILE_PROPERTY_VALUE {}
-impl ::core::clone::Clone for BITS_FILE_PROPERTY_VALUE {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub type BITS_JOB_PROPERTY_ID = i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BITS_JOB_PROPERTY_ID_COST_FLAGS: BITS_JOB_PROPERTY_ID = 1i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BITS_JOB_PROPERTY_NOTIFICATION_CLSID: BITS_JOB_PROPERTY_ID = 2i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BITS_JOB_PROPERTY_DYNAMIC_CONTENT: BITS_JOB_PROPERTY_ID = 3i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BITS_JOB_PROPERTY_HIGH_PERFORMANCE: BITS_JOB_PROPERTY_ID = 4i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BITS_JOB_PROPERTY_MAX_DOWNLOAD_SIZE: BITS_JOB_PROPERTY_ID = 5i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BITS_JOB_PROPERTY_USE_STORED_CREDENTIALS: BITS_JOB_PROPERTY_ID = 7i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BITS_JOB_PROPERTY_MINIMUM_NOTIFICATION_INTERVAL_MS: BITS_JOB_PROPERTY_ID = 9i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BITS_JOB_PROPERTY_ON_DEMAND_MODE: BITS_JOB_PROPERTY_ID = 10i32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`*"]
-#[cfg(feature = "Win32_Foundation")]
-pub union BITS_JOB_PROPERTY_VALUE {
- pub Dword: u32,
- pub ClsID: ::windows_sys::core::GUID,
- pub Enable: super::super::Foundation::BOOL,
- pub Uint64: u64,
- pub Target: BG_AUTH_TARGET,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for BITS_JOB_PROPERTY_VALUE {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for BITS_JOB_PROPERTY_VALUE {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub type BITS_JOB_TRANSFER_POLICY = i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BITS_JOB_TRANSFER_POLICY_ALWAYS: BITS_JOB_TRANSFER_POLICY = -2147483393i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BITS_JOB_TRANSFER_POLICY_NOT_ROAMING: BITS_JOB_TRANSFER_POLICY = -2147483521i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BITS_JOB_TRANSFER_POLICY_NO_SURCHARGE: BITS_JOB_TRANSFER_POLICY = -2147483537i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BITS_JOB_TRANSFER_POLICY_STANDARD: BITS_JOB_TRANSFER_POLICY = -2147483545i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const BITS_JOB_TRANSFER_POLICY_UNRESTRICTED: BITS_JOB_TRANSFER_POLICY = -2147483615i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const BITS_MC_FAILED_TO_START: i32 = -2145828856i32;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const BITS_MC_FATAL_IGD_ERROR: i32 = -2145828855i32;
@@ -666,86 +411,6 @@ pub const BackgroundCopyManager3_0: ::windows_sys::core::GUID = ::windows_sys::c
pub const BackgroundCopyManager4_0: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3144545643, data2: 51918, data3: 4572, data4: [153, 146, 0, 25, 185, 58, 58, 132] };
pub const BackgroundCopyManager5_0: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 516727628, data2: 59530, data3: 17635, data4: [141, 106, 137, 33, 189, 233, 228, 82] };
pub const BackgroundCopyQMgr: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1772964590, data2: 20926, data3: 17307, data4: [169, 44, 134, 174, 73, 14, 139, 48] };
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`*"]
-#[cfg(feature = "Win32_Foundation")]
-pub struct FILESETINFO {
- pub bstrRemoteFile: super::super::Foundation::BSTR,
- pub bstrLocalFile: super::super::Foundation::BSTR,
- pub dwSizeHint: u32,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for FILESETINFO {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for FILESETINFO {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub type GROUPPROP = i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const GROUPPROP_PRIORITY: GROUPPROP = 0i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const GROUPPROP_REMOTEUSERID: GROUPPROP = 1i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const GROUPPROP_REMOTEUSERPWD: GROUPPROP = 2i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const GROUPPROP_LOCALUSERID: GROUPPROP = 3i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const GROUPPROP_LOCALUSERPWD: GROUPPROP = 4i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const GROUPPROP_PROTOCOLFLAGS: GROUPPROP = 5i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const GROUPPROP_NOTIFYFLAGS: GROUPPROP = 6i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const GROUPPROP_NOTIFYCLSID: GROUPPROP = 7i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const GROUPPROP_PROGRESSSIZE: GROUPPROP = 8i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const GROUPPROP_PROGRESSPERCENT: GROUPPROP = 9i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const GROUPPROP_PROGRESSTIME: GROUPPROP = 10i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const GROUPPROP_DISPLAYNAME: GROUPPROP = 11i32;
-#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
-pub const GROUPPROP_DESCRIPTION: GROUPPROP = 12i32;
-pub type IBITSExtensionSetup = *mut ::core::ffi::c_void;
-pub type IBITSExtensionSetupFactory = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyCallback = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyCallback1 = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyCallback2 = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyCallback3 = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyError = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyFile = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyFile2 = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyFile3 = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyFile4 = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyFile5 = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyFile6 = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyGroup = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyJob = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyJob1 = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyJob2 = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyJob3 = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyJob4 = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyJob5 = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyJobHttpOptions = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyJobHttpOptions2 = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyJobHttpOptions3 = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyManager = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyQMgr = *mut ::core::ffi::c_void;
-pub type IBackgroundCopyServerCertificateValidationCallback = *mut ::core::ffi::c_void;
-pub type IBitsPeer = *mut ::core::ffi::c_void;
-pub type IBitsPeerCacheAdministration = *mut ::core::ffi::c_void;
-pub type IBitsPeerCacheRecord = *mut ::core::ffi::c_void;
-pub type IBitsTokenOptions = *mut ::core::ffi::c_void;
-pub type IEnumBackgroundCopyFiles = *mut ::core::ffi::c_void;
-pub type IEnumBackgroundCopyGroups = *mut ::core::ffi::c_void;
-pub type IEnumBackgroundCopyJobs = *mut ::core::ffi::c_void;
-pub type IEnumBackgroundCopyJobs1 = *mut ::core::ffi::c_void;
-pub type IEnumBitsPeerCacheRecords = *mut ::core::ffi::c_void;
-pub type IEnumBitsPeers = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const QM_E_DOWNLOADER_UNAVAILABLE: u32 = 2164264963u32;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
@@ -800,3 +465,335 @@ pub const QM_STATUS_JOB_ERROR: u32 = 16u32;
pub const QM_STATUS_JOB_FOREGROUND: u32 = 32u32;
#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
pub const QM_STATUS_JOB_INCOMPLETE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub type BG_AUTH_SCHEME = i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_AUTH_SCHEME_BASIC: BG_AUTH_SCHEME = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_AUTH_SCHEME_DIGEST: BG_AUTH_SCHEME = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_AUTH_SCHEME_NTLM: BG_AUTH_SCHEME = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_AUTH_SCHEME_NEGOTIATE: BG_AUTH_SCHEME = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_AUTH_SCHEME_PASSPORT: BG_AUTH_SCHEME = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub type BG_AUTH_TARGET = i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_AUTH_TARGET_SERVER: BG_AUTH_TARGET = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_AUTH_TARGET_PROXY: BG_AUTH_TARGET = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub type BG_CERT_STORE_LOCATION = i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_CERT_STORE_LOCATION_CURRENT_USER: BG_CERT_STORE_LOCATION = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_CERT_STORE_LOCATION_LOCAL_MACHINE: BG_CERT_STORE_LOCATION = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_CERT_STORE_LOCATION_CURRENT_SERVICE: BG_CERT_STORE_LOCATION = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_CERT_STORE_LOCATION_SERVICES: BG_CERT_STORE_LOCATION = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_CERT_STORE_LOCATION_USERS: BG_CERT_STORE_LOCATION = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_CERT_STORE_LOCATION_CURRENT_USER_GROUP_POLICY: BG_CERT_STORE_LOCATION = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_CERT_STORE_LOCATION_LOCAL_MACHINE_GROUP_POLICY: BG_CERT_STORE_LOCATION = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_CERT_STORE_LOCATION_LOCAL_MACHINE_ENTERPRISE: BG_CERT_STORE_LOCATION = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub type BG_ERROR_CONTEXT = i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_ERROR_CONTEXT_NONE: BG_ERROR_CONTEXT = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_ERROR_CONTEXT_UNKNOWN: BG_ERROR_CONTEXT = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_ERROR_CONTEXT_GENERAL_QUEUE_MANAGER: BG_ERROR_CONTEXT = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_ERROR_CONTEXT_QUEUE_MANAGER_NOTIFICATION: BG_ERROR_CONTEXT = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_ERROR_CONTEXT_LOCAL_FILE: BG_ERROR_CONTEXT = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_ERROR_CONTEXT_REMOTE_FILE: BG_ERROR_CONTEXT = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_ERROR_CONTEXT_GENERAL_TRANSPORT: BG_ERROR_CONTEXT = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_ERROR_CONTEXT_REMOTE_APPLICATION: BG_ERROR_CONTEXT = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_ERROR_CONTEXT_SERVER_CERTIFICATE_CALLBACK: BG_ERROR_CONTEXT = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub type BG_JOB_PRIORITY = i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_PRIORITY_FOREGROUND: BG_JOB_PRIORITY = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_PRIORITY_HIGH: BG_JOB_PRIORITY = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_PRIORITY_NORMAL: BG_JOB_PRIORITY = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_PRIORITY_LOW: BG_JOB_PRIORITY = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub type BG_JOB_PROXY_USAGE = i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_PROXY_USAGE_PRECONFIG: BG_JOB_PROXY_USAGE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_PROXY_USAGE_NO_PROXY: BG_JOB_PROXY_USAGE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_PROXY_USAGE_OVERRIDE: BG_JOB_PROXY_USAGE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_PROXY_USAGE_AUTODETECT: BG_JOB_PROXY_USAGE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub type BG_JOB_STATE = i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_STATE_QUEUED: BG_JOB_STATE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_STATE_CONNECTING: BG_JOB_STATE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_STATE_TRANSFERRING: BG_JOB_STATE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_STATE_SUSPENDED: BG_JOB_STATE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_STATE_ERROR: BG_JOB_STATE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_STATE_TRANSIENT_ERROR: BG_JOB_STATE = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_STATE_TRANSFERRED: BG_JOB_STATE = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_STATE_ACKNOWLEDGED: BG_JOB_STATE = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_STATE_CANCELLED: BG_JOB_STATE = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub type BG_JOB_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_TYPE_DOWNLOAD: BG_JOB_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_TYPE_UPLOAD: BG_JOB_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_JOB_TYPE_UPLOAD_REPLY: BG_JOB_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub type BG_TOKEN = u32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_TOKEN_LOCAL_FILE: BG_TOKEN = 1u32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BG_TOKEN_NETWORK: BG_TOKEN = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub type BITS_FILE_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BITS_FILE_PROPERTY_ID_HTTP_RESPONSE_HEADERS: BITS_FILE_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub type BITS_JOB_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BITS_JOB_PROPERTY_ID_COST_FLAGS: BITS_JOB_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BITS_JOB_PROPERTY_NOTIFICATION_CLSID: BITS_JOB_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BITS_JOB_PROPERTY_DYNAMIC_CONTENT: BITS_JOB_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BITS_JOB_PROPERTY_HIGH_PERFORMANCE: BITS_JOB_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BITS_JOB_PROPERTY_MAX_DOWNLOAD_SIZE: BITS_JOB_PROPERTY_ID = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BITS_JOB_PROPERTY_USE_STORED_CREDENTIALS: BITS_JOB_PROPERTY_ID = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BITS_JOB_PROPERTY_MINIMUM_NOTIFICATION_INTERVAL_MS: BITS_JOB_PROPERTY_ID = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BITS_JOB_PROPERTY_ON_DEMAND_MODE: BITS_JOB_PROPERTY_ID = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub type BITS_JOB_TRANSFER_POLICY = i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BITS_JOB_TRANSFER_POLICY_ALWAYS: BITS_JOB_TRANSFER_POLICY = -2147483393i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BITS_JOB_TRANSFER_POLICY_NOT_ROAMING: BITS_JOB_TRANSFER_POLICY = -2147483521i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BITS_JOB_TRANSFER_POLICY_NO_SURCHARGE: BITS_JOB_TRANSFER_POLICY = -2147483537i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BITS_JOB_TRANSFER_POLICY_STANDARD: BITS_JOB_TRANSFER_POLICY = -2147483545i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const BITS_JOB_TRANSFER_POLICY_UNRESTRICTED: BITS_JOB_TRANSFER_POLICY = -2147483615i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub type GROUPPROP = i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const GROUPPROP_PRIORITY: GROUPPROP = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const GROUPPROP_REMOTEUSERID: GROUPPROP = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const GROUPPROP_REMOTEUSERPWD: GROUPPROP = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const GROUPPROP_LOCALUSERID: GROUPPROP = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const GROUPPROP_LOCALUSERPWD: GROUPPROP = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const GROUPPROP_PROTOCOLFLAGS: GROUPPROP = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const GROUPPROP_NOTIFYFLAGS: GROUPPROP = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const GROUPPROP_NOTIFYCLSID: GROUPPROP = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const GROUPPROP_PROGRESSSIZE: GROUPPROP = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const GROUPPROP_PROGRESSPERCENT: GROUPPROP = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const GROUPPROP_PROGRESSTIME: GROUPPROP = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const GROUPPROP_DISPLAYNAME: GROUPPROP = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub const GROUPPROP_DESCRIPTION: GROUPPROP = 12i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub struct BG_AUTH_CREDENTIALS {
+ pub Target: BG_AUTH_TARGET,
+ pub Scheme: BG_AUTH_SCHEME,
+ pub Credentials: BG_AUTH_CREDENTIALS_UNION,
+}
+impl ::core::marker::Copy for BG_AUTH_CREDENTIALS {}
+impl ::core::clone::Clone for BG_AUTH_CREDENTIALS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub union BG_AUTH_CREDENTIALS_UNION {
+ pub Basic: BG_BASIC_CREDENTIALS,
+}
+impl ::core::marker::Copy for BG_AUTH_CREDENTIALS_UNION {}
+impl ::core::clone::Clone for BG_AUTH_CREDENTIALS_UNION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub struct BG_BASIC_CREDENTIALS {
+ pub UserName: ::windows_sys::core::PWSTR,
+ pub Password: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for BG_BASIC_CREDENTIALS {}
+impl ::core::clone::Clone for BG_BASIC_CREDENTIALS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub struct BG_FILE_INFO {
+ pub RemoteName: ::windows_sys::core::PWSTR,
+ pub LocalName: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for BG_FILE_INFO {}
+impl ::core::clone::Clone for BG_FILE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct BG_FILE_PROGRESS {
+ pub BytesTotal: u64,
+ pub BytesTransferred: u64,
+ pub Completed: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for BG_FILE_PROGRESS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for BG_FILE_PROGRESS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub struct BG_FILE_RANGE {
+ pub InitialOffset: u64,
+ pub Length: u64,
+}
+impl ::core::marker::Copy for BG_FILE_RANGE {}
+impl ::core::clone::Clone for BG_FILE_RANGE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub struct BG_JOB_PROGRESS {
+ pub BytesTotal: u64,
+ pub BytesTransferred: u64,
+ pub FilesTotal: u32,
+ pub FilesTransferred: u32,
+}
+impl ::core::marker::Copy for BG_JOB_PROGRESS {}
+impl ::core::clone::Clone for BG_JOB_PROGRESS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub struct BG_JOB_REPLY_PROGRESS {
+ pub BytesTotal: u64,
+ pub BytesTransferred: u64,
+}
+impl ::core::marker::Copy for BG_JOB_REPLY_PROGRESS {}
+impl ::core::clone::Clone for BG_JOB_REPLY_PROGRESS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct BG_JOB_TIMES {
+ pub CreationTime: super::super::Foundation::FILETIME,
+ pub ModificationTime: super::super::Foundation::FILETIME,
+ pub TransferCompletionTime: super::super::Foundation::FILETIME,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for BG_JOB_TIMES {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for BG_JOB_TIMES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub union BITS_FILE_PROPERTY_VALUE {
+ pub String: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for BITS_FILE_PROPERTY_VALUE {}
+impl ::core::clone::Clone for BITS_FILE_PROPERTY_VALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union BITS_JOB_PROPERTY_VALUE {
+ pub Dword: u32,
+ pub ClsID: ::windows_sys::core::GUID,
+ pub Enable: super::super::Foundation::BOOL,
+ pub Uint64: u64,
+ pub Target: BG_AUTH_TARGET,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for BITS_JOB_PROPERTY_VALUE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for BITS_JOB_PROPERTY_VALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`*"]
+pub struct FILESETINFO {
+ pub bstrRemoteFile: ::windows_sys::core::BSTR,
+ pub bstrLocalFile: ::windows_sys::core::BSTR,
+ pub dwSizeHint: u32,
+}
+impl ::core::marker::Copy for FILESETINFO {}
+impl ::core::clone::Clone for FILESETINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}