diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Web')
-rw-r--r-- | vendor/windows-sys/src/Windows/Web/AtomPub/mod.rs | 4 | ||||
-rw-r--r-- | vendor/windows-sys/src/Windows/Web/Http/Diagnostics/mod.rs | 30 | ||||
-rw-r--r-- | vendor/windows-sys/src/Windows/Web/Http/Filters/mod.rs | 45 | ||||
-rw-r--r-- | vendor/windows-sys/src/Windows/Web/Http/Headers/mod.rs | 33 | ||||
-rw-r--r-- | vendor/windows-sys/src/Windows/Web/Http/mod.rs | 176 | ||||
-rw-r--r-- | vendor/windows-sys/src/Windows/Web/Syndication/mod.rs | 88 | ||||
-rw-r--r-- | vendor/windows-sys/src/Windows/Web/UI/Interop/mod.rs | 46 | ||||
-rw-r--r-- | vendor/windows-sys/src/Windows/Web/UI/mod.rs | 51 | ||||
-rw-r--r-- | vendor/windows-sys/src/Windows/Web/mod.rs | 75 |
9 files changed, 548 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Web/AtomPub/mod.rs b/vendor/windows-sys/src/Windows/Web/AtomPub/mod.rs new file mode 100644 index 000000000..0b3ce60c3 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Web/AtomPub/mod.rs @@ -0,0 +1,4 @@ +pub type AtomPubClient = *mut ::core::ffi::c_void; +pub type ResourceCollection = *mut ::core::ffi::c_void; +pub type ServiceDocument = *mut ::core::ffi::c_void; +pub type Workspace = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Web/Http/Diagnostics/mod.rs b/vendor/windows-sys/src/Windows/Web/Http/Diagnostics/mod.rs new file mode 100644 index 000000000..7515d0203 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Web/Http/Diagnostics/mod.rs @@ -0,0 +1,30 @@ +pub type HttpDiagnosticProvider = *mut ::core::ffi::c_void; +pub type HttpDiagnosticProviderRequestResponseCompletedEventArgs = *mut ::core::ffi::c_void; +pub type HttpDiagnosticProviderRequestResponseTimestamps = *mut ::core::ffi::c_void; +pub type HttpDiagnosticProviderRequestSentEventArgs = *mut ::core::ffi::c_void; +pub type HttpDiagnosticProviderResponseReceivedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Web_Http_Diagnostics\"`*"] +#[repr(transparent)] +pub struct HttpDiagnosticRequestInitiator(pub i32); +impl HttpDiagnosticRequestInitiator { + pub const ParsedElement: Self = Self(0i32); + pub const Script: Self = Self(1i32); + pub const Image: Self = Self(2i32); + pub const Link: Self = Self(3i32); + pub const Style: Self = Self(4i32); + pub const XmlHttpRequest: Self = Self(5i32); + pub const Media: Self = Self(6i32); + pub const HtmlDownload: Self = Self(7i32); + pub const Prefetch: Self = Self(8i32); + pub const Other: Self = Self(9i32); + pub const CrossOriginPreFlight: Self = Self(10i32); + pub const Fetch: Self = Self(11i32); + pub const Beacon: Self = Self(12i32); +} +impl ::core::marker::Copy for HttpDiagnosticRequestInitiator {} +impl ::core::clone::Clone for HttpDiagnosticRequestInitiator { + fn clone(&self) -> Self { + *self + } +} +pub type HttpDiagnosticSourceLocation = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Web/Http/Filters/mod.rs b/vendor/windows-sys/src/Windows/Web/Http/Filters/mod.rs new file mode 100644 index 000000000..f48fcbfff --- /dev/null +++ b/vendor/windows-sys/src/Windows/Web/Http/Filters/mod.rs @@ -0,0 +1,45 @@ +pub type HttpBaseProtocolFilter = *mut ::core::ffi::c_void; +pub type HttpCacheControl = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Web_Http_Filters\"`*"] +#[repr(transparent)] +pub struct HttpCacheReadBehavior(pub i32); +impl HttpCacheReadBehavior { + pub const Default: Self = Self(0i32); + pub const MostRecent: Self = Self(1i32); + pub const OnlyFromCache: Self = Self(2i32); + pub const NoCache: Self = Self(3i32); +} +impl ::core::marker::Copy for HttpCacheReadBehavior {} +impl ::core::clone::Clone for HttpCacheReadBehavior { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Web_Http_Filters\"`*"] +#[repr(transparent)] +pub struct HttpCacheWriteBehavior(pub i32); +impl HttpCacheWriteBehavior { + pub const Default: Self = Self(0i32); + pub const NoCache: Self = Self(1i32); +} +impl ::core::marker::Copy for HttpCacheWriteBehavior {} +impl ::core::clone::Clone for HttpCacheWriteBehavior { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Web_Http_Filters\"`*"] +#[repr(transparent)] +pub struct HttpCookieUsageBehavior(pub i32); +impl HttpCookieUsageBehavior { + pub const Default: Self = Self(0i32); + pub const NoCookies: Self = Self(1i32); +} +impl ::core::marker::Copy for HttpCookieUsageBehavior {} +impl ::core::clone::Clone for HttpCookieUsageBehavior { + fn clone(&self) -> Self { + *self + } +} +pub type HttpServerCustomValidationRequestedEventArgs = *mut ::core::ffi::c_void; +pub type IHttpFilter = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Web/Http/Headers/mod.rs b/vendor/windows-sys/src/Windows/Web/Http/Headers/mod.rs new file mode 100644 index 000000000..cd228a2b8 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Web/Http/Headers/mod.rs @@ -0,0 +1,33 @@ +pub type HttpCacheDirectiveHeaderValueCollection = *mut ::core::ffi::c_void; +pub type HttpChallengeHeaderValue = *mut ::core::ffi::c_void; +pub type HttpChallengeHeaderValueCollection = *mut ::core::ffi::c_void; +pub type HttpConnectionOptionHeaderValue = *mut ::core::ffi::c_void; +pub type HttpConnectionOptionHeaderValueCollection = *mut ::core::ffi::c_void; +pub type HttpContentCodingHeaderValue = *mut ::core::ffi::c_void; +pub type HttpContentCodingHeaderValueCollection = *mut ::core::ffi::c_void; +pub type HttpContentCodingWithQualityHeaderValue = *mut ::core::ffi::c_void; +pub type HttpContentCodingWithQualityHeaderValueCollection = *mut ::core::ffi::c_void; +pub type HttpContentDispositionHeaderValue = *mut ::core::ffi::c_void; +pub type HttpContentHeaderCollection = *mut ::core::ffi::c_void; +pub type HttpContentRangeHeaderValue = *mut ::core::ffi::c_void; +pub type HttpCookiePairHeaderValue = *mut ::core::ffi::c_void; +pub type HttpCookiePairHeaderValueCollection = *mut ::core::ffi::c_void; +pub type HttpCredentialsHeaderValue = *mut ::core::ffi::c_void; +pub type HttpDateOrDeltaHeaderValue = *mut ::core::ffi::c_void; +pub type HttpExpectationHeaderValue = *mut ::core::ffi::c_void; +pub type HttpExpectationHeaderValueCollection = *mut ::core::ffi::c_void; +pub type HttpLanguageHeaderValueCollection = *mut ::core::ffi::c_void; +pub type HttpLanguageRangeWithQualityHeaderValue = *mut ::core::ffi::c_void; +pub type HttpLanguageRangeWithQualityHeaderValueCollection = *mut ::core::ffi::c_void; +pub type HttpMediaTypeHeaderValue = *mut ::core::ffi::c_void; +pub type HttpMediaTypeWithQualityHeaderValue = *mut ::core::ffi::c_void; +pub type HttpMediaTypeWithQualityHeaderValueCollection = *mut ::core::ffi::c_void; +pub type HttpMethodHeaderValueCollection = *mut ::core::ffi::c_void; +pub type HttpNameValueHeaderValue = *mut ::core::ffi::c_void; +pub type HttpProductHeaderValue = *mut ::core::ffi::c_void; +pub type HttpProductInfoHeaderValue = *mut ::core::ffi::c_void; +pub type HttpProductInfoHeaderValueCollection = *mut ::core::ffi::c_void; +pub type HttpRequestHeaderCollection = *mut ::core::ffi::c_void; +pub type HttpResponseHeaderCollection = *mut ::core::ffi::c_void; +pub type HttpTransferCodingHeaderValue = *mut ::core::ffi::c_void; +pub type HttpTransferCodingHeaderValueCollection = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Web/Http/mod.rs b/vendor/windows-sys/src/Windows/Web/Http/mod.rs new file mode 100644 index 000000000..7645d540d --- /dev/null +++ b/vendor/windows-sys/src/Windows/Web/Http/mod.rs @@ -0,0 +1,176 @@ +#[cfg(feature = "Web_Http_Diagnostics")] +pub mod Diagnostics; +#[cfg(feature = "Web_Http_Filters")] +pub mod Filters; +#[cfg(feature = "Web_Http_Headers")] +pub mod Headers; +pub type HttpBufferContent = *mut ::core::ffi::c_void; +pub type HttpClient = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Web_Http\"`*"] +#[repr(transparent)] +pub struct HttpCompletionOption(pub i32); +impl HttpCompletionOption { + pub const ResponseContentRead: Self = Self(0i32); + pub const ResponseHeadersRead: Self = Self(1i32); +} +impl ::core::marker::Copy for HttpCompletionOption {} +impl ::core::clone::Clone for HttpCompletionOption { + fn clone(&self) -> Self { + *self + } +} +pub type HttpCookie = *mut ::core::ffi::c_void; +pub type HttpCookieCollection = *mut ::core::ffi::c_void; +pub type HttpCookieManager = *mut ::core::ffi::c_void; +pub type HttpFormUrlEncodedContent = *mut ::core::ffi::c_void; +pub type HttpGetBufferResult = *mut ::core::ffi::c_void; +pub type HttpGetInputStreamResult = *mut ::core::ffi::c_void; +pub type HttpGetStringResult = *mut ::core::ffi::c_void; +pub type HttpMethod = *mut ::core::ffi::c_void; +pub type HttpMultipartContent = *mut ::core::ffi::c_void; +pub type HttpMultipartFormDataContent = *mut ::core::ffi::c_void; +#[repr(C)] +#[doc = "*Required features: `\"Web_Http\"`, `\"Foundation\"`*"] +#[cfg(feature = "Foundation")] +pub struct HttpProgress { + pub Stage: HttpProgressStage, + pub BytesSent: u64, + pub TotalBytesToSend: super::super::Foundation::IReference, + pub BytesReceived: u64, + pub TotalBytesToReceive: super::super::Foundation::IReference, + pub Retries: u32, +} +#[cfg(feature = "Foundation")] +impl ::core::marker::Copy for HttpProgress {} +#[cfg(feature = "Foundation")] +impl ::core::clone::Clone for HttpProgress { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Web_Http\"`*"] +#[repr(transparent)] +pub struct HttpProgressStage(pub i32); +impl HttpProgressStage { + pub const None: Self = Self(0i32); + pub const DetectingProxy: Self = Self(10i32); + pub const ResolvingName: Self = Self(20i32); + pub const ConnectingToServer: Self = Self(30i32); + pub const NegotiatingSsl: Self = Self(40i32); + pub const SendingHeaders: Self = Self(50i32); + pub const SendingContent: Self = Self(60i32); + pub const WaitingForResponse: Self = Self(70i32); + pub const ReceivingHeaders: Self = Self(80i32); + pub const ReceivingContent: Self = Self(90i32); +} +impl ::core::marker::Copy for HttpProgressStage {} +impl ::core::clone::Clone for HttpProgressStage { + fn clone(&self) -> Self { + *self + } +} +pub type HttpRequestMessage = *mut ::core::ffi::c_void; +pub type HttpRequestResult = *mut ::core::ffi::c_void; +pub type HttpResponseMessage = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Web_Http\"`*"] +#[repr(transparent)] +pub struct HttpResponseMessageSource(pub i32); +impl HttpResponseMessageSource { + pub const None: Self = Self(0i32); + pub const Cache: Self = Self(1i32); + pub const Network: Self = Self(2i32); +} +impl ::core::marker::Copy for HttpResponseMessageSource {} +impl ::core::clone::Clone for HttpResponseMessageSource { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Web_Http\"`*"] +#[repr(transparent)] +pub struct HttpStatusCode(pub i32); +impl HttpStatusCode { + pub const None: Self = Self(0i32); + pub const Continue: Self = Self(100i32); + pub const SwitchingProtocols: Self = Self(101i32); + pub const Processing: Self = Self(102i32); + pub const Ok: Self = Self(200i32); + pub const Created: Self = Self(201i32); + pub const Accepted: Self = Self(202i32); + pub const NonAuthoritativeInformation: Self = Self(203i32); + pub const NoContent: Self = Self(204i32); + pub const ResetContent: Self = Self(205i32); + pub const PartialContent: Self = Self(206i32); + pub const MultiStatus: Self = Self(207i32); + pub const AlreadyReported: Self = Self(208i32); + pub const IMUsed: Self = Self(226i32); + pub const MultipleChoices: Self = Self(300i32); + pub const MovedPermanently: Self = Self(301i32); + pub const Found: Self = Self(302i32); + pub const SeeOther: Self = Self(303i32); + pub const NotModified: Self = Self(304i32); + pub const UseProxy: Self = Self(305i32); + pub const TemporaryRedirect: Self = Self(307i32); + pub const PermanentRedirect: Self = Self(308i32); + pub const BadRequest: Self = Self(400i32); + pub const Unauthorized: Self = Self(401i32); + pub const PaymentRequired: Self = Self(402i32); + pub const Forbidden: Self = Self(403i32); + pub const NotFound: Self = Self(404i32); + pub const MethodNotAllowed: Self = Self(405i32); + pub const NotAcceptable: Self = Self(406i32); + pub const ProxyAuthenticationRequired: Self = Self(407i32); + pub const RequestTimeout: Self = Self(408i32); + pub const Conflict: Self = Self(409i32); + pub const Gone: Self = Self(410i32); + pub const LengthRequired: Self = Self(411i32); + pub const PreconditionFailed: Self = Self(412i32); + pub const RequestEntityTooLarge: Self = Self(413i32); + pub const RequestUriTooLong: Self = Self(414i32); + pub const UnsupportedMediaType: Self = Self(415i32); + pub const RequestedRangeNotSatisfiable: Self = Self(416i32); + pub const ExpectationFailed: Self = Self(417i32); + pub const UnprocessableEntity: Self = Self(422i32); + pub const Locked: Self = Self(423i32); + pub const FailedDependency: Self = Self(424i32); + pub const UpgradeRequired: Self = Self(426i32); + pub const PreconditionRequired: Self = Self(428i32); + pub const TooManyRequests: Self = Self(429i32); + pub const RequestHeaderFieldsTooLarge: Self = Self(431i32); + pub const InternalServerError: Self = Self(500i32); + pub const NotImplemented: Self = Self(501i32); + pub const BadGateway: Self = Self(502i32); + pub const ServiceUnavailable: Self = Self(503i32); + pub const GatewayTimeout: Self = Self(504i32); + pub const HttpVersionNotSupported: Self = Self(505i32); + pub const VariantAlsoNegotiates: Self = Self(506i32); + pub const InsufficientStorage: Self = Self(507i32); + pub const LoopDetected: Self = Self(508i32); + pub const NotExtended: Self = Self(510i32); + pub const NetworkAuthenticationRequired: Self = Self(511i32); +} +impl ::core::marker::Copy for HttpStatusCode {} +impl ::core::clone::Clone for HttpStatusCode { + fn clone(&self) -> Self { + *self + } +} +pub type HttpStreamContent = *mut ::core::ffi::c_void; +pub type HttpStringContent = *mut ::core::ffi::c_void; +pub type HttpTransportInformation = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Web_Http\"`*"] +#[repr(transparent)] +pub struct HttpVersion(pub i32); +impl HttpVersion { + pub const None: Self = Self(0i32); + pub const Http10: Self = Self(1i32); + pub const Http11: Self = Self(2i32); + pub const Http20: Self = Self(3i32); +} +impl ::core::marker::Copy for HttpVersion {} +impl ::core::clone::Clone for HttpVersion { + fn clone(&self) -> Self { + *self + } +} +pub type IHttpContent = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Web/Syndication/mod.rs b/vendor/windows-sys/src/Windows/Web/Syndication/mod.rs new file mode 100644 index 000000000..e2b8bfffd --- /dev/null +++ b/vendor/windows-sys/src/Windows/Web/Syndication/mod.rs @@ -0,0 +1,88 @@ +pub type ISyndicationClient = *mut ::core::ffi::c_void; +pub type ISyndicationNode = *mut ::core::ffi::c_void; +pub type ISyndicationText = *mut ::core::ffi::c_void; +#[repr(C)] +#[doc = "*Required features: `\"Web_Syndication\"`*"] +pub struct RetrievalProgress { + pub BytesRetrieved: u32, + pub TotalBytesToRetrieve: u32, +} +impl ::core::marker::Copy for RetrievalProgress {} +impl ::core::clone::Clone for RetrievalProgress { + fn clone(&self) -> Self { + *self + } +} +pub type SyndicationAttribute = *mut ::core::ffi::c_void; +pub type SyndicationCategory = *mut ::core::ffi::c_void; +pub type SyndicationClient = *mut ::core::ffi::c_void; +pub type SyndicationContent = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Web_Syndication\"`*"] +#[repr(transparent)] +pub struct SyndicationErrorStatus(pub i32); +impl SyndicationErrorStatus { + pub const Unknown: Self = Self(0i32); + pub const MissingRequiredElement: Self = Self(1i32); + pub const MissingRequiredAttribute: Self = Self(2i32); + pub const InvalidXml: Self = Self(3i32); + pub const UnexpectedContent: Self = Self(4i32); + pub const UnsupportedFormat: Self = Self(5i32); +} +impl ::core::marker::Copy for SyndicationErrorStatus {} +impl ::core::clone::Clone for SyndicationErrorStatus { + fn clone(&self) -> Self { + *self + } +} +pub type SyndicationFeed = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Web_Syndication\"`*"] +#[repr(transparent)] +pub struct SyndicationFormat(pub i32); +impl SyndicationFormat { + pub const Atom10: Self = Self(0i32); + pub const Rss20: Self = Self(1i32); + pub const Rss10: Self = Self(2i32); + pub const Rss092: Self = Self(3i32); + pub const Rss091: Self = Self(4i32); + pub const Atom03: Self = Self(5i32); +} +impl ::core::marker::Copy for SyndicationFormat {} +impl ::core::clone::Clone for SyndicationFormat { + fn clone(&self) -> Self { + *self + } +} +pub type SyndicationGenerator = *mut ::core::ffi::c_void; +pub type SyndicationItem = *mut ::core::ffi::c_void; +pub type SyndicationLink = *mut ::core::ffi::c_void; +pub type SyndicationNode = *mut ::core::ffi::c_void; +pub type SyndicationPerson = *mut ::core::ffi::c_void; +pub type SyndicationText = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Web_Syndication\"`*"] +#[repr(transparent)] +pub struct SyndicationTextType(pub i32); +impl SyndicationTextType { + pub const Text: Self = Self(0i32); + pub const Html: Self = Self(1i32); + pub const Xhtml: Self = Self(2i32); +} +impl ::core::marker::Copy for SyndicationTextType {} +impl ::core::clone::Clone for SyndicationTextType { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Web_Syndication\"`*"] +pub struct TransferProgress { + pub BytesSent: u32, + pub TotalBytesToSend: u32, + pub BytesRetrieved: u32, + pub TotalBytesToRetrieve: u32, +} +impl ::core::marker::Copy for TransferProgress {} +impl ::core::clone::Clone for TransferProgress { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/Web/UI/Interop/mod.rs b/vendor/windows-sys/src/Windows/Web/UI/Interop/mod.rs new file mode 100644 index 000000000..fdaa5d5f1 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Web/UI/Interop/mod.rs @@ -0,0 +1,46 @@ +pub type WebViewControl = *mut ::core::ffi::c_void; +pub type WebViewControlAcceleratorKeyPressedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Web_UI_Interop\"`*"] +#[repr(transparent)] +pub struct WebViewControlAcceleratorKeyRoutingStage(pub i32); +impl WebViewControlAcceleratorKeyRoutingStage { + pub const Tunneling: Self = Self(0i32); + pub const Bubbling: Self = Self(1i32); +} +impl ::core::marker::Copy for WebViewControlAcceleratorKeyRoutingStage {} +impl ::core::clone::Clone for WebViewControlAcceleratorKeyRoutingStage { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Web_UI_Interop\"`*"] +#[repr(transparent)] +pub struct WebViewControlMoveFocusReason(pub i32); +impl WebViewControlMoveFocusReason { + pub const Programmatic: Self = Self(0i32); + pub const Next: Self = Self(1i32); + pub const Previous: Self = Self(2i32); +} +impl ::core::marker::Copy for WebViewControlMoveFocusReason {} +impl ::core::clone::Clone for WebViewControlMoveFocusReason { + fn clone(&self) -> Self { + *self + } +} +pub type WebViewControlMoveFocusRequestedEventArgs = *mut ::core::ffi::c_void; +pub type WebViewControlProcess = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Web_UI_Interop\"`*"] +#[repr(transparent)] +pub struct WebViewControlProcessCapabilityState(pub i32); +impl WebViewControlProcessCapabilityState { + pub const Default: Self = Self(0i32); + pub const Disabled: Self = Self(1i32); + pub const Enabled: Self = Self(2i32); +} +impl ::core::marker::Copy for WebViewControlProcessCapabilityState {} +impl ::core::clone::Clone for WebViewControlProcessCapabilityState { + fn clone(&self) -> Self { + *self + } +} +pub type WebViewControlProcessOptions = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Web/UI/mod.rs b/vendor/windows-sys/src/Windows/Web/UI/mod.rs new file mode 100644 index 000000000..91c64d3ce --- /dev/null +++ b/vendor/windows-sys/src/Windows/Web/UI/mod.rs @@ -0,0 +1,51 @@ +#[cfg(feature = "Web_UI_Interop")] +pub mod Interop; +pub type IWebViewControl = *mut ::core::ffi::c_void; +pub type IWebViewControl2 = *mut ::core::ffi::c_void; +pub type WebViewControlContentLoadingEventArgs = *mut ::core::ffi::c_void; +pub type WebViewControlDOMContentLoadedEventArgs = *mut ::core::ffi::c_void; +pub type WebViewControlDeferredPermissionRequest = *mut ::core::ffi::c_void; +pub type WebViewControlLongRunningScriptDetectedEventArgs = *mut ::core::ffi::c_void; +pub type WebViewControlNavigationCompletedEventArgs = *mut ::core::ffi::c_void; +pub type WebViewControlNavigationStartingEventArgs = *mut ::core::ffi::c_void; +pub type WebViewControlNewWindowRequestedEventArgs = *mut ::core::ffi::c_void; +pub type WebViewControlPermissionRequest = *mut ::core::ffi::c_void; +pub type WebViewControlPermissionRequestedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Web_UI\"`*"] +#[repr(transparent)] +pub struct WebViewControlPermissionState(pub i32); +impl WebViewControlPermissionState { + pub const Unknown: Self = Self(0i32); + pub const Defer: Self = Self(1i32); + pub const Allow: Self = Self(2i32); + pub const Deny: Self = Self(3i32); +} +impl ::core::marker::Copy for WebViewControlPermissionState {} +impl ::core::clone::Clone for WebViewControlPermissionState { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Web_UI\"`*"] +#[repr(transparent)] +pub struct WebViewControlPermissionType(pub i32); +impl WebViewControlPermissionType { + pub const Geolocation: Self = Self(0i32); + pub const UnlimitedIndexedDBQuota: Self = Self(1i32); + pub const Media: Self = Self(2i32); + pub const PointerLock: Self = Self(3i32); + pub const WebNotifications: Self = Self(4i32); + pub const Screen: Self = Self(5i32); + pub const ImmersiveView: Self = Self(6i32); +} +impl ::core::marker::Copy for WebViewControlPermissionType {} +impl ::core::clone::Clone for WebViewControlPermissionType { + fn clone(&self) -> Self { + *self + } +} +pub type WebViewControlScriptNotifyEventArgs = *mut ::core::ffi::c_void; +pub type WebViewControlSettings = *mut ::core::ffi::c_void; +pub type WebViewControlUnsupportedUriSchemeIdentifiedEventArgs = *mut ::core::ffi::c_void; +pub type WebViewControlUnviewableContentIdentifiedEventArgs = *mut ::core::ffi::c_void; +pub type WebViewControlWebResourceRequestedEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Web/mod.rs b/vendor/windows-sys/src/Windows/Web/mod.rs new file mode 100644 index 000000000..ce8046af8 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Web/mod.rs @@ -0,0 +1,75 @@ +#[cfg(feature = "Web_AtomPub")] +pub mod AtomPub; +#[cfg(feature = "Web_Http")] +pub mod Http; +#[cfg(feature = "Web_Syndication")] +pub mod Syndication; +#[cfg(feature = "Web_UI")] +pub mod UI; +pub type IUriToStreamResolver = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Web\"`*"] +#[repr(transparent)] +pub struct WebErrorStatus(pub i32); +impl WebErrorStatus { + pub const Unknown: Self = Self(0i32); + pub const CertificateCommonNameIsIncorrect: Self = Self(1i32); + pub const CertificateExpired: Self = Self(2i32); + pub const CertificateContainsErrors: Self = Self(3i32); + pub const CertificateRevoked: Self = Self(4i32); + pub const CertificateIsInvalid: Self = Self(5i32); + pub const ServerUnreachable: Self = Self(6i32); + pub const Timeout: Self = Self(7i32); + pub const ErrorHttpInvalidServerResponse: Self = Self(8i32); + pub const ConnectionAborted: Self = Self(9i32); + pub const ConnectionReset: Self = Self(10i32); + pub const Disconnected: Self = Self(11i32); + pub const HttpToHttpsOnRedirection: Self = Self(12i32); + pub const HttpsToHttpOnRedirection: Self = Self(13i32); + pub const CannotConnect: Self = Self(14i32); + pub const HostNameNotResolved: Self = Self(15i32); + pub const OperationCanceled: Self = Self(16i32); + pub const RedirectFailed: Self = Self(17i32); + pub const UnexpectedStatusCode: Self = Self(18i32); + pub const UnexpectedRedirection: Self = Self(19i32); + pub const UnexpectedClientError: Self = Self(20i32); + pub const UnexpectedServerError: Self = Self(21i32); + pub const InsufficientRangeSupport: Self = Self(22i32); + pub const MissingContentLengthSupport: Self = Self(23i32); + pub const MultipleChoices: Self = Self(300i32); + pub const MovedPermanently: Self = Self(301i32); + pub const Found: Self = Self(302i32); + pub const SeeOther: Self = Self(303i32); + pub const NotModified: Self = Self(304i32); + pub const UseProxy: Self = Self(305i32); + pub const TemporaryRedirect: Self = Self(307i32); + pub const BadRequest: Self = Self(400i32); + pub const Unauthorized: Self = Self(401i32); + pub const PaymentRequired: Self = Self(402i32); + pub const Forbidden: Self = Self(403i32); + pub const NotFound: Self = Self(404i32); + pub const MethodNotAllowed: Self = Self(405i32); + pub const NotAcceptable: Self = Self(406i32); + pub const ProxyAuthenticationRequired: Self = Self(407i32); + pub const RequestTimeout: Self = Self(408i32); + pub const Conflict: Self = Self(409i32); + pub const Gone: Self = Self(410i32); + pub const LengthRequired: Self = Self(411i32); + pub const PreconditionFailed: Self = Self(412i32); + pub const RequestEntityTooLarge: Self = Self(413i32); + pub const RequestUriTooLong: Self = Self(414i32); + pub const UnsupportedMediaType: Self = Self(415i32); + pub const RequestedRangeNotSatisfiable: Self = Self(416i32); + pub const ExpectationFailed: Self = Self(417i32); + pub const InternalServerError: Self = Self(500i32); + pub const NotImplemented: Self = Self(501i32); + pub const BadGateway: Self = Self(502i32); + pub const ServiceUnavailable: Self = Self(503i32); + pub const GatewayTimeout: Self = Self(504i32); + pub const HttpVersionNotSupported: Self = Self(505i32); +} +impl ::core::marker::Copy for WebErrorStatus {} +impl ::core::clone::Clone for WebErrorStatus { + fn clone(&self) -> Self { + *self + } +} |