]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/System/RemoteSystems/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / System / RemoteSystems / mod.rs
1 pub type IRemoteSystemFilter = *mut ::core::ffi::c_void;
2 pub type RemoteSystem = *mut ::core::ffi::c_void;
3 #[doc = "*Required features: `\"System_RemoteSystems\"`*"]
4 #[repr(transparent)]
5 pub struct RemoteSystemAccessStatus(pub i32);
6 impl RemoteSystemAccessStatus {
7 pub const Unspecified: Self = Self(0i32);
8 pub const Allowed: Self = Self(1i32);
9 pub const DeniedByUser: Self = Self(2i32);
10 pub const DeniedBySystem: Self = Self(3i32);
11 }
12 impl ::core::marker::Copy for RemoteSystemAccessStatus {}
13 impl ::core::clone::Clone for RemoteSystemAccessStatus {
14 fn clone(&self) -> Self {
15 *self
16 }
17 }
18 pub type RemoteSystemAddedEventArgs = *mut ::core::ffi::c_void;
19 pub type RemoteSystemApp = *mut ::core::ffi::c_void;
20 pub type RemoteSystemAppRegistration = *mut ::core::ffi::c_void;
21 #[doc = "*Required features: `\"System_RemoteSystems\"`*"]
22 #[repr(transparent)]
23 pub struct RemoteSystemAuthorizationKind(pub i32);
24 impl RemoteSystemAuthorizationKind {
25 pub const SameUser: Self = Self(0i32);
26 pub const Anonymous: Self = Self(1i32);
27 }
28 impl ::core::marker::Copy for RemoteSystemAuthorizationKind {}
29 impl ::core::clone::Clone for RemoteSystemAuthorizationKind {
30 fn clone(&self) -> Self {
31 *self
32 }
33 }
34 pub type RemoteSystemAuthorizationKindFilter = *mut ::core::ffi::c_void;
35 pub type RemoteSystemConnectionInfo = *mut ::core::ffi::c_void;
36 pub type RemoteSystemConnectionRequest = *mut ::core::ffi::c_void;
37 #[doc = "*Required features: `\"System_RemoteSystems\"`*"]
38 #[repr(transparent)]
39 pub struct RemoteSystemDiscoveryType(pub i32);
40 impl RemoteSystemDiscoveryType {
41 pub const Any: Self = Self(0i32);
42 pub const Proximal: Self = Self(1i32);
43 pub const Cloud: Self = Self(2i32);
44 pub const SpatiallyProximal: Self = Self(3i32);
45 }
46 impl ::core::marker::Copy for RemoteSystemDiscoveryType {}
47 impl ::core::clone::Clone for RemoteSystemDiscoveryType {
48 fn clone(&self) -> Self {
49 *self
50 }
51 }
52 pub type RemoteSystemDiscoveryTypeFilter = *mut ::core::ffi::c_void;
53 pub type RemoteSystemEnumerationCompletedEventArgs = *mut ::core::ffi::c_void;
54 pub type RemoteSystemKindFilter = *mut ::core::ffi::c_void;
55 #[doc = "*Required features: `\"System_RemoteSystems\"`*"]
56 #[repr(transparent)]
57 pub struct RemoteSystemPlatform(pub i32);
58 impl RemoteSystemPlatform {
59 pub const Unknown: Self = Self(0i32);
60 pub const Windows: Self = Self(1i32);
61 pub const Android: Self = Self(2i32);
62 pub const Ios: Self = Self(3i32);
63 pub const Linux: Self = Self(4i32);
64 }
65 impl ::core::marker::Copy for RemoteSystemPlatform {}
66 impl ::core::clone::Clone for RemoteSystemPlatform {
67 fn clone(&self) -> Self {
68 *self
69 }
70 }
71 pub type RemoteSystemRemovedEventArgs = *mut ::core::ffi::c_void;
72 pub type RemoteSystemSession = *mut ::core::ffi::c_void;
73 pub type RemoteSystemSessionAddedEventArgs = *mut ::core::ffi::c_void;
74 pub type RemoteSystemSessionController = *mut ::core::ffi::c_void;
75 pub type RemoteSystemSessionCreationResult = *mut ::core::ffi::c_void;
76 #[doc = "*Required features: `\"System_RemoteSystems\"`*"]
77 #[repr(transparent)]
78 pub struct RemoteSystemSessionCreationStatus(pub i32);
79 impl RemoteSystemSessionCreationStatus {
80 pub const Success: Self = Self(0i32);
81 pub const SessionLimitsExceeded: Self = Self(1i32);
82 pub const OperationAborted: Self = Self(2i32);
83 }
84 impl ::core::marker::Copy for RemoteSystemSessionCreationStatus {}
85 impl ::core::clone::Clone for RemoteSystemSessionCreationStatus {
86 fn clone(&self) -> Self {
87 *self
88 }
89 }
90 pub type RemoteSystemSessionDisconnectedEventArgs = *mut ::core::ffi::c_void;
91 #[doc = "*Required features: `\"System_RemoteSystems\"`*"]
92 #[repr(transparent)]
93 pub struct RemoteSystemSessionDisconnectedReason(pub i32);
94 impl RemoteSystemSessionDisconnectedReason {
95 pub const SessionUnavailable: Self = Self(0i32);
96 pub const RemovedByController: Self = Self(1i32);
97 pub const SessionClosed: Self = Self(2i32);
98 }
99 impl ::core::marker::Copy for RemoteSystemSessionDisconnectedReason {}
100 impl ::core::clone::Clone for RemoteSystemSessionDisconnectedReason {
101 fn clone(&self) -> Self {
102 *self
103 }
104 }
105 pub type RemoteSystemSessionInfo = *mut ::core::ffi::c_void;
106 pub type RemoteSystemSessionInvitation = *mut ::core::ffi::c_void;
107 pub type RemoteSystemSessionInvitationListener = *mut ::core::ffi::c_void;
108 pub type RemoteSystemSessionInvitationReceivedEventArgs = *mut ::core::ffi::c_void;
109 pub type RemoteSystemSessionJoinRequest = *mut ::core::ffi::c_void;
110 pub type RemoteSystemSessionJoinRequestedEventArgs = *mut ::core::ffi::c_void;
111 pub type RemoteSystemSessionJoinResult = *mut ::core::ffi::c_void;
112 #[doc = "*Required features: `\"System_RemoteSystems\"`*"]
113 #[repr(transparent)]
114 pub struct RemoteSystemSessionJoinStatus(pub i32);
115 impl RemoteSystemSessionJoinStatus {
116 pub const Success: Self = Self(0i32);
117 pub const SessionLimitsExceeded: Self = Self(1i32);
118 pub const OperationAborted: Self = Self(2i32);
119 pub const SessionUnavailable: Self = Self(3i32);
120 pub const RejectedByController: Self = Self(4i32);
121 }
122 impl ::core::marker::Copy for RemoteSystemSessionJoinStatus {}
123 impl ::core::clone::Clone for RemoteSystemSessionJoinStatus {
124 fn clone(&self) -> Self {
125 *self
126 }
127 }
128 pub type RemoteSystemSessionMessageChannel = *mut ::core::ffi::c_void;
129 #[doc = "*Required features: `\"System_RemoteSystems\"`*"]
130 #[repr(transparent)]
131 pub struct RemoteSystemSessionMessageChannelReliability(pub i32);
132 impl RemoteSystemSessionMessageChannelReliability {
133 pub const Reliable: Self = Self(0i32);
134 pub const Unreliable: Self = Self(1i32);
135 }
136 impl ::core::marker::Copy for RemoteSystemSessionMessageChannelReliability {}
137 impl ::core::clone::Clone for RemoteSystemSessionMessageChannelReliability {
138 fn clone(&self) -> Self {
139 *self
140 }
141 }
142 pub type RemoteSystemSessionOptions = *mut ::core::ffi::c_void;
143 pub type RemoteSystemSessionParticipant = *mut ::core::ffi::c_void;
144 pub type RemoteSystemSessionParticipantAddedEventArgs = *mut ::core::ffi::c_void;
145 pub type RemoteSystemSessionParticipantRemovedEventArgs = *mut ::core::ffi::c_void;
146 pub type RemoteSystemSessionParticipantWatcher = *mut ::core::ffi::c_void;
147 #[doc = "*Required features: `\"System_RemoteSystems\"`*"]
148 #[repr(transparent)]
149 pub struct RemoteSystemSessionParticipantWatcherStatus(pub i32);
150 impl RemoteSystemSessionParticipantWatcherStatus {
151 pub const Created: Self = Self(0i32);
152 pub const Started: Self = Self(1i32);
153 pub const EnumerationCompleted: Self = Self(2i32);
154 pub const Stopping: Self = Self(3i32);
155 pub const Stopped: Self = Self(4i32);
156 pub const Aborted: Self = Self(5i32);
157 }
158 impl ::core::marker::Copy for RemoteSystemSessionParticipantWatcherStatus {}
159 impl ::core::clone::Clone for RemoteSystemSessionParticipantWatcherStatus {
160 fn clone(&self) -> Self {
161 *self
162 }
163 }
164 pub type RemoteSystemSessionRemovedEventArgs = *mut ::core::ffi::c_void;
165 pub type RemoteSystemSessionUpdatedEventArgs = *mut ::core::ffi::c_void;
166 pub type RemoteSystemSessionValueSetReceivedEventArgs = *mut ::core::ffi::c_void;
167 pub type RemoteSystemSessionWatcher = *mut ::core::ffi::c_void;
168 #[doc = "*Required features: `\"System_RemoteSystems\"`*"]
169 #[repr(transparent)]
170 pub struct RemoteSystemSessionWatcherStatus(pub i32);
171 impl RemoteSystemSessionWatcherStatus {
172 pub const Created: Self = Self(0i32);
173 pub const Started: Self = Self(1i32);
174 pub const EnumerationCompleted: Self = Self(2i32);
175 pub const Stopping: Self = Self(3i32);
176 pub const Stopped: Self = Self(4i32);
177 pub const Aborted: Self = Self(5i32);
178 }
179 impl ::core::marker::Copy for RemoteSystemSessionWatcherStatus {}
180 impl ::core::clone::Clone for RemoteSystemSessionWatcherStatus {
181 fn clone(&self) -> Self {
182 *self
183 }
184 }
185 #[doc = "*Required features: `\"System_RemoteSystems\"`*"]
186 #[repr(transparent)]
187 pub struct RemoteSystemStatus(pub i32);
188 impl RemoteSystemStatus {
189 pub const Unavailable: Self = Self(0i32);
190 pub const DiscoveringAvailability: Self = Self(1i32);
191 pub const Available: Self = Self(2i32);
192 pub const Unknown: Self = Self(3i32);
193 }
194 impl ::core::marker::Copy for RemoteSystemStatus {}
195 impl ::core::clone::Clone for RemoteSystemStatus {
196 fn clone(&self) -> Self {
197 *self
198 }
199 }
200 #[doc = "*Required features: `\"System_RemoteSystems\"`*"]
201 #[repr(transparent)]
202 pub struct RemoteSystemStatusType(pub i32);
203 impl RemoteSystemStatusType {
204 pub const Any: Self = Self(0i32);
205 pub const Available: Self = Self(1i32);
206 }
207 impl ::core::marker::Copy for RemoteSystemStatusType {}
208 impl ::core::clone::Clone for RemoteSystemStatusType {
209 fn clone(&self) -> Self {
210 *self
211 }
212 }
213 pub type RemoteSystemStatusTypeFilter = *mut ::core::ffi::c_void;
214 pub type RemoteSystemUpdatedEventArgs = *mut ::core::ffi::c_void;
215 pub type RemoteSystemWatcher = *mut ::core::ffi::c_void;
216 #[doc = "*Required features: `\"System_RemoteSystems\"`*"]
217 #[repr(transparent)]
218 pub struct RemoteSystemWatcherError(pub i32);
219 impl RemoteSystemWatcherError {
220 pub const Unknown: Self = Self(0i32);
221 pub const InternetNotAvailable: Self = Self(1i32);
222 pub const AuthenticationError: Self = Self(2i32);
223 }
224 impl ::core::marker::Copy for RemoteSystemWatcherError {}
225 impl ::core::clone::Clone for RemoteSystemWatcherError {
226 fn clone(&self) -> Self {
227 *self
228 }
229 }
230 pub type RemoteSystemWatcherErrorOccurredEventArgs = *mut ::core::ffi::c_void;
231 pub type RemoteSystemWebAccountFilter = *mut ::core::ffi::c_void;