]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Win32/System/ServerBackup/mod.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / System / ServerBackup / mod.rs
1 pub type IWsbApplicationAsync = *mut ::core::ffi::c_void;
2 pub type IWsbApplicationBackupSupport = *mut ::core::ffi::c_void;
3 pub type IWsbApplicationRestoreSupport = *mut ::core::ffi::c_void;
4 #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"]
5 pub const WSBAPP_ASYNC_IN_PROGRESS: ::windows_sys::core::HRESULT = 7995396i32;
6 #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"]
7 pub const WSB_MAX_OB_STATUS_ENTRY: u32 = 5u32;
8 #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"]
9 pub const WSB_MAX_OB_STATUS_VALUE_TYPE_PAIR: u32 = 5u32;
10 #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"]
11 pub type WSB_OB_STATUS_ENTRY_PAIR_TYPE = i32;
12 #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"]
13 pub const WSB_OB_ET_UNDEFINED: WSB_OB_STATUS_ENTRY_PAIR_TYPE = 0i32;
14 #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"]
15 pub const WSB_OB_ET_STRING: WSB_OB_STATUS_ENTRY_PAIR_TYPE = 1i32;
16 #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"]
17 pub const WSB_OB_ET_NUMBER: WSB_OB_STATUS_ENTRY_PAIR_TYPE = 2i32;
18 #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"]
19 pub const WSB_OB_ET_DATETIME: WSB_OB_STATUS_ENTRY_PAIR_TYPE = 3i32;
20 #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"]
21 pub const WSB_OB_ET_TIME: WSB_OB_STATUS_ENTRY_PAIR_TYPE = 4i32;
22 #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"]
23 pub const WSB_OB_ET_SIZE: WSB_OB_STATUS_ENTRY_PAIR_TYPE = 5i32;
24 #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"]
25 pub const WSB_OB_ET_MAX: WSB_OB_STATUS_ENTRY_PAIR_TYPE = 6i32;
26 #[repr(C)]
27 #[doc = "*Required features: `\"Win32_System_ServerBackup\"`, `\"Win32_Foundation\"`*"]
28 #[cfg(feature = "Win32_Foundation")]
29 pub struct WSB_OB_REGISTRATION_INFO {
30 pub m_wszResourceDLL: ::windows_sys::core::PWSTR,
31 pub m_guidSnapinId: ::windows_sys::core::GUID,
32 pub m_dwProviderName: u32,
33 pub m_dwProviderIcon: u32,
34 pub m_bSupportsRemoting: super::super::Foundation::BOOLEAN,
35 }
36 #[cfg(feature = "Win32_Foundation")]
37 impl ::core::marker::Copy for WSB_OB_REGISTRATION_INFO {}
38 #[cfg(feature = "Win32_Foundation")]
39 impl ::core::clone::Clone for WSB_OB_REGISTRATION_INFO {
40 fn clone(&self) -> Self {
41 *self
42 }
43 }
44 #[repr(C)]
45 #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"]
46 pub struct WSB_OB_STATUS_ENTRY {
47 pub m_dwIcon: u32,
48 pub m_dwStatusEntryName: u32,
49 pub m_dwStatusEntryValue: u32,
50 pub m_cValueTypePair: u32,
51 pub m_rgValueTypePair: *mut WSB_OB_STATUS_ENTRY_VALUE_TYPE_PAIR,
52 }
53 impl ::core::marker::Copy for WSB_OB_STATUS_ENTRY {}
54 impl ::core::clone::Clone for WSB_OB_STATUS_ENTRY {
55 fn clone(&self) -> Self {
56 *self
57 }
58 }
59 #[repr(C)]
60 #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"]
61 pub struct WSB_OB_STATUS_ENTRY_VALUE_TYPE_PAIR {
62 pub m_wszObStatusEntryPairValue: ::windows_sys::core::PWSTR,
63 pub m_ObStatusEntryPairType: WSB_OB_STATUS_ENTRY_PAIR_TYPE,
64 }
65 impl ::core::marker::Copy for WSB_OB_STATUS_ENTRY_VALUE_TYPE_PAIR {}
66 impl ::core::clone::Clone for WSB_OB_STATUS_ENTRY_VALUE_TYPE_PAIR {
67 fn clone(&self) -> Self {
68 *self
69 }
70 }
71 #[repr(C)]
72 #[doc = "*Required features: `\"Win32_System_ServerBackup\"`*"]
73 pub struct WSB_OB_STATUS_INFO {
74 pub m_guidSnapinId: ::windows_sys::core::GUID,
75 pub m_cStatusEntry: u32,
76 pub m_rgStatusEntry: *mut WSB_OB_STATUS_ENTRY,
77 }
78 impl ::core::marker::Copy for WSB_OB_STATUS_INFO {}
79 impl ::core::clone::Clone for WSB_OB_STATUS_INFO {
80 fn clone(&self) -> Self {
81 *self
82 }
83 }