summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/ApplicationModel/AppService/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/ApplicationModel/AppService/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/ApplicationModel/AppService/mod.rs94
1 files changed, 94 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/AppService/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/AppService/mod.rs
new file mode 100644
index 000000000..52d41c3a7
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/ApplicationModel/AppService/mod.rs
@@ -0,0 +1,94 @@
+pub type AppServiceClosedEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"ApplicationModel_AppService\"`*"]
+#[repr(transparent)]
+pub struct AppServiceClosedStatus(pub i32);
+impl AppServiceClosedStatus {
+ pub const Completed: Self = Self(0i32);
+ pub const Canceled: Self = Self(1i32);
+ pub const ResourceLimitsExceeded: Self = Self(2i32);
+ pub const Unknown: Self = Self(3i32);
+}
+impl ::core::marker::Copy for AppServiceClosedStatus {}
+impl ::core::clone::Clone for AppServiceClosedStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type AppServiceConnection = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"ApplicationModel_AppService\"`*"]
+#[repr(transparent)]
+pub struct AppServiceConnectionStatus(pub i32);
+impl AppServiceConnectionStatus {
+ pub const Success: Self = Self(0i32);
+ pub const AppNotInstalled: Self = Self(1i32);
+ pub const AppUnavailable: Self = Self(2i32);
+ pub const AppServiceUnavailable: Self = Self(3i32);
+ pub const Unknown: Self = Self(4i32);
+ pub const RemoteSystemUnavailable: Self = Self(5i32);
+ pub const RemoteSystemNotSupportedByApp: Self = Self(6i32);
+ pub const NotAuthorized: Self = Self(7i32);
+ pub const AuthenticationError: Self = Self(8i32);
+ pub const NetworkNotAvailable: Self = Self(9i32);
+ pub const DisabledByPolicy: Self = Self(10i32);
+ pub const WebServiceUnavailable: Self = Self(11i32);
+}
+impl ::core::marker::Copy for AppServiceConnectionStatus {}
+impl ::core::clone::Clone for AppServiceConnectionStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type AppServiceDeferral = *mut ::core::ffi::c_void;
+pub type AppServiceRequest = *mut ::core::ffi::c_void;
+pub type AppServiceRequestReceivedEventArgs = *mut ::core::ffi::c_void;
+pub type AppServiceResponse = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"ApplicationModel_AppService\"`*"]
+#[repr(transparent)]
+pub struct AppServiceResponseStatus(pub i32);
+impl AppServiceResponseStatus {
+ pub const Success: Self = Self(0i32);
+ pub const Failure: Self = Self(1i32);
+ pub const ResourceLimitsExceeded: Self = Self(2i32);
+ pub const Unknown: Self = Self(3i32);
+ pub const RemoteSystemUnavailable: Self = Self(4i32);
+ pub const MessageSizeTooLarge: Self = Self(5i32);
+ pub const AppUnavailable: Self = Self(6i32);
+ pub const AuthenticationError: Self = Self(7i32);
+ pub const NetworkNotAvailable: Self = Self(8i32);
+ pub const DisabledByPolicy: Self = Self(9i32);
+ pub const WebServiceUnavailable: Self = Self(10i32);
+}
+impl ::core::marker::Copy for AppServiceResponseStatus {}
+impl ::core::clone::Clone for AppServiceResponseStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type AppServiceTriggerDetails = *mut ::core::ffi::c_void;
+pub type StatelessAppServiceResponse = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"ApplicationModel_AppService\"`*"]
+#[repr(transparent)]
+pub struct StatelessAppServiceResponseStatus(pub i32);
+impl StatelessAppServiceResponseStatus {
+ pub const Success: Self = Self(0i32);
+ pub const AppNotInstalled: Self = Self(1i32);
+ pub const AppUnavailable: Self = Self(2i32);
+ pub const AppServiceUnavailable: Self = Self(3i32);
+ pub const RemoteSystemUnavailable: Self = Self(4i32);
+ pub const RemoteSystemNotSupportedByApp: Self = Self(5i32);
+ pub const NotAuthorized: Self = Self(6i32);
+ pub const ResourceLimitsExceeded: Self = Self(7i32);
+ pub const MessageSizeTooLarge: Self = Self(8i32);
+ pub const Failure: Self = Self(9i32);
+ pub const Unknown: Self = Self(10i32);
+ pub const AuthenticationError: Self = Self(11i32);
+ pub const NetworkNotAvailable: Self = Self(12i32);
+ pub const DisabledByPolicy: Self = Self(13i32);
+ pub const WebServiceUnavailable: Self = Self(14i32);
+}
+impl ::core::marker::Copy for StatelessAppServiceResponseStatus {}
+impl ::core::clone::Clone for StatelessAppServiceResponseStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}