aboutsummaryrefslogtreecommitdiff
path: root/vendor/windows-sys-0.45.0/src/Windows/Win32/Storage/FileHistory
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys-0.45.0/src/Windows/Win32/Storage/FileHistory')
-rw-r--r--vendor/windows-sys-0.45.0/src/Windows/Win32/Storage/FileHistory/mod.rs196
1 files changed, 196 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.45.0/src/Windows/Win32/Storage/FileHistory/mod.rs b/vendor/windows-sys-0.45.0/src/Windows/Win32/Storage/FileHistory/mod.rs
new file mode 100644
index 0000000..b951eb1
--- /dev/null
+++ b/vendor/windows-sys-0.45.0/src/Windows/Win32/Storage/FileHistory/mod.rs
@@ -0,0 +1,196 @@
+#[cfg(feature = "Win32_System_WindowsProgramming")]
+::windows_sys::core::link ! ( "fhsvcctl.dll""system" #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_System_WindowsProgramming\"`*"] fn FhServiceBlockBackup ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE ) -> :: windows_sys::core::HRESULT );
+#[cfg(feature = "Win32_System_WindowsProgramming")]
+::windows_sys::core::link ! ( "fhsvcctl.dll""system" #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_System_WindowsProgramming\"`*"] fn FhServiceClosePipe ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE ) -> :: windows_sys::core::HRESULT );
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
+::windows_sys::core::link ! ( "fhsvcctl.dll""system" #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] fn FhServiceOpenPipe ( startserviceifstopped : super::super::Foundation:: BOOL , pipe : *mut super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE ) -> :: windows_sys::core::HRESULT );
+#[cfg(feature = "Win32_System_WindowsProgramming")]
+::windows_sys::core::link ! ( "fhsvcctl.dll""system" #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_System_WindowsProgramming\"`*"] fn FhServiceReloadConfiguration ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE ) -> :: windows_sys::core::HRESULT );
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
+::windows_sys::core::link ! ( "fhsvcctl.dll""system" #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] fn FhServiceStartBackup ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE , lowpriorityio : super::super::Foundation:: BOOL ) -> :: windows_sys::core::HRESULT );
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
+::windows_sys::core::link ! ( "fhsvcctl.dll""system" #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] fn FhServiceStopBackup ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE , stoptracking : super::super::Foundation:: BOOL ) -> :: windows_sys::core::HRESULT );
+#[cfg(feature = "Win32_System_WindowsProgramming")]
+::windows_sys::core::link ! ( "fhsvcctl.dll""system" #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_System_WindowsProgramming\"`*"] fn FhServiceUnblockBackup ( pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE ) -> :: windows_sys::core::HRESULT );
+pub type IFhConfigMgr = *mut ::core::ffi::c_void;
+pub type IFhReassociation = *mut ::core::ffi::c_void;
+pub type IFhScopeIterator = *mut ::core::ffi::c_void;
+pub type IFhTarget = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_CONFIGURATION_PREVIOUSLY_LOADED: ::windows_sys::core::HRESULT = -2147220731i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_CONFIG_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -2147220734i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_CONFIG_FILE_NOT_FOUND: ::windows_sys::core::HRESULT = -2147220735i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_CORRUPT_CONFIG_FILE: ::windows_sys::core::HRESULT = -2147220736i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_INVALID_REHYDRATION_STATE: ::windows_sys::core::HRESULT = -2147220726i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_LEGACY_BACKUP_NOT_FOUND: ::windows_sys::core::HRESULT = -2147220715i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_LEGACY_BACKUP_USER_EXCLUDED: ::windows_sys::core::HRESULT = -2147220716i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_LEGACY_TARGET_UNSUPPORTED: ::windows_sys::core::HRESULT = -2147220718i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_LEGACY_TARGET_VALIDATION_UNSUPPORTED: ::windows_sys::core::HRESULT = -2147220717i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_NO_VALID_CONFIGURATION_LOADED: ::windows_sys::core::HRESULT = -2147220733i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_RECOMMENDATION_CHANGE_NOT_ALLOWED: ::windows_sys::core::HRESULT = -2147220720i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_TARGET_CANNOT_BE_USED: ::windows_sys::core::HRESULT = -2147220727i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_TARGET_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2147220729i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_TARGET_NOT_CONNECTED: ::windows_sys::core::HRESULT = -2147220732i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_TARGET_NOT_ENOUGH_FREE_SPACE: ::windows_sys::core::HRESULT = -2147220728i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_TARGET_REHYDRATED_ELSEWHERE: ::windows_sys::core::HRESULT = -2147220719i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHCFG_E_TARGET_VERIFICATION_FAILED: ::windows_sys::core::HRESULT = -2147220730i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHSVC_E_BACKUP_BLOCKED: ::windows_sys::core::HRESULT = -2147219968i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHSVC_E_CONFIG_DISABLED: ::windows_sys::core::HRESULT = -2147219966i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHSVC_E_CONFIG_DISABLED_GP: ::windows_sys::core::HRESULT = -2147219965i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHSVC_E_CONFIG_REHYDRATING: ::windows_sys::core::HRESULT = -2147219963i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHSVC_E_FATAL_CONFIG_ERROR: ::windows_sys::core::HRESULT = -2147219964i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FHSVC_E_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2147219967i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_BACKUP_NOT_SUPPORTED: u32 = 2064u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_DISABLED_BY_GP: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_FATAL_CONFIG_ERROR: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_MIGRATING: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_NOT_TRACKED: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_NO_ERROR: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_OFF: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_REHYDRATING: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_RUNNING: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_STAGING_FULL: u32 = 18u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_TARGET_ABSENT: u32 = 21u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_TARGET_ACCESS_DENIED: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_TARGET_FS_LIMITATION: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_TARGET_FULL: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_TARGET_FULL_RETENTION_MAX: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_TARGET_LOW_SPACE: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_TARGET_LOW_SPACE_RETENTION_MAX: u32 = 19u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_TARGET_VOLUME_DIRTY: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATE_TOO_MUCH_BEHIND: u32 = 240u32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FhConfigMgr: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xed43bb3c_09e9_498a_9df6_2177244c6db4);
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FhReassociation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4d728e35_16fa_4320_9e8b_bfd7100a8846);
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub type FH_BACKUP_STATUS = i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATUS_DISABLED: FH_BACKUP_STATUS = 0i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATUS_DISABLED_BY_GP: FH_BACKUP_STATUS = 1i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATUS_ENABLED: FH_BACKUP_STATUS = 2i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_STATUS_REHYDRATING: FH_BACKUP_STATUS = 3i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const MAX_BACKUP_STATUS: FH_BACKUP_STATUS = 4i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub type FH_DEVICE_VALIDATION_RESULT = i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_ACCESS_DENIED: FH_DEVICE_VALIDATION_RESULT = 0i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_INVALID_DRIVE_TYPE: FH_DEVICE_VALIDATION_RESULT = 1i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_READ_ONLY_PERMISSION: FH_DEVICE_VALIDATION_RESULT = 2i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_CURRENT_DEFAULT: FH_DEVICE_VALIDATION_RESULT = 3i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_NAMESPACE_EXISTS: FH_DEVICE_VALIDATION_RESULT = 4i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_TARGET_PART_OF_LIBRARY: FH_DEVICE_VALIDATION_RESULT = 5i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_VALID_TARGET: FH_DEVICE_VALIDATION_RESULT = 6i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const MAX_VALIDATION_RESULT: FH_DEVICE_VALIDATION_RESULT = 7i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub type FH_LOCAL_POLICY_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_FREQUENCY: FH_LOCAL_POLICY_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_RETENTION_TYPE: FH_LOCAL_POLICY_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_RETENTION_AGE: FH_LOCAL_POLICY_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const MAX_LOCAL_POLICY: FH_LOCAL_POLICY_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub type FH_PROTECTED_ITEM_CATEGORY = i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_FOLDER: FH_PROTECTED_ITEM_CATEGORY = 0i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_LIBRARY: FH_PROTECTED_ITEM_CATEGORY = 1i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const MAX_PROTECTED_ITEM_CATEGORY: FH_PROTECTED_ITEM_CATEGORY = 2i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub type FH_RETENTION_TYPES = i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_RETENTION_DISABLED: FH_RETENTION_TYPES = 0i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_RETENTION_UNLIMITED: FH_RETENTION_TYPES = 1i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_RETENTION_AGE_BASED: FH_RETENTION_TYPES = 2i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const MAX_RETENTION_TYPE: FH_RETENTION_TYPES = 3i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub type FH_TARGET_DRIVE_TYPES = i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_DRIVE_UNKNOWN: FH_TARGET_DRIVE_TYPES = 0i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_DRIVE_REMOVABLE: FH_TARGET_DRIVE_TYPES = 2i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_DRIVE_FIXED: FH_TARGET_DRIVE_TYPES = 3i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_DRIVE_REMOTE: FH_TARGET_DRIVE_TYPES = 4i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub type FH_TARGET_PROPERTY_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_TARGET_NAME: FH_TARGET_PROPERTY_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_TARGET_URL: FH_TARGET_PROPERTY_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const FH_TARGET_DRIVE_TYPE: FH_TARGET_PROPERTY_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const MAX_TARGET_PROPERTY: FH_TARGET_PROPERTY_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub type FhBackupStopReason = i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const BackupInvalidStopReason: FhBackupStopReason = 0i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const BackupLimitUserBusyMachineOnAC: FhBackupStopReason = 1i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const BackupLimitUserIdleMachineOnDC: FhBackupStopReason = 2i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const BackupLimitUserBusyMachineOnDC: FhBackupStopReason = 3i32;
+#[doc = "*Required features: `\"Win32_Storage_FileHistory\"`*"]
+pub const BackupCancelled: FhBackupStopReason = 4i32;