]>
Commit | Line | Data |
---|---|---|
5e7ed085 | 1 | pub type ActivitySensorTrigger = *mut ::core::ffi::c_void; |
04454e1e | 2 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] |
5e7ed085 FG |
3 | #[repr(transparent)] |
4 | pub struct AlarmAccessStatus(pub i32); | |
5 | impl AlarmAccessStatus { | |
6 | pub const Unspecified: Self = Self(0i32); | |
7 | pub const AllowedWithWakeupCapability: Self = Self(1i32); | |
8 | pub const AllowedWithoutWakeupCapability: Self = Self(2i32); | |
9 | pub const Denied: Self = Self(3i32); | |
10 | } | |
11 | impl ::core::marker::Copy for AlarmAccessStatus {} | |
12 | impl ::core::clone::Clone for AlarmAccessStatus { | |
13 | fn clone(&self) -> Self { | |
14 | *self | |
15 | } | |
16 | } | |
17 | pub type AppBroadcastTrigger = *mut ::core::ffi::c_void; | |
18 | pub type AppBroadcastTriggerProviderInfo = *mut ::core::ffi::c_void; | |
19 | pub type ApplicationTrigger = *mut ::core::ffi::c_void; | |
20 | pub type ApplicationTriggerDetails = *mut ::core::ffi::c_void; | |
04454e1e | 21 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] |
5e7ed085 FG |
22 | #[repr(transparent)] |
23 | pub struct ApplicationTriggerResult(pub i32); | |
24 | impl ApplicationTriggerResult { | |
25 | pub const Allowed: Self = Self(0i32); | |
26 | pub const CurrentlyRunning: Self = Self(1i32); | |
27 | pub const DisabledByPolicy: Self = Self(2i32); | |
28 | pub const UnknownError: Self = Self(3i32); | |
29 | } | |
30 | impl ::core::marker::Copy for ApplicationTriggerResult {} | |
31 | impl ::core::clone::Clone for ApplicationTriggerResult { | |
32 | fn clone(&self) -> Self { | |
33 | *self | |
34 | } | |
35 | } | |
36 | pub type AppointmentStoreNotificationTrigger = *mut ::core::ffi::c_void; | |
04454e1e | 37 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] |
5e7ed085 FG |
38 | #[repr(transparent)] |
39 | pub struct BackgroundAccessRequestKind(pub i32); | |
40 | impl BackgroundAccessRequestKind { | |
41 | pub const AlwaysAllowed: Self = Self(0i32); | |
42 | pub const AllowedSubjectToSystemPolicy: Self = Self(1i32); | |
43 | } | |
44 | impl ::core::marker::Copy for BackgroundAccessRequestKind {} | |
45 | impl ::core::clone::Clone for BackgroundAccessRequestKind { | |
46 | fn clone(&self) -> Self { | |
47 | *self | |
48 | } | |
49 | } | |
04454e1e | 50 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] |
5e7ed085 FG |
51 | #[repr(transparent)] |
52 | pub struct BackgroundAccessStatus(pub i32); | |
53 | impl BackgroundAccessStatus { | |
54 | pub const Unspecified: Self = Self(0i32); | |
55 | pub const AllowedWithAlwaysOnRealTimeConnectivity: Self = Self(1i32); | |
56 | pub const AllowedMayUseActiveRealTimeConnectivity: Self = Self(2i32); | |
57 | pub const Denied: Self = Self(3i32); | |
58 | pub const AlwaysAllowed: Self = Self(4i32); | |
59 | pub const AllowedSubjectToSystemPolicy: Self = Self(5i32); | |
60 | pub const DeniedBySystemPolicy: Self = Self(6i32); | |
61 | pub const DeniedByUser: Self = Self(7i32); | |
62 | } | |
63 | impl ::core::marker::Copy for BackgroundAccessStatus {} | |
64 | impl ::core::clone::Clone for BackgroundAccessStatus { | |
65 | fn clone(&self) -> Self { | |
66 | *self | |
67 | } | |
68 | } | |
69 | pub type BackgroundTaskBuilder = *mut ::core::ffi::c_void; | |
70 | pub type BackgroundTaskCanceledEventHandler = *mut ::core::ffi::c_void; | |
04454e1e | 71 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] |
5e7ed085 FG |
72 | #[repr(transparent)] |
73 | pub struct BackgroundTaskCancellationReason(pub i32); | |
74 | impl BackgroundTaskCancellationReason { | |
75 | pub const Abort: Self = Self(0i32); | |
76 | pub const Terminating: Self = Self(1i32); | |
77 | pub const LoggingOff: Self = Self(2i32); | |
78 | pub const ServicingUpdate: Self = Self(3i32); | |
79 | pub const IdleTask: Self = Self(4i32); | |
80 | pub const Uninstall: Self = Self(5i32); | |
81 | pub const ConditionLoss: Self = Self(6i32); | |
82 | pub const SystemPolicy: Self = Self(7i32); | |
83 | pub const QuietHoursEntered: Self = Self(8i32); | |
84 | pub const ExecutionTimeExceeded: Self = Self(9i32); | |
85 | pub const ResourceRevocation: Self = Self(10i32); | |
86 | pub const EnergySaver: Self = Self(11i32); | |
87 | } | |
88 | impl ::core::marker::Copy for BackgroundTaskCancellationReason {} | |
89 | impl ::core::clone::Clone for BackgroundTaskCancellationReason { | |
90 | fn clone(&self) -> Self { | |
91 | *self | |
92 | } | |
93 | } | |
94 | pub type BackgroundTaskCompletedEventArgs = *mut ::core::ffi::c_void; | |
95 | pub type BackgroundTaskCompletedEventHandler = *mut ::core::ffi::c_void; | |
96 | pub type BackgroundTaskDeferral = *mut ::core::ffi::c_void; | |
97 | pub type BackgroundTaskProgressEventArgs = *mut ::core::ffi::c_void; | |
98 | pub type BackgroundTaskProgressEventHandler = *mut ::core::ffi::c_void; | |
99 | pub type BackgroundTaskRegistration = *mut ::core::ffi::c_void; | |
100 | pub type BackgroundTaskRegistrationGroup = *mut ::core::ffi::c_void; | |
04454e1e | 101 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] |
5e7ed085 FG |
102 | #[repr(transparent)] |
103 | pub struct BackgroundTaskThrottleCounter(pub i32); | |
104 | impl BackgroundTaskThrottleCounter { | |
105 | pub const All: Self = Self(0i32); | |
106 | pub const Cpu: Self = Self(1i32); | |
107 | pub const Network: Self = Self(2i32); | |
108 | } | |
109 | impl ::core::marker::Copy for BackgroundTaskThrottleCounter {} | |
110 | impl ::core::clone::Clone for BackgroundTaskThrottleCounter { | |
111 | fn clone(&self) -> Self { | |
112 | *self | |
113 | } | |
114 | } | |
04454e1e | 115 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] |
5e7ed085 FG |
116 | #[repr(transparent)] |
117 | pub struct BackgroundWorkCostValue(pub i32); | |
118 | impl BackgroundWorkCostValue { | |
119 | pub const Low: Self = Self(0i32); | |
120 | pub const Medium: Self = Self(1i32); | |
121 | pub const High: Self = Self(2i32); | |
122 | } | |
123 | impl ::core::marker::Copy for BackgroundWorkCostValue {} | |
124 | impl ::core::clone::Clone for BackgroundWorkCostValue { | |
125 | fn clone(&self) -> Self { | |
126 | *self | |
127 | } | |
128 | } | |
129 | pub type BluetoothLEAdvertisementPublisherTrigger = *mut ::core::ffi::c_void; | |
130 | pub type BluetoothLEAdvertisementWatcherTrigger = *mut ::core::ffi::c_void; | |
131 | pub type CachedFileUpdaterTrigger = *mut ::core::ffi::c_void; | |
132 | pub type CachedFileUpdaterTriggerDetails = *mut ::core::ffi::c_void; | |
133 | pub type ChatMessageNotificationTrigger = *mut ::core::ffi::c_void; | |
134 | pub type ChatMessageReceivedNotificationTrigger = *mut ::core::ffi::c_void; | |
135 | pub type CommunicationBlockingAppSetAsActiveTrigger = *mut ::core::ffi::c_void; | |
136 | pub type ContactStoreNotificationTrigger = *mut ::core::ffi::c_void; | |
137 | pub type ContentPrefetchTrigger = *mut ::core::ffi::c_void; | |
138 | pub type ConversationalAgentTrigger = *mut ::core::ffi::c_void; | |
139 | pub type CustomSystemEventTrigger = *mut ::core::ffi::c_void; | |
04454e1e | 140 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] |
5e7ed085 FG |
141 | #[repr(transparent)] |
142 | pub struct CustomSystemEventTriggerRecurrence(pub i32); | |
143 | impl CustomSystemEventTriggerRecurrence { | |
144 | pub const Once: Self = Self(0i32); | |
145 | pub const Always: Self = Self(1i32); | |
146 | } | |
147 | impl ::core::marker::Copy for CustomSystemEventTriggerRecurrence {} | |
148 | impl ::core::clone::Clone for CustomSystemEventTriggerRecurrence { | |
149 | fn clone(&self) -> Self { | |
150 | *self | |
151 | } | |
152 | } | |
153 | pub type DeviceConnectionChangeTrigger = *mut ::core::ffi::c_void; | |
154 | pub type DeviceManufacturerNotificationTrigger = *mut ::core::ffi::c_void; | |
155 | pub type DeviceServicingTrigger = *mut ::core::ffi::c_void; | |
04454e1e | 156 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] |
5e7ed085 FG |
157 | #[repr(transparent)] |
158 | pub struct DeviceTriggerResult(pub i32); | |
159 | impl DeviceTriggerResult { | |
160 | pub const Allowed: Self = Self(0i32); | |
161 | pub const DeniedByUser: Self = Self(1i32); | |
162 | pub const DeniedBySystem: Self = Self(2i32); | |
163 | pub const LowBattery: Self = Self(3i32); | |
164 | } | |
165 | impl ::core::marker::Copy for DeviceTriggerResult {} | |
166 | impl ::core::clone::Clone for DeviceTriggerResult { | |
167 | fn clone(&self) -> Self { | |
168 | *self | |
169 | } | |
170 | } | |
171 | pub type DeviceUseTrigger = *mut ::core::ffi::c_void; | |
172 | pub type DeviceWatcherTrigger = *mut ::core::ffi::c_void; | |
173 | pub type EmailStoreNotificationTrigger = *mut ::core::ffi::c_void; | |
174 | pub type GattCharacteristicNotificationTrigger = *mut ::core::ffi::c_void; | |
175 | pub type GattServiceProviderTrigger = *mut ::core::ffi::c_void; | |
176 | pub type GattServiceProviderTriggerResult = *mut ::core::ffi::c_void; | |
177 | pub type GeovisitTrigger = *mut ::core::ffi::c_void; | |
178 | pub type IBackgroundCondition = *mut ::core::ffi::c_void; | |
179 | pub type IBackgroundTask = *mut ::core::ffi::c_void; | |
180 | pub type IBackgroundTaskInstance = *mut ::core::ffi::c_void; | |
181 | pub type IBackgroundTaskInstance2 = *mut ::core::ffi::c_void; | |
182 | pub type IBackgroundTaskInstance4 = *mut ::core::ffi::c_void; | |
183 | pub type IBackgroundTaskRegistration = *mut ::core::ffi::c_void; | |
184 | pub type IBackgroundTaskRegistration2 = *mut ::core::ffi::c_void; | |
185 | pub type IBackgroundTaskRegistration3 = *mut ::core::ffi::c_void; | |
186 | pub type IBackgroundTrigger = *mut ::core::ffi::c_void; | |
187 | pub type LocationTrigger = *mut ::core::ffi::c_void; | |
04454e1e | 188 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] |
5e7ed085 FG |
189 | #[repr(transparent)] |
190 | pub struct LocationTriggerType(pub i32); | |
191 | impl LocationTriggerType { | |
192 | pub const Geofence: Self = Self(0i32); | |
193 | } | |
194 | impl ::core::marker::Copy for LocationTriggerType {} | |
195 | impl ::core::clone::Clone for LocationTriggerType { | |
196 | fn clone(&self) -> Self { | |
197 | *self | |
198 | } | |
199 | } | |
200 | pub type MaintenanceTrigger = *mut ::core::ffi::c_void; | |
201 | pub type MediaProcessingTrigger = *mut ::core::ffi::c_void; | |
04454e1e | 202 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] |
5e7ed085 FG |
203 | #[repr(transparent)] |
204 | pub struct MediaProcessingTriggerResult(pub i32); | |
205 | impl MediaProcessingTriggerResult { | |
206 | pub const Allowed: Self = Self(0i32); | |
207 | pub const CurrentlyRunning: Self = Self(1i32); | |
208 | pub const DisabledByPolicy: Self = Self(2i32); | |
209 | pub const UnknownError: Self = Self(3i32); | |
210 | } | |
211 | impl ::core::marker::Copy for MediaProcessingTriggerResult {} | |
212 | impl ::core::clone::Clone for MediaProcessingTriggerResult { | |
213 | fn clone(&self) -> Self { | |
214 | *self | |
215 | } | |
216 | } | |
217 | pub type MobileBroadbandDeviceServiceNotificationTrigger = *mut ::core::ffi::c_void; | |
218 | pub type MobileBroadbandPcoDataChangeTrigger = *mut ::core::ffi::c_void; | |
219 | pub type MobileBroadbandPinLockStateChangeTrigger = *mut ::core::ffi::c_void; | |
220 | pub type MobileBroadbandRadioStateChangeTrigger = *mut ::core::ffi::c_void; | |
221 | pub type MobileBroadbandRegistrationStateChangeTrigger = *mut ::core::ffi::c_void; | |
222 | pub type NetworkOperatorDataUsageTrigger = *mut ::core::ffi::c_void; | |
223 | pub type NetworkOperatorHotspotAuthenticationTrigger = *mut ::core::ffi::c_void; | |
224 | pub type NetworkOperatorNotificationTrigger = *mut ::core::ffi::c_void; | |
225 | pub type PaymentAppCanMakePaymentTrigger = *mut ::core::ffi::c_void; | |
226 | pub type PhoneTrigger = *mut ::core::ffi::c_void; | |
227 | pub type PushNotificationTrigger = *mut ::core::ffi::c_void; | |
228 | pub type RcsEndUserMessageAvailableTrigger = *mut ::core::ffi::c_void; | |
229 | pub type RfcommConnectionTrigger = *mut ::core::ffi::c_void; | |
230 | pub type SecondaryAuthenticationFactorAuthenticationTrigger = *mut ::core::ffi::c_void; | |
231 | pub type SensorDataThresholdTrigger = *mut ::core::ffi::c_void; | |
232 | pub type SmartCardTrigger = *mut ::core::ffi::c_void; | |
233 | pub type SmsMessageReceivedTrigger = *mut ::core::ffi::c_void; | |
234 | pub type SocketActivityTrigger = *mut ::core::ffi::c_void; | |
235 | pub type StorageLibraryChangeTrackerTrigger = *mut ::core::ffi::c_void; | |
236 | pub type StorageLibraryContentChangedTrigger = *mut ::core::ffi::c_void; | |
237 | pub type SystemCondition = *mut ::core::ffi::c_void; | |
04454e1e | 238 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] |
5e7ed085 FG |
239 | #[repr(transparent)] |
240 | pub struct SystemConditionType(pub i32); | |
241 | impl SystemConditionType { | |
242 | pub const Invalid: Self = Self(0i32); | |
243 | pub const UserPresent: Self = Self(1i32); | |
244 | pub const UserNotPresent: Self = Self(2i32); | |
245 | pub const InternetAvailable: Self = Self(3i32); | |
246 | pub const InternetNotAvailable: Self = Self(4i32); | |
247 | pub const SessionConnected: Self = Self(5i32); | |
248 | pub const SessionDisconnected: Self = Self(6i32); | |
249 | pub const FreeNetworkAvailable: Self = Self(7i32); | |
250 | pub const BackgroundWorkCostNotHigh: Self = Self(8i32); | |
251 | } | |
252 | impl ::core::marker::Copy for SystemConditionType {} | |
253 | impl ::core::clone::Clone for SystemConditionType { | |
254 | fn clone(&self) -> Self { | |
255 | *self | |
256 | } | |
257 | } | |
258 | pub type SystemTrigger = *mut ::core::ffi::c_void; | |
04454e1e | 259 | #[doc = "*Required features: `\"ApplicationModel_Background\"`*"] |
5e7ed085 FG |
260 | #[repr(transparent)] |
261 | pub struct SystemTriggerType(pub i32); | |
262 | impl SystemTriggerType { | |
263 | pub const Invalid: Self = Self(0i32); | |
264 | pub const SmsReceived: Self = Self(1i32); | |
265 | pub const UserPresent: Self = Self(2i32); | |
266 | pub const UserAway: Self = Self(3i32); | |
267 | pub const NetworkStateChange: Self = Self(4i32); | |
268 | pub const ControlChannelReset: Self = Self(5i32); | |
269 | pub const InternetAvailable: Self = Self(6i32); | |
270 | pub const SessionConnected: Self = Self(7i32); | |
271 | pub const ServicingComplete: Self = Self(8i32); | |
272 | pub const LockScreenApplicationAdded: Self = Self(9i32); | |
273 | pub const LockScreenApplicationRemoved: Self = Self(10i32); | |
274 | pub const TimeZoneChange: Self = Self(11i32); | |
275 | pub const OnlineIdConnectedStateChange: Self = Self(12i32); | |
276 | pub const BackgroundWorkCostChange: Self = Self(13i32); | |
277 | pub const PowerStateChange: Self = Self(14i32); | |
278 | pub const DefaultSignInAccountChange: Self = Self(15i32); | |
279 | } | |
280 | impl ::core::marker::Copy for SystemTriggerType {} | |
281 | impl ::core::clone::Clone for SystemTriggerType { | |
282 | fn clone(&self) -> Self { | |
283 | *self | |
284 | } | |
285 | } | |
286 | pub type TetheringEntitlementCheckTrigger = *mut ::core::ffi::c_void; | |
287 | pub type TimeTrigger = *mut ::core::ffi::c_void; | |
288 | pub type ToastNotificationActionTrigger = *mut ::core::ffi::c_void; | |
289 | pub type ToastNotificationHistoryChangedTrigger = *mut ::core::ffi::c_void; | |
290 | pub type UserNotificationChangedTrigger = *mut ::core::ffi::c_void; |