Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/Storage/FileHistory/mod.rs

raw
1 #[cfg(feature = "Win32_System_WindowsProgramming")]
2 ::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"Win32_System_WindowsProgramming\"`"] fn FhServiceBlockBackup(pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE) -> ::windows_sys::core::HRESULT);
3 #[cfg(feature = "Win32_System_WindowsProgramming")]
4 ::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"Win32_System_WindowsProgramming\"`"] fn FhServiceClosePipe(pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE) -> ::windows_sys::core::HRESULT);
5 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
6 ::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"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);
7 #[cfg(feature = "Win32_System_WindowsProgramming")]
8 ::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"Win32_System_WindowsProgramming\"`"] fn FhServiceReloadConfiguration(pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE) -> ::windows_sys::core::HRESULT);
9 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
10 ::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"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);
11 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
12 ::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"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);
13 #[cfg(feature = "Win32_System_WindowsProgramming")]
14 ::windows_targets::link!("fhsvcctl.dll" "system" #[doc = "Required features: `\"Win32_System_WindowsProgramming\"`"] fn FhServiceUnblockBackup(pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE) -> ::windows_sys::core::HRESULT);
15 pub type IFhConfigMgr = *mut ::core::ffi::c_void;
16 pub type IFhReassociation = *mut ::core::ffi::c_void;
17 pub type IFhScopeIterator = *mut ::core::ffi::c_void;
18 pub type IFhTarget = *mut ::core::ffi::c_void;
19 pub const BackupCancelled: FhBackupStopReason = 4i32;
20 pub const BackupInvalidStopReason: FhBackupStopReason = 0i32;
21 pub const BackupLimitUserBusyMachineOnAC: FhBackupStopReason = 1i32;
22 pub const BackupLimitUserBusyMachineOnDC: FhBackupStopReason = 3i32;
23 pub const BackupLimitUserIdleMachineOnDC: FhBackupStopReason = 2i32;
24 pub const FHCFG_E_CONFIGURATION_PREVIOUSLY_LOADED: ::windows_sys::core::HRESULT = -2147220731i32;
25 pub const FHCFG_E_CONFIG_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -2147220734i32;
26 pub const FHCFG_E_CONFIG_FILE_NOT_FOUND: ::windows_sys::core::HRESULT = -2147220735i32;
27 pub const FHCFG_E_CORRUPT_CONFIG_FILE: ::windows_sys::core::HRESULT = -2147220736i32;
28 pub const FHCFG_E_INVALID_REHYDRATION_STATE: ::windows_sys::core::HRESULT = -2147220726i32;
29 pub const FHCFG_E_LEGACY_BACKUP_NOT_FOUND: ::windows_sys::core::HRESULT = -2147220715i32;
30 pub const FHCFG_E_LEGACY_BACKUP_USER_EXCLUDED: ::windows_sys::core::HRESULT = -2147220716i32;
31 pub const FHCFG_E_LEGACY_TARGET_UNSUPPORTED: ::windows_sys::core::HRESULT = -2147220718i32;
32 pub const FHCFG_E_LEGACY_TARGET_VALIDATION_UNSUPPORTED: ::windows_sys::core::HRESULT = -2147220717i32;
33 pub const FHCFG_E_NO_VALID_CONFIGURATION_LOADED: ::windows_sys::core::HRESULT = -2147220733i32;
34 pub const FHCFG_E_RECOMMENDATION_CHANGE_NOT_ALLOWED: ::windows_sys::core::HRESULT = -2147220720i32;
35 pub const FHCFG_E_TARGET_CANNOT_BE_USED: ::windows_sys::core::HRESULT = -2147220727i32;
36 pub const FHCFG_E_TARGET_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2147220729i32;
37 pub const FHCFG_E_TARGET_NOT_CONNECTED: ::windows_sys::core::HRESULT = -2147220732i32;
38 pub const FHCFG_E_TARGET_NOT_ENOUGH_FREE_SPACE: ::windows_sys::core::HRESULT = -2147220728i32;
39 pub const FHCFG_E_TARGET_REHYDRATED_ELSEWHERE: ::windows_sys::core::HRESULT = -2147220719i32;
40 pub const FHCFG_E_TARGET_VERIFICATION_FAILED: ::windows_sys::core::HRESULT = -2147220730i32;
41 pub const FHSVC_E_BACKUP_BLOCKED: ::windows_sys::core::HRESULT = -2147219968i32;
42 pub const FHSVC_E_CONFIG_DISABLED: ::windows_sys::core::HRESULT = -2147219966i32;
43 pub const FHSVC_E_CONFIG_DISABLED_GP: ::windows_sys::core::HRESULT = -2147219965i32;
44 pub const FHSVC_E_CONFIG_REHYDRATING: ::windows_sys::core::HRESULT = -2147219963i32;
45 pub const FHSVC_E_FATAL_CONFIG_ERROR: ::windows_sys::core::HRESULT = -2147219964i32;
46 pub const FHSVC_E_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2147219967i32;
47 pub const FH_ACCESS_DENIED: FH_DEVICE_VALIDATION_RESULT = 0i32;
48 pub const FH_CURRENT_DEFAULT: FH_DEVICE_VALIDATION_RESULT = 3i32;
49 pub const FH_DRIVE_FIXED: FH_TARGET_DRIVE_TYPES = 3i32;
50 pub const FH_DRIVE_REMOTE: FH_TARGET_DRIVE_TYPES = 4i32;
51 pub const FH_DRIVE_REMOVABLE: FH_TARGET_DRIVE_TYPES = 2i32;
52 pub const FH_DRIVE_UNKNOWN: FH_TARGET_DRIVE_TYPES = 0i32;
53 pub const FH_FOLDER: FH_PROTECTED_ITEM_CATEGORY = 0i32;
54 pub const FH_FREQUENCY: FH_LOCAL_POLICY_TYPE = 0i32;
55 pub const FH_INVALID_DRIVE_TYPE: FH_DEVICE_VALIDATION_RESULT = 1i32;
56 pub const FH_LIBRARY: FH_PROTECTED_ITEM_CATEGORY = 1i32;
57 pub const FH_NAMESPACE_EXISTS: FH_DEVICE_VALIDATION_RESULT = 4i32;
58 pub const FH_READ_ONLY_PERMISSION: FH_DEVICE_VALIDATION_RESULT = 2i32;
59 pub const FH_RETENTION_AGE: FH_LOCAL_POLICY_TYPE = 2i32;
60 pub const FH_RETENTION_AGE_BASED: FH_RETENTION_TYPES = 2i32;
61 pub const FH_RETENTION_DISABLED: FH_RETENTION_TYPES = 0i32;
62 pub const FH_RETENTION_TYPE: FH_LOCAL_POLICY_TYPE = 1i32;
63 pub const FH_RETENTION_UNLIMITED: FH_RETENTION_TYPES = 1i32;
64 pub const FH_STATE_BACKUP_NOT_SUPPORTED: u32 = 2064u32;
65 pub const FH_STATE_DISABLED_BY_GP: u32 = 2u32;
66 pub const FH_STATE_FATAL_CONFIG_ERROR: u32 = 3u32;
67 pub const FH_STATE_MIGRATING: u32 = 4u32;
68 pub const FH_STATE_NOT_TRACKED: u32 = 0u32;
69 pub const FH_STATE_NO_ERROR: u32 = 255u32;
70 pub const FH_STATE_OFF: u32 = 1u32;
71 pub const FH_STATE_REHYDRATING: u32 = 5u32;
72 pub const FH_STATE_RUNNING: u32 = 256u32;
73 pub const FH_STATE_STAGING_FULL: u32 = 18u32;
74 pub const FH_STATE_TARGET_ABSENT: u32 = 21u32;
75 pub const FH_STATE_TARGET_ACCESS_DENIED: u32 = 14u32;
76 pub const FH_STATE_TARGET_FS_LIMITATION: u32 = 13u32;
77 pub const FH_STATE_TARGET_FULL: u32 = 17u32;
78 pub const FH_STATE_TARGET_FULL_RETENTION_MAX: u32 = 16u32;
79 pub const FH_STATE_TARGET_LOW_SPACE: u32 = 20u32;
80 pub const FH_STATE_TARGET_LOW_SPACE_RETENTION_MAX: u32 = 19u32;
81 pub const FH_STATE_TARGET_VOLUME_DIRTY: u32 = 15u32;
82 pub const FH_STATE_TOO_MUCH_BEHIND: u32 = 240u32;
83 pub const FH_STATUS_DISABLED: FH_BACKUP_STATUS = 0i32;
84 pub const FH_STATUS_DISABLED_BY_GP: FH_BACKUP_STATUS = 1i32;
85 pub const FH_STATUS_ENABLED: FH_BACKUP_STATUS = 2i32;
86 pub const FH_STATUS_REHYDRATING: FH_BACKUP_STATUS = 3i32;
87 pub const FH_TARGET_DRIVE_TYPE: FH_TARGET_PROPERTY_TYPE = 2i32;
88 pub const FH_TARGET_NAME: FH_TARGET_PROPERTY_TYPE = 0i32;
89 pub const FH_TARGET_PART_OF_LIBRARY: FH_DEVICE_VALIDATION_RESULT = 5i32;
90 pub const FH_TARGET_URL: FH_TARGET_PROPERTY_TYPE = 1i32;
91 pub const FH_VALID_TARGET: FH_DEVICE_VALIDATION_RESULT = 6i32;
92 pub const FhConfigMgr: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xed43bb3c_09e9_498a_9df6_2177244c6db4);
93 pub const FhReassociation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4d728e35_16fa_4320_9e8b_bfd7100a8846);
94 pub const MAX_BACKUP_STATUS: FH_BACKUP_STATUS = 4i32;
95 pub const MAX_LOCAL_POLICY: FH_LOCAL_POLICY_TYPE = 3i32;
96 pub const MAX_PROTECTED_ITEM_CATEGORY: FH_PROTECTED_ITEM_CATEGORY = 2i32;
97 pub const MAX_RETENTION_TYPE: FH_RETENTION_TYPES = 3i32;
98 pub const MAX_TARGET_PROPERTY: FH_TARGET_PROPERTY_TYPE = 3i32;
99 pub const MAX_VALIDATION_RESULT: FH_DEVICE_VALIDATION_RESULT = 7i32;
100 pub type FH_BACKUP_STATUS = i32;
101 pub type FH_DEVICE_VALIDATION_RESULT = i32;
102 pub type FH_LOCAL_POLICY_TYPE = i32;
103 pub type FH_PROTECTED_ITEM_CATEGORY = i32;
104 pub type FH_RETENTION_TYPES = i32;
105 pub type FH_TARGET_DRIVE_TYPES = i32;
106 pub type FH_TARGET_PROPERTY_TYPE = i32;
107 pub type FhBackupStopReason = i32;