summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs6635
1 files changed, 6635 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs b/vendor/windows-sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs
new file mode 100644
index 000000000..19adbb308
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Networking/WindowsWebServices/mod.rs
@@ -0,0 +1,6635 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WebAuthNAuthenticatorGetAssertion(hwnd: super::super::Foundation::HWND, pwszrpid: ::windows_sys::core::PCWSTR, pwebauthnclientdata: *const WEBAUTHN_CLIENT_DATA, pwebauthngetassertionoptions: *const WEBAUTHN_AUTHENTICATOR_GET_ASSERTION_OPTIONS, ppwebauthnassertion: *mut *mut WEBAUTHN_ASSERTION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WebAuthNAuthenticatorMakeCredential(hwnd: super::super::Foundation::HWND, prpinformation: *const WEBAUTHN_RP_ENTITY_INFORMATION, puserinformation: *const WEBAUTHN_USER_ENTITY_INFORMATION, ppubkeycredparams: *const WEBAUTHN_COSE_CREDENTIAL_PARAMETERS, pwebauthnclientdata: *const WEBAUTHN_CLIENT_DATA, pwebauthnmakecredentialoptions: *const WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS, ppwebauthncredentialattestation: *mut *mut WEBAUTHN_CREDENTIAL_ATTESTATION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WebAuthNCancelCurrentOperation(pcancellationid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WebAuthNFreeAssertion(pwebauthnassertion: *const WEBAUTHN_ASSERTION);
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WebAuthNFreeCredentialAttestation(pwebauthncredentialattestation: *const WEBAUTHN_CREDENTIAL_ATTESTATION);
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WebAuthNGetApiVersionNumber() -> u32;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WebAuthNGetCancellationId(pcancellationid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WebAuthNGetErrorName(hr: ::windows_sys::core::HRESULT) -> ::windows_sys::core::PWSTR;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WebAuthNGetW3CExceptionDOMError(hr: ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WebAuthNIsUserVerifyingPlatformAuthenticatorAvailable(pbisuserverifyingplatformauthenticatoravailable: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsAbandonCall(serviceproxy: *const WS_SERVICE_PROXY, callid: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsAbandonMessage(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsAbortChannel(channel: *const WS_CHANNEL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsAbortListener(listener: *const WS_LISTENER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsAbortServiceHost(servicehost: *const WS_SERVICE_HOST, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsAbortServiceProxy(serviceproxy: *const WS_SERVICE_PROXY, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsAcceptChannel(listener: *const WS_LISTENER, channel: *const WS_CHANNEL, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsAddCustomHeader(message: *const WS_MESSAGE, headerdescription: *const WS_ELEMENT_DESCRIPTION, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, headerattributes: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsAddErrorString(error: *const WS_ERROR, string: *const WS_STRING) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsAddMappedHeader(message: *const WS_MESSAGE, headername: *const WS_XML_STRING, valuetype: WS_TYPE, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsAddressMessage(message: *const WS_MESSAGE, address: *const WS_ENDPOINT_ADDRESS, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsAlloc(heap: *const WS_HEAP, size: usize, ptr: *mut *mut ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsAsyncExecute(asyncstate: *const WS_ASYNC_STATE, operation: WS_ASYNC_FUNCTION, callbackmodel: WS_CALLBACK_MODEL, callbackstate: *const ::core::ffi::c_void, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsCall(serviceproxy: *const WS_SERVICE_PROXY, operation: *const WS_OPERATION_DESCRIPTION, arguments: *const *const ::core::ffi::c_void, heap: *const WS_HEAP, callproperties: *const WS_CALL_PROPERTY, callpropertycount: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCheckMustUnderstandHeaders(message: *const WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCloseChannel(channel: *const WS_CHANNEL, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCloseListener(listener: *const WS_LISTENER, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCloseServiceHost(servicehost: *const WS_SERVICE_HOST, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCloseServiceProxy(serviceproxy: *const WS_SERVICE_PROXY, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCombineUrl(baseurl: *const WS_STRING, referenceurl: *const WS_STRING, flags: u32, heap: *const WS_HEAP, resulturl: *mut WS_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCopyError(source: *const WS_ERROR, destination: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCopyNode(writer: *const WS_XML_WRITER, reader: *const WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCreateChannel(channeltype: WS_CHANNEL_TYPE, channelbinding: WS_CHANNEL_BINDING, properties: *const WS_CHANNEL_PROPERTY, propertycount: u32, securitydescription: *const WS_SECURITY_DESCRIPTION, channel: *mut *mut WS_CHANNEL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCreateChannelForListener(listener: *const WS_LISTENER, properties: *const WS_CHANNEL_PROPERTY, propertycount: u32, channel: *mut *mut WS_CHANNEL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCreateError(properties: *const WS_ERROR_PROPERTY, propertycount: u32, error: *mut *mut WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsCreateFaultFromError(error: *const WS_ERROR, faulterrorcode: ::windows_sys::core::HRESULT, faultdisclosure: WS_FAULT_DISCLOSURE, heap: *const WS_HEAP, fault: *mut WS_FAULT) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCreateHeap(maxsize: usize, trimsize: usize, properties: *const WS_HEAP_PROPERTY, propertycount: u32, heap: *mut *mut WS_HEAP, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCreateListener(channeltype: WS_CHANNEL_TYPE, channelbinding: WS_CHANNEL_BINDING, properties: *const WS_LISTENER_PROPERTY, propertycount: u32, securitydescription: *const WS_SECURITY_DESCRIPTION, listener: *mut *mut WS_LISTENER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCreateMessage(envelopeversion: WS_ENVELOPE_VERSION, addressingversion: WS_ADDRESSING_VERSION, properties: *const WS_MESSAGE_PROPERTY, propertycount: u32, message: *mut *mut WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCreateMessageForChannel(channel: *const WS_CHANNEL, properties: *const WS_MESSAGE_PROPERTY, propertycount: u32, message: *mut *mut WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCreateMetadata(properties: *const WS_METADATA_PROPERTY, propertycount: u32, metadata: *mut *mut WS_METADATA, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCreateReader(properties: *const WS_XML_READER_PROPERTY, propertycount: u32, reader: *mut *mut WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsCreateServiceEndpointFromTemplate(channeltype: WS_CHANNEL_TYPE, properties: *const WS_SERVICE_ENDPOINT_PROPERTY, propertycount: u32, addressurl: *const WS_STRING, contract: *const WS_SERVICE_CONTRACT, authorizationcallback: WS_SERVICE_SECURITY_CALLBACK, heap: *const WS_HEAP, templatetype: WS_BINDING_TEMPLATE_TYPE, templatevalue: *const ::core::ffi::c_void, templatesize: u32, templatedescription: *const ::core::ffi::c_void, templatedescriptionsize: u32, serviceendpoint: *mut *mut WS_SERVICE_ENDPOINT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsCreateServiceHost(endpoints: *const *const WS_SERVICE_ENDPOINT, endpointcount: u16, serviceproperties: *const WS_SERVICE_PROPERTY, servicepropertycount: u32, servicehost: *mut *mut WS_SERVICE_HOST, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCreateServiceProxy(channeltype: WS_CHANNEL_TYPE, channelbinding: WS_CHANNEL_BINDING, securitydescription: *const WS_SECURITY_DESCRIPTION, properties: *const WS_PROXY_PROPERTY, propertycount: u32, channelproperties: *const WS_CHANNEL_PROPERTY, channelpropertycount: u32, serviceproxy: *mut *mut WS_SERVICE_PROXY, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCreateServiceProxyFromTemplate(channeltype: WS_CHANNEL_TYPE, properties: *const WS_PROXY_PROPERTY, propertycount: u32, templatetype: WS_BINDING_TEMPLATE_TYPE, templatevalue: *const ::core::ffi::c_void, templatesize: u32, templatedescription: *const ::core::ffi::c_void, templatedescriptionsize: u32, serviceproxy: *mut *mut WS_SERVICE_PROXY, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCreateWriter(properties: *const WS_XML_WRITER_PROPERTY, propertycount: u32, writer: *mut *mut WS_XML_WRITER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCreateXmlBuffer(heap: *const WS_HEAP, properties: *const WS_XML_BUFFER_PROPERTY, propertycount: u32, buffer: *mut *mut WS_XML_BUFFER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsCreateXmlSecurityToken(tokenxml: *const WS_XML_BUFFER, tokenkey: *const WS_SECURITY_KEY_HANDLE, properties: *const WS_XML_SECURITY_TOKEN_PROPERTY, propertycount: u32, token: *mut *mut WS_SECURITY_TOKEN, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsDateTimeToFileTime(datetime: *const WS_DATETIME, filetime: *mut super::super::Foundation::FILETIME, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsDecodeUrl(url: *const WS_STRING, flags: u32, heap: *const WS_HEAP, outurl: *mut *mut WS_URL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsEncodeUrl(url: *const WS_URL, flags: u32, heap: *const WS_HEAP, outurl: *mut WS_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsEndReaderCanonicalization(reader: *const WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsEndWriterCanonicalization(writer: *const WS_XML_WRITER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsFileTimeToDateTime(filetime: *const super::super::Foundation::FILETIME, datetime: *mut WS_DATETIME, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsFillBody(message: *const WS_MESSAGE, minsize: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsFillReader(reader: *const WS_XML_READER, minsize: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsFindAttribute(reader: *const WS_XML_READER, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, required: super::super::Foundation::BOOL, attributeindex: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsFlushBody(message: *const WS_MESSAGE, minsize: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsFlushWriter(writer: *const WS_XML_WRITER, minsize: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsFreeChannel(channel: *const WS_CHANNEL);
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsFreeError(error: *const WS_ERROR);
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsFreeHeap(heap: *const WS_HEAP);
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsFreeListener(listener: *const WS_LISTENER);
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsFreeMessage(message: *const WS_MESSAGE);
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsFreeMetadata(metadata: *const WS_METADATA);
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsFreeReader(reader: *const WS_XML_READER);
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsFreeSecurityToken(token: *const WS_SECURITY_TOKEN);
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsFreeServiceHost(servicehost: *const WS_SERVICE_HOST);
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsFreeServiceProxy(serviceproxy: *const WS_SERVICE_PROXY);
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsFreeWriter(writer: *const WS_XML_WRITER);
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetChannelProperty(channel: *const WS_CHANNEL, id: WS_CHANNEL_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsGetCustomHeader(message: *const WS_MESSAGE, customheaderdescription: *const WS_ELEMENT_DESCRIPTION, repeatingoption: WS_REPEATING_HEADER_OPTION, headerindex: u32, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, headerattributes: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsGetDictionary(encoding: WS_ENCODING, dictionary: *mut *mut WS_XML_DICTIONARY, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetErrorProperty(error: *const WS_ERROR, id: WS_ERROR_PROPERTY_ID, buffer: *mut ::core::ffi::c_void, buffersize: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetErrorString(error: *const WS_ERROR, index: u32, string: *mut WS_STRING) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsGetFaultErrorDetail(error: *const WS_ERROR, faultdetaildescription: *const WS_FAULT_DETAIL_DESCRIPTION, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetFaultErrorProperty(error: *const WS_ERROR, id: WS_FAULT_ERROR_PROPERTY_ID, buffer: *mut ::core::ffi::c_void, buffersize: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetHeader(message: *const WS_MESSAGE, headertype: WS_HEADER_TYPE, valuetype: WS_TYPE, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetHeaderAttributes(message: *const WS_MESSAGE, reader: *const WS_XML_READER, headerattributes: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetHeapProperty(heap: *const WS_HEAP, id: WS_HEAP_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetListenerProperty(listener: *const WS_LISTENER, id: WS_LISTENER_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsGetMappedHeader(message: *const WS_MESSAGE, headername: *const WS_XML_STRING, repeatingoption: WS_REPEATING_HEADER_OPTION, headerindex: u32, valuetype: WS_TYPE, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetMessageProperty(message: *const WS_MESSAGE, id: WS_MESSAGE_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsGetMetadataEndpoints(metadata: *const WS_METADATA, endpoints: *mut WS_METADATA_ENDPOINTS, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetMetadataProperty(metadata: *const WS_METADATA, id: WS_METADATA_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetMissingMetadataDocumentAddress(metadata: *const WS_METADATA, address: *mut *mut WS_ENDPOINT_ADDRESS, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsGetNamespaceFromPrefix(reader: *const WS_XML_READER, prefix: *const WS_XML_STRING, required: super::super::Foundation::BOOL, ns: *mut *mut WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetOperationContextProperty(context: *const WS_OPERATION_CONTEXT, id: WS_OPERATION_CONTEXT_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetPolicyAlternativeCount(policy: *const WS_POLICY, count: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetPolicyProperty(policy: *const WS_POLICY, id: WS_POLICY_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsGetPrefixFromNamespace(writer: *const WS_XML_WRITER, ns: *const WS_XML_STRING, required: super::super::Foundation::BOOL, prefix: *mut *mut WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetReaderNode(xmlreader: *const WS_XML_READER, node: *mut *mut WS_XML_NODE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetReaderPosition(reader: *const WS_XML_READER, nodeposition: *mut WS_XML_NODE_POSITION, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetReaderProperty(reader: *const WS_XML_READER, id: WS_XML_READER_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetSecurityContextProperty(securitycontext: *const WS_SECURITY_CONTEXT, id: WS_SECURITY_CONTEXT_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetSecurityTokenProperty(securitytoken: *const WS_SECURITY_TOKEN, id: WS_SECURITY_TOKEN_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, heap: *const WS_HEAP, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetServiceHostProperty(servicehost: *const WS_SERVICE_HOST, id: WS_SERVICE_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetServiceProxyProperty(serviceproxy: *const WS_SERVICE_PROXY, id: WS_PROXY_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetWriterPosition(writer: *const WS_XML_WRITER, nodeposition: *mut WS_XML_NODE_POSITION, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsGetWriterProperty(writer: *const WS_XML_WRITER, id: WS_XML_WRITER_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsGetXmlAttribute(reader: *const WS_XML_READER, localname: *const WS_XML_STRING, heap: *const WS_HEAP, valuechars: *mut *mut u16, valuecharcount: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsInitializeMessage(message: *const WS_MESSAGE, initialization: WS_MESSAGE_INITIALIZATION, sourcemessage: *const WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsMarkHeaderAsUnderstood(message: *const WS_MESSAGE, headerposition: *const WS_XML_NODE_POSITION, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsMatchPolicyAlternative(policy: *const WS_POLICY, alternativeindex: u32, policyconstraints: *const WS_POLICY_CONSTRAINTS, matchrequired: super::super::Foundation::BOOL, heap: *const WS_HEAP, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsMoveReader(reader: *const WS_XML_READER, moveto: WS_MOVE_TO, found: *mut super::super::Foundation::BOOL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsMoveWriter(writer: *const WS_XML_WRITER, moveto: WS_MOVE_TO, found: *mut super::super::Foundation::BOOL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsOpenChannel(channel: *const WS_CHANNEL, endpointaddress: *const WS_ENDPOINT_ADDRESS, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsOpenListener(listener: *const WS_LISTENER, url: *const WS_STRING, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsOpenServiceHost(servicehost: *const WS_SERVICE_HOST, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsOpenServiceProxy(serviceproxy: *const WS_SERVICE_PROXY, address: *const WS_ENDPOINT_ADDRESS, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsPullBytes(writer: *const WS_XML_WRITER, callback: WS_PULL_BYTES_CALLBACK, callbackstate: *const ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsPushBytes(writer: *const WS_XML_WRITER, callback: WS_PUSH_BYTES_CALLBACK, callbackstate: *const ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsReadArray(reader: *const WS_XML_READER, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, valuetype: WS_VALUE_TYPE, array: *mut ::core::ffi::c_void, arraysize: u32, itemoffset: u32, itemcount: u32, actualitemcount: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsReadAttribute(reader: *const WS_XML_READER, attributedescription: *const WS_ATTRIBUTE_DESCRIPTION, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsReadBody(message: *const WS_MESSAGE, bodydescription: *const WS_ELEMENT_DESCRIPTION, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadBytes(reader: *const WS_XML_READER, bytes: *mut ::core::ffi::c_void, maxbytecount: u32, actualbytecount: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadChars(reader: *const WS_XML_READER, chars: ::windows_sys::core::PWSTR, maxcharcount: u32, actualcharcount: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadCharsUtf8(reader: *const WS_XML_READER, bytes: *mut u8, maxbytecount: u32, actualbytecount: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsReadElement(reader: *const WS_XML_READER, elementdescription: *const WS_ELEMENT_DESCRIPTION, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadEndAttribute(reader: *const WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadEndElement(reader: *const WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadEndpointAddressExtension(reader: *const WS_XML_READER, endpointaddress: *const WS_ENDPOINT_ADDRESS, extensiontype: WS_ENDPOINT_ADDRESS_EXTENSION_TYPE, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadEnvelopeEnd(message: *const WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadEnvelopeStart(message: *const WS_MESSAGE, reader: *const WS_XML_READER, donecallback: WS_MESSAGE_DONE_CALLBACK, donecallbackstate: *const ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadMessageEnd(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadMessageStart(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadMetadata(metadata: *const WS_METADATA, reader: *const WS_XML_READER, url: *const WS_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadNode(reader: *const WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsReadQualifiedName(reader: *const WS_XML_READER, heap: *const WS_HEAP, prefix: *mut WS_XML_STRING, localname: *mut WS_XML_STRING, ns: *mut WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadStartAttribute(reader: *const WS_XML_READER, attributeindex: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadStartElement(reader: *const WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsReadToStartElement(reader: *const WS_XML_READER, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, found: *mut super::super::Foundation::BOOL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadType(reader: *const WS_XML_READER, typemapping: WS_TYPE_MAPPING, r#type: WS_TYPE, typedescription: *const ::core::ffi::c_void, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadValue(reader: *const WS_XML_READER, valuetype: WS_VALUE_TYPE, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadXmlBuffer(reader: *const WS_XML_READER, heap: *const WS_HEAP, xmlbuffer: *mut *mut WS_XML_BUFFER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsReadXmlBufferFromBytes(reader: *const WS_XML_READER, encoding: *const WS_XML_READER_ENCODING, properties: *const WS_XML_READER_PROPERTY, propertycount: u32, bytes: *const ::core::ffi::c_void, bytecount: u32, heap: *const WS_HEAP, xmlbuffer: *mut *mut WS_XML_BUFFER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsReceiveMessage(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, messagedescriptions: *const *const WS_MESSAGE_DESCRIPTION, messagedescriptioncount: u32, receiveoption: WS_RECEIVE_OPTION, readbodyoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, index: *mut u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsRegisterOperationForCancel(context: *const WS_OPERATION_CONTEXT, cancelcallback: WS_OPERATION_CANCEL_CALLBACK, freestatecallback: WS_OPERATION_FREE_STATE_CALLBACK, userstate: *const ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsRemoveCustomHeader(message: *const WS_MESSAGE, headername: *const WS_XML_STRING, headerns: *const WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsRemoveHeader(message: *const WS_MESSAGE, headertype: WS_HEADER_TYPE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsRemoveMappedHeader(message: *const WS_MESSAGE, headername: *const WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsRemoveNode(nodeposition: *const WS_XML_NODE_POSITION, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsRequestReply(channel: *const WS_CHANNEL, requestmessage: *const WS_MESSAGE, requestmessagedescription: *const WS_MESSAGE_DESCRIPTION, writeoption: WS_WRITE_OPTION, requestbodyvalue: *const ::core::ffi::c_void, requestbodyvaluesize: u32, replymessage: *const WS_MESSAGE, replymessagedescription: *const WS_MESSAGE_DESCRIPTION, readoption: WS_READ_OPTION, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsRequestSecurityToken(channel: *const WS_CHANNEL, properties: *const WS_REQUEST_SECURITY_TOKEN_PROPERTY, propertycount: u32, token: *mut *mut WS_SECURITY_TOKEN, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsResetChannel(channel: *const WS_CHANNEL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsResetError(error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsResetHeap(heap: *const WS_HEAP, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsResetListener(listener: *const WS_LISTENER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsResetMessage(message: *const WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsResetMetadata(metadata: *const WS_METADATA, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsResetServiceHost(servicehost: *const WS_SERVICE_HOST, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsResetServiceProxy(serviceproxy: *const WS_SERVICE_PROXY, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsRevokeSecurityContext(securitycontext: *const WS_SECURITY_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsSendFaultMessageForError(channel: *const WS_CHANNEL, replymessage: *const WS_MESSAGE, faulterror: *const WS_ERROR, faulterrorcode: ::windows_sys::core::HRESULT, faultdisclosure: WS_FAULT_DISCLOSURE, requestmessage: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsSendMessage(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, messagedescription: *const WS_MESSAGE_DESCRIPTION, writeoption: WS_WRITE_OPTION, bodyvalue: *const ::core::ffi::c_void, bodyvaluesize: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsSendReplyMessage(channel: *const WS_CHANNEL, replymessage: *const WS_MESSAGE, replymessagedescription: *const WS_MESSAGE_DESCRIPTION, writeoption: WS_WRITE_OPTION, replybodyvalue: *const ::core::ffi::c_void, replybodyvaluesize: u32, requestmessage: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsSetChannelProperty(channel: *const WS_CHANNEL, id: WS_CHANNEL_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsSetErrorProperty(error: *const WS_ERROR, id: WS_ERROR_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsSetFaultErrorDetail(error: *const WS_ERROR, faultdetaildescription: *const WS_FAULT_DETAIL_DESCRIPTION, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsSetFaultErrorProperty(error: *const WS_ERROR, id: WS_FAULT_ERROR_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsSetHeader(message: *const WS_MESSAGE, headertype: WS_HEADER_TYPE, valuetype: WS_TYPE, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsSetInput(reader: *const WS_XML_READER, encoding: *const WS_XML_READER_ENCODING, input: *const WS_XML_READER_INPUT, properties: *const WS_XML_READER_PROPERTY, propertycount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsSetInputToBuffer(reader: *const WS_XML_READER, buffer: *const WS_XML_BUFFER, properties: *const WS_XML_READER_PROPERTY, propertycount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsSetListenerProperty(listener: *const WS_LISTENER, id: WS_LISTENER_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsSetMessageProperty(message: *const WS_MESSAGE, id: WS_MESSAGE_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsSetOutput(writer: *const WS_XML_WRITER, encoding: *const WS_XML_WRITER_ENCODING, output: *const WS_XML_WRITER_OUTPUT, properties: *const WS_XML_WRITER_PROPERTY, propertycount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsSetOutputToBuffer(writer: *const WS_XML_WRITER, buffer: *const WS_XML_BUFFER, properties: *const WS_XML_WRITER_PROPERTY, propertycount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsSetReaderPosition(reader: *const WS_XML_READER, nodeposition: *const WS_XML_NODE_POSITION, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsSetWriterPosition(writer: *const WS_XML_WRITER, nodeposition: *const WS_XML_NODE_POSITION, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsShutdownSessionChannel(channel: *const WS_CHANNEL, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsSkipNode(reader: *const WS_XML_READER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsStartReaderCanonicalization(reader: *const WS_XML_READER, writecallback: WS_WRITE_CALLBACK, writecallbackstate: *const ::core::ffi::c_void, properties: *const WS_XML_CANONICALIZATION_PROPERTY, propertycount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsStartWriterCanonicalization(writer: *const WS_XML_WRITER, writecallback: WS_WRITE_CALLBACK, writecallbackstate: *const ::core::ffi::c_void, properties: *const WS_XML_CANONICALIZATION_PROPERTY, propertycount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsTrimXmlWhitespace(chars: ::windows_sys::core::PCWSTR, charcount: u32, trimmedchars: *mut *mut u16, trimmedcount: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsVerifyXmlNCName(ncnamechars: ::windows_sys::core::PCWSTR, ncnamecharcount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsWriteArray(writer: *const WS_XML_WRITER, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, valuetype: WS_VALUE_TYPE, array: *const ::core::ffi::c_void, arraysize: u32, itemoffset: u32, itemcount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsWriteAttribute(writer: *const WS_XML_WRITER, attributedescription: *const WS_ATTRIBUTE_DESCRIPTION, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsWriteBody(message: *const WS_MESSAGE, bodydescription: *const WS_ELEMENT_DESCRIPTION, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteBytes(writer: *const WS_XML_WRITER, bytes: *const ::core::ffi::c_void, bytecount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteChars(writer: *const WS_XML_WRITER, chars: ::windows_sys::core::PCWSTR, charcount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteCharsUtf8(writer: *const WS_XML_WRITER, bytes: *const u8, bytecount: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsWriteElement(writer: *const WS_XML_WRITER, elementdescription: *const WS_ELEMENT_DESCRIPTION, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteEndAttribute(writer: *const WS_XML_WRITER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteEndCData(writer: *const WS_XML_WRITER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteEndElement(writer: *const WS_XML_WRITER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteEndStartElement(writer: *const WS_XML_WRITER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteEnvelopeEnd(message: *const WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteEnvelopeStart(message: *const WS_MESSAGE, writer: *const WS_XML_WRITER, donecallback: WS_MESSAGE_DONE_CALLBACK, donecallbackstate: *const ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteMessageEnd(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteMessageStart(channel: *const WS_CHANNEL, message: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteNode(writer: *const WS_XML_WRITER, node: *const WS_XML_NODE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsWriteQualifiedName(writer: *const WS_XML_WRITER, prefix: *const WS_XML_STRING, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsWriteStartAttribute(writer: *const WS_XML_WRITER, prefix: *const WS_XML_STRING, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, singlequote: super::super::Foundation::BOOL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteStartCData(writer: *const WS_XML_WRITER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsWriteStartElement(writer: *const WS_XML_WRITER, prefix: *const WS_XML_STRING, localname: *const WS_XML_STRING, ns: *const WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteText(writer: *const WS_XML_WRITER, text: *const WS_XML_TEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteType(writer: *const WS_XML_WRITER, typemapping: WS_TYPE_MAPPING, r#type: WS_TYPE, typedescription: *const ::core::ffi::c_void, writeoption: WS_WRITE_OPTION, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteValue(writer: *const WS_XML_WRITER, valuetype: WS_VALUE_TYPE, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteXmlBuffer(writer: *const WS_XML_WRITER, xmlbuffer: *const WS_XML_BUFFER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+ pub fn WsWriteXmlBufferToBytes(writer: *const WS_XML_WRITER, xmlbuffer: *const WS_XML_BUFFER, encoding: *const WS_XML_WRITER_ENCODING, properties: *const WS_XML_WRITER_PROPERTY, propertycount: u32, heap: *const WS_HEAP, bytes: *mut *mut ::core::ffi::c_void, bytecount: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsWriteXmlnsAttribute(writer: *const WS_XML_WRITER, prefix: *const WS_XML_STRING, ns: *const WS_XML_STRING, singlequote: super::super::Foundation::BOOL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WsXmlStringEquals(string1: *const WS_XML_STRING, string2: *const WS_XML_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT;
+}
+pub type IContentPrefetcherTaskTrigger = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_API_CURRENT_VERSION: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_API_VERSION_1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_API_VERSION_2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_API_VERSION_3: u32 = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WEBAUTHN_ASSERTION {
+ pub dwVersion: u32,
+ pub cbAuthenticatorData: u32,
+ pub pbAuthenticatorData: *mut u8,
+ pub cbSignature: u32,
+ pub pbSignature: *mut u8,
+ pub Credential: WEBAUTHN_CREDENTIAL,
+ pub cbUserId: u32,
+ pub pbUserId: *mut u8,
+ pub Extensions: WEBAUTHN_EXTENSIONS,
+ pub cbCredLargeBlob: u32,
+ pub pbCredLargeBlob: *mut u8,
+ pub dwCredLargeBlobStatus: u32,
+}
+impl ::core::marker::Copy for WEBAUTHN_ASSERTION {}
+impl ::core::clone::Clone for WEBAUTHN_ASSERTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ASSERTION_CURRENT_VERSION: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ASSERTION_VERSION_1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ASSERTION_VERSION_2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ATTESTATION_CONVEYANCE_PREFERENCE_ANY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ATTESTATION_CONVEYANCE_PREFERENCE_DIRECT: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ATTESTATION_CONVEYANCE_PREFERENCE_INDIRECT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ATTESTATION_CONVEYANCE_PREFERENCE_NONE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ATTESTATION_DECODE_COMMON: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ATTESTATION_DECODE_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ATTESTATION_TYPE_NONE: &str = "none";
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ATTESTATION_TYPE_PACKED: &str = "packed";
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ATTESTATION_TYPE_TPM: &str = "tpm";
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ATTESTATION_TYPE_U2F: &str = "fido-u2f";
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ATTESTATION_VER_TPM_2_0: &str = "2.0";
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_AUTHENTICATOR_ATTACHMENT_ANY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_AUTHENTICATOR_ATTACHMENT_CROSS_PLATFORM: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_AUTHENTICATOR_ATTACHMENT_CROSS_PLATFORM_U2F_V2: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_AUTHENTICATOR_ATTACHMENT_PLATFORM: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WEBAUTHN_AUTHENTICATOR_GET_ASSERTION_OPTIONS {
+ pub dwVersion: u32,
+ pub dwTimeoutMilliseconds: u32,
+ pub CredentialList: WEBAUTHN_CREDENTIALS,
+ pub Extensions: WEBAUTHN_EXTENSIONS,
+ pub dwAuthenticatorAttachment: u32,
+ pub dwUserVerificationRequirement: u32,
+ pub dwFlags: u32,
+ pub pwszU2fAppId: ::windows_sys::core::PCWSTR,
+ pub pbU2fAppId: *mut super::super::Foundation::BOOL,
+ pub pCancellationId: *mut ::windows_sys::core::GUID,
+ pub pAllowCredentialList: *mut WEBAUTHN_CREDENTIAL_LIST,
+ pub dwCredLargeBlobOperation: u32,
+ pub cbCredLargeBlob: u32,
+ pub pbCredLargeBlob: *mut u8,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WEBAUTHN_AUTHENTICATOR_GET_ASSERTION_OPTIONS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WEBAUTHN_AUTHENTICATOR_GET_ASSERTION_OPTIONS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_AUTHENTICATOR_GET_ASSERTION_OPTIONS_CURRENT_VERSION: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_AUTHENTICATOR_GET_ASSERTION_OPTIONS_VERSION_1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_AUTHENTICATOR_GET_ASSERTION_OPTIONS_VERSION_2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_AUTHENTICATOR_GET_ASSERTION_OPTIONS_VERSION_3: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_AUTHENTICATOR_GET_ASSERTION_OPTIONS_VERSION_4: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_AUTHENTICATOR_GET_ASSERTION_OPTIONS_VERSION_5: u32 = 5u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS {
+ pub dwVersion: u32,
+ pub dwTimeoutMilliseconds: u32,
+ pub CredentialList: WEBAUTHN_CREDENTIALS,
+ pub Extensions: WEBAUTHN_EXTENSIONS,
+ pub dwAuthenticatorAttachment: u32,
+ pub bRequireResidentKey: super::super::Foundation::BOOL,
+ pub dwUserVerificationRequirement: u32,
+ pub dwAttestationConveyancePreference: u32,
+ pub dwFlags: u32,
+ pub pCancellationId: *mut ::windows_sys::core::GUID,
+ pub pExcludeCredentialList: *mut WEBAUTHN_CREDENTIAL_LIST,
+ pub dwEnterpriseAttestation: u32,
+ pub dwLargeBlobSupport: u32,
+ pub bPreferResidentKey: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS_CURRENT_VERSION: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS_VERSION_1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS_VERSION_2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS_VERSION_3: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_AUTHENTICATOR_MAKE_CREDENTIAL_OPTIONS_VERSION_4: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WEBAUTHN_CLIENT_DATA {
+ pub dwVersion: u32,
+ pub cbClientDataJSON: u32,
+ pub pbClientDataJSON: *mut u8,
+ pub pwszHashAlgId: ::windows_sys::core::PCWSTR,
+}
+impl ::core::marker::Copy for WEBAUTHN_CLIENT_DATA {}
+impl ::core::clone::Clone for WEBAUTHN_CLIENT_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CLIENT_DATA_CURRENT_VERSION: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WEBAUTHN_COMMON_ATTESTATION {
+ pub dwVersion: u32,
+ pub pwszAlg: ::windows_sys::core::PCWSTR,
+ pub lAlg: i32,
+ pub cbSignature: u32,
+ pub pbSignature: *mut u8,
+ pub cX5c: u32,
+ pub pX5c: *mut WEBAUTHN_X5C,
+ pub pwszVer: ::windows_sys::core::PCWSTR,
+ pub cbCertInfo: u32,
+ pub pbCertInfo: *mut u8,
+ pub cbPubArea: u32,
+ pub pbPubArea: *mut u8,
+}
+impl ::core::marker::Copy for WEBAUTHN_COMMON_ATTESTATION {}
+impl ::core::clone::Clone for WEBAUTHN_COMMON_ATTESTATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_COMMON_ATTESTATION_CURRENT_VERSION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_COSE_ALGORITHM_ECDSA_P256_WITH_SHA256: i32 = -7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_COSE_ALGORITHM_ECDSA_P384_WITH_SHA384: i32 = -35i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_COSE_ALGORITHM_ECDSA_P521_WITH_SHA512: i32 = -36i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_COSE_ALGORITHM_RSASSA_PKCS1_V1_5_WITH_SHA256: i32 = -257i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_COSE_ALGORITHM_RSASSA_PKCS1_V1_5_WITH_SHA384: i32 = -258i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_COSE_ALGORITHM_RSASSA_PKCS1_V1_5_WITH_SHA512: i32 = -259i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_COSE_ALGORITHM_RSA_PSS_WITH_SHA256: i32 = -37i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_COSE_ALGORITHM_RSA_PSS_WITH_SHA384: i32 = -38i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_COSE_ALGORITHM_RSA_PSS_WITH_SHA512: i32 = -39i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WEBAUTHN_COSE_CREDENTIAL_PARAMETER {
+ pub dwVersion: u32,
+ pub pwszCredentialType: ::windows_sys::core::PCWSTR,
+ pub lAlg: i32,
+}
+impl ::core::marker::Copy for WEBAUTHN_COSE_CREDENTIAL_PARAMETER {}
+impl ::core::clone::Clone for WEBAUTHN_COSE_CREDENTIAL_PARAMETER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WEBAUTHN_COSE_CREDENTIAL_PARAMETERS {
+ pub cCredentialParameters: u32,
+ pub pCredentialParameters: *mut WEBAUTHN_COSE_CREDENTIAL_PARAMETER,
+}
+impl ::core::marker::Copy for WEBAUTHN_COSE_CREDENTIAL_PARAMETERS {}
+impl ::core::clone::Clone for WEBAUTHN_COSE_CREDENTIAL_PARAMETERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_COSE_CREDENTIAL_PARAMETER_CURRENT_VERSION: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WEBAUTHN_CREDENTIAL {
+ pub dwVersion: u32,
+ pub cbId: u32,
+ pub pbId: *mut u8,
+ pub pwszCredentialType: ::windows_sys::core::PCWSTR,
+}
+impl ::core::marker::Copy for WEBAUTHN_CREDENTIAL {}
+impl ::core::clone::Clone for WEBAUTHN_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WEBAUTHN_CREDENTIALS {
+ pub cCredentials: u32,
+ pub pCredentials: *mut WEBAUTHN_CREDENTIAL,
+}
+impl ::core::marker::Copy for WEBAUTHN_CREDENTIALS {}
+impl ::core::clone::Clone for WEBAUTHN_CREDENTIALS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WEBAUTHN_CREDENTIAL_ATTESTATION {
+ pub dwVersion: u32,
+ pub pwszFormatType: ::windows_sys::core::PCWSTR,
+ pub cbAuthenticatorData: u32,
+ pub pbAuthenticatorData: *mut u8,
+ pub cbAttestation: u32,
+ pub pbAttestation: *mut u8,
+ pub dwAttestationDecodeType: u32,
+ pub pvAttestationDecode: *mut ::core::ffi::c_void,
+ pub cbAttestationObject: u32,
+ pub pbAttestationObject: *mut u8,
+ pub cbCredentialId: u32,
+ pub pbCredentialId: *mut u8,
+ pub Extensions: WEBAUTHN_EXTENSIONS,
+ pub dwUsedTransport: u32,
+ pub bEpAtt: super::super::Foundation::BOOL,
+ pub bLargeBlobSupported: super::super::Foundation::BOOL,
+ pub bResidentKey: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WEBAUTHN_CREDENTIAL_ATTESTATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WEBAUTHN_CREDENTIAL_ATTESTATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CREDENTIAL_ATTESTATION_CURRENT_VERSION: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CREDENTIAL_ATTESTATION_VERSION_1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CREDENTIAL_ATTESTATION_VERSION_2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CREDENTIAL_ATTESTATION_VERSION_3: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CREDENTIAL_ATTESTATION_VERSION_4: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CREDENTIAL_CURRENT_VERSION: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WEBAUTHN_CREDENTIAL_EX {
+ pub dwVersion: u32,
+ pub cbId: u32,
+ pub pbId: *mut u8,
+ pub pwszCredentialType: ::windows_sys::core::PCWSTR,
+ pub dwTransports: u32,
+}
+impl ::core::marker::Copy for WEBAUTHN_CREDENTIAL_EX {}
+impl ::core::clone::Clone for WEBAUTHN_CREDENTIAL_EX {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CREDENTIAL_EX_CURRENT_VERSION: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WEBAUTHN_CREDENTIAL_LIST {
+ pub cCredentials: u32,
+ pub ppCredentials: *mut *mut WEBAUTHN_CREDENTIAL_EX,
+}
+impl ::core::marker::Copy for WEBAUTHN_CREDENTIAL_LIST {}
+impl ::core::clone::Clone for WEBAUTHN_CREDENTIAL_LIST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CREDENTIAL_TYPE_PUBLIC_KEY: &str = "public-key";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WEBAUTHN_CRED_BLOB_EXTENSION {
+ pub cbCredBlob: u32,
+ pub pbCredBlob: *mut u8,
+}
+impl ::core::marker::Copy for WEBAUTHN_CRED_BLOB_EXTENSION {}
+impl ::core::clone::Clone for WEBAUTHN_CRED_BLOB_EXTENSION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CRED_LARGE_BLOB_OPERATION_DELETE: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CRED_LARGE_BLOB_OPERATION_GET: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CRED_LARGE_BLOB_OPERATION_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CRED_LARGE_BLOB_OPERATION_SET: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CRED_LARGE_BLOB_STATUS_AUTHENTICATOR_ERROR: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CRED_LARGE_BLOB_STATUS_INVALID_DATA: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CRED_LARGE_BLOB_STATUS_INVALID_PARAMETER: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CRED_LARGE_BLOB_STATUS_LACK_OF_SPACE: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CRED_LARGE_BLOB_STATUS_MULTIPLE_CREDENTIALS: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CRED_LARGE_BLOB_STATUS_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CRED_LARGE_BLOB_STATUS_NOT_FOUND: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CRED_LARGE_BLOB_STATUS_NOT_SUPPORTED: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CRED_LARGE_BLOB_STATUS_PLATFORM_ERROR: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CRED_LARGE_BLOB_STATUS_SUCCESS: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WEBAUTHN_CRED_PROTECT_EXTENSION_IN {
+ pub dwCredProtect: u32,
+ pub bRequireCredProtect: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WEBAUTHN_CRED_PROTECT_EXTENSION_IN {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WEBAUTHN_CRED_PROTECT_EXTENSION_IN {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CTAP_TRANSPORT_BLE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CTAP_TRANSPORT_FLAGS_MASK: u32 = 31u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CTAP_TRANSPORT_INTERNAL: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CTAP_TRANSPORT_NFC: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CTAP_TRANSPORT_TEST: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_CTAP_TRANSPORT_USB: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ENTERPRISE_ATTESTATION_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ENTERPRISE_ATTESTATION_PLATFORM_MANAGED: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_ENTERPRISE_ATTESTATION_VENDOR_FACILITATED: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WEBAUTHN_EXTENSION {
+ pub pwszExtensionIdentifier: ::windows_sys::core::PCWSTR,
+ pub cbExtension: u32,
+ pub pvExtension: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for WEBAUTHN_EXTENSION {}
+impl ::core::clone::Clone for WEBAUTHN_EXTENSION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WEBAUTHN_EXTENSIONS {
+ pub cExtensions: u32,
+ pub pExtensions: *mut WEBAUTHN_EXTENSION,
+}
+impl ::core::marker::Copy for WEBAUTHN_EXTENSIONS {}
+impl ::core::clone::Clone for WEBAUTHN_EXTENSIONS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_EXTENSIONS_IDENTIFIER_CRED_BLOB: &str = "credBlob";
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_EXTENSIONS_IDENTIFIER_CRED_PROTECT: &str = "credProtect";
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_EXTENSIONS_IDENTIFIER_HMAC_SECRET: &str = "hmac-secret";
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_EXTENSIONS_IDENTIFIER_MIN_PIN_LENGTH: &str = "minPinLength";
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_HASH_ALGORITHM_SHA_256: &str = "SHA-256";
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_HASH_ALGORITHM_SHA_384: &str = "SHA-384";
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_HASH_ALGORITHM_SHA_512: &str = "SHA-512";
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_LARGE_BLOB_SUPPORT_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_LARGE_BLOB_SUPPORT_PREFERRED: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_LARGE_BLOB_SUPPORT_REQUIRED: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_MAX_USER_ID_LENGTH: u32 = 64u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WEBAUTHN_RP_ENTITY_INFORMATION {
+ pub dwVersion: u32,
+ pub pwszId: ::windows_sys::core::PCWSTR,
+ pub pwszName: ::windows_sys::core::PCWSTR,
+ pub pwszIcon: ::windows_sys::core::PCWSTR,
+}
+impl ::core::marker::Copy for WEBAUTHN_RP_ENTITY_INFORMATION {}
+impl ::core::clone::Clone for WEBAUTHN_RP_ENTITY_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_RP_ENTITY_INFORMATION_CURRENT_VERSION: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WEBAUTHN_USER_ENTITY_INFORMATION {
+ pub dwVersion: u32,
+ pub cbId: u32,
+ pub pbId: *mut u8,
+ pub pwszName: ::windows_sys::core::PCWSTR,
+ pub pwszIcon: ::windows_sys::core::PCWSTR,
+ pub pwszDisplayName: ::windows_sys::core::PCWSTR,
+}
+impl ::core::marker::Copy for WEBAUTHN_USER_ENTITY_INFORMATION {}
+impl ::core::clone::Clone for WEBAUTHN_USER_ENTITY_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_USER_ENTITY_INFORMATION_CURRENT_VERSION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_USER_VERIFICATION_ANY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_USER_VERIFICATION_OPTIONAL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_USER_VERIFICATION_OPTIONAL_WITH_CREDENTIAL_ID_LIST: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_USER_VERIFICATION_REQUIRED: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_USER_VERIFICATION_REQUIREMENT_ANY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_USER_VERIFICATION_REQUIREMENT_DISCOURAGED: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_USER_VERIFICATION_REQUIREMENT_PREFERRED: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WEBAUTHN_USER_VERIFICATION_REQUIREMENT_REQUIRED: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WEBAUTHN_X5C {
+ pub cbData: u32,
+ pub pbData: *mut u8,
+}
+impl ::core::marker::Copy for WEBAUTHN_X5C {}
+impl ::core::clone::Clone for WEBAUTHN_X5C {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ABANDON_MESSAGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(channelinstance: *const ::core::ffi::c_void, message: *const WS_MESSAGE, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ABORT_CHANNEL_CALLBACK = ::core::option::Option<unsafe extern "system" fn(channelinstance: *const ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ABORT_LISTENER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(listenerinstance: *const ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ACCEPT_CHANNEL_CALLBACK = ::core::option::Option<unsafe extern "system" fn(listenerinstance: *const ::core::ffi::c_void, channelinstance: *const ::core::ffi::c_void, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ADDRESSING_VERSION = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ADDRESSING_VERSION_0_9: WS_ADDRESSING_VERSION = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ADDRESSING_VERSION_1_0: WS_ADDRESSING_VERSION = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ADDRESSING_VERSION_TRANSPORT: WS_ADDRESSING_VERSION = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_ANY_ATTRIBUTE {
+ pub localName: WS_XML_STRING,
+ pub ns: WS_XML_STRING,
+ pub value: *mut WS_XML_TEXT,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_ANY_ATTRIBUTE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_ANY_ATTRIBUTE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_ANY_ATTRIBUTES {
+ pub attributes: *mut WS_ANY_ATTRIBUTE,
+ pub attributeCount: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_ANY_ATTRIBUTES {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_ANY_ATTRIBUTES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ASYNC_CALLBACK = ::core::option::Option<unsafe extern "system" fn(errorcode: ::windows_sys::core::HRESULT, callbackmodel: WS_CALLBACK_MODEL, callbackstate: *const ::core::ffi::c_void)>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_ASYNC_CONTEXT {
+ pub callback: WS_ASYNC_CALLBACK,
+ pub callbackState: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for WS_ASYNC_CONTEXT {}
+impl ::core::clone::Clone for WS_ASYNC_CONTEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ASYNC_FUNCTION = ::core::option::Option<unsafe extern "system" fn(hr: ::windows_sys::core::HRESULT, callbackmodel: WS_CALLBACK_MODEL, callbackstate: *const ::core::ffi::c_void, next: *mut WS_ASYNC_OPERATION, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_ASYNC_OPERATION {
+ pub function: WS_ASYNC_FUNCTION,
+}
+impl ::core::marker::Copy for WS_ASYNC_OPERATION {}
+impl ::core::clone::Clone for WS_ASYNC_OPERATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_ASYNC_STATE {
+ pub internal0: *mut ::core::ffi::c_void,
+ pub internal1: *mut ::core::ffi::c_void,
+ pub internal2: *mut ::core::ffi::c_void,
+ pub internal3: *mut ::core::ffi::c_void,
+ pub internal4: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for WS_ASYNC_STATE {}
+impl ::core::clone::Clone for WS_ASYNC_STATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_ATTRIBUTE_DESCRIPTION {
+ pub attributeLocalName: *mut WS_XML_STRING,
+ pub attributeNs: *mut WS_XML_STRING,
+ pub r#type: WS_TYPE,
+ pub typeDescription: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_ATTRIBUTE_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_ATTRIBUTE_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_BINDING_TEMPLATE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_BINDING_TEMPLATE_TYPE: WS_BINDING_TEMPLATE_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_SSL_BINDING_TEMPLATE_TYPE: WS_BINDING_TEMPLATE_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_HEADER_AUTH_BINDING_TEMPLATE_TYPE: WS_BINDING_TEMPLATE_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_SSL_HEADER_AUTH_BINDING_TEMPLATE_TYPE: WS_BINDING_TEMPLATE_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_SSL_USERNAME_BINDING_TEMPLATE_TYPE: WS_BINDING_TEMPLATE_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_SSL_KERBEROS_APREQ_BINDING_TEMPLATE_TYPE: WS_BINDING_TEMPLATE_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TCP_BINDING_TEMPLATE_TYPE: WS_BINDING_TEMPLATE_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TCP_SSPI_BINDING_TEMPLATE_TYPE: WS_BINDING_TEMPLATE_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TCP_SSPI_USERNAME_BINDING_TEMPLATE_TYPE: WS_BINDING_TEMPLATE_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TCP_SSPI_KERBEROS_APREQ_BINDING_TEMPLATE_TYPE: WS_BINDING_TEMPLATE_TYPE = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_SSL_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE: WS_BINDING_TEMPLATE_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_SSL_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE: WS_BINDING_TEMPLATE_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TCP_SSPI_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE: WS_BINDING_TEMPLATE_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TCP_SSPI_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE_TYPE: WS_BINDING_TEMPLATE_TYPE = 13i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_BOOL_DESCRIPTION {
+ pub value: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_BOOL_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_BOOL_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_BUFFERS {
+ pub bufferCount: u32,
+ pub buffers: *mut WS_BYTES,
+}
+impl ::core::marker::Copy for WS_BUFFERS {}
+impl ::core::clone::Clone for WS_BUFFERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_BYTES {
+ pub length: u32,
+ pub bytes: *mut u8,
+}
+impl ::core::marker::Copy for WS_BYTES {}
+impl ::core::clone::Clone for WS_BYTES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_BYTES_DESCRIPTION {
+ pub minByteCount: u32,
+ pub maxByteCount: u32,
+}
+impl ::core::marker::Copy for WS_BYTES_DESCRIPTION {}
+impl ::core::clone::Clone for WS_BYTES_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_BYTE_ARRAY_DESCRIPTION {
+ pub minByteCount: u32,
+ pub maxByteCount: u32,
+}
+impl ::core::marker::Copy for WS_BYTE_ARRAY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_BYTE_ARRAY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_CALLBACK_MODEL = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SHORT_CALLBACK: WS_CALLBACK_MODEL = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LONG_CALLBACK: WS_CALLBACK_MODEL = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_CALL_PROPERTY {
+ pub id: WS_CALL_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_CALL_PROPERTY {}
+impl ::core::clone::Clone for WS_CALL_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_CALL_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CALL_PROPERTY_CHECK_MUST_UNDERSTAND: WS_CALL_PROPERTY_ID = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CALL_PROPERTY_SEND_MESSAGE_CONTEXT: WS_CALL_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CALL_PROPERTY_RECEIVE_MESSAGE_CONTEXT: WS_CALL_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CALL_PROPERTY_CALL_ID: WS_CALL_PROPERTY_ID = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_CAPI_ASYMMETRIC_SECURITY_KEY_HANDLE {
+ pub keyHandle: WS_SECURITY_KEY_HANDLE,
+ pub provider: usize,
+ pub keySpec: u32,
+}
+impl ::core::marker::Copy for WS_CAPI_ASYMMETRIC_SECURITY_KEY_HANDLE {}
+impl ::core::clone::Clone for WS_CAPI_ASYMMETRIC_SECURITY_KEY_HANDLE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub type WS_CERTIFICATE_VALIDATION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(certcontext: *const super::super::Security::Cryptography::CERT_CONTEXT, state: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub struct WS_CERTIFICATE_VALIDATION_CALLBACK_CONTEXT {
+ pub callback: WS_CERTIFICATE_VALIDATION_CALLBACK,
+ pub state: *mut ::core::ffi::c_void,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for WS_CERTIFICATE_VALIDATION_CALLBACK_CONTEXT {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for WS_CERTIFICATE_VALIDATION_CALLBACK_CONTEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_CERT_CREDENTIAL {
+ pub credentialType: WS_CERT_CREDENTIAL_TYPE,
+}
+impl ::core::marker::Copy for WS_CERT_CREDENTIAL {}
+impl ::core::clone::Clone for WS_CERT_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_CERT_CREDENTIAL_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SUBJECT_NAME_CERT_CREDENTIAL_TYPE: WS_CERT_CREDENTIAL_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_THUMBPRINT_CERT_CREDENTIAL_TYPE: WS_CERT_CREDENTIAL_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CUSTOM_CERT_CREDENTIAL_TYPE: WS_CERT_CREDENTIAL_TYPE = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_CERT_ENDPOINT_IDENTITY {
+ pub identity: WS_ENDPOINT_IDENTITY,
+ pub rawCertificateData: WS_BYTES,
+}
+impl ::core::marker::Copy for WS_CERT_ENDPOINT_IDENTITY {}
+impl ::core::clone::Clone for WS_CERT_ENDPOINT_IDENTITY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CERT_FAILURE_CN_MISMATCH: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CERT_FAILURE_INVALID_DATE: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CERT_FAILURE_REVOCATION_OFFLINE: i32 = 16i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CERT_FAILURE_UNTRUSTED_ROOT: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CERT_FAILURE_WRONG_USAGE: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))]
+pub type WS_CERT_ISSUER_LIST_NOTIFICATION_CALLBACK = ::core::option::Option<unsafe extern "system" fn(certissuerlistnotificationcallbackstate: *const ::core::ffi::c_void, issuerlist: *const super::super::Security::Authentication::Identity::SecPkgContext_IssuerListInfoEx, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_CERT_MESSAGE_SECURITY_BINDING_CONSTRAINT {
+ pub bindingConstraint: WS_SECURITY_BINDING_CONSTRAINT,
+ pub bindingUsage: WS_MESSAGE_SECURITY_USAGE,
+}
+impl ::core::marker::Copy for WS_CERT_MESSAGE_SECURITY_BINDING_CONSTRAINT {}
+impl ::core::clone::Clone for WS_CERT_MESSAGE_SECURITY_BINDING_CONSTRAINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub struct WS_CERT_SIGNED_SAML_AUTHENTICATOR {
+ pub authenticator: WS_SAML_AUTHENTICATOR,
+ pub trustedIssuerCerts: *const *const super::super::Security::Cryptography::CERT_CONTEXT,
+ pub trustedIssuerCertCount: u32,
+ pub decryptionCert: *const super::super::Security::Cryptography::CERT_CONTEXT,
+ pub samlValidator: WS_VALIDATE_SAML_CALLBACK,
+ pub samlValidatorCallbackState: *mut ::core::ffi::c_void,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for WS_CERT_SIGNED_SAML_AUTHENTICATOR {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for WS_CERT_SIGNED_SAML_AUTHENTICATOR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+pub struct WS_CHANNEL(pub u8);
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_CHANNEL_BINDING = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_CHANNEL_BINDING: WS_CHANNEL_BINDING = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TCP_CHANNEL_BINDING: WS_CHANNEL_BINDING = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_UDP_CHANNEL_BINDING: WS_CHANNEL_BINDING = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CUSTOM_CHANNEL_BINDING: WS_CHANNEL_BINDING = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_NAMEDPIPE_CHANNEL_BINDING: WS_CHANNEL_BINDING = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_CHANNEL_DECODER {
+ pub createContext: *mut ::core::ffi::c_void,
+ pub createDecoderCallback: WS_CREATE_DECODER_CALLBACK,
+ pub decoderGetContentTypeCallback: WS_DECODER_GET_CONTENT_TYPE_CALLBACK,
+ pub decoderStartCallback: WS_DECODER_START_CALLBACK,
+ pub decoderDecodeCallback: WS_DECODER_DECODE_CALLBACK,
+ pub decoderEndCallback: WS_DECODER_END_CALLBACK,
+ pub freeDecoderCallback: WS_FREE_DECODER_CALLBACK,
+}
+impl ::core::marker::Copy for WS_CHANNEL_DECODER {}
+impl ::core::clone::Clone for WS_CHANNEL_DECODER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_CHANNEL_ENCODER {
+ pub createContext: *mut ::core::ffi::c_void,
+ pub createEncoderCallback: WS_CREATE_ENCODER_CALLBACK,
+ pub encoderGetContentTypeCallback: WS_ENCODER_GET_CONTENT_TYPE_CALLBACK,
+ pub encoderStartCallback: WS_ENCODER_START_CALLBACK,
+ pub encoderEncodeCallback: WS_ENCODER_ENCODE_CALLBACK,
+ pub encoderEndCallback: WS_ENCODER_END_CALLBACK,
+ pub freeEncoderCallback: WS_FREE_ENCODER_CALLBACK,
+}
+impl ::core::marker::Copy for WS_CHANNEL_ENCODER {}
+impl ::core::clone::Clone for WS_CHANNEL_ENCODER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_CHANNEL_PROPERTIES {
+ pub properties: *mut WS_CHANNEL_PROPERTY,
+ pub propertyCount: u32,
+}
+impl ::core::marker::Copy for WS_CHANNEL_PROPERTIES {}
+impl ::core::clone::Clone for WS_CHANNEL_PROPERTIES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_CHANNEL_PROPERTY {
+ pub id: WS_CHANNEL_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_CHANNEL_PROPERTY {}
+impl ::core::clone::Clone for WS_CHANNEL_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_CHANNEL_PROPERTY_CONSTRAINT {
+ pub id: WS_CHANNEL_PROPERTY_ID,
+ pub allowedValues: *mut ::core::ffi::c_void,
+ pub allowedValuesSize: u32,
+ pub out: WS_CHANNEL_PROPERTY_CONSTRAINT_0,
+}
+impl ::core::marker::Copy for WS_CHANNEL_PROPERTY_CONSTRAINT {}
+impl ::core::clone::Clone for WS_CHANNEL_PROPERTY_CONSTRAINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_CHANNEL_PROPERTY_CONSTRAINT_0 {
+ pub channelProperty: WS_CHANNEL_PROPERTY,
+}
+impl ::core::marker::Copy for WS_CHANNEL_PROPERTY_CONSTRAINT_0 {}
+impl ::core::clone::Clone for WS_CHANNEL_PROPERTY_CONSTRAINT_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_CHANNEL_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_MAX_BUFFERED_MESSAGE_SIZE: WS_CHANNEL_PROPERTY_ID = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_MAX_STREAMED_MESSAGE_SIZE: WS_CHANNEL_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_MAX_STREAMED_START_SIZE: WS_CHANNEL_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_MAX_STREAMED_FLUSH_SIZE: WS_CHANNEL_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_ENCODING: WS_CHANNEL_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_ENVELOPE_VERSION: WS_CHANNEL_PROPERTY_ID = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_ADDRESSING_VERSION: WS_CHANNEL_PROPERTY_ID = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_MAX_SESSION_DICTIONARY_SIZE: WS_CHANNEL_PROPERTY_ID = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_STATE: WS_CHANNEL_PROPERTY_ID = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_ASYNC_CALLBACK_MODEL: WS_CHANNEL_PROPERTY_ID = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_IP_VERSION: WS_CHANNEL_PROPERTY_ID = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_RESOLVE_TIMEOUT: WS_CHANNEL_PROPERTY_ID = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_CONNECT_TIMEOUT: WS_CHANNEL_PROPERTY_ID = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_SEND_TIMEOUT: WS_CHANNEL_PROPERTY_ID = 13i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_RECEIVE_RESPONSE_TIMEOUT: WS_CHANNEL_PROPERTY_ID = 14i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_RECEIVE_TIMEOUT: WS_CHANNEL_PROPERTY_ID = 15i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_CLOSE_TIMEOUT: WS_CHANNEL_PROPERTY_ID = 16i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_ENABLE_TIMEOUTS: WS_CHANNEL_PROPERTY_ID = 17i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_TRANSFER_MODE: WS_CHANNEL_PROPERTY_ID = 18i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_MULTICAST_INTERFACE: WS_CHANNEL_PROPERTY_ID = 19i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_MULTICAST_HOPS: WS_CHANNEL_PROPERTY_ID = 20i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_REMOTE_ADDRESS: WS_CHANNEL_PROPERTY_ID = 21i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_REMOTE_IP_ADDRESS: WS_CHANNEL_PROPERTY_ID = 22i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_HTTP_CONNECTION_ID: WS_CHANNEL_PROPERTY_ID = 23i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_CALLBACKS: WS_CHANNEL_PROPERTY_ID = 24i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_PARAMETERS: WS_CHANNEL_PROPERTY_ID = 25i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_CUSTOM_CHANNEL_INSTANCE: WS_CHANNEL_PROPERTY_ID = 26i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_TRANSPORT_URL: WS_CHANNEL_PROPERTY_ID = 27i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_NO_DELAY: WS_CHANNEL_PROPERTY_ID = 28i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_SEND_KEEP_ALIVES: WS_CHANNEL_PROPERTY_ID = 29i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_KEEP_ALIVE_TIME: WS_CHANNEL_PROPERTY_ID = 30i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_KEEP_ALIVE_INTERVAL: WS_CHANNEL_PROPERTY_ID = 31i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_MAX_HTTP_SERVER_CONNECTIONS: WS_CHANNEL_PROPERTY_ID = 32i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_IS_SESSION_SHUT_DOWN: WS_CHANNEL_PROPERTY_ID = 33i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_CHANNEL_TYPE: WS_CHANNEL_PROPERTY_ID = 34i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_TRIM_BUFFERED_MESSAGE_SIZE: WS_CHANNEL_PROPERTY_ID = 35i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_ENCODER: WS_CHANNEL_PROPERTY_ID = 36i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_DECODER: WS_CHANNEL_PROPERTY_ID = 37i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_PROTECTION_LEVEL: WS_CHANNEL_PROPERTY_ID = 38i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_COOKIE_MODE: WS_CHANNEL_PROPERTY_ID = 39i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_HTTP_PROXY_SETTING_MODE: WS_CHANNEL_PROPERTY_ID = 40i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_CUSTOM_HTTP_PROXY: WS_CHANNEL_PROPERTY_ID = 41i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_HTTP_MESSAGE_MAPPING: WS_CHANNEL_PROPERTY_ID = 42i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_ENABLE_HTTP_REDIRECT: WS_CHANNEL_PROPERTY_ID = 43i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_HTTP_REDIRECT_CALLBACK_CONTEXT: WS_CHANNEL_PROPERTY_ID = 44i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_FAULTS_AS_ERRORS: WS_CHANNEL_PROPERTY_ID = 45i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_ALLOW_UNSECURED_FAULTS: WS_CHANNEL_PROPERTY_ID = 46i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_HTTP_SERVER_SPN: WS_CHANNEL_PROPERTY_ID = 47i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_HTTP_PROXY_SPN: WS_CHANNEL_PROPERTY_ID = 48i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_PROPERTY_MAX_HTTP_REQUEST_HEADERS_BUFFER_SIZE: WS_CHANNEL_PROPERTY_ID = 49i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_CHANNEL_STATE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_STATE_CREATED: WS_CHANNEL_STATE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_STATE_OPENING: WS_CHANNEL_STATE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_STATE_ACCEPTING: WS_CHANNEL_STATE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_STATE_OPEN: WS_CHANNEL_STATE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_STATE_FAULTED: WS_CHANNEL_STATE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_STATE_CLOSING: WS_CHANNEL_STATE = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_STATE_CLOSED: WS_CHANNEL_STATE = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_CHANNEL_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_TYPE_INPUT: WS_CHANNEL_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_TYPE_OUTPUT: WS_CHANNEL_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_TYPE_SESSION: WS_CHANNEL_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_TYPE_INPUT_SESSION: WS_CHANNEL_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_TYPE_OUTPUT_SESSION: WS_CHANNEL_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_TYPE_DUPLEX: WS_CHANNEL_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_TYPE_DUPLEX_SESSION: WS_CHANNEL_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_TYPE_REQUEST: WS_CHANNEL_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHANNEL_TYPE_REPLY: WS_CHANNEL_TYPE = 16i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_CHARSET = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHARSET_AUTO: WS_CHARSET = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHARSET_UTF8: WS_CHARSET = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHARSET_UTF16LE: WS_CHARSET = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHARSET_UTF16BE: WS_CHARSET = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_CHAR_ARRAY_DESCRIPTION {
+ pub minCharCount: u32,
+ pub maxCharCount: u32,
+}
+impl ::core::marker::Copy for WS_CHAR_ARRAY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_CHAR_ARRAY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_CLOSE_CHANNEL_CALLBACK = ::core::option::Option<unsafe extern "system" fn(channelinstance: *const ::core::ffi::c_void, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_CLOSE_LISTENER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(listenerinstance: *const ::core::ffi::c_void, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_CONTRACT_DESCRIPTION {
+ pub operationCount: u32,
+ pub operations: *mut *mut WS_OPERATION_DESCRIPTION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_CONTRACT_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_CONTRACT_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_COOKIE_MODE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MANUAL_COOKIE_MODE: WS_COOKIE_MODE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_AUTO_COOKIE_MODE: WS_COOKIE_MODE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_CREATE_CHANNEL_CALLBACK = ::core::option::Option<unsafe extern "system" fn(channeltype: WS_CHANNEL_TYPE, channelparameters: *const ::core::ffi::c_void, channelparameterssize: u32, channelinstance: *mut *mut ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_CREATE_CHANNEL_FOR_LISTENER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(listenerinstance: *const ::core::ffi::c_void, channelparameters: *const ::core::ffi::c_void, channelparameterssize: u32, channelinstance: *mut *mut ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_CREATE_DECODER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(createcontext: *const ::core::ffi::c_void, readcallback: WS_READ_CALLBACK, readcontext: *const ::core::ffi::c_void, decodercontext: *mut *mut ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_CREATE_ENCODER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(createcontext: *const ::core::ffi::c_void, writecallback: WS_WRITE_CALLBACK, writecontext: *const ::core::ffi::c_void, encodercontext: *mut *mut ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_CREATE_LISTENER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(channeltype: WS_CHANNEL_TYPE, listenerparameters: *const ::core::ffi::c_void, listenerparameterssize: u32, listenerinstance: *mut *mut ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))]
+pub struct WS_CUSTOM_CERT_CREDENTIAL {
+ pub credential: WS_CERT_CREDENTIAL,
+ pub getCertCallback: WS_GET_CERT_CALLBACK,
+ pub getCertCallbackState: *mut ::core::ffi::c_void,
+ pub certIssuerListNotificationCallback: WS_CERT_ISSUER_LIST_NOTIFICATION_CALLBACK,
+ pub certIssuerListNotificationCallbackState: *mut ::core::ffi::c_void,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for WS_CUSTOM_CERT_CREDENTIAL {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for WS_CUSTOM_CERT_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_CUSTOM_CHANNEL_CALLBACKS {
+ pub createChannelCallback: WS_CREATE_CHANNEL_CALLBACK,
+ pub freeChannelCallback: WS_FREE_CHANNEL_CALLBACK,
+ pub resetChannelCallback: WS_RESET_CHANNEL_CALLBACK,
+ pub openChannelCallback: WS_OPEN_CHANNEL_CALLBACK,
+ pub closeChannelCallback: WS_CLOSE_CHANNEL_CALLBACK,
+ pub abortChannelCallback: WS_ABORT_CHANNEL_CALLBACK,
+ pub getChannelPropertyCallback: WS_GET_CHANNEL_PROPERTY_CALLBACK,
+ pub setChannelPropertyCallback: WS_SET_CHANNEL_PROPERTY_CALLBACK,
+ pub writeMessageStartCallback: WS_WRITE_MESSAGE_START_CALLBACK,
+ pub writeMessageEndCallback: WS_WRITE_MESSAGE_END_CALLBACK,
+ pub readMessageStartCallback: WS_READ_MESSAGE_START_CALLBACK,
+ pub readMessageEndCallback: WS_READ_MESSAGE_END_CALLBACK,
+ pub abandonMessageCallback: WS_ABANDON_MESSAGE_CALLBACK,
+ pub shutdownSessionChannelCallback: WS_SHUTDOWN_SESSION_CHANNEL_CALLBACK,
+}
+impl ::core::marker::Copy for WS_CUSTOM_CHANNEL_CALLBACKS {}
+impl ::core::clone::Clone for WS_CUSTOM_CHANNEL_CALLBACKS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_CUSTOM_HTTP_PROXY {
+ pub servers: WS_STRING,
+ pub bypass: WS_STRING,
+}
+impl ::core::marker::Copy for WS_CUSTOM_HTTP_PROXY {}
+impl ::core::clone::Clone for WS_CUSTOM_HTTP_PROXY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_CUSTOM_LISTENER_CALLBACKS {
+ pub createListenerCallback: WS_CREATE_LISTENER_CALLBACK,
+ pub freeListenerCallback: WS_FREE_LISTENER_CALLBACK,
+ pub resetListenerCallback: WS_RESET_LISTENER_CALLBACK,
+ pub openListenerCallback: WS_OPEN_LISTENER_CALLBACK,
+ pub closeListenerCallback: WS_CLOSE_LISTENER_CALLBACK,
+ pub abortListenerCallback: WS_ABORT_LISTENER_CALLBACK,
+ pub getListenerPropertyCallback: WS_GET_LISTENER_PROPERTY_CALLBACK,
+ pub setListenerPropertyCallback: WS_SET_LISTENER_PROPERTY_CALLBACK,
+ pub createChannelForListenerCallback: WS_CREATE_CHANNEL_FOR_LISTENER_CALLBACK,
+ pub acceptChannelCallback: WS_ACCEPT_CHANNEL_CALLBACK,
+}
+impl ::core::marker::Copy for WS_CUSTOM_LISTENER_CALLBACKS {}
+impl ::core::clone::Clone for WS_CUSTOM_LISTENER_CALLBACKS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_CUSTOM_TYPE_DESCRIPTION {
+ pub size: u32,
+ pub alignment: u32,
+ pub readCallback: WS_READ_TYPE_CALLBACK,
+ pub writeCallback: WS_WRITE_TYPE_CALLBACK,
+ pub descriptionData: *mut ::core::ffi::c_void,
+ pub isDefaultValueCallback: WS_IS_DEFAULT_VALUE_CALLBACK,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_CUSTOM_TYPE_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_CUSTOM_TYPE_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_DATETIME {
+ pub ticks: u64,
+ pub format: WS_DATETIME_FORMAT,
+}
+impl ::core::marker::Copy for WS_DATETIME {}
+impl ::core::clone::Clone for WS_DATETIME {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_DATETIME_DESCRIPTION {
+ pub minValue: WS_DATETIME,
+ pub maxValue: WS_DATETIME,
+}
+impl ::core::marker::Copy for WS_DATETIME_DESCRIPTION {}
+impl ::core::clone::Clone for WS_DATETIME_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_DATETIME_FORMAT = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_DATETIME_FORMAT_UTC: WS_DATETIME_FORMAT = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_DATETIME_FORMAT_LOCAL: WS_DATETIME_FORMAT = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_DATETIME_FORMAT_NONE: WS_DATETIME_FORMAT = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_DECIMAL_DESCRIPTION {
+ pub minValue: super::super::Foundation::DECIMAL,
+ pub maxValue: super::super::Foundation::DECIMAL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_DECIMAL_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_DECIMAL_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_DECODER_DECODE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(encodercontext: *const ::core::ffi::c_void, buffer: *mut ::core::ffi::c_void, maxlength: u32, length: *mut u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_DECODER_END_CALLBACK = ::core::option::Option<unsafe extern "system" fn(encodercontext: *const ::core::ffi::c_void, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_DECODER_GET_CONTENT_TYPE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(decodercontext: *const ::core::ffi::c_void, contenttype: *const WS_STRING, contentencoding: *const WS_STRING, newcontenttype: *mut WS_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_DECODER_START_CALLBACK = ::core::option::Option<unsafe extern "system" fn(encodercontext: *const ::core::ffi::c_void, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_DEFAULT_VALUE {
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_DEFAULT_VALUE {}
+impl ::core::clone::Clone for WS_DEFAULT_VALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_DEFAULT_WINDOWS_INTEGRATED_AUTH_CREDENTIAL {
+ pub credential: WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL,
+}
+impl ::core::marker::Copy for WS_DEFAULT_WINDOWS_INTEGRATED_AUTH_CREDENTIAL {}
+impl ::core::clone::Clone for WS_DEFAULT_WINDOWS_INTEGRATED_AUTH_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_DISALLOWED_USER_AGENT_SUBSTRINGS {
+ pub subStringCount: u32,
+ pub subStrings: *mut *mut WS_STRING,
+}
+impl ::core::marker::Copy for WS_DISALLOWED_USER_AGENT_SUBSTRINGS {}
+impl ::core::clone::Clone for WS_DISALLOWED_USER_AGENT_SUBSTRINGS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_DNS_ENDPOINT_IDENTITY {
+ pub identity: WS_ENDPOINT_IDENTITY,
+ pub dns: WS_STRING,
+}
+impl ::core::marker::Copy for WS_DNS_ENDPOINT_IDENTITY {}
+impl ::core::clone::Clone for WS_DNS_ENDPOINT_IDENTITY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_DOUBLE_DESCRIPTION {
+ pub minValue: f64,
+ pub maxValue: f64,
+}
+impl ::core::marker::Copy for WS_DOUBLE_DESCRIPTION {}
+impl ::core::clone::Clone for WS_DOUBLE_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_DURATION {
+ pub negative: super::super::Foundation::BOOL,
+ pub years: u32,
+ pub months: u32,
+ pub days: u32,
+ pub hours: u32,
+ pub minutes: u32,
+ pub seconds: u32,
+ pub milliseconds: u32,
+ pub ticks: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_DURATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_DURATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type WS_DURATION_COMPARISON_CALLBACK = ::core::option::Option<unsafe extern "system" fn(duration1: *const WS_DURATION, duration2: *const WS_DURATION, result: *mut i32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_DURATION_DESCRIPTION {
+ pub minValue: WS_DURATION,
+ pub maxValue: WS_DURATION,
+ pub comparer: WS_DURATION_COMPARISON_CALLBACK,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_DURATION_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_DURATION_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type WS_DYNAMIC_STRING_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callbackstate: *const ::core::ffi::c_void, string: *const WS_XML_STRING, found: *mut super::super::Foundation::BOOL, id: *mut u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_ELEMENT_DESCRIPTION {
+ pub elementLocalName: *mut WS_XML_STRING,
+ pub elementNs: *mut WS_XML_STRING,
+ pub r#type: WS_TYPE,
+ pub typeDescription: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_ELEMENT_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_ELEMENT_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ENCODER_ENCODE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(encodercontext: *const ::core::ffi::c_void, buffers: *const WS_BYTES, count: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ENCODER_END_CALLBACK = ::core::option::Option<unsafe extern "system" fn(encodercontext: *const ::core::ffi::c_void, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ENCODER_GET_CONTENT_TYPE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(encodercontext: *const ::core::ffi::c_void, contenttype: *const WS_STRING, newcontenttype: *mut WS_STRING, contentencoding: *mut WS_STRING, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ENCODER_START_CALLBACK = ::core::option::Option<unsafe extern "system" fn(encodercontext: *const ::core::ffi::c_void, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ENCODING = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENCODING_XML_BINARY_1: WS_ENCODING = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENCODING_XML_BINARY_SESSION_1: WS_ENCODING = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENCODING_XML_MTOM_UTF8: WS_ENCODING = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENCODING_XML_MTOM_UTF16BE: WS_ENCODING = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENCODING_XML_MTOM_UTF16LE: WS_ENCODING = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENCODING_XML_UTF8: WS_ENCODING = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENCODING_XML_UTF16BE: WS_ENCODING = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENCODING_XML_UTF16LE: WS_ENCODING = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENCODING_RAW: WS_ENCODING = 8i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_ENDPOINT_ADDRESS {
+ pub url: WS_STRING,
+ pub headers: *mut WS_XML_BUFFER,
+ pub extensions: *mut WS_XML_BUFFER,
+ pub identity: *mut WS_ENDPOINT_IDENTITY,
+}
+impl ::core::marker::Copy for WS_ENDPOINT_ADDRESS {}
+impl ::core::clone::Clone for WS_ENDPOINT_ADDRESS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_ENDPOINT_ADDRESS_DESCRIPTION {
+ pub addressingVersion: WS_ADDRESSING_VERSION,
+}
+impl ::core::marker::Copy for WS_ENDPOINT_ADDRESS_DESCRIPTION {}
+impl ::core::clone::Clone for WS_ENDPOINT_ADDRESS_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ENDPOINT_ADDRESS_EXTENSION_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENDPOINT_ADDRESS_EXTENSION_METADATA_ADDRESS: WS_ENDPOINT_ADDRESS_EXTENSION_TYPE = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_ENDPOINT_IDENTITY {
+ pub identityType: WS_ENDPOINT_IDENTITY_TYPE,
+}
+impl ::core::marker::Copy for WS_ENDPOINT_IDENTITY {}
+impl ::core::clone::Clone for WS_ENDPOINT_IDENTITY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ENDPOINT_IDENTITY_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_DNS_ENDPOINT_IDENTITY_TYPE: WS_ENDPOINT_IDENTITY_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_UPN_ENDPOINT_IDENTITY_TYPE: WS_ENDPOINT_IDENTITY_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SPN_ENDPOINT_IDENTITY_TYPE: WS_ENDPOINT_IDENTITY_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_RSA_ENDPOINT_IDENTITY_TYPE: WS_ENDPOINT_IDENTITY_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CERT_ENDPOINT_IDENTITY_TYPE: WS_ENDPOINT_IDENTITY_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_UNKNOWN_ENDPOINT_IDENTITY_TYPE: WS_ENDPOINT_IDENTITY_TYPE = 6i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_ENDPOINT_POLICY_EXTENSION {
+ pub policyExtension: WS_POLICY_EXTENSION,
+ pub assertionName: *mut WS_XML_STRING,
+ pub assertionNs: *mut WS_XML_STRING,
+ pub out: WS_ENDPOINT_POLICY_EXTENSION_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_ENDPOINT_POLICY_EXTENSION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_ENDPOINT_POLICY_EXTENSION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_ENDPOINT_POLICY_EXTENSION_0 {
+ pub assertionValue: *mut WS_XML_BUFFER,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_ENDPOINT_POLICY_EXTENSION_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_ENDPOINT_POLICY_EXTENSION_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_ENUM_DESCRIPTION {
+ pub values: *mut WS_ENUM_VALUE,
+ pub valueCount: u32,
+ pub maxByteCount: u32,
+ pub nameIndices: *mut u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_ENUM_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_ENUM_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_ENUM_VALUE {
+ pub value: i32,
+ pub name: *mut WS_XML_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_ENUM_VALUE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_ENUM_VALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ENVELOPE_VERSION = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENVELOPE_VERSION_SOAP_1_1: WS_ENVELOPE_VERSION = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENVELOPE_VERSION_SOAP_1_2: WS_ENVELOPE_VERSION = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENVELOPE_VERSION_NONE: WS_ENVELOPE_VERSION = 3i32;
+#[repr(C)]
+pub struct WS_ERROR(pub u8);
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_ERROR_PROPERTY {
+ pub id: WS_ERROR_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_ERROR_PROPERTY {}
+impl ::core::clone::Clone for WS_ERROR_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_ERROR_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ERROR_PROPERTY_STRING_COUNT: WS_ERROR_PROPERTY_ID = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ERROR_PROPERTY_ORIGINAL_ERROR_CODE: WS_ERROR_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ERROR_PROPERTY_LANGID: WS_ERROR_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_EXCEPTION_CODE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_EXCEPTION_CODE_USAGE_FAILURE: WS_EXCEPTION_CODE = -1069744128i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_EXCEPTION_CODE_INTERNAL_FAILURE: WS_EXCEPTION_CODE = -1069744127i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_EXTENDED_PROTECTION_POLICY = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_EXTENDED_PROTECTION_POLICY_NEVER: WS_EXTENDED_PROTECTION_POLICY = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_EXTENDED_PROTECTION_POLICY_WHEN_SUPPORTED: WS_EXTENDED_PROTECTION_POLICY = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_EXTENDED_PROTECTION_POLICY_ALWAYS: WS_EXTENDED_PROTECTION_POLICY = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_EXTENDED_PROTECTION_SCENARIO = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_EXTENDED_PROTECTION_SCENARIO_BOUND_SERVER: WS_EXTENDED_PROTECTION_SCENARIO = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_EXTENDED_PROTECTION_SCENARIO_TERMINATED_SSL: WS_EXTENDED_PROTECTION_SCENARIO = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_FAULT {
+ pub code: *mut WS_FAULT_CODE,
+ pub reasons: *mut WS_FAULT_REASON,
+ pub reasonCount: u32,
+ pub actor: WS_STRING,
+ pub node: WS_STRING,
+ pub detail: *mut WS_XML_BUFFER,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_FAULT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_FAULT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_FAULT_CODE {
+ pub value: WS_XML_QNAME,
+ pub subCode: *mut WS_FAULT_CODE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_FAULT_CODE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_FAULT_CODE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_FAULT_DESCRIPTION {
+ pub envelopeVersion: WS_ENVELOPE_VERSION,
+}
+impl ::core::marker::Copy for WS_FAULT_DESCRIPTION {}
+impl ::core::clone::Clone for WS_FAULT_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_FAULT_DETAIL_DESCRIPTION {
+ pub action: *mut WS_XML_STRING,
+ pub detailElementDescription: *mut WS_ELEMENT_DESCRIPTION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_FAULT_DETAIL_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_FAULT_DETAIL_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_FAULT_DISCLOSURE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MINIMAL_FAULT_DISCLOSURE: WS_FAULT_DISCLOSURE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_FULL_FAULT_DISCLOSURE: WS_FAULT_DISCLOSURE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_FAULT_ERROR_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_FAULT_ERROR_PROPERTY_FAULT: WS_FAULT_ERROR_PROPERTY_ID = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_FAULT_ERROR_PROPERTY_ACTION: WS_FAULT_ERROR_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_FAULT_ERROR_PROPERTY_HEADER: WS_FAULT_ERROR_PROPERTY_ID = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_FAULT_REASON {
+ pub text: WS_STRING,
+ pub lang: WS_STRING,
+}
+impl ::core::marker::Copy for WS_FAULT_REASON {}
+impl ::core::clone::Clone for WS_FAULT_REASON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_FIELD_DESCRIPTION {
+ pub mapping: WS_FIELD_MAPPING,
+ pub localName: *mut WS_XML_STRING,
+ pub ns: *mut WS_XML_STRING,
+ pub r#type: WS_TYPE,
+ pub typeDescription: *mut ::core::ffi::c_void,
+ pub offset: u32,
+ pub options: u32,
+ pub defaultValue: *mut WS_DEFAULT_VALUE,
+ pub countOffset: u32,
+ pub itemLocalName: *mut WS_XML_STRING,
+ pub itemNs: *mut WS_XML_STRING,
+ pub itemRange: *mut WS_ITEM_RANGE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_FIELD_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_FIELD_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_FIELD_MAPPING = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TYPE_ATTRIBUTE_FIELD_MAPPING: WS_FIELD_MAPPING = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ATTRIBUTE_FIELD_MAPPING: WS_FIELD_MAPPING = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ELEMENT_FIELD_MAPPING: WS_FIELD_MAPPING = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REPEATING_ELEMENT_FIELD_MAPPING: WS_FIELD_MAPPING = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TEXT_FIELD_MAPPING: WS_FIELD_MAPPING = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_NO_FIELD_MAPPING: WS_FIELD_MAPPING = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_ATTRIBUTE_FIELD_MAPPING: WS_FIELD_MAPPING = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ELEMENT_CHOICE_FIELD_MAPPING: WS_FIELD_MAPPING = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REPEATING_ELEMENT_CHOICE_FIELD_MAPPING: WS_FIELD_MAPPING = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ANY_ELEMENT_FIELD_MAPPING: WS_FIELD_MAPPING = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REPEATING_ANY_ELEMENT_FIELD_MAPPING: WS_FIELD_MAPPING = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ANY_CONTENT_FIELD_MAPPING: WS_FIELD_MAPPING = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ANY_ATTRIBUTES_FIELD_MAPPING: WS_FIELD_MAPPING = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_FIELD_NILLABLE: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_FIELD_NILLABLE_ITEM: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_FIELD_OPTIONAL: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_FIELD_OTHER_NAMESPACE: i32 = 16i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_FIELD_POINTER: i32 = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_FLOAT_DESCRIPTION {
+ pub minValue: f32,
+ pub maxValue: f32,
+}
+impl ::core::marker::Copy for WS_FLOAT_DESCRIPTION {}
+impl ::core::clone::Clone for WS_FLOAT_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_FREE_CHANNEL_CALLBACK = ::core::option::Option<unsafe extern "system" fn(channelinstance: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_FREE_DECODER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(decodercontext: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_FREE_ENCODER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(encodercontext: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_FREE_LISTENER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(listenerinstance: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub type WS_GET_CERT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(getcertcallbackstate: *const ::core::ffi::c_void, targetaddress: *const WS_ENDPOINT_ADDRESS, viauri: *const WS_STRING, cert: *mut *mut super::super::Security::Cryptography::CERT_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_GET_CHANNEL_PROPERTY_CALLBACK = ::core::option::Option<unsafe extern "system" fn(channelinstance: *const ::core::ffi::c_void, id: WS_CHANNEL_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_GET_LISTENER_PROPERTY_CALLBACK = ::core::option::Option<unsafe extern "system" fn(listenerinstance: *const ::core::ffi::c_void, id: WS_LISTENER_PROPERTY_ID, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_GUID_DESCRIPTION {
+ pub value: ::windows_sys::core::GUID,
+}
+impl ::core::marker::Copy for WS_GUID_DESCRIPTION {}
+impl ::core::clone::Clone for WS_GUID_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_HEADER_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ACTION_HEADER: WS_HEADER_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TO_HEADER: WS_HEADER_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_ID_HEADER: WS_HEADER_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_RELATES_TO_HEADER: WS_HEADER_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_FROM_HEADER: WS_HEADER_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REPLY_TO_HEADER: WS_HEADER_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_FAULT_TO_HEADER: WS_HEADER_TYPE = 7i32;
+#[repr(C)]
+pub struct WS_HEAP(pub u8);
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HEAP_PROPERTIES {
+ pub properties: *mut WS_HEAP_PROPERTY,
+ pub propertyCount: u32,
+}
+impl ::core::marker::Copy for WS_HEAP_PROPERTIES {}
+impl ::core::clone::Clone for WS_HEAP_PROPERTIES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HEAP_PROPERTY {
+ pub id: WS_HEAP_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_HEAP_PROPERTY {}
+impl ::core::clone::Clone for WS_HEAP_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_HEAP_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HEAP_PROPERTY_MAX_SIZE: WS_HEAP_PROPERTY_ID = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HEAP_PROPERTY_TRIM_SIZE: WS_HEAP_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HEAP_PROPERTY_REQUESTED_SIZE: WS_HEAP_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HEAP_PROPERTY_ACTUAL_SIZE: WS_HEAP_PROPERTY_ID = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HOST_NAMES {
+ pub hostNames: *mut WS_STRING,
+ pub hostNameCount: u32,
+}
+impl ::core::marker::Copy for WS_HOST_NAMES {}
+impl ::core::clone::Clone for WS_HOST_NAMES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTPS_URL {
+ pub url: WS_URL,
+ pub host: WS_STRING,
+ pub port: u16,
+ pub portAsString: WS_STRING,
+ pub path: WS_STRING,
+ pub query: WS_STRING,
+ pub fragment: WS_STRING,
+}
+impl ::core::marker::Copy for WS_HTTPS_URL {}
+impl ::core::clone::Clone for WS_HTTPS_URL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_BINDING_TEMPLATE {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+}
+impl ::core::marker::Copy for WS_HTTP_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_HTTP_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_HEADER_AUTH_BINDING_TEMPLATE {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub httpHeaderAuthSecurityBinding: WS_HTTP_HEADER_AUTH_SECURITY_BINDING_TEMPLATE,
+}
+impl ::core::marker::Copy for WS_HTTP_HEADER_AUTH_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_HTTP_HEADER_AUTH_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_HEADER_AUTH_POLICY_DESCRIPTION {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub httpHeaderAuthSecurityBinding: WS_HTTP_HEADER_AUTH_SECURITY_BINDING_POLICY_DESCRIPTION,
+}
+impl ::core::marker::Copy for WS_HTTP_HEADER_AUTH_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_HTTP_HEADER_AUTH_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_HEADER_AUTH_SCHEME_BASIC: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_HEADER_AUTH_SCHEME_DIGEST: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_HEADER_AUTH_SCHEME_NEGOTIATE: i32 = 16i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_HEADER_AUTH_SCHEME_NONE: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_HEADER_AUTH_SCHEME_NTLM: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_HEADER_AUTH_SCHEME_PASSPORT: i32 = 32i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_HEADER_AUTH_SECURITY_BINDING {
+ pub binding: WS_SECURITY_BINDING,
+ pub clientCredential: *mut WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL,
+}
+impl ::core::marker::Copy for WS_HTTP_HEADER_AUTH_SECURITY_BINDING {}
+impl ::core::clone::Clone for WS_HTTP_HEADER_AUTH_SECURITY_BINDING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_HEADER_AUTH_SECURITY_BINDING_CONSTRAINT {
+ pub bindingConstraint: WS_SECURITY_BINDING_CONSTRAINT,
+}
+impl ::core::marker::Copy for WS_HTTP_HEADER_AUTH_SECURITY_BINDING_CONSTRAINT {}
+impl ::core::clone::Clone for WS_HTTP_HEADER_AUTH_SECURITY_BINDING_CONSTRAINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_HEADER_AUTH_SECURITY_BINDING_POLICY_DESCRIPTION {
+ pub securityBindingProperties: WS_SECURITY_BINDING_PROPERTIES,
+}
+impl ::core::marker::Copy for WS_HTTP_HEADER_AUTH_SECURITY_BINDING_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_HTTP_HEADER_AUTH_SECURITY_BINDING_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_HEADER_AUTH_SECURITY_BINDING_TEMPLATE {
+ pub securityBindingProperties: WS_SECURITY_BINDING_PROPERTIES,
+ pub clientCredential: *mut WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL,
+}
+impl ::core::marker::Copy for WS_HTTP_HEADER_AUTH_SECURITY_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_HTTP_HEADER_AUTH_SECURITY_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_HTTP_HEADER_AUTH_TARGET = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_HEADER_AUTH_TARGET_SERVICE: WS_HTTP_HEADER_AUTH_TARGET = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_HEADER_AUTH_TARGET_PROXY: WS_HTTP_HEADER_AUTH_TARGET = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_HTTP_HEADER_MAPPING {
+ pub headerName: WS_XML_STRING,
+ pub headerMappingOptions: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_HTTP_HEADER_MAPPING {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_HTTP_HEADER_MAPPING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_HEADER_MAPPING_COMMA_SEPARATOR: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_HEADER_MAPPING_QUOTED_VALUE: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_HEADER_MAPPING_SEMICOLON_SEPARATOR: i32 = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_HTTP_MESSAGE_MAPPING {
+ pub requestMappingOptions: u32,
+ pub responseMappingOptions: u32,
+ pub requestHeaderMappings: *mut *mut WS_HTTP_HEADER_MAPPING,
+ pub requestHeaderMappingCount: u32,
+ pub responseHeaderMappings: *mut *mut WS_HTTP_HEADER_MAPPING,
+ pub responseHeaderMappingCount: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_HTTP_MESSAGE_MAPPING {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_HTTP_MESSAGE_MAPPING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_POLICY_DESCRIPTION {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+}
+impl ::core::marker::Copy for WS_HTTP_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_HTTP_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_HTTP_PROXY_SETTING_MODE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_PROXY_SETTING_MODE_AUTO: WS_HTTP_PROXY_SETTING_MODE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_PROXY_SETTING_MODE_NONE: WS_HTTP_PROXY_SETTING_MODE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_PROXY_SETTING_MODE_CUSTOM: WS_HTTP_PROXY_SETTING_MODE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_HTTP_REDIRECT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(state: *const ::core::ffi::c_void, originalurl: *const WS_STRING, newurl: *const WS_STRING) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_REDIRECT_CALLBACK_CONTEXT {
+ pub callback: WS_HTTP_REDIRECT_CALLBACK,
+ pub state: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for WS_HTTP_REDIRECT_CALLBACK_CONTEXT {}
+impl ::core::clone::Clone for WS_HTTP_REDIRECT_CALLBACK_CONTEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_REQUEST_MAPPING_VERB: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_RESPONSE_MAPPING_STATUS_CODE: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_RESPONSE_MAPPING_STATUS_TEXT: i32 = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_SSL_BINDING_TEMPLATE {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sslTransportSecurityBinding: WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE,
+}
+impl ::core::marker::Copy for WS_HTTP_SSL_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_HTTP_SSL_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_SSL_HEADER_AUTH_BINDING_TEMPLATE {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sslTransportSecurityBinding: WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE,
+ pub httpHeaderAuthSecurityBinding: WS_HTTP_HEADER_AUTH_SECURITY_BINDING_TEMPLATE,
+}
+impl ::core::marker::Copy for WS_HTTP_SSL_HEADER_AUTH_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_HTTP_SSL_HEADER_AUTH_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_SSL_HEADER_AUTH_POLICY_DESCRIPTION {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sslTransportSecurityBinding: WS_SSL_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION,
+ pub httpHeaderAuthSecurityBinding: WS_HTTP_HEADER_AUTH_SECURITY_BINDING_POLICY_DESCRIPTION,
+}
+impl ::core::marker::Copy for WS_HTTP_SSL_HEADER_AUTH_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_HTTP_SSL_HEADER_AUTH_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_SSL_KERBEROS_APREQ_BINDING_TEMPLATE {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sslTransportSecurityBinding: WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE,
+ pub kerberosApreqMessageSecurityBinding: WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_TEMPLATE,
+}
+impl ::core::marker::Copy for WS_HTTP_SSL_KERBEROS_APREQ_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_HTTP_SSL_KERBEROS_APREQ_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_SSL_KERBEROS_APREQ_POLICY_DESCRIPTION {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sslTransportSecurityBinding: WS_SSL_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION,
+ pub kerberosApreqMessageSecurityBinding: WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION,
+}
+impl ::core::marker::Copy for WS_HTTP_SSL_KERBEROS_APREQ_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_HTTP_SSL_KERBEROS_APREQ_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_SSL_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sslTransportSecurityBinding: WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE,
+ pub kerberosApreqMessageSecurityBinding: WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_TEMPLATE,
+ pub securityContextSecurityBinding: WS_SECURITY_CONTEXT_SECURITY_BINDING_TEMPLATE,
+}
+impl ::core::marker::Copy for WS_HTTP_SSL_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_HTTP_SSL_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_SSL_KERBEROS_APREQ_SECURITY_CONTEXT_POLICY_DESCRIPTION {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sslTransportSecurityBinding: WS_SSL_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION,
+ pub kerberosApreqMessageSecurityBinding: WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION,
+ pub securityContextSecurityBinding: WS_SECURITY_CONTEXT_SECURITY_BINDING_POLICY_DESCRIPTION,
+}
+impl ::core::marker::Copy for WS_HTTP_SSL_KERBEROS_APREQ_SECURITY_CONTEXT_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_HTTP_SSL_KERBEROS_APREQ_SECURITY_CONTEXT_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_SSL_POLICY_DESCRIPTION {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sslTransportSecurityBinding: WS_SSL_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION,
+}
+impl ::core::marker::Copy for WS_HTTP_SSL_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_HTTP_SSL_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_SSL_USERNAME_BINDING_TEMPLATE {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sslTransportSecurityBinding: WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE,
+ pub usernameMessageSecurityBinding: WS_USERNAME_MESSAGE_SECURITY_BINDING_TEMPLATE,
+}
+impl ::core::marker::Copy for WS_HTTP_SSL_USERNAME_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_HTTP_SSL_USERNAME_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_SSL_USERNAME_POLICY_DESCRIPTION {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sslTransportSecurityBinding: WS_SSL_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION,
+ pub usernameMessageSecurityBinding: WS_USERNAME_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION,
+}
+impl ::core::marker::Copy for WS_HTTP_SSL_USERNAME_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_HTTP_SSL_USERNAME_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_SSL_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sslTransportSecurityBinding: WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE,
+ pub usernameMessageSecurityBinding: WS_USERNAME_MESSAGE_SECURITY_BINDING_TEMPLATE,
+ pub securityContextSecurityBinding: WS_SECURITY_CONTEXT_SECURITY_BINDING_TEMPLATE,
+}
+impl ::core::marker::Copy for WS_HTTP_SSL_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_HTTP_SSL_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_SSL_USERNAME_SECURITY_CONTEXT_POLICY_DESCRIPTION {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sslTransportSecurityBinding: WS_SSL_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION,
+ pub usernameMessageSecurityBinding: WS_USERNAME_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION,
+ pub securityContextSecurityBinding: WS_SECURITY_CONTEXT_SECURITY_BINDING_POLICY_DESCRIPTION,
+}
+impl ::core::marker::Copy for WS_HTTP_SSL_USERNAME_SECURITY_CONTEXT_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_HTTP_SSL_USERNAME_SECURITY_CONTEXT_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_HTTP_URL {
+ pub url: WS_URL,
+ pub host: WS_STRING,
+ pub port: u16,
+ pub portAsString: WS_STRING,
+ pub path: WS_STRING,
+ pub query: WS_STRING,
+ pub fragment: WS_STRING,
+}
+impl ::core::marker::Copy for WS_HTTP_URL {}
+impl ::core::clone::Clone for WS_HTTP_URL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_INT16_DESCRIPTION {
+ pub minValue: i16,
+ pub maxValue: i16,
+}
+impl ::core::marker::Copy for WS_INT16_DESCRIPTION {}
+impl ::core::clone::Clone for WS_INT16_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_INT32_DESCRIPTION {
+ pub minValue: i32,
+ pub maxValue: i32,
+}
+impl ::core::marker::Copy for WS_INT32_DESCRIPTION {}
+impl ::core::clone::Clone for WS_INT32_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_INT64_DESCRIPTION {
+ pub minValue: i64,
+ pub maxValue: i64,
+}
+impl ::core::marker::Copy for WS_INT64_DESCRIPTION {}
+impl ::core::clone::Clone for WS_INT64_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_INT8_DESCRIPTION {
+ pub minValue: super::super::Foundation::CHAR,
+ pub maxValue: super::super::Foundation::CHAR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_INT8_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_INT8_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_IP_VERSION = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_IP_VERSION_4: WS_IP_VERSION = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_IP_VERSION_6: WS_IP_VERSION = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_IP_VERSION_AUTO: WS_IP_VERSION = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_ISSUED_TOKEN_MESSAGE_SECURITY_BINDING_CONSTRAINT {
+ pub bindingConstraint: WS_SECURITY_BINDING_CONSTRAINT,
+ pub bindingUsage: WS_MESSAGE_SECURITY_USAGE,
+ pub claimConstraints: *mut WS_XML_STRING,
+ pub claimConstraintCount: u32,
+ pub requestSecurityTokenPropertyConstraints: *mut WS_REQUEST_SECURITY_TOKEN_PROPERTY_CONSTRAINT,
+ pub requestSecurityTokenPropertyConstraintCount: u32,
+ pub out: WS_ISSUED_TOKEN_MESSAGE_SECURITY_BINDING_CONSTRAINT_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_ISSUED_TOKEN_MESSAGE_SECURITY_BINDING_CONSTRAINT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_ISSUED_TOKEN_MESSAGE_SECURITY_BINDING_CONSTRAINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_ISSUED_TOKEN_MESSAGE_SECURITY_BINDING_CONSTRAINT_0 {
+ pub issuerAddress: *mut WS_ENDPOINT_ADDRESS,
+ pub requestSecurityTokenTemplate: *mut WS_XML_BUFFER,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_ISSUED_TOKEN_MESSAGE_SECURITY_BINDING_CONSTRAINT_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_ISSUED_TOKEN_MESSAGE_SECURITY_BINDING_CONSTRAINT_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type WS_IS_DEFAULT_VALUE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(descriptiondata: *const ::core::ffi::c_void, value: *const ::core::ffi::c_void, defaultvalue: *const ::core::ffi::c_void, valuesize: u32, isdefault: *mut super::super::Foundation::BOOL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_ITEM_RANGE {
+ pub minItemCount: u32,
+ pub maxItemCount: u32,
+}
+impl ::core::marker::Copy for WS_ITEM_RANGE {}
+impl ::core::clone::Clone for WS_ITEM_RANGE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING {
+ pub binding: WS_SECURITY_BINDING,
+ pub bindingUsage: WS_MESSAGE_SECURITY_USAGE,
+ pub clientCredential: *mut WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL,
+}
+impl ::core::marker::Copy for WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING {}
+impl ::core::clone::Clone for WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_CONSTRAINT {
+ pub bindingConstraint: WS_SECURITY_BINDING_CONSTRAINT,
+ pub bindingUsage: WS_MESSAGE_SECURITY_USAGE,
+}
+impl ::core::marker::Copy for WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_CONSTRAINT {}
+impl ::core::clone::Clone for WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_CONSTRAINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION {
+ pub securityBindingProperties: WS_SECURITY_BINDING_PROPERTIES,
+ pub bindingUsage: WS_MESSAGE_SECURITY_USAGE,
+}
+impl ::core::marker::Copy for WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_TEMPLATE {
+ pub securityBindingProperties: WS_SECURITY_BINDING_PROPERTIES,
+ pub clientCredential: *mut WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL,
+}
+impl ::core::marker::Copy for WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+pub struct WS_LISTENER(pub u8);
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_LISTENER_PROPERTIES {
+ pub properties: *mut WS_LISTENER_PROPERTY,
+ pub propertyCount: u32,
+}
+impl ::core::marker::Copy for WS_LISTENER_PROPERTIES {}
+impl ::core::clone::Clone for WS_LISTENER_PROPERTIES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_LISTENER_PROPERTY {
+ pub id: WS_LISTENER_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_LISTENER_PROPERTY {}
+impl ::core::clone::Clone for WS_LISTENER_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_LISTENER_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_LISTEN_BACKLOG: WS_LISTENER_PROPERTY_ID = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_IP_VERSION: WS_LISTENER_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_STATE: WS_LISTENER_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_ASYNC_CALLBACK_MODEL: WS_LISTENER_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_CHANNEL_TYPE: WS_LISTENER_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_CHANNEL_BINDING: WS_LISTENER_PROPERTY_ID = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_CONNECT_TIMEOUT: WS_LISTENER_PROPERTY_ID = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_IS_MULTICAST: WS_LISTENER_PROPERTY_ID = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_MULTICAST_INTERFACES: WS_LISTENER_PROPERTY_ID = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_MULTICAST_LOOPBACK: WS_LISTENER_PROPERTY_ID = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_CLOSE_TIMEOUT: WS_LISTENER_PROPERTY_ID = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_TO_HEADER_MATCHING_OPTIONS: WS_LISTENER_PROPERTY_ID = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_TRANSPORT_URL_MATCHING_OPTIONS: WS_LISTENER_PROPERTY_ID = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_CUSTOM_LISTENER_CALLBACKS: WS_LISTENER_PROPERTY_ID = 13i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_CUSTOM_LISTENER_PARAMETERS: WS_LISTENER_PROPERTY_ID = 14i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_CUSTOM_LISTENER_INSTANCE: WS_LISTENER_PROPERTY_ID = 15i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_PROPERTY_DISALLOWED_USER_AGENT: WS_LISTENER_PROPERTY_ID = 16i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_LISTENER_STATE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_STATE_CREATED: WS_LISTENER_STATE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_STATE_OPENING: WS_LISTENER_STATE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_STATE_OPEN: WS_LISTENER_STATE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_STATE_FAULTED: WS_LISTENER_STATE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_STATE_CLOSING: WS_LISTENER_STATE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_LISTENER_STATE_CLOSED: WS_LISTENER_STATE = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MATCH_URL_DNS_FULLY_QUALIFIED_HOST: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MATCH_URL_DNS_HOST: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MATCH_URL_EXACT_PATH: i32 = 64i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MATCH_URL_HOST_ADDRESSES: i32 = 16i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MATCH_URL_LOCAL_HOST: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MATCH_URL_NETBIOS_HOST: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MATCH_URL_NO_QUERY: i32 = 256i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MATCH_URL_PORT: i32 = 32i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MATCH_URL_PREFIX_PATH: i32 = 128i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MATCH_URL_THIS_HOST: i32 = 31i32;
+#[repr(C)]
+pub struct WS_MESSAGE(pub u8);
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_MESSAGE_DESCRIPTION {
+ pub action: *mut WS_XML_STRING,
+ pub bodyElementDescription: *mut WS_ELEMENT_DESCRIPTION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_MESSAGE_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_MESSAGE_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_MESSAGE_DONE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(donecallbackstate: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_MESSAGE_INITIALIZATION = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_BLANK_MESSAGE: WS_MESSAGE_INITIALIZATION = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_DUPLICATE_MESSAGE: WS_MESSAGE_INITIALIZATION = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_MESSAGE: WS_MESSAGE_INITIALIZATION = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REPLY_MESSAGE: WS_MESSAGE_INITIALIZATION = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_FAULT_MESSAGE: WS_MESSAGE_INITIALIZATION = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_MESSAGE_PROPERTIES {
+ pub properties: *mut WS_MESSAGE_PROPERTY,
+ pub propertyCount: u32,
+}
+impl ::core::marker::Copy for WS_MESSAGE_PROPERTIES {}
+impl ::core::clone::Clone for WS_MESSAGE_PROPERTIES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_MESSAGE_PROPERTY {
+ pub id: WS_MESSAGE_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_MESSAGE_PROPERTY {}
+impl ::core::clone::Clone for WS_MESSAGE_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_MESSAGE_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_STATE: WS_MESSAGE_PROPERTY_ID = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_HEAP: WS_MESSAGE_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_ENVELOPE_VERSION: WS_MESSAGE_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_ADDRESSING_VERSION: WS_MESSAGE_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_HEADER_BUFFER: WS_MESSAGE_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_HEADER_POSITION: WS_MESSAGE_PROPERTY_ID = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_BODY_READER: WS_MESSAGE_PROPERTY_ID = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_BODY_WRITER: WS_MESSAGE_PROPERTY_ID = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_IS_ADDRESSED: WS_MESSAGE_PROPERTY_ID = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_HEAP_PROPERTIES: WS_MESSAGE_PROPERTY_ID = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_XML_READER_PROPERTIES: WS_MESSAGE_PROPERTY_ID = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_XML_WRITER_PROPERTIES: WS_MESSAGE_PROPERTY_ID = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_IS_FAULT: WS_MESSAGE_PROPERTY_ID = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_MAX_PROCESSED_HEADERS: WS_MESSAGE_PROPERTY_ID = 13i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_USERNAME: WS_MESSAGE_PROPERTY_ID = 14i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_ENCODED_CERT: WS_MESSAGE_PROPERTY_ID = 15i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_TRANSPORT_SECURITY_WINDOWS_TOKEN: WS_MESSAGE_PROPERTY_ID = 16i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_HTTP_HEADER_AUTH_WINDOWS_TOKEN: WS_MESSAGE_PROPERTY_ID = 17i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_MESSAGE_SECURITY_WINDOWS_TOKEN: WS_MESSAGE_PROPERTY_ID = 18i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_SAML_ASSERTION: WS_MESSAGE_PROPERTY_ID = 19i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_SECURITY_CONTEXT: WS_MESSAGE_PROPERTY_ID = 20i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_PROPERTY_PROTECTION_LEVEL: WS_MESSAGE_PROPERTY_ID = 21i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_MESSAGE_SECURITY_USAGE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SUPPORTING_MESSAGE_SECURITY_USAGE: WS_MESSAGE_SECURITY_USAGE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_MESSAGE_STATE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_STATE_EMPTY: WS_MESSAGE_STATE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_STATE_INITIALIZED: WS_MESSAGE_STATE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_STATE_READING: WS_MESSAGE_STATE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_STATE_WRITING: WS_MESSAGE_STATE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MESSAGE_STATE_DONE: WS_MESSAGE_STATE = 5i32;
+#[repr(C)]
+pub struct WS_METADATA(pub u8);
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_METADATA_ENDPOINT {
+ pub endpointAddress: WS_ENDPOINT_ADDRESS,
+ pub endpointPolicy: *mut WS_POLICY,
+ pub portName: *mut WS_XML_STRING,
+ pub serviceName: *mut WS_XML_STRING,
+ pub serviceNs: *mut WS_XML_STRING,
+ pub bindingName: *mut WS_XML_STRING,
+ pub bindingNs: *mut WS_XML_STRING,
+ pub portTypeName: *mut WS_XML_STRING,
+ pub portTypeNs: *mut WS_XML_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_METADATA_ENDPOINT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_METADATA_ENDPOINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_METADATA_ENDPOINTS {
+ pub endpoints: *mut WS_METADATA_ENDPOINT,
+ pub endpointCount: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_METADATA_ENDPOINTS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_METADATA_ENDPOINTS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_METADATA_EXCHANGE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_METADATA_EXCHANGE_TYPE_NONE: WS_METADATA_EXCHANGE_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_METADATA_EXCHANGE_TYPE_MEX: WS_METADATA_EXCHANGE_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_METADATA_EXCHANGE_TYPE_HTTP_GET: WS_METADATA_EXCHANGE_TYPE = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_METADATA_PROPERTY {
+ pub id: WS_METADATA_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_METADATA_PROPERTY {}
+impl ::core::clone::Clone for WS_METADATA_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_METADATA_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_METADATA_PROPERTY_STATE: WS_METADATA_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_METADATA_PROPERTY_HEAP_PROPERTIES: WS_METADATA_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_METADATA_PROPERTY_POLICY_PROPERTIES: WS_METADATA_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_METADATA_PROPERTY_HEAP_REQUESTED_SIZE: WS_METADATA_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_METADATA_PROPERTY_MAX_DOCUMENTS: WS_METADATA_PROPERTY_ID = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_METADATA_PROPERTY_HOST_NAMES: WS_METADATA_PROPERTY_ID = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_METADATA_PROPERTY_VERIFY_HOST_NAMES: WS_METADATA_PROPERTY_ID = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_METADATA_STATE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_METADATA_STATE_CREATED: WS_METADATA_STATE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_METADATA_STATE_RESOLVED: WS_METADATA_STATE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_METADATA_STATE_FAULTED: WS_METADATA_STATE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_MOVE_TO = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MOVE_TO_ROOT_ELEMENT: WS_MOVE_TO = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MOVE_TO_NEXT_ELEMENT: WS_MOVE_TO = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MOVE_TO_PREVIOUS_ELEMENT: WS_MOVE_TO = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MOVE_TO_CHILD_ELEMENT: WS_MOVE_TO = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MOVE_TO_END_ELEMENT: WS_MOVE_TO = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MOVE_TO_PARENT_ELEMENT: WS_MOVE_TO = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MOVE_TO_NEXT_NODE: WS_MOVE_TO = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MOVE_TO_PREVIOUS_NODE: WS_MOVE_TO = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MOVE_TO_FIRST_NODE: WS_MOVE_TO = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MOVE_TO_BOF: WS_MOVE_TO = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MOVE_TO_EOF: WS_MOVE_TO = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MOVE_TO_CHILD_NODE: WS_MOVE_TO = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_MUST_UNDERSTAND_HEADER_ATTRIBUTE: i32 = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_NAMEDPIPE_SSPI_TRANSPORT_SECURITY_BINDING {
+ pub binding: WS_SECURITY_BINDING,
+ pub clientCredential: *mut WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL,
+}
+impl ::core::marker::Copy for WS_NAMEDPIPE_SSPI_TRANSPORT_SECURITY_BINDING {}
+impl ::core::clone::Clone for WS_NAMEDPIPE_SSPI_TRANSPORT_SECURITY_BINDING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub struct WS_NCRYPT_ASYMMETRIC_SECURITY_KEY_HANDLE {
+ pub keyHandle: WS_SECURITY_KEY_HANDLE,
+ pub asymmetricKey: super::super::Security::Cryptography::NCRYPT_KEY_HANDLE,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for WS_NCRYPT_ASYMMETRIC_SECURITY_KEY_HANDLE {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for WS_NCRYPT_ASYMMETRIC_SECURITY_KEY_HANDLE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_NETPIPE_URL {
+ pub url: WS_URL,
+ pub host: WS_STRING,
+ pub port: u16,
+ pub portAsString: WS_STRING,
+ pub path: WS_STRING,
+ pub query: WS_STRING,
+ pub fragment: WS_STRING,
+}
+impl ::core::marker::Copy for WS_NETPIPE_URL {}
+impl ::core::clone::Clone for WS_NETPIPE_URL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_NETTCP_URL {
+ pub url: WS_URL,
+ pub host: WS_STRING,
+ pub port: u16,
+ pub portAsString: WS_STRING,
+ pub path: WS_STRING,
+ pub query: WS_STRING,
+ pub fragment: WS_STRING,
+}
+impl ::core::marker::Copy for WS_NETTCP_URL {}
+impl ::core::clone::Clone for WS_NETTCP_URL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_OPAQUE_WINDOWS_INTEGRATED_AUTH_CREDENTIAL {
+ pub credential: WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL,
+ pub opaqueAuthIdentity: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for WS_OPAQUE_WINDOWS_INTEGRATED_AUTH_CREDENTIAL {}
+impl ::core::clone::Clone for WS_OPAQUE_WINDOWS_INTEGRATED_AUTH_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_OPEN_CHANNEL_CALLBACK = ::core::option::Option<unsafe extern "system" fn(channelinstance: *const ::core::ffi::c_void, endpointaddress: *const WS_ENDPOINT_ADDRESS, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_OPEN_LISTENER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(listenerinstance: *const ::core::ffi::c_void, url: *const WS_STRING, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_OPERATION_CANCEL_CALLBACK = ::core::option::Option<unsafe extern "system" fn(reason: WS_SERVICE_CANCEL_REASON, state: *const ::core::ffi::c_void)>;
+#[repr(C)]
+pub struct WS_OPERATION_CONTEXT(pub u8);
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_OPERATION_CONTEXT_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_OPERATION_CONTEXT_PROPERTY_CHANNEL: WS_OPERATION_CONTEXT_PROPERTY_ID = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_OPERATION_CONTEXT_PROPERTY_CONTRACT_DESCRIPTION: WS_OPERATION_CONTEXT_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_OPERATION_CONTEXT_PROPERTY_HOST_USER_STATE: WS_OPERATION_CONTEXT_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_OPERATION_CONTEXT_PROPERTY_CHANNEL_USER_STATE: WS_OPERATION_CONTEXT_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_OPERATION_CONTEXT_PROPERTY_INPUT_MESSAGE: WS_OPERATION_CONTEXT_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_OPERATION_CONTEXT_PROPERTY_OUTPUT_MESSAGE: WS_OPERATION_CONTEXT_PROPERTY_ID = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_OPERATION_CONTEXT_PROPERTY_HEAP: WS_OPERATION_CONTEXT_PROPERTY_ID = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_OPERATION_CONTEXT_PROPERTY_LISTENER: WS_OPERATION_CONTEXT_PROPERTY_ID = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_OPERATION_CONTEXT_PROPERTY_ENDPOINT_ADDRESS: WS_OPERATION_CONTEXT_PROPERTY_ID = 8i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_OPERATION_DESCRIPTION {
+ pub versionInfo: u32,
+ pub inputMessageDescription: *mut WS_MESSAGE_DESCRIPTION,
+ pub outputMessageDescription: *mut WS_MESSAGE_DESCRIPTION,
+ pub inputMessageOptions: u32,
+ pub outputMessageOptions: u32,
+ pub parameterCount: u16,
+ pub parameterDescription: *mut WS_PARAMETER_DESCRIPTION,
+ pub stubCallback: WS_SERVICE_STUB_CALLBACK,
+ pub style: WS_OPERATION_STYLE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_OPERATION_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_OPERATION_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_OPERATION_FREE_STATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(state: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_OPERATION_STYLE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_NON_RPC_LITERAL_OPERATION: WS_OPERATION_STYLE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_RPC_LITERAL_OPERATION: WS_OPERATION_STYLE = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_PARAMETER_DESCRIPTION {
+ pub parameterType: WS_PARAMETER_TYPE,
+ pub inputMessageIndex: u16,
+ pub outputMessageIndex: u16,
+}
+impl ::core::marker::Copy for WS_PARAMETER_DESCRIPTION {}
+impl ::core::clone::Clone for WS_PARAMETER_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_PARAMETER_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_PARAMETER_TYPE_NORMAL: WS_PARAMETER_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_PARAMETER_TYPE_ARRAY: WS_PARAMETER_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_PARAMETER_TYPE_ARRAY_COUNT: WS_PARAMETER_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_PARAMETER_TYPE_MESSAGES: WS_PARAMETER_TYPE = 3i32;
+#[repr(C)]
+pub struct WS_POLICY(pub u8);
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_POLICY_CONSTRAINTS {
+ pub channelBinding: WS_CHANNEL_BINDING,
+ pub channelPropertyConstraints: *mut WS_CHANNEL_PROPERTY_CONSTRAINT,
+ pub channelPropertyConstraintCount: u32,
+ pub securityConstraints: *mut WS_SECURITY_CONSTRAINTS,
+ pub policyExtensions: *mut *mut WS_POLICY_EXTENSION,
+ pub policyExtensionCount: u32,
+}
+impl ::core::marker::Copy for WS_POLICY_CONSTRAINTS {}
+impl ::core::clone::Clone for WS_POLICY_CONSTRAINTS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_POLICY_EXTENSION {
+ pub r#type: WS_POLICY_EXTENSION_TYPE,
+}
+impl ::core::marker::Copy for WS_POLICY_EXTENSION {}
+impl ::core::clone::Clone for WS_POLICY_EXTENSION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_POLICY_EXTENSION_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENDPOINT_POLICY_EXTENSION_TYPE: WS_POLICY_EXTENSION_TYPE = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_POLICY_PROPERTIES {
+ pub properties: *mut WS_POLICY_PROPERTY,
+ pub propertyCount: u32,
+}
+impl ::core::marker::Copy for WS_POLICY_PROPERTIES {}
+impl ::core::clone::Clone for WS_POLICY_PROPERTIES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_POLICY_PROPERTY {
+ pub id: WS_POLICY_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_POLICY_PROPERTY {}
+impl ::core::clone::Clone for WS_POLICY_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_POLICY_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_POLICY_PROPERTY_STATE: WS_POLICY_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_POLICY_PROPERTY_MAX_ALTERNATIVES: WS_POLICY_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_POLICY_PROPERTY_MAX_DEPTH: WS_POLICY_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_POLICY_PROPERTY_MAX_EXTENSIONS: WS_POLICY_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_POLICY_STATE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_POLICY_STATE_CREATED: WS_POLICY_STATE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_POLICY_STATE_FAULTED: WS_POLICY_STATE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_PROTECTION_LEVEL = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_PROTECTION_LEVEL_NONE: WS_PROTECTION_LEVEL = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_PROTECTION_LEVEL_SIGN: WS_PROTECTION_LEVEL = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_PROTECTION_LEVEL_SIGN_AND_ENCRYPT: WS_PROTECTION_LEVEL = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_PROXY_MESSAGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(message: *const WS_MESSAGE, heap: *const WS_HEAP, state: *const ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_PROXY_MESSAGE_CALLBACK_CONTEXT {
+ pub callback: WS_PROXY_MESSAGE_CALLBACK,
+ pub state: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for WS_PROXY_MESSAGE_CALLBACK_CONTEXT {}
+impl ::core::clone::Clone for WS_PROXY_MESSAGE_CALLBACK_CONTEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_PROXY_PROPERTY {
+ pub id: WS_PROXY_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_PROXY_PROPERTY {}
+impl ::core::clone::Clone for WS_PROXY_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_PROXY_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_PROXY_PROPERTY_CALL_TIMEOUT: WS_PROXY_PROPERTY_ID = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_PROXY_PROPERTY_MESSAGE_PROPERTIES: WS_PROXY_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_PROXY_PROPERTY_MAX_CALL_POOL_SIZE: WS_PROXY_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_PROXY_PROPERTY_STATE: WS_PROXY_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_PROXY_PROPERTY_MAX_PENDING_CALLS: WS_PROXY_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_PROXY_PROPERTY_MAX_CLOSE_TIMEOUT: WS_PROXY_PROPERTY_ID = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_PROXY_FAULT_LANG_ID: WS_PROXY_PROPERTY_ID = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_PULL_BYTES_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callbackstate: *const ::core::ffi::c_void, bytes: *mut ::core::ffi::c_void, maxsize: u32, actualsize: *mut u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_PUSH_BYTES_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callbackstate: *const ::core::ffi::c_void, writecallback: WS_WRITE_CALLBACK, writecallbackstate: *const ::core::ffi::c_void, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_RAW_SYMMETRIC_SECURITY_KEY_HANDLE {
+ pub keyHandle: WS_SECURITY_KEY_HANDLE,
+ pub rawKeyBytes: WS_BYTES,
+}
+impl ::core::marker::Copy for WS_RAW_SYMMETRIC_SECURITY_KEY_HANDLE {}
+impl ::core::clone::Clone for WS_RAW_SYMMETRIC_SECURITY_KEY_HANDLE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_READ_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callbackstate: *const ::core::ffi::c_void, bytes: *mut ::core::ffi::c_void, maxsize: u32, actualsize: *mut u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_READ_MESSAGE_END_CALLBACK = ::core::option::Option<unsafe extern "system" fn(channelinstance: *const ::core::ffi::c_void, message: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_READ_MESSAGE_START_CALLBACK = ::core::option::Option<unsafe extern "system" fn(channelinstance: *const ::core::ffi::c_void, message: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_READ_OPTION = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_READ_REQUIRED_VALUE: WS_READ_OPTION = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_READ_REQUIRED_POINTER: WS_READ_OPTION = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_READ_OPTIONAL_POINTER: WS_READ_OPTION = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_READ_NILLABLE_POINTER: WS_READ_OPTION = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_READ_NILLABLE_VALUE: WS_READ_OPTION = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_READ_TYPE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(reader: *const WS_XML_READER, typemapping: WS_TYPE_MAPPING, descriptiondata: *const ::core::ffi::c_void, heap: *const WS_HEAP, value: *mut ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_RECEIVE_OPTION = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_RECEIVE_REQUIRED_MESSAGE: WS_RECEIVE_OPTION = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_RECEIVE_OPTIONAL_MESSAGE: WS_RECEIVE_OPTION = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_RELAY_HEADER_ATTRIBUTE: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_REPEATING_HEADER_OPTION = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REPEATING_HEADER: WS_REPEATING_HEADER_OPTION = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SINGLETON_HEADER: WS_REPEATING_HEADER_OPTION = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_REQUEST_SECURITY_TOKEN_ACTION = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_ACTION_ISSUE: WS_REQUEST_SECURITY_TOKEN_ACTION = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_ACTION_NEW_CONTEXT: WS_REQUEST_SECURITY_TOKEN_ACTION = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_ACTION_RENEW_CONTEXT: WS_REQUEST_SECURITY_TOKEN_ACTION = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_REQUEST_SECURITY_TOKEN_PROPERTY {
+ pub id: WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_REQUEST_SECURITY_TOKEN_PROPERTY {}
+impl ::core::clone::Clone for WS_REQUEST_SECURITY_TOKEN_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_REQUEST_SECURITY_TOKEN_PROPERTY_CONSTRAINT {
+ pub id: WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID,
+ pub allowedValues: *mut ::core::ffi::c_void,
+ pub allowedValuesSize: u32,
+ pub out: WS_REQUEST_SECURITY_TOKEN_PROPERTY_CONSTRAINT_0,
+}
+impl ::core::marker::Copy for WS_REQUEST_SECURITY_TOKEN_PROPERTY_CONSTRAINT {}
+impl ::core::clone::Clone for WS_REQUEST_SECURITY_TOKEN_PROPERTY_CONSTRAINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_REQUEST_SECURITY_TOKEN_PROPERTY_CONSTRAINT_0 {
+ pub requestSecurityTokenProperty: WS_REQUEST_SECURITY_TOKEN_PROPERTY,
+}
+impl ::core::marker::Copy for WS_REQUEST_SECURITY_TOKEN_PROPERTY_CONSTRAINT_0 {}
+impl ::core::clone::Clone for WS_REQUEST_SECURITY_TOKEN_PROPERTY_CONSTRAINT_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_PROPERTY_APPLIES_TO: WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_PROPERTY_TRUST_VERSION: WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_PROPERTY_SECURE_CONVERSATION_VERSION: WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_PROPERTY_ISSUED_TOKEN_TYPE: WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_PROPERTY_REQUEST_ACTION: WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_PROPERTY_EXISTING_TOKEN: WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_PROPERTY_ISSUED_TOKEN_KEY_TYPE: WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_PROPERTY_ISSUED_TOKEN_KEY_SIZE: WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_PROPERTY_ISSUED_TOKEN_KEY_ENTROPY: WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_PROPERTY_LOCAL_REQUEST_PARAMETERS: WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_PROPERTY_SERVICE_REQUEST_PARAMETERS: WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_PROPERTY_MESSAGE_PROPERTIES: WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_REQUEST_SECURITY_TOKEN_PROPERTY_BEARER_KEY_TYPE_VERSION: WS_REQUEST_SECURITY_TOKEN_PROPERTY_ID = 13i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_RESET_CHANNEL_CALLBACK = ::core::option::Option<unsafe extern "system" fn(channelinstance: *const ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_RESET_LISTENER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(listenerinstance: *const ::core::ffi::c_void, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_RSA_ENDPOINT_IDENTITY {
+ pub identity: WS_ENDPOINT_IDENTITY,
+ pub modulus: WS_BYTES,
+ pub exponent: WS_BYTES,
+}
+impl ::core::marker::Copy for WS_RSA_ENDPOINT_IDENTITY {}
+impl ::core::clone::Clone for WS_RSA_ENDPOINT_IDENTITY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SAML_AUTHENTICATOR {
+ pub authenticatorType: WS_SAML_AUTHENTICATOR_TYPE,
+}
+impl ::core::marker::Copy for WS_SAML_AUTHENTICATOR {}
+impl ::core::clone::Clone for WS_SAML_AUTHENTICATOR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SAML_AUTHENTICATOR_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CERT_SIGNED_SAML_AUTHENTICATOR_TYPE: WS_SAML_AUTHENTICATOR_TYPE = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SAML_MESSAGE_SECURITY_BINDING {
+ pub binding: WS_SECURITY_BINDING,
+ pub bindingUsage: WS_MESSAGE_SECURITY_USAGE,
+ pub authenticator: *mut WS_SAML_AUTHENTICATOR,
+}
+impl ::core::marker::Copy for WS_SAML_MESSAGE_SECURITY_BINDING {}
+impl ::core::clone::Clone for WS_SAML_MESSAGE_SECURITY_BINDING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURE_CONVERSATION_VERSION = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURE_CONVERSATION_VERSION_FEBRUARY_2005: WS_SECURE_CONVERSATION_VERSION = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURE_CONVERSATION_VERSION_1_3: WS_SECURE_CONVERSATION_VERSION = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURE_PROTOCOL = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURE_PROTOCOL_SSL2: WS_SECURE_PROTOCOL = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURE_PROTOCOL_SSL3: WS_SECURE_PROTOCOL = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURE_PROTOCOL_TLS1_0: WS_SECURE_PROTOCOL = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURE_PROTOCOL_TLS1_1: WS_SECURE_PROTOCOL = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURE_PROTOCOL_TLS1_2: WS_SECURE_PROTOCOL = 16i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_ALGORITHM_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_DEFAULT: WS_SECURITY_ALGORITHM_ID = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_CANONICALIZATION_EXCLUSIVE: WS_SECURITY_ALGORITHM_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_CANONICALIZATION_EXCLUSIVE_WITH_COMMENTS: WS_SECURITY_ALGORITHM_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_DIGEST_SHA1: WS_SECURITY_ALGORITHM_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_DIGEST_SHA_256: WS_SECURITY_ALGORITHM_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_DIGEST_SHA_384: WS_SECURITY_ALGORITHM_ID = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_DIGEST_SHA_512: WS_SECURITY_ALGORITHM_ID = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA1: WS_SECURITY_ALGORITHM_ID = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_256: WS_SECURITY_ALGORITHM_ID = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_384: WS_SECURITY_ALGORITHM_ID = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SYMMETRIC_SIGNATURE_HMAC_SHA_512: WS_SECURITY_ALGORITHM_ID = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA1: WS_SECURITY_ALGORITHM_ID = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_DSA_SHA1: WS_SECURITY_ALGORITHM_ID = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_256: WS_SECURITY_ALGORITHM_ID = 13i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_384: WS_SECURITY_ALGORITHM_ID = 14i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_ASYMMETRIC_SIGNATURE_RSA_SHA_512: WS_SECURITY_ALGORITHM_ID = 15i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_ASYMMETRIC_KEYWRAP_RSA_1_5: WS_SECURITY_ALGORITHM_ID = 16i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_ASYMMETRIC_KEYWRAP_RSA_OAEP: WS_SECURITY_ALGORITHM_ID = 17i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_KEY_DERIVATION_P_SHA1: WS_SECURITY_ALGORITHM_ID = 18i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_ALGORITHM_PROPERTY {
+ pub id: WS_SECURITY_ALGORITHM_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_SECURITY_ALGORITHM_PROPERTY {}
+impl ::core::clone::Clone for WS_SECURITY_ALGORITHM_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_ALGORITHM_PROPERTY_ID = i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_ALGORITHM_SUITE {
+ pub canonicalizationAlgorithm: WS_SECURITY_ALGORITHM_ID,
+ pub digestAlgorithm: WS_SECURITY_ALGORITHM_ID,
+ pub symmetricSignatureAlgorithm: WS_SECURITY_ALGORITHM_ID,
+ pub asymmetricSignatureAlgorithm: WS_SECURITY_ALGORITHM_ID,
+ pub encryptionAlgorithm: WS_SECURITY_ALGORITHM_ID,
+ pub keyDerivationAlgorithm: WS_SECURITY_ALGORITHM_ID,
+ pub symmetricKeyWrapAlgorithm: WS_SECURITY_ALGORITHM_ID,
+ pub asymmetricKeyWrapAlgorithm: WS_SECURITY_ALGORITHM_ID,
+ pub minSymmetricKeyLength: u32,
+ pub maxSymmetricKeyLength: u32,
+ pub minAsymmetricKeyLength: u32,
+ pub maxAsymmetricKeyLength: u32,
+ pub properties: *mut WS_SECURITY_ALGORITHM_PROPERTY,
+ pub propertyCount: u32,
+}
+impl ::core::marker::Copy for WS_SECURITY_ALGORITHM_SUITE {}
+impl ::core::clone::Clone for WS_SECURITY_ALGORITHM_SUITE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_ALGORITHM_SUITE_NAME = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SUITE_NAME_BASIC256: WS_SECURITY_ALGORITHM_SUITE_NAME = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SUITE_NAME_BASIC192: WS_SECURITY_ALGORITHM_SUITE_NAME = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SUITE_NAME_BASIC128: WS_SECURITY_ALGORITHM_SUITE_NAME = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SUITE_NAME_BASIC256_RSA15: WS_SECURITY_ALGORITHM_SUITE_NAME = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SUITE_NAME_BASIC192_RSA15: WS_SECURITY_ALGORITHM_SUITE_NAME = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SUITE_NAME_BASIC128_RSA15: WS_SECURITY_ALGORITHM_SUITE_NAME = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SUITE_NAME_BASIC256_SHA256: WS_SECURITY_ALGORITHM_SUITE_NAME = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SUITE_NAME_BASIC192_SHA256: WS_SECURITY_ALGORITHM_SUITE_NAME = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SUITE_NAME_BASIC128_SHA256: WS_SECURITY_ALGORITHM_SUITE_NAME = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SUITE_NAME_BASIC256_SHA256_RSA15: WS_SECURITY_ALGORITHM_SUITE_NAME = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SUITE_NAME_BASIC192_SHA256_RSA15: WS_SECURITY_ALGORITHM_SUITE_NAME = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_ALGORITHM_SUITE_NAME_BASIC128_SHA256_RSA15: WS_SECURITY_ALGORITHM_SUITE_NAME = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_BEARER_KEY_TYPE_VERSION = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BEARER_KEY_TYPE_VERSION_1_3_ORIGINAL_SPECIFICATION: WS_SECURITY_BEARER_KEY_TYPE_VERSION = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BEARER_KEY_TYPE_VERSION_1_3_ORIGINAL_SCHEMA: WS_SECURITY_BEARER_KEY_TYPE_VERSION = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BEARER_KEY_TYPE_VERSION_1_3_ERRATA_01: WS_SECURITY_BEARER_KEY_TYPE_VERSION = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_BINDING {
+ pub bindingType: WS_SECURITY_BINDING_TYPE,
+ pub properties: *mut WS_SECURITY_BINDING_PROPERTY,
+ pub propertyCount: u32,
+}
+impl ::core::marker::Copy for WS_SECURITY_BINDING {}
+impl ::core::clone::Clone for WS_SECURITY_BINDING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_BINDING_CONSTRAINT {
+ pub r#type: WS_SECURITY_BINDING_CONSTRAINT_TYPE,
+ pub propertyConstraints: *mut WS_SECURITY_BINDING_PROPERTY_CONSTRAINT,
+ pub propertyConstraintCount: u32,
+}
+impl ::core::marker::Copy for WS_SECURITY_BINDING_CONSTRAINT {}
+impl ::core::clone::Clone for WS_SECURITY_BINDING_CONSTRAINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_BINDING_CONSTRAINT_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SSL_TRANSPORT_SECURITY_BINDING_CONSTRAINT_TYPE: WS_SECURITY_BINDING_CONSTRAINT_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_CONSTRAINT_TYPE: WS_SECURITY_BINDING_CONSTRAINT_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_HEADER_AUTH_SECURITY_BINDING_CONSTRAINT_TYPE: WS_SECURITY_BINDING_CONSTRAINT_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_USERNAME_MESSAGE_SECURITY_BINDING_CONSTRAINT_TYPE: WS_SECURITY_BINDING_CONSTRAINT_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_CONSTRAINT_TYPE: WS_SECURITY_BINDING_CONSTRAINT_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ISSUED_TOKEN_MESSAGE_SECURITY_BINDING_CONSTRAINT_TYPE: WS_SECURITY_BINDING_CONSTRAINT_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CERT_MESSAGE_SECURITY_BINDING_CONSTRAINT_TYPE: WS_SECURITY_BINDING_CONSTRAINT_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_CONSTRAINT_TYPE: WS_SECURITY_BINDING_CONSTRAINT_TYPE = 8i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_BINDING_PROPERTIES {
+ pub properties: *mut WS_SECURITY_BINDING_PROPERTY,
+ pub propertyCount: u32,
+}
+impl ::core::marker::Copy for WS_SECURITY_BINDING_PROPERTIES {}
+impl ::core::clone::Clone for WS_SECURITY_BINDING_PROPERTIES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_BINDING_PROPERTY {
+ pub id: WS_SECURITY_BINDING_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_SECURITY_BINDING_PROPERTY {}
+impl ::core::clone::Clone for WS_SECURITY_BINDING_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_BINDING_PROPERTY_CONSTRAINT {
+ pub id: WS_SECURITY_BINDING_PROPERTY_ID,
+ pub allowedValues: *mut ::core::ffi::c_void,
+ pub allowedValuesSize: u32,
+ pub out: WS_SECURITY_BINDING_PROPERTY_CONSTRAINT_0,
+}
+impl ::core::marker::Copy for WS_SECURITY_BINDING_PROPERTY_CONSTRAINT {}
+impl ::core::clone::Clone for WS_SECURITY_BINDING_PROPERTY_CONSTRAINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_BINDING_PROPERTY_CONSTRAINT_0 {
+ pub securityBindingProperty: WS_SECURITY_BINDING_PROPERTY,
+}
+impl ::core::marker::Copy for WS_SECURITY_BINDING_PROPERTY_CONSTRAINT_0 {}
+impl ::core::clone::Clone for WS_SECURITY_BINDING_PROPERTY_CONSTRAINT_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_BINDING_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_REQUIRE_SSL_CLIENT_CERT: WS_SECURITY_BINDING_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_WINDOWS_INTEGRATED_AUTH_PACKAGE: WS_SECURITY_BINDING_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_REQUIRE_SERVER_AUTH: WS_SECURITY_BINDING_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_ALLOW_ANONYMOUS_CLIENTS: WS_SECURITY_BINDING_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_ALLOWED_IMPERSONATION_LEVEL: WS_SECURITY_BINDING_PROPERTY_ID = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_SCHEME: WS_SECURITY_BINDING_PROPERTY_ID = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_TARGET: WS_SECURITY_BINDING_PROPERTY_ID = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_BASIC_REALM: WS_SECURITY_BINDING_PROPERTY_ID = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_DIGEST_REALM: WS_SECURITY_BINDING_PROPERTY_ID = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_HTTP_HEADER_AUTH_DIGEST_DOMAIN: WS_SECURITY_BINDING_PROPERTY_ID = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_KEY_SIZE: WS_SECURITY_BINDING_PROPERTY_ID = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_KEY_ENTROPY_MODE: WS_SECURITY_BINDING_PROPERTY_ID = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_MESSAGE_PROPERTIES: WS_SECURITY_BINDING_PROPERTY_ID = 13i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_MAX_PENDING_CONTEXTS: WS_SECURITY_BINDING_PROPERTY_ID = 14i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_MAX_ACTIVE_CONTEXTS: WS_SECURITY_BINDING_PROPERTY_ID = 15i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_SECURE_CONVERSATION_VERSION: WS_SECURITY_BINDING_PROPERTY_ID = 16i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_SUPPORT_RENEW: WS_SECURITY_BINDING_PROPERTY_ID = 17i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_RENEWAL_INTERVAL: WS_SECURITY_BINDING_PROPERTY_ID = 18i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_SECURITY_CONTEXT_ROLLOVER_INTERVAL: WS_SECURITY_BINDING_PROPERTY_ID = 19i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_CERT_FAILURES_TO_IGNORE: WS_SECURITY_BINDING_PROPERTY_ID = 20i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_DISABLE_CERT_REVOCATION_CHECK: WS_SECURITY_BINDING_PROPERTY_ID = 21i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_DISALLOWED_SECURE_PROTOCOLS: WS_SECURITY_BINDING_PROPERTY_ID = 22i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_BINDING_PROPERTY_CERTIFICATE_VALIDATION_CALLBACK_CONTEXT: WS_SECURITY_BINDING_PROPERTY_ID = 23i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_BINDING_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SSL_TRANSPORT_SECURITY_BINDING_TYPE: WS_SECURITY_BINDING_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_TYPE: WS_SECURITY_BINDING_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_HTTP_HEADER_AUTH_SECURITY_BINDING_TYPE: WS_SECURITY_BINDING_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_USERNAME_MESSAGE_SECURITY_BINDING_TYPE: WS_SECURITY_BINDING_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_TYPE: WS_SECURITY_BINDING_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TOKEN_MESSAGE_SECURITY_BINDING_TYPE: WS_SECURITY_BINDING_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SAML_MESSAGE_SECURITY_BINDING_TYPE: WS_SECURITY_BINDING_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_TYPE: WS_SECURITY_BINDING_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_NAMEDPIPE_SSPI_TRANSPORT_SECURITY_BINDING_TYPE: WS_SECURITY_BINDING_TYPE = 9i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_CONSTRAINTS {
+ pub securityPropertyConstraints: *mut WS_SECURITY_PROPERTY_CONSTRAINT,
+ pub securityPropertyConstraintCount: u32,
+ pub securityBindingConstraints: *mut *mut WS_SECURITY_BINDING_CONSTRAINT,
+ pub securityBindingConstraintCount: u32,
+}
+impl ::core::marker::Copy for WS_SECURITY_CONSTRAINTS {}
+impl ::core::clone::Clone for WS_SECURITY_CONSTRAINTS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+pub struct WS_SECURITY_CONTEXT(pub u8);
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING {
+ pub binding: WS_SECURITY_BINDING,
+ pub bindingUsage: WS_MESSAGE_SECURITY_USAGE,
+ pub bootstrapSecurityDescription: *mut WS_SECURITY_DESCRIPTION,
+}
+impl ::core::marker::Copy for WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING {}
+impl ::core::clone::Clone for WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_CONSTRAINT {
+ pub bindingConstraint: WS_SECURITY_BINDING_CONSTRAINT,
+ pub bindingUsage: WS_MESSAGE_SECURITY_USAGE,
+ pub bootstrapSecurityConstraint: *mut WS_SECURITY_CONSTRAINTS,
+}
+impl ::core::marker::Copy for WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_CONSTRAINT {}
+impl ::core::clone::Clone for WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_CONSTRAINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION {
+ pub securityBindingProperties: WS_SECURITY_BINDING_PROPERTIES,
+ pub bindingUsage: WS_MESSAGE_SECURITY_USAGE,
+}
+impl ::core::marker::Copy for WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_TEMPLATE {
+ pub securityBindingProperties: WS_SECURITY_BINDING_PROPERTIES,
+}
+impl ::core::marker::Copy for WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_CONTEXT_PROPERTY {
+ pub id: WS_SECURITY_CONTEXT_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_SECURITY_CONTEXT_PROPERTY {}
+impl ::core::clone::Clone for WS_SECURITY_CONTEXT_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_CONTEXT_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_CONTEXT_PROPERTY_IDENTIFIER: WS_SECURITY_CONTEXT_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_CONTEXT_PROPERTY_USERNAME: WS_SECURITY_CONTEXT_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_CONTEXT_PROPERTY_MESSAGE_SECURITY_WINDOWS_TOKEN: WS_SECURITY_CONTEXT_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_CONTEXT_PROPERTY_SAML_ASSERTION: WS_SECURITY_CONTEXT_PROPERTY_ID = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_CONTEXT_SECURITY_BINDING_POLICY_DESCRIPTION {
+ pub securityContextMessageSecurityBinding: WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+}
+impl ::core::marker::Copy for WS_SECURITY_CONTEXT_SECURITY_BINDING_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_SECURITY_CONTEXT_SECURITY_BINDING_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_CONTEXT_SECURITY_BINDING_TEMPLATE {
+ pub securityContextMessageSecurityBinding: WS_SECURITY_CONTEXT_MESSAGE_SECURITY_BINDING_TEMPLATE,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+}
+impl ::core::marker::Copy for WS_SECURITY_CONTEXT_SECURITY_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_SECURITY_CONTEXT_SECURITY_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_DESCRIPTION {
+ pub securityBindings: *mut *mut WS_SECURITY_BINDING,
+ pub securityBindingCount: u32,
+ pub properties: *mut WS_SECURITY_PROPERTY,
+ pub propertyCount: u32,
+}
+impl ::core::marker::Copy for WS_SECURITY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_SECURITY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_HEADER_LAYOUT = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_HEADER_LAYOUT_STRICT: WS_SECURITY_HEADER_LAYOUT = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_HEADER_LAYOUT_LAX: WS_SECURITY_HEADER_LAYOUT = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_HEADER_LAYOUT_LAX_WITH_TIMESTAMP_FIRST: WS_SECURITY_HEADER_LAYOUT = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_HEADER_LAYOUT_LAX_WITH_TIMESTAMP_LAST: WS_SECURITY_HEADER_LAYOUT = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_HEADER_VERSION = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_HEADER_VERSION_1_0: WS_SECURITY_HEADER_VERSION = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_HEADER_VERSION_1_1: WS_SECURITY_HEADER_VERSION = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_KEY_ENTROPY_MODE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_KEY_ENTROPY_MODE_CLIENT_ONLY: WS_SECURITY_KEY_ENTROPY_MODE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_KEY_ENTROPY_MODE_SERVER_ONLY: WS_SECURITY_KEY_ENTROPY_MODE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_KEY_ENTROPY_MODE_COMBINED: WS_SECURITY_KEY_ENTROPY_MODE = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_KEY_HANDLE {
+ pub keyHandleType: WS_SECURITY_KEY_HANDLE_TYPE,
+}
+impl ::core::marker::Copy for WS_SECURITY_KEY_HANDLE {}
+impl ::core::clone::Clone for WS_SECURITY_KEY_HANDLE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_KEY_HANDLE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_RAW_SYMMETRIC_SECURITY_KEY_HANDLE_TYPE: WS_SECURITY_KEY_HANDLE_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_NCRYPT_ASYMMETRIC_SECURITY_KEY_HANDLE_TYPE: WS_SECURITY_KEY_HANDLE_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CAPI_ASYMMETRIC_SECURITY_KEY_HANDLE_TYPE: WS_SECURITY_KEY_HANDLE_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_KEY_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_KEY_TYPE_NONE: WS_SECURITY_KEY_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_KEY_TYPE_SYMMETRIC: WS_SECURITY_KEY_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_KEY_TYPE_ASYMMETRIC: WS_SECURITY_KEY_TYPE = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_PROPERTIES {
+ pub properties: *mut WS_SECURITY_PROPERTY,
+ pub propertyCount: u32,
+}
+impl ::core::marker::Copy for WS_SECURITY_PROPERTIES {}
+impl ::core::clone::Clone for WS_SECURITY_PROPERTIES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_PROPERTY {
+ pub id: WS_SECURITY_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_SECURITY_PROPERTY {}
+impl ::core::clone::Clone for WS_SECURITY_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_PROPERTY_CONSTRAINT {
+ pub id: WS_SECURITY_PROPERTY_ID,
+ pub allowedValues: *mut ::core::ffi::c_void,
+ pub allowedValuesSize: u32,
+ pub out: WS_SECURITY_PROPERTY_CONSTRAINT_0,
+}
+impl ::core::marker::Copy for WS_SECURITY_PROPERTY_CONSTRAINT {}
+impl ::core::clone::Clone for WS_SECURITY_PROPERTY_CONSTRAINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SECURITY_PROPERTY_CONSTRAINT_0 {
+ pub securityProperty: WS_SECURITY_PROPERTY,
+}
+impl ::core::marker::Copy for WS_SECURITY_PROPERTY_CONSTRAINT_0 {}
+impl ::core::clone::Clone for WS_SECURITY_PROPERTY_CONSTRAINT_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_PROPERTY_TRANSPORT_PROTECTION_LEVEL: WS_SECURITY_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_PROPERTY_ALGORITHM_SUITE: WS_SECURITY_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_PROPERTY_ALGORITHM_SUITE_NAME: WS_SECURITY_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_PROPERTY_MAX_ALLOWED_LATENCY: WS_SECURITY_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_PROPERTY_TIMESTAMP_VALIDITY_DURATION: WS_SECURITY_PROPERTY_ID = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_PROPERTY_MAX_ALLOWED_CLOCK_SKEW: WS_SECURITY_PROPERTY_ID = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_PROPERTY_TIMESTAMP_USAGE: WS_SECURITY_PROPERTY_ID = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_PROPERTY_SECURITY_HEADER_LAYOUT: WS_SECURITY_PROPERTY_ID = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_PROPERTY_SECURITY_HEADER_VERSION: WS_SECURITY_PROPERTY_ID = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_PROPERTY_EXTENDED_PROTECTION_POLICY: WS_SECURITY_PROPERTY_ID = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_PROPERTY_EXTENDED_PROTECTION_SCENARIO: WS_SECURITY_PROPERTY_ID = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_PROPERTY_SERVICE_IDENTITIES: WS_SECURITY_PROPERTY_ID = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_TIMESTAMP_USAGE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_TIMESTAMP_USAGE_ALWAYS: WS_SECURITY_TIMESTAMP_USAGE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_TIMESTAMP_USAGE_NEVER: WS_SECURITY_TIMESTAMP_USAGE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_TIMESTAMP_USAGE_REQUESTS_ONLY: WS_SECURITY_TIMESTAMP_USAGE = 3i32;
+#[repr(C)]
+pub struct WS_SECURITY_TOKEN(pub u8);
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_TOKEN_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_TOKEN_PROPERTY_KEY_TYPE: WS_SECURITY_TOKEN_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_TOKEN_PROPERTY_VALID_FROM_TIME: WS_SECURITY_TOKEN_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_TOKEN_PROPERTY_VALID_TILL_TIME: WS_SECURITY_TOKEN_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_TOKEN_PROPERTY_SERIALIZED_XML: WS_SECURITY_TOKEN_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_TOKEN_PROPERTY_ATTACHED_REFERENCE_XML: WS_SECURITY_TOKEN_PROPERTY_ID = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_TOKEN_PROPERTY_UNATTACHED_REFERENCE_XML: WS_SECURITY_TOKEN_PROPERTY_ID = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_TOKEN_PROPERTY_SYMMETRIC_KEY: WS_SECURITY_TOKEN_PROPERTY_ID = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SECURITY_TOKEN_REFERENCE_MODE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_TOKEN_REFERENCE_MODE_LOCAL_ID: WS_SECURITY_TOKEN_REFERENCE_MODE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_TOKEN_REFERENCE_MODE_XML_BUFFER: WS_SECURITY_TOKEN_REFERENCE_MODE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_TOKEN_REFERENCE_MODE_CERT_THUMBPRINT: WS_SECURITY_TOKEN_REFERENCE_MODE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_TOKEN_REFERENCE_MODE_SECURITY_CONTEXT_ID: WS_SECURITY_TOKEN_REFERENCE_MODE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SECURITY_TOKEN_REFERENCE_MODE_SAML_ASSERTION_ID: WS_SECURITY_TOKEN_REFERENCE_MODE = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SERVICE_ACCEPT_CHANNEL_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const WS_OPERATION_CONTEXT, channelstate: *mut *mut ::core::ffi::c_void, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SERVICE_CANCEL_REASON = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_HOST_ABORT: WS_SERVICE_CANCEL_REASON = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_CHANNEL_FAULTED: WS_SERVICE_CANCEL_REASON = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SERVICE_CLOSE_CHANNEL_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const WS_OPERATION_CONTEXT, asynccontext: *const WS_ASYNC_CONTEXT) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_SERVICE_CONTRACT {
+ pub contractDescription: *const WS_CONTRACT_DESCRIPTION,
+ pub defaultMessageHandlerCallback: WS_SERVICE_MESSAGE_RECEIVE_CALLBACK,
+ pub methodTable: *const ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_SERVICE_CONTRACT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_SERVICE_CONTRACT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_SERVICE_ENDPOINT {
+ pub address: WS_ENDPOINT_ADDRESS,
+ pub channelBinding: WS_CHANNEL_BINDING,
+ pub channelType: WS_CHANNEL_TYPE,
+ pub securityDescription: *const WS_SECURITY_DESCRIPTION,
+ pub contract: *const WS_SERVICE_CONTRACT,
+ pub authorizationCallback: WS_SERVICE_SECURITY_CALLBACK,
+ pub properties: *const WS_SERVICE_ENDPOINT_PROPERTY,
+ pub propertyCount: u32,
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_SERVICE_ENDPOINT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_SERVICE_ENDPOINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_SERVICE_ENDPOINT_METADATA {
+ pub portName: *mut WS_XML_STRING,
+ pub bindingName: *mut WS_XML_STRING,
+ pub bindingNs: *mut WS_XML_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_SERVICE_ENDPOINT_METADATA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_SERVICE_ENDPOINT_METADATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SERVICE_ENDPOINT_PROPERTY {
+ pub id: WS_SERVICE_ENDPOINT_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_SERVICE_ENDPOINT_PROPERTY {}
+impl ::core::clone::Clone for WS_SERVICE_ENDPOINT_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SERVICE_ENDPOINT_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_ENDPOINT_PROPERTY_ACCEPT_CHANNEL_CALLBACK: WS_SERVICE_ENDPOINT_PROPERTY_ID = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_ENDPOINT_PROPERTY_CLOSE_CHANNEL_CALLBACK: WS_SERVICE_ENDPOINT_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_ENDPOINT_PROPERTY_MAX_ACCEPTING_CHANNELS: WS_SERVICE_ENDPOINT_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_ENDPOINT_PROPERTY_MAX_CONCURRENCY: WS_SERVICE_ENDPOINT_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_ENDPOINT_PROPERTY_BODY_HEAP_MAX_SIZE: WS_SERVICE_ENDPOINT_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_ENDPOINT_PROPERTY_BODY_HEAP_TRIM_SIZE: WS_SERVICE_ENDPOINT_PROPERTY_ID = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_ENDPOINT_PROPERTY_MESSAGE_PROPERTIES: WS_SERVICE_ENDPOINT_PROPERTY_ID = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_ENDPOINT_PROPERTY_MAX_CALL_POOL_SIZE: WS_SERVICE_ENDPOINT_PROPERTY_ID = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_ENDPOINT_PROPERTY_MAX_CHANNEL_POOL_SIZE: WS_SERVICE_ENDPOINT_PROPERTY_ID = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_ENDPOINT_PROPERTY_LISTENER_PROPERTIES: WS_SERVICE_ENDPOINT_PROPERTY_ID = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_ENDPOINT_PROPERTY_CHECK_MUST_UNDERSTAND: WS_SERVICE_ENDPOINT_PROPERTY_ID = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_ENDPOINT_PROPERTY_METADATA_EXCHANGE_TYPE: WS_SERVICE_ENDPOINT_PROPERTY_ID = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_ENDPOINT_PROPERTY_METADATA: WS_SERVICE_ENDPOINT_PROPERTY_ID = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_ENDPOINT_PROPERTY_METADATA_EXCHANGE_URL_SUFFIX: WS_SERVICE_ENDPOINT_PROPERTY_ID = 13i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_ENDPOINT_PROPERTY_MAX_CHANNELS: WS_SERVICE_ENDPOINT_PROPERTY_ID = 14i32;
+#[repr(C)]
+pub struct WS_SERVICE_HOST(pub u8);
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SERVICE_HOST_STATE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_HOST_STATE_CREATED: WS_SERVICE_HOST_STATE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_HOST_STATE_OPENING: WS_SERVICE_HOST_STATE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_HOST_STATE_OPEN: WS_SERVICE_HOST_STATE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_HOST_STATE_CLOSING: WS_SERVICE_HOST_STATE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_HOST_STATE_CLOSED: WS_SERVICE_HOST_STATE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_HOST_STATE_FAULTED: WS_SERVICE_HOST_STATE = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SERVICE_MESSAGE_RECEIVE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const WS_OPERATION_CONTEXT, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_SERVICE_METADATA {
+ pub documentCount: u32,
+ pub documents: *mut *mut WS_SERVICE_METADATA_DOCUMENT,
+ pub serviceName: *mut WS_XML_STRING,
+ pub serviceNs: *mut WS_XML_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_SERVICE_METADATA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_SERVICE_METADATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_SERVICE_METADATA_DOCUMENT {
+ pub content: *mut WS_XML_STRING,
+ pub name: *mut WS_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_SERVICE_METADATA_DOCUMENT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_SERVICE_METADATA_DOCUMENT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_OPERATION_MESSAGE_NILLABLE_ELEMENT: i32 = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SERVICE_PROPERTY {
+ pub id: WS_SERVICE_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_SERVICE_PROPERTY {}
+impl ::core::clone::Clone for WS_SERVICE_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SERVICE_PROPERTY_ACCEPT_CALLBACK {
+ pub callback: WS_SERVICE_ACCEPT_CHANNEL_CALLBACK,
+}
+impl ::core::marker::Copy for WS_SERVICE_PROPERTY_ACCEPT_CALLBACK {}
+impl ::core::clone::Clone for WS_SERVICE_PROPERTY_ACCEPT_CALLBACK {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SERVICE_PROPERTY_CLOSE_CALLBACK {
+ pub callback: WS_SERVICE_CLOSE_CHANNEL_CALLBACK,
+}
+impl ::core::marker::Copy for WS_SERVICE_PROPERTY_CLOSE_CALLBACK {}
+impl ::core::clone::Clone for WS_SERVICE_PROPERTY_CLOSE_CALLBACK {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SERVICE_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_PROPERTY_HOST_USER_STATE: WS_SERVICE_PROPERTY_ID = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_PROPERTY_FAULT_DISCLOSURE: WS_SERVICE_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_PROPERTY_FAULT_LANGID: WS_SERVICE_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_PROPERTY_HOST_STATE: WS_SERVICE_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_PROPERTY_METADATA: WS_SERVICE_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_PROPERTY_CLOSE_TIMEOUT: WS_SERVICE_PROPERTY_ID = 5i32;
+#[repr(C)]
+pub struct WS_SERVICE_PROXY(pub u8);
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SERVICE_PROXY_STATE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_PROXY_STATE_CREATED: WS_SERVICE_PROXY_STATE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_PROXY_STATE_OPENING: WS_SERVICE_PROXY_STATE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_PROXY_STATE_OPEN: WS_SERVICE_PROXY_STATE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_PROXY_STATE_CLOSING: WS_SERVICE_PROXY_STATE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_PROXY_STATE_CLOSED: WS_SERVICE_PROXY_STATE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_SERVICE_PROXY_STATE_FAULTED: WS_SERVICE_PROXY_STATE = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type WS_SERVICE_SECURITY_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const WS_OPERATION_CONTEXT, authorized: *mut super::super::Foundation::BOOL, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SERVICE_SECURITY_IDENTITIES {
+ pub serviceIdentities: *mut WS_STRING,
+ pub serviceIdentityCount: u32,
+}
+impl ::core::marker::Copy for WS_SERVICE_SECURITY_IDENTITIES {}
+impl ::core::clone::Clone for WS_SERVICE_SECURITY_IDENTITIES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SERVICE_STUB_CALLBACK = ::core::option::Option<unsafe extern "system" fn(context: *const WS_OPERATION_CONTEXT, frame: *const ::core::ffi::c_void, callback: *const ::core::ffi::c_void, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SET_CHANNEL_PROPERTY_CALLBACK = ::core::option::Option<unsafe extern "system" fn(channelinstance: *const ::core::ffi::c_void, id: WS_CHANNEL_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SET_LISTENER_PROPERTY_CALLBACK = ::core::option::Option<unsafe extern "system" fn(listenerinstance: *const ::core::ffi::c_void, id: WS_LISTENER_PROPERTY_ID, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_SHUTDOWN_SESSION_CHANNEL_CALLBACK = ::core::option::Option<unsafe extern "system" fn(channelinstance: *const ::core::ffi::c_void, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SOAPUDP_URL {
+ pub url: WS_URL,
+ pub host: WS_STRING,
+ pub port: u16,
+ pub portAsString: WS_STRING,
+ pub path: WS_STRING,
+ pub query: WS_STRING,
+ pub fragment: WS_STRING,
+}
+impl ::core::marker::Copy for WS_SOAPUDP_URL {}
+impl ::core::clone::Clone for WS_SOAPUDP_URL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SPN_ENDPOINT_IDENTITY {
+ pub identity: WS_ENDPOINT_IDENTITY,
+ pub spn: WS_STRING,
+}
+impl ::core::marker::Copy for WS_SPN_ENDPOINT_IDENTITY {}
+impl ::core::clone::Clone for WS_SPN_ENDPOINT_IDENTITY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SSL_TRANSPORT_SECURITY_BINDING {
+ pub binding: WS_SECURITY_BINDING,
+ pub localCertCredential: *mut WS_CERT_CREDENTIAL,
+}
+impl ::core::marker::Copy for WS_SSL_TRANSPORT_SECURITY_BINDING {}
+impl ::core::clone::Clone for WS_SSL_TRANSPORT_SECURITY_BINDING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_SSL_TRANSPORT_SECURITY_BINDING_CONSTRAINT {
+ pub bindingConstraint: WS_SECURITY_BINDING_CONSTRAINT,
+ pub out: WS_SSL_TRANSPORT_SECURITY_BINDING_CONSTRAINT_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_SSL_TRANSPORT_SECURITY_BINDING_CONSTRAINT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_SSL_TRANSPORT_SECURITY_BINDING_CONSTRAINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_SSL_TRANSPORT_SECURITY_BINDING_CONSTRAINT_0 {
+ pub clientCertCredentialRequired: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_SSL_TRANSPORT_SECURITY_BINDING_CONSTRAINT_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_SSL_TRANSPORT_SECURITY_BINDING_CONSTRAINT_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SSL_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION {
+ pub securityBindingProperties: WS_SECURITY_BINDING_PROPERTIES,
+}
+impl ::core::marker::Copy for WS_SSL_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_SSL_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE {
+ pub securityBindingProperties: WS_SECURITY_BINDING_PROPERTIES,
+ pub localCertCredential: *mut WS_CERT_CREDENTIAL,
+}
+impl ::core::marker::Copy for WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_SSL_TRANSPORT_SECURITY_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SSPI_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION {
+ pub securityBindingProperties: WS_SECURITY_BINDING_PROPERTIES,
+}
+impl ::core::marker::Copy for WS_SSPI_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_SSPI_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_STRING {
+ pub length: u32,
+ pub chars: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for WS_STRING {}
+impl ::core::clone::Clone for WS_STRING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_STRING_DESCRIPTION {
+ pub minCharCount: u32,
+ pub maxCharCount: u32,
+}
+impl ::core::marker::Copy for WS_STRING_DESCRIPTION {}
+impl ::core::clone::Clone for WS_STRING_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_STRING_USERNAME_CREDENTIAL {
+ pub credential: WS_USERNAME_CREDENTIAL,
+ pub username: WS_STRING,
+ pub password: WS_STRING,
+}
+impl ::core::marker::Copy for WS_STRING_USERNAME_CREDENTIAL {}
+impl ::core::clone::Clone for WS_STRING_USERNAME_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_STRING_WINDOWS_INTEGRATED_AUTH_CREDENTIAL {
+ pub credential: WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL,
+ pub username: WS_STRING,
+ pub password: WS_STRING,
+ pub domain: WS_STRING,
+}
+impl ::core::marker::Copy for WS_STRING_WINDOWS_INTEGRATED_AUTH_CREDENTIAL {}
+impl ::core::clone::Clone for WS_STRING_WINDOWS_INTEGRATED_AUTH_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_STRUCT_ABSTRACT: i32 = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_STRUCT_DESCRIPTION {
+ pub size: u32,
+ pub alignment: u32,
+ pub fields: *mut *mut WS_FIELD_DESCRIPTION,
+ pub fieldCount: u32,
+ pub typeLocalName: *mut WS_XML_STRING,
+ pub typeNs: *mut WS_XML_STRING,
+ pub parentType: *mut WS_STRUCT_DESCRIPTION,
+ pub subTypes: *mut *mut WS_STRUCT_DESCRIPTION,
+ pub subTypeCount: u32,
+ pub structOptions: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_STRUCT_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_STRUCT_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_STRUCT_IGNORE_TRAILING_ELEMENT_CONTENT: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_STRUCT_IGNORE_UNHANDLED_ATTRIBUTES: i32 = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_SUBJECT_NAME_CERT_CREDENTIAL {
+ pub credential: WS_CERT_CREDENTIAL,
+ pub storeLocation: u32,
+ pub storeName: WS_STRING,
+ pub subjectName: WS_STRING,
+}
+impl ::core::marker::Copy for WS_SUBJECT_NAME_CERT_CREDENTIAL {}
+impl ::core::clone::Clone for WS_SUBJECT_NAME_CERT_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TCP_BINDING_TEMPLATE {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+}
+impl ::core::marker::Copy for WS_TCP_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_TCP_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TCP_POLICY_DESCRIPTION {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+}
+impl ::core::marker::Copy for WS_TCP_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_TCP_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TCP_SSPI_BINDING_TEMPLATE {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sspiTransportSecurityBinding: WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_TEMPLATE,
+}
+impl ::core::marker::Copy for WS_TCP_SSPI_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_TCP_SSPI_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TCP_SSPI_KERBEROS_APREQ_BINDING_TEMPLATE {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sspiTransportSecurityBinding: WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_TEMPLATE,
+ pub kerberosApreqMessageSecurityBinding: WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_TEMPLATE,
+}
+impl ::core::marker::Copy for WS_TCP_SSPI_KERBEROS_APREQ_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_TCP_SSPI_KERBEROS_APREQ_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TCP_SSPI_KERBEROS_APREQ_POLICY_DESCRIPTION {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sspiTransportSecurityBinding: WS_SSPI_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION,
+ pub kerberosApreqMessageSecurityBinding: WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION,
+}
+impl ::core::marker::Copy for WS_TCP_SSPI_KERBEROS_APREQ_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_TCP_SSPI_KERBEROS_APREQ_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TCP_SSPI_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sspiTransportSecurityBinding: WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_TEMPLATE,
+ pub kerberosApreqMessageSecurityBinding: WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_TEMPLATE,
+ pub securityContextSecurityBinding: WS_SECURITY_CONTEXT_SECURITY_BINDING_TEMPLATE,
+}
+impl ::core::marker::Copy for WS_TCP_SSPI_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_TCP_SSPI_KERBEROS_APREQ_SECURITY_CONTEXT_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TCP_SSPI_KERBEROS_APREQ_SECURITY_CONTEXT_POLICY_DESCRIPTION {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sspiTransportSecurityBinding: WS_SSPI_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION,
+ pub kerberosApreqMessageSecurityBinding: WS_KERBEROS_APREQ_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION,
+ pub securityContextSecurityBinding: WS_SECURITY_CONTEXT_SECURITY_BINDING_POLICY_DESCRIPTION,
+}
+impl ::core::marker::Copy for WS_TCP_SSPI_KERBEROS_APREQ_SECURITY_CONTEXT_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_TCP_SSPI_KERBEROS_APREQ_SECURITY_CONTEXT_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TCP_SSPI_POLICY_DESCRIPTION {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sspiTransportSecurityBinding: WS_SSPI_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION,
+}
+impl ::core::marker::Copy for WS_TCP_SSPI_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_TCP_SSPI_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING {
+ pub binding: WS_SECURITY_BINDING,
+ pub clientCredential: *mut WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL,
+}
+impl ::core::marker::Copy for WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING {}
+impl ::core::clone::Clone for WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_CONSTRAINT {
+ pub bindingConstraint: WS_SECURITY_BINDING_CONSTRAINT,
+}
+impl ::core::marker::Copy for WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_CONSTRAINT {}
+impl ::core::clone::Clone for WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_CONSTRAINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_TEMPLATE {
+ pub securityBindingProperties: WS_SECURITY_BINDING_PROPERTIES,
+ pub clientCredential: *mut WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL,
+}
+impl ::core::marker::Copy for WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TCP_SSPI_USERNAME_BINDING_TEMPLATE {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sspiTransportSecurityBinding: WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_TEMPLATE,
+ pub usernameMessageSecurityBinding: WS_USERNAME_MESSAGE_SECURITY_BINDING_TEMPLATE,
+}
+impl ::core::marker::Copy for WS_TCP_SSPI_USERNAME_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_TCP_SSPI_USERNAME_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TCP_SSPI_USERNAME_POLICY_DESCRIPTION {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sspiTransportSecurityBinding: WS_SSPI_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION,
+ pub usernameMessageSecurityBinding: WS_USERNAME_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION,
+}
+impl ::core::marker::Copy for WS_TCP_SSPI_USERNAME_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_TCP_SSPI_USERNAME_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TCP_SSPI_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sspiTransportSecurityBinding: WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_TEMPLATE,
+ pub usernameMessageSecurityBinding: WS_USERNAME_MESSAGE_SECURITY_BINDING_TEMPLATE,
+ pub securityContextSecurityBinding: WS_SECURITY_CONTEXT_SECURITY_BINDING_TEMPLATE,
+}
+impl ::core::marker::Copy for WS_TCP_SSPI_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_TCP_SSPI_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TCP_SSPI_USERNAME_SECURITY_CONTEXT_POLICY_DESCRIPTION {
+ pub channelProperties: WS_CHANNEL_PROPERTIES,
+ pub securityProperties: WS_SECURITY_PROPERTIES,
+ pub sspiTransportSecurityBinding: WS_SSPI_TRANSPORT_SECURITY_BINDING_POLICY_DESCRIPTION,
+ pub usernameMessageSecurityBinding: WS_USERNAME_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION,
+ pub securityContextSecurityBinding: WS_SECURITY_CONTEXT_SECURITY_BINDING_POLICY_DESCRIPTION,
+}
+impl ::core::marker::Copy for WS_TCP_SSPI_USERNAME_SECURITY_CONTEXT_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_TCP_SSPI_USERNAME_SECURITY_CONTEXT_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_THUMBPRINT_CERT_CREDENTIAL {
+ pub credential: WS_CERT_CREDENTIAL,
+ pub storeLocation: u32,
+ pub storeName: WS_STRING,
+ pub thumbprint: WS_STRING,
+}
+impl ::core::marker::Copy for WS_THUMBPRINT_CERT_CREDENTIAL {}
+impl ::core::clone::Clone for WS_THUMBPRINT_CERT_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TIMESPAN {
+ pub ticks: i64,
+}
+impl ::core::marker::Copy for WS_TIMESPAN {}
+impl ::core::clone::Clone for WS_TIMESPAN {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_TIMESPAN_DESCRIPTION {
+ pub minValue: WS_TIMESPAN,
+ pub maxValue: WS_TIMESPAN,
+}
+impl ::core::marker::Copy for WS_TIMESPAN_DESCRIPTION {}
+impl ::core::clone::Clone for WS_TIMESPAN_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_TRACE_API = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_NONE: WS_TRACE_API = -1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_START_READER_CANONICALIZATION: WS_TRACE_API = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_END_READER_CANONICALIZATION: WS_TRACE_API = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_START_WRITER_CANONICALIZATION: WS_TRACE_API = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_END_WRITER_CANONICALIZATION: WS_TRACE_API = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CREATE_XML_BUFFER: WS_TRACE_API = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_REMOVE_NODE: WS_TRACE_API = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CREATE_READER: WS_TRACE_API = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SET_INPUT: WS_TRACE_API = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SET_INPUT_TO_BUFFER: WS_TRACE_API = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FREE_XML_READER: WS_TRACE_API = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_READER_PROPERTY: WS_TRACE_API = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_READER_NODE: WS_TRACE_API = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FILL_READER: WS_TRACE_API = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_START_ELEMENT: WS_TRACE_API = 13i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_TO_START_ELEMENT: WS_TRACE_API = 14i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_START_ATTRIBUTE: WS_TRACE_API = 15i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_END_ATTRIBUTE: WS_TRACE_API = 16i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_NODE: WS_TRACE_API = 17i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SKIP_NODE: WS_TRACE_API = 18i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_END_ELEMENT: WS_TRACE_API = 19i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FIND_ATTRIBUTE: WS_TRACE_API = 20i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_ELEMENT_VALUE: WS_TRACE_API = 21i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_CHARS: WS_TRACE_API = 22i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_CHARS_UTF8: WS_TRACE_API = 23i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_BYTES: WS_TRACE_API = 24i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_ARRAY: WS_TRACE_API = 25i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_READER_POSITION: WS_TRACE_API = 26i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SET_READER_POSITION: WS_TRACE_API = 27i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_MOVE_READER: WS_TRACE_API = 28i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CREATE_WRITER: WS_TRACE_API = 29i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FREE_XML_WRITER: WS_TRACE_API = 30i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SET_OUTPUT: WS_TRACE_API = 31i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SET_OUTPUT_TO_BUFFER: WS_TRACE_API = 32i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_WRITER_PROPERTY: WS_TRACE_API = 33i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FLUSH_WRITER: WS_TRACE_API = 34i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_START_ELEMENT: WS_TRACE_API = 35i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_END_START_ELEMENT: WS_TRACE_API = 36i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_XMLNS_ATTRIBUTE: WS_TRACE_API = 37i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_START_ATTRIBUTE: WS_TRACE_API = 38i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_END_ATTRIBUTE: WS_TRACE_API = 39i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_VALUE: WS_TRACE_API = 40i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_XML_BUFFER: WS_TRACE_API = 41i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_XML_BUFFER: WS_TRACE_API = 42i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_XML_BUFFER_TO_BYTES: WS_TRACE_API = 43i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_XML_BUFFER_FROM_BYTES: WS_TRACE_API = 44i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_ARRAY: WS_TRACE_API = 45i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_QUALIFIED_NAME: WS_TRACE_API = 46i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_CHARS: WS_TRACE_API = 47i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_CHARS_UTF8: WS_TRACE_API = 48i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_BYTES: WS_TRACE_API = 49i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_PUSH_BYTES: WS_TRACE_API = 50i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_PULL_BYTES: WS_TRACE_API = 51i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_END_ELEMENT: WS_TRACE_API = 52i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_TEXT: WS_TRACE_API = 53i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_START_CDATA: WS_TRACE_API = 54i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_END_CDATA: WS_TRACE_API = 55i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_NODE: WS_TRACE_API = 56i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_PREFIX_FROM_NAMESPACE: WS_TRACE_API = 57i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_WRITER_POSITION: WS_TRACE_API = 58i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SET_WRITER_POSITION: WS_TRACE_API = 59i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_MOVE_WRITER: WS_TRACE_API = 60i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_TRIM_XML_WHITESPACE: WS_TRACE_API = 61i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_VERIFY_XML_NCNAME: WS_TRACE_API = 62i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_XML_STRING_EQUALS: WS_TRACE_API = 63i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_NAMESPACE_FROM_PREFIX: WS_TRACE_API = 64i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_QUALIFIED_NAME: WS_TRACE_API = 65i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_XML_ATTRIBUTE: WS_TRACE_API = 66i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_COPY_NODE: WS_TRACE_API = 67i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_ASYNC_EXECUTE: WS_TRACE_API = 68i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CREATE_CHANNEL: WS_TRACE_API = 69i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_OPEN_CHANNEL: WS_TRACE_API = 70i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SEND_MESSAGE: WS_TRACE_API = 71i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_RECEIVE_MESSAGE: WS_TRACE_API = 72i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_REQUEST_REPLY: WS_TRACE_API = 73i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SEND_REPLY_MESSAGE: WS_TRACE_API = 74i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SEND_FAULT_MESSAGE_FOR_ERROR: WS_TRACE_API = 75i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_CHANNEL_PROPERTY: WS_TRACE_API = 76i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SET_CHANNEL_PROPERTY: WS_TRACE_API = 77i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_MESSAGE_START: WS_TRACE_API = 78i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_MESSAGE_END: WS_TRACE_API = 79i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_MESSAGE_START: WS_TRACE_API = 80i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_MESSAGE_END: WS_TRACE_API = 81i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CLOSE_CHANNEL: WS_TRACE_API = 82i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_ABORT_CHANNEL: WS_TRACE_API = 83i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FREE_CHANNEL: WS_TRACE_API = 84i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_RESET_CHANNEL: WS_TRACE_API = 85i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_ABANDON_MESSAGE: WS_TRACE_API = 86i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SHUTDOWN_SESSION_CHANNEL: WS_TRACE_API = 87i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_CONTEXT_PROPERTY: WS_TRACE_API = 88i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_DICTIONARY: WS_TRACE_API = 89i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_ENDPOINT_ADDRESS_EXTENSION: WS_TRACE_API = 90i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CREATE_ERROR: WS_TRACE_API = 91i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_ADD_ERROR_STRING: WS_TRACE_API = 92i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_ERROR_STRING: WS_TRACE_API = 93i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_COPY_ERROR: WS_TRACE_API = 94i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_ERROR_PROPERTY: WS_TRACE_API = 95i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SET_ERROR_PROPERTY: WS_TRACE_API = 96i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_RESET_ERROR: WS_TRACE_API = 97i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FREE_ERROR: WS_TRACE_API = 98i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_FAULT_ERROR_PROPERTY: WS_TRACE_API = 99i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SET_FAULT_ERROR_PROPERTY: WS_TRACE_API = 100i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CREATE_FAULT_FROM_ERROR: WS_TRACE_API = 101i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SET_FAULT_ERROR_DETAIL: WS_TRACE_API = 102i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_FAULT_ERROR_DETAIL: WS_TRACE_API = 103i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CREATE_HEAP: WS_TRACE_API = 104i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_ALLOC: WS_TRACE_API = 105i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_HEAP_PROPERTY: WS_TRACE_API = 106i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_RESET_HEAP: WS_TRACE_API = 107i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FREE_HEAP: WS_TRACE_API = 108i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CREATE_LISTENER: WS_TRACE_API = 109i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_OPEN_LISTENER: WS_TRACE_API = 110i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_ACCEPT_CHANNEL: WS_TRACE_API = 111i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CLOSE_LISTENER: WS_TRACE_API = 112i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_ABORT_LISTENER: WS_TRACE_API = 113i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_RESET_LISTENER: WS_TRACE_API = 114i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FREE_LISTENER: WS_TRACE_API = 115i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_LISTENER_PROPERTY: WS_TRACE_API = 116i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SET_LISTENER_PROPERTY: WS_TRACE_API = 117i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CREATE_CHANNEL_FOR_LISTENER: WS_TRACE_API = 118i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CREATE_MESSAGE: WS_TRACE_API = 119i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CREATE_MESSAGE_FOR_CHANNEL: WS_TRACE_API = 120i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_INITIALIZE_MESSAGE: WS_TRACE_API = 121i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_RESET_MESSAGE: WS_TRACE_API = 122i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FREE_MESSAGE: WS_TRACE_API = 123i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_HEADER_ATTRIBUTES: WS_TRACE_API = 124i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_HEADER: WS_TRACE_API = 125i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_CUSTOM_HEADER: WS_TRACE_API = 126i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_REMOVE_HEADER: WS_TRACE_API = 127i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SET_HEADER: WS_TRACE_API = 128i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_REMOVE_CUSTOM_HEADER: WS_TRACE_API = 129i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_ADD_CUSTOM_HEADER: WS_TRACE_API = 130i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_ADD_MAPPED_HEADER: WS_TRACE_API = 131i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_REMOVE_MAPPED_HEADER: WS_TRACE_API = 132i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_MAPPED_HEADER: WS_TRACE_API = 133i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_BODY: WS_TRACE_API = 134i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_BODY: WS_TRACE_API = 135i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_ENVELOPE_START: WS_TRACE_API = 136i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_ENVELOPE_END: WS_TRACE_API = 137i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_ENVELOPE_START: WS_TRACE_API = 138i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_ENVELOPE_END: WS_TRACE_API = 139i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_MESSAGE_PROPERTY: WS_TRACE_API = 140i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SET_MESSAGE_PROPERTY: WS_TRACE_API = 141i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_ADDRESS_MESSAGE: WS_TRACE_API = 142i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CHECK_MUST_UNDERSTAND_HEADERS: WS_TRACE_API = 143i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_MARK_HEADER_AS_UNDERSTOOD: WS_TRACE_API = 144i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FILL_BODY: WS_TRACE_API = 145i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FLUSH_BODY: WS_TRACE_API = 146i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_REQUEST_SECURITY_TOKEN: WS_TRACE_API = 147i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_SECURITY_TOKEN_PROPERTY: WS_TRACE_API = 148i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CREATE_XML_SECURITY_TOKEN: WS_TRACE_API = 149i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FREE_SECURITY_TOKEN: WS_TRACE_API = 150i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_REVOKE_SECURITY_CONTEXT: WS_TRACE_API = 151i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_SECURITY_CONTEXT_PROPERTY: WS_TRACE_API = 152i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_ELEMENT_TYPE: WS_TRACE_API = 153i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_ATTRIBUTE_TYPE: WS_TRACE_API = 154i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_TYPE: WS_TRACE_API = 155i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_ELEMENT_TYPE: WS_TRACE_API = 156i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_ATTRIBUTE_TYPE: WS_TRACE_API = 157i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WRITE_TYPE: WS_TRACE_API = 158i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SERVICE_REGISTER_FOR_CANCEL: WS_TRACE_API = 159i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_SERVICE_HOST_PROPERTY: WS_TRACE_API = 160i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CREATE_SERVICE_HOST: WS_TRACE_API = 161i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_OPEN_SERVICE_HOST: WS_TRACE_API = 162i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CLOSE_SERVICE_HOST: WS_TRACE_API = 163i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_ABORT_SERVICE_HOST: WS_TRACE_API = 164i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FREE_SERVICE_HOST: WS_TRACE_API = 165i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_RESET_SERVICE_HOST: WS_TRACE_API = 166i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_SERVICE_PROXY_PROPERTY: WS_TRACE_API = 167i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CREATE_SERVICE_PROXY: WS_TRACE_API = 168i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_OPEN_SERVICE_PROXY: WS_TRACE_API = 169i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CLOSE_SERVICE_PROXY: WS_TRACE_API = 170i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_ABORT_SERVICE_PROXY: WS_TRACE_API = 171i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FREE_SERVICE_PROXY: WS_TRACE_API = 172i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_RESET_SERVICE_PROXY: WS_TRACE_API = 173i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_ABORT_CALL: WS_TRACE_API = 174i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CALL: WS_TRACE_API = 175i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_DECODE_URL: WS_TRACE_API = 176i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_ENCODE_URL: WS_TRACE_API = 177i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_COMBINE_URL: WS_TRACE_API = 178i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_DATETIME_TO_FILETIME: WS_TRACE_API = 179i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FILETIME_TO_DATETIME: WS_TRACE_API = 180i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_DUMP_MEMORY: WS_TRACE_API = 181i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_SET_AUTOFAIL: WS_TRACE_API = 182i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_CREATE_METADATA: WS_TRACE_API = 183i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_READ_METADATA: WS_TRACE_API = 184i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_FREE_METADATA: WS_TRACE_API = 185i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_RESET_METADATA: WS_TRACE_API = 186i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_METADATA_PROPERTY: WS_TRACE_API = 187i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_MISSING_METADATA_DOCUMENT_ADDRESS: WS_TRACE_API = 188i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_METADATA_ENDPOINTS: WS_TRACE_API = 189i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_MATCH_POLICY_ALTERNATIVE: WS_TRACE_API = 190i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_POLICY_PROPERTY: WS_TRACE_API = 191i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_GET_POLICY_ALTERNATIVE_COUNT: WS_TRACE_API = 192i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WS_CREATE_SERVICE_PROXY_FROM_TEMPLATE: WS_TRACE_API = 193i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRACE_API_WS_CREATE_SERVICE_HOST_FROM_TEMPLATE: WS_TRACE_API = 194i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_TRANSFER_MODE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_STREAMED_INPUT_TRANSFER_MODE: WS_TRANSFER_MODE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_STREAMED_OUTPUT_TRANSFER_MODE: WS_TRANSFER_MODE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_BUFFERED_TRANSFER_MODE: WS_TRANSFER_MODE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_STREAMED_TRANSFER_MODE: WS_TRANSFER_MODE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_TRUST_VERSION = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRUST_VERSION_FEBRUARY_2005: WS_TRUST_VERSION = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TRUST_VERSION_1_3: WS_TRUST_VERSION = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_BOOL_TYPE: WS_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_INT8_TYPE: WS_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_INT16_TYPE: WS_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_INT32_TYPE: WS_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_INT64_TYPE: WS_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_UINT8_TYPE: WS_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_UINT16_TYPE: WS_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_UINT32_TYPE: WS_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_UINT64_TYPE: WS_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_FLOAT_TYPE: WS_TYPE = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_DOUBLE_TYPE: WS_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_DECIMAL_TYPE: WS_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_DATETIME_TYPE: WS_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TIMESPAN_TYPE: WS_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_GUID_TYPE: WS_TYPE = 14i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_UNIQUE_ID_TYPE: WS_TYPE = 15i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_STRING_TYPE: WS_TYPE = 16i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_WSZ_TYPE: WS_TYPE = 17i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_BYTES_TYPE: WS_TYPE = 18i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_STRING_TYPE: WS_TYPE = 19i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_QNAME_TYPE: WS_TYPE = 20i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_BUFFER_TYPE: WS_TYPE = 21i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CHAR_ARRAY_TYPE: WS_TYPE = 22i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_UTF8_ARRAY_TYPE: WS_TYPE = 23i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_BYTE_ARRAY_TYPE: WS_TYPE = 24i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_DESCRIPTION_TYPE: WS_TYPE = 25i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_STRUCT_TYPE: WS_TYPE = 26i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_CUSTOM_TYPE: WS_TYPE = 27i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENDPOINT_ADDRESS_TYPE: WS_TYPE = 28i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_FAULT_TYPE: WS_TYPE = 29i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_VOID_TYPE: WS_TYPE = 30i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ENUM_TYPE: WS_TYPE = 31i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_DURATION_TYPE: WS_TYPE = 32i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_UNION_TYPE: WS_TYPE = 33i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ANY_ATTRIBUTES_TYPE: WS_TYPE = 34i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_TYPE_MAPPING = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ELEMENT_TYPE_MAPPING: WS_TYPE_MAPPING = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ATTRIBUTE_TYPE_MAPPING: WS_TYPE_MAPPING = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ELEMENT_CONTENT_TYPE_MAPPING: WS_TYPE_MAPPING = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_ANY_ELEMENT_TYPE_MAPPING: WS_TYPE_MAPPING = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_UINT16_DESCRIPTION {
+ pub minValue: u16,
+ pub maxValue: u16,
+}
+impl ::core::marker::Copy for WS_UINT16_DESCRIPTION {}
+impl ::core::clone::Clone for WS_UINT16_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_UINT32_DESCRIPTION {
+ pub minValue: u32,
+ pub maxValue: u32,
+}
+impl ::core::marker::Copy for WS_UINT32_DESCRIPTION {}
+impl ::core::clone::Clone for WS_UINT32_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_UINT64_DESCRIPTION {
+ pub minValue: u64,
+ pub maxValue: u64,
+}
+impl ::core::marker::Copy for WS_UINT64_DESCRIPTION {}
+impl ::core::clone::Clone for WS_UINT64_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_UINT8_DESCRIPTION {
+ pub minValue: u8,
+ pub maxValue: u8,
+}
+impl ::core::marker::Copy for WS_UINT8_DESCRIPTION {}
+impl ::core::clone::Clone for WS_UINT8_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_UNION_DESCRIPTION {
+ pub size: u32,
+ pub alignment: u32,
+ pub fields: *mut *mut WS_UNION_FIELD_DESCRIPTION,
+ pub fieldCount: u32,
+ pub enumOffset: u32,
+ pub noneEnumValue: i32,
+ pub valueIndices: *mut u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_UNION_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_UNION_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_UNION_FIELD_DESCRIPTION {
+ pub value: i32,
+ pub field: WS_FIELD_DESCRIPTION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_UNION_FIELD_DESCRIPTION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_UNION_FIELD_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_UNIQUE_ID {
+ pub uri: WS_STRING,
+ pub guid: ::windows_sys::core::GUID,
+}
+impl ::core::marker::Copy for WS_UNIQUE_ID {}
+impl ::core::clone::Clone for WS_UNIQUE_ID {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_UNIQUE_ID_DESCRIPTION {
+ pub minCharCount: u32,
+ pub maxCharCount: u32,
+}
+impl ::core::marker::Copy for WS_UNIQUE_ID_DESCRIPTION {}
+impl ::core::clone::Clone for WS_UNIQUE_ID_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_UNKNOWN_ENDPOINT_IDENTITY {
+ pub identity: WS_ENDPOINT_IDENTITY,
+ pub element: *mut WS_XML_BUFFER,
+}
+impl ::core::marker::Copy for WS_UNKNOWN_ENDPOINT_IDENTITY {}
+impl ::core::clone::Clone for WS_UNKNOWN_ENDPOINT_IDENTITY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_UPN_ENDPOINT_IDENTITY {
+ pub identity: WS_ENDPOINT_IDENTITY,
+ pub upn: WS_STRING,
+}
+impl ::core::marker::Copy for WS_UPN_ENDPOINT_IDENTITY {}
+impl ::core::clone::Clone for WS_UPN_ENDPOINT_IDENTITY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_URL {
+ pub scheme: WS_URL_SCHEME_TYPE,
+}
+impl ::core::marker::Copy for WS_URL {}
+impl ::core::clone::Clone for WS_URL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_URL_FLAGS_ALLOW_HOST_WILDCARDS: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_URL_FLAGS_NO_PATH_COLLAPSE: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_URL_FLAGS_ZERO_TERMINATE: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_URL_SCHEME_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_URL_HTTP_SCHEME_TYPE: WS_URL_SCHEME_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_URL_HTTPS_SCHEME_TYPE: WS_URL_SCHEME_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_URL_NETTCP_SCHEME_TYPE: WS_URL_SCHEME_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_URL_SOAPUDP_SCHEME_TYPE: WS_URL_SCHEME_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_URL_NETPIPE_SCHEME_TYPE: WS_URL_SCHEME_TYPE = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_USERNAME_CREDENTIAL {
+ pub credentialType: WS_USERNAME_CREDENTIAL_TYPE,
+}
+impl ::core::marker::Copy for WS_USERNAME_CREDENTIAL {}
+impl ::core::clone::Clone for WS_USERNAME_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_USERNAME_CREDENTIAL_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_STRING_USERNAME_CREDENTIAL_TYPE: WS_USERNAME_CREDENTIAL_TYPE = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_USERNAME_MESSAGE_SECURITY_BINDING {
+ pub binding: WS_SECURITY_BINDING,
+ pub bindingUsage: WS_MESSAGE_SECURITY_USAGE,
+ pub clientCredential: *mut WS_USERNAME_CREDENTIAL,
+ pub passwordValidator: WS_VALIDATE_PASSWORD_CALLBACK,
+ pub passwordValidatorCallbackState: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for WS_USERNAME_MESSAGE_SECURITY_BINDING {}
+impl ::core::clone::Clone for WS_USERNAME_MESSAGE_SECURITY_BINDING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_USERNAME_MESSAGE_SECURITY_BINDING_CONSTRAINT {
+ pub bindingConstraint: WS_SECURITY_BINDING_CONSTRAINT,
+ pub bindingUsage: WS_MESSAGE_SECURITY_USAGE,
+}
+impl ::core::marker::Copy for WS_USERNAME_MESSAGE_SECURITY_BINDING_CONSTRAINT {}
+impl ::core::clone::Clone for WS_USERNAME_MESSAGE_SECURITY_BINDING_CONSTRAINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_USERNAME_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION {
+ pub securityBindingProperties: WS_SECURITY_BINDING_PROPERTIES,
+ pub bindingUsage: WS_MESSAGE_SECURITY_USAGE,
+}
+impl ::core::marker::Copy for WS_USERNAME_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_USERNAME_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_USERNAME_MESSAGE_SECURITY_BINDING_TEMPLATE {
+ pub securityBindingProperties: WS_SECURITY_BINDING_PROPERTIES,
+ pub clientCredential: *mut WS_USERNAME_CREDENTIAL,
+ pub passwordValidator: WS_VALIDATE_PASSWORD_CALLBACK,
+ pub passwordValidatorCallbackState: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for WS_USERNAME_MESSAGE_SECURITY_BINDING_TEMPLATE {}
+impl ::core::clone::Clone for WS_USERNAME_MESSAGE_SECURITY_BINDING_TEMPLATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_UTF8_ARRAY_DESCRIPTION {
+ pub minByteCount: u32,
+ pub maxByteCount: u32,
+}
+impl ::core::marker::Copy for WS_UTF8_ARRAY_DESCRIPTION {}
+impl ::core::clone::Clone for WS_UTF8_ARRAY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_VALIDATE_PASSWORD_CALLBACK = ::core::option::Option<unsafe extern "system" fn(passwordvalidatorcallbackstate: *const ::core::ffi::c_void, username: *const WS_STRING, password: *const WS_STRING, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_VALIDATE_SAML_CALLBACK = ::core::option::Option<unsafe extern "system" fn(samlvalidatorcallbackstate: *const ::core::ffi::c_void, samlassertion: *const WS_XML_BUFFER, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_VALUE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_BOOL_VALUE_TYPE: WS_VALUE_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_INT8_VALUE_TYPE: WS_VALUE_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_INT16_VALUE_TYPE: WS_VALUE_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_INT32_VALUE_TYPE: WS_VALUE_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_INT64_VALUE_TYPE: WS_VALUE_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_UINT8_VALUE_TYPE: WS_VALUE_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_UINT16_VALUE_TYPE: WS_VALUE_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_UINT32_VALUE_TYPE: WS_VALUE_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_UINT64_VALUE_TYPE: WS_VALUE_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_FLOAT_VALUE_TYPE: WS_VALUE_TYPE = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_DOUBLE_VALUE_TYPE: WS_VALUE_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_DECIMAL_VALUE_TYPE: WS_VALUE_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_DATETIME_VALUE_TYPE: WS_VALUE_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_TIMESPAN_VALUE_TYPE: WS_VALUE_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_GUID_VALUE_TYPE: WS_VALUE_TYPE = 14i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_DURATION_VALUE_TYPE: WS_VALUE_TYPE = 15i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_VOID_DESCRIPTION {
+ pub size: u32,
+}
+impl ::core::marker::Copy for WS_VOID_DESCRIPTION {}
+impl ::core::clone::Clone for WS_VOID_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL {
+ pub credentialType: WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL_TYPE,
+}
+impl ::core::marker::Copy for WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL {}
+impl ::core::clone::Clone for WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_STRING_WINDOWS_INTEGRATED_AUTH_CREDENTIAL_TYPE: WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_DEFAULT_WINDOWS_INTEGRATED_AUTH_CREDENTIAL_TYPE: WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_OPAQUE_WINDOWS_INTEGRATED_AUTH_CREDENTIAL_TYPE: WS_WINDOWS_INTEGRATED_AUTH_CREDENTIAL_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_WINDOWS_INTEGRATED_AUTH_PACKAGE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_WINDOWS_INTEGRATED_AUTH_PACKAGE_KERBEROS: WS_WINDOWS_INTEGRATED_AUTH_PACKAGE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_WINDOWS_INTEGRATED_AUTH_PACKAGE_NTLM: WS_WINDOWS_INTEGRATED_AUTH_PACKAGE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_WINDOWS_INTEGRATED_AUTH_PACKAGE_SPNEGO: WS_WINDOWS_INTEGRATED_AUTH_PACKAGE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_WRITE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callbackstate: *const ::core::ffi::c_void, buffers: *const WS_BYTES, count: u32, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_WRITE_MESSAGE_END_CALLBACK = ::core::option::Option<unsafe extern "system" fn(channelinstance: *const ::core::ffi::c_void, message: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_WRITE_MESSAGE_START_CALLBACK = ::core::option::Option<unsafe extern "system" fn(channelinstance: *const ::core::ffi::c_void, message: *const WS_MESSAGE, asynccontext: *const WS_ASYNC_CONTEXT, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_WRITE_OPTION = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_WRITE_REQUIRED_VALUE: WS_WRITE_OPTION = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_WRITE_REQUIRED_POINTER: WS_WRITE_OPTION = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_WRITE_NILLABLE_VALUE: WS_WRITE_OPTION = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_WRITE_NILLABLE_POINTER: WS_WRITE_OPTION = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_WRITE_TYPE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(writer: *const WS_XML_WRITER, typemapping: WS_TYPE_MAPPING, descriptiondata: *const ::core::ffi::c_void, value: *const ::core::ffi::c_void, valuesize: u32, error: *const WS_ERROR) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_WSZ_DESCRIPTION {
+ pub minCharCount: u32,
+ pub maxCharCount: u32,
+}
+impl ::core::marker::Copy for WS_WSZ_DESCRIPTION {}
+impl ::core::clone::Clone for WS_WSZ_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_XML_ATTRIBUTE {
+ pub singleQuote: u8,
+ pub isXmlNs: u8,
+ pub prefix: *mut WS_XML_STRING,
+ pub localName: *mut WS_XML_STRING,
+ pub ns: *mut WS_XML_STRING,
+ pub value: *mut WS_XML_TEXT,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_XML_ATTRIBUTE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_XML_ATTRIBUTE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_BASE64_TEXT {
+ pub text: WS_XML_TEXT,
+ pub bytes: *mut u8,
+ pub length: u32,
+}
+impl ::core::marker::Copy for WS_XML_BASE64_TEXT {}
+impl ::core::clone::Clone for WS_XML_BASE64_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_XML_BOOL_TEXT {
+ pub text: WS_XML_TEXT,
+ pub value: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_XML_BOOL_TEXT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_XML_BOOL_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+pub struct WS_XML_BUFFER(pub u8);
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_BUFFER_PROPERTY {
+ pub id: WS_XML_BUFFER_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_XML_BUFFER_PROPERTY {}
+impl ::core::clone::Clone for WS_XML_BUFFER_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_XML_BUFFER_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_XML_CANONICALIZATION_ALGORITHM = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_EXCLUSIVE_XML_CANONICALIZATION_ALGORITHM: WS_XML_CANONICALIZATION_ALGORITHM = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_EXCLUSIVE_WITH_COMMENTS_XML_CANONICALIZATION_ALGORITHM: WS_XML_CANONICALIZATION_ALGORITHM = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_INCLUSIVE_XML_CANONICALIZATION_ALGORITHM: WS_XML_CANONICALIZATION_ALGORITHM = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_INCLUSIVE_WITH_COMMENTS_XML_CANONICALIZATION_ALGORITHM: WS_XML_CANONICALIZATION_ALGORITHM = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_XML_CANONICALIZATION_INCLUSIVE_PREFIXES {
+ pub prefixCount: u32,
+ pub prefixes: *mut WS_XML_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_XML_CANONICALIZATION_INCLUSIVE_PREFIXES {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_XML_CANONICALIZATION_INCLUSIVE_PREFIXES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_CANONICALIZATION_PROPERTY {
+ pub id: WS_XML_CANONICALIZATION_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_XML_CANONICALIZATION_PROPERTY {}
+impl ::core::clone::Clone for WS_XML_CANONICALIZATION_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_XML_CANONICALIZATION_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_CANONICALIZATION_PROPERTY_ALGORITHM: WS_XML_CANONICALIZATION_PROPERTY_ID = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_CANONICALIZATION_PROPERTY_INCLUSIVE_PREFIXES: WS_XML_CANONICALIZATION_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_CANONICALIZATION_PROPERTY_OMITTED_ELEMENT: WS_XML_CANONICALIZATION_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_CANONICALIZATION_PROPERTY_OUTPUT_BUFFER_SIZE: WS_XML_CANONICALIZATION_PROPERTY_ID = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_XML_COMMENT_NODE {
+ pub node: WS_XML_NODE,
+ pub value: WS_XML_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_XML_COMMENT_NODE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_XML_COMMENT_NODE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_DATETIME_TEXT {
+ pub text: WS_XML_TEXT,
+ pub value: WS_DATETIME,
+}
+impl ::core::marker::Copy for WS_XML_DATETIME_TEXT {}
+impl ::core::clone::Clone for WS_XML_DATETIME_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_XML_DECIMAL_TEXT {
+ pub text: WS_XML_TEXT,
+ pub value: super::super::Foundation::DECIMAL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_XML_DECIMAL_TEXT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_XML_DECIMAL_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_XML_DICTIONARY {
+ pub guid: ::windows_sys::core::GUID,
+ pub strings: *mut WS_XML_STRING,
+ pub stringCount: u32,
+ pub isConst: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_XML_DICTIONARY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_XML_DICTIONARY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_DOUBLE_TEXT {
+ pub text: WS_XML_TEXT,
+ pub value: f64,
+}
+impl ::core::marker::Copy for WS_XML_DOUBLE_TEXT {}
+impl ::core::clone::Clone for WS_XML_DOUBLE_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_XML_ELEMENT_NODE {
+ pub node: WS_XML_NODE,
+ pub prefix: *mut WS_XML_STRING,
+ pub localName: *mut WS_XML_STRING,
+ pub ns: *mut WS_XML_STRING,
+ pub attributeCount: u32,
+ pub attributes: *mut *mut WS_XML_ATTRIBUTE,
+ pub isEmpty: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_XML_ELEMENT_NODE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_XML_ELEMENT_NODE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_FLOAT_TEXT {
+ pub text: WS_XML_TEXT,
+ pub value: f32,
+}
+impl ::core::marker::Copy for WS_XML_FLOAT_TEXT {}
+impl ::core::clone::Clone for WS_XML_FLOAT_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_GUID_TEXT {
+ pub text: WS_XML_TEXT,
+ pub value: ::windows_sys::core::GUID,
+}
+impl ::core::marker::Copy for WS_XML_GUID_TEXT {}
+impl ::core::clone::Clone for WS_XML_GUID_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_INT32_TEXT {
+ pub text: WS_XML_TEXT,
+ pub value: i32,
+}
+impl ::core::marker::Copy for WS_XML_INT32_TEXT {}
+impl ::core::clone::Clone for WS_XML_INT32_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_INT64_TEXT {
+ pub text: WS_XML_TEXT,
+ pub value: i64,
+}
+impl ::core::marker::Copy for WS_XML_INT64_TEXT {}
+impl ::core::clone::Clone for WS_XML_INT64_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_LIST_TEXT {
+ pub text: WS_XML_TEXT,
+ pub itemCount: u32,
+ pub items: *mut *mut WS_XML_TEXT,
+}
+impl ::core::marker::Copy for WS_XML_LIST_TEXT {}
+impl ::core::clone::Clone for WS_XML_LIST_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_NODE {
+ pub nodeType: WS_XML_NODE_TYPE,
+}
+impl ::core::marker::Copy for WS_XML_NODE {}
+impl ::core::clone::Clone for WS_XML_NODE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_NODE_POSITION {
+ pub buffer: *mut WS_XML_BUFFER,
+ pub node: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for WS_XML_NODE_POSITION {}
+impl ::core::clone::Clone for WS_XML_NODE_POSITION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_XML_NODE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_NODE_TYPE_ELEMENT: WS_XML_NODE_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_NODE_TYPE_TEXT: WS_XML_NODE_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_NODE_TYPE_END_ELEMENT: WS_XML_NODE_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_NODE_TYPE_COMMENT: WS_XML_NODE_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_NODE_TYPE_CDATA: WS_XML_NODE_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_NODE_TYPE_END_CDATA: WS_XML_NODE_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_NODE_TYPE_EOF: WS_XML_NODE_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_NODE_TYPE_BOF: WS_XML_NODE_TYPE = 9i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_XML_QNAME {
+ pub localName: WS_XML_STRING,
+ pub ns: WS_XML_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_XML_QNAME {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_XML_QNAME {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_QNAME_DESCRIPTION {
+ pub minLocalNameByteCount: u32,
+ pub maxLocalNameByteCount: u32,
+ pub minNsByteCount: u32,
+ pub maxNsByteCount: u32,
+}
+impl ::core::marker::Copy for WS_XML_QNAME_DESCRIPTION {}
+impl ::core::clone::Clone for WS_XML_QNAME_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_XML_QNAME_TEXT {
+ pub text: WS_XML_TEXT,
+ pub prefix: *mut WS_XML_STRING,
+ pub localName: *mut WS_XML_STRING,
+ pub ns: *mut WS_XML_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_XML_QNAME_TEXT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_XML_QNAME_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+pub struct WS_XML_READER(pub u8);
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_XML_READER_BINARY_ENCODING {
+ pub encoding: WS_XML_READER_ENCODING,
+ pub staticDictionary: *mut WS_XML_DICTIONARY,
+ pub dynamicDictionary: *mut WS_XML_DICTIONARY,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_XML_READER_BINARY_ENCODING {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_XML_READER_BINARY_ENCODING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_READER_BUFFER_INPUT {
+ pub input: WS_XML_READER_INPUT,
+ pub encodedData: *mut ::core::ffi::c_void,
+ pub encodedDataSize: u32,
+}
+impl ::core::marker::Copy for WS_XML_READER_BUFFER_INPUT {}
+impl ::core::clone::Clone for WS_XML_READER_BUFFER_INPUT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_READER_ENCODING {
+ pub encodingType: WS_XML_READER_ENCODING_TYPE,
+}
+impl ::core::marker::Copy for WS_XML_READER_ENCODING {}
+impl ::core::clone::Clone for WS_XML_READER_ENCODING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_XML_READER_ENCODING_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_ENCODING_TYPE_TEXT: WS_XML_READER_ENCODING_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_ENCODING_TYPE_BINARY: WS_XML_READER_ENCODING_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_ENCODING_TYPE_MTOM: WS_XML_READER_ENCODING_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_ENCODING_TYPE_RAW: WS_XML_READER_ENCODING_TYPE = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_READER_INPUT {
+ pub inputType: WS_XML_READER_INPUT_TYPE,
+}
+impl ::core::marker::Copy for WS_XML_READER_INPUT {}
+impl ::core::clone::Clone for WS_XML_READER_INPUT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_XML_READER_INPUT_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_INPUT_TYPE_BUFFER: WS_XML_READER_INPUT_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_INPUT_TYPE_STREAM: WS_XML_READER_INPUT_TYPE = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_XML_READER_MTOM_ENCODING {
+ pub encoding: WS_XML_READER_ENCODING,
+ pub textEncoding: *mut WS_XML_READER_ENCODING,
+ pub readMimeHeader: super::super::Foundation::BOOL,
+ pub startInfo: WS_STRING,
+ pub boundary: WS_STRING,
+ pub startUri: WS_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_XML_READER_MTOM_ENCODING {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_XML_READER_MTOM_ENCODING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_READER_PROPERTIES {
+ pub properties: *mut WS_XML_READER_PROPERTY,
+ pub propertyCount: u32,
+}
+impl ::core::marker::Copy for WS_XML_READER_PROPERTIES {}
+impl ::core::clone::Clone for WS_XML_READER_PROPERTIES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_READER_PROPERTY {
+ pub id: WS_XML_READER_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_XML_READER_PROPERTY {}
+impl ::core::clone::Clone for WS_XML_READER_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_XML_READER_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_PROPERTY_MAX_DEPTH: WS_XML_READER_PROPERTY_ID = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_PROPERTY_ALLOW_FRAGMENT: WS_XML_READER_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_PROPERTY_MAX_ATTRIBUTES: WS_XML_READER_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_PROPERTY_READ_DECLARATION: WS_XML_READER_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_PROPERTY_CHARSET: WS_XML_READER_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_PROPERTY_ROW: WS_XML_READER_PROPERTY_ID = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_PROPERTY_COLUMN: WS_XML_READER_PROPERTY_ID = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_PROPERTY_UTF8_TRIM_SIZE: WS_XML_READER_PROPERTY_ID = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_PROPERTY_STREAM_BUFFER_SIZE: WS_XML_READER_PROPERTY_ID = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_PROPERTY_IN_ATTRIBUTE: WS_XML_READER_PROPERTY_ID = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_PROPERTY_STREAM_MAX_ROOT_MIME_PART_SIZE: WS_XML_READER_PROPERTY_ID = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_PROPERTY_STREAM_MAX_MIME_HEADERS_SIZE: WS_XML_READER_PROPERTY_ID = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_PROPERTY_MAX_MIME_PARTS: WS_XML_READER_PROPERTY_ID = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_PROPERTY_ALLOW_INVALID_CHARACTER_REFERENCES: WS_XML_READER_PROPERTY_ID = 13i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_READER_PROPERTY_MAX_NAMESPACES: WS_XML_READER_PROPERTY_ID = 14i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_READER_RAW_ENCODING {
+ pub encoding: WS_XML_READER_ENCODING,
+}
+impl ::core::marker::Copy for WS_XML_READER_RAW_ENCODING {}
+impl ::core::clone::Clone for WS_XML_READER_RAW_ENCODING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_READER_STREAM_INPUT {
+ pub input: WS_XML_READER_INPUT,
+ pub readCallback: WS_READ_CALLBACK,
+ pub readCallbackState: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for WS_XML_READER_STREAM_INPUT {}
+impl ::core::clone::Clone for WS_XML_READER_STREAM_INPUT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_READER_TEXT_ENCODING {
+ pub encoding: WS_XML_READER_ENCODING,
+ pub charSet: WS_CHARSET,
+}
+impl ::core::marker::Copy for WS_XML_READER_TEXT_ENCODING {}
+impl ::core::clone::Clone for WS_XML_READER_TEXT_ENCODING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_SECURITY_TOKEN_PROPERTY {
+ pub id: WS_XML_SECURITY_TOKEN_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_XML_SECURITY_TOKEN_PROPERTY {}
+impl ::core::clone::Clone for WS_XML_SECURITY_TOKEN_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_XML_SECURITY_TOKEN_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_SECURITY_TOKEN_PROPERTY_ATTACHED_REFERENCE: WS_XML_SECURITY_TOKEN_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_SECURITY_TOKEN_PROPERTY_UNATTACHED_REFERENCE: WS_XML_SECURITY_TOKEN_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_SECURITY_TOKEN_PROPERTY_VALID_FROM_TIME: WS_XML_SECURITY_TOKEN_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_SECURITY_TOKEN_PROPERTY_VALID_TILL_TIME: WS_XML_SECURITY_TOKEN_PROPERTY_ID = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_XML_STRING {
+ pub length: u32,
+ pub bytes: *mut u8,
+ pub dictionary: *mut WS_XML_DICTIONARY,
+ pub id: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_XML_STRING {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_XML_STRING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_STRING_DESCRIPTION {
+ pub minByteCount: u32,
+ pub maxByteCount: u32,
+}
+impl ::core::marker::Copy for WS_XML_STRING_DESCRIPTION {}
+impl ::core::clone::Clone for WS_XML_STRING_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_TEXT {
+ pub textType: WS_XML_TEXT_TYPE,
+}
+impl ::core::marker::Copy for WS_XML_TEXT {}
+impl ::core::clone::Clone for WS_XML_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_TEXT_NODE {
+ pub node: WS_XML_NODE,
+ pub text: *mut WS_XML_TEXT,
+}
+impl ::core::marker::Copy for WS_XML_TEXT_NODE {}
+impl ::core::clone::Clone for WS_XML_TEXT_NODE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_XML_TEXT_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_UTF8: WS_XML_TEXT_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_UTF16: WS_XML_TEXT_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_BASE64: WS_XML_TEXT_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_BOOL: WS_XML_TEXT_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_INT32: WS_XML_TEXT_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_INT64: WS_XML_TEXT_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_UINT64: WS_XML_TEXT_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_FLOAT: WS_XML_TEXT_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_DOUBLE: WS_XML_TEXT_TYPE = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_DECIMAL: WS_XML_TEXT_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_GUID: WS_XML_TEXT_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_UNIQUE_ID: WS_XML_TEXT_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_DATETIME: WS_XML_TEXT_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_TIMESPAN: WS_XML_TEXT_TYPE = 14i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_QNAME: WS_XML_TEXT_TYPE = 15i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_TEXT_TYPE_LIST: WS_XML_TEXT_TYPE = 16i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_TIMESPAN_TEXT {
+ pub text: WS_XML_TEXT,
+ pub value: WS_TIMESPAN,
+}
+impl ::core::marker::Copy for WS_XML_TIMESPAN_TEXT {}
+impl ::core::clone::Clone for WS_XML_TIMESPAN_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_TOKEN_MESSAGE_SECURITY_BINDING {
+ pub binding: WS_SECURITY_BINDING,
+ pub bindingUsage: WS_MESSAGE_SECURITY_USAGE,
+ pub xmlToken: *mut WS_SECURITY_TOKEN,
+}
+impl ::core::marker::Copy for WS_XML_TOKEN_MESSAGE_SECURITY_BINDING {}
+impl ::core::clone::Clone for WS_XML_TOKEN_MESSAGE_SECURITY_BINDING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_UINT64_TEXT {
+ pub text: WS_XML_TEXT,
+ pub value: u64,
+}
+impl ::core::marker::Copy for WS_XML_UINT64_TEXT {}
+impl ::core::clone::Clone for WS_XML_UINT64_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_UNIQUE_ID_TEXT {
+ pub text: WS_XML_TEXT,
+ pub value: ::windows_sys::core::GUID,
+}
+impl ::core::marker::Copy for WS_XML_UNIQUE_ID_TEXT {}
+impl ::core::clone::Clone for WS_XML_UNIQUE_ID_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_UTF16_TEXT {
+ pub text: WS_XML_TEXT,
+ pub bytes: *mut u8,
+ pub byteCount: u32,
+}
+impl ::core::marker::Copy for WS_XML_UTF16_TEXT {}
+impl ::core::clone::Clone for WS_XML_UTF16_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_XML_UTF8_TEXT {
+ pub text: WS_XML_TEXT,
+ pub value: WS_XML_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_XML_UTF8_TEXT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_XML_UTF8_TEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+pub struct WS_XML_WRITER(pub u8);
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_XML_WRITER_BINARY_ENCODING {
+ pub encoding: WS_XML_WRITER_ENCODING,
+ pub staticDictionary: *mut WS_XML_DICTIONARY,
+ pub dynamicStringCallback: WS_DYNAMIC_STRING_CALLBACK,
+ pub dynamicStringCallbackState: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_XML_WRITER_BINARY_ENCODING {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_XML_WRITER_BINARY_ENCODING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_WRITER_BUFFER_OUTPUT {
+ pub output: WS_XML_WRITER_OUTPUT,
+}
+impl ::core::marker::Copy for WS_XML_WRITER_BUFFER_OUTPUT {}
+impl ::core::clone::Clone for WS_XML_WRITER_BUFFER_OUTPUT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_WRITER_ENCODING {
+ pub encodingType: WS_XML_WRITER_ENCODING_TYPE,
+}
+impl ::core::marker::Copy for WS_XML_WRITER_ENCODING {}
+impl ::core::clone::Clone for WS_XML_WRITER_ENCODING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_XML_WRITER_ENCODING_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_ENCODING_TYPE_TEXT: WS_XML_WRITER_ENCODING_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_ENCODING_TYPE_BINARY: WS_XML_WRITER_ENCODING_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_ENCODING_TYPE_MTOM: WS_XML_WRITER_ENCODING_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_ENCODING_TYPE_RAW: WS_XML_WRITER_ENCODING_TYPE = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WS_XML_WRITER_MTOM_ENCODING {
+ pub encoding: WS_XML_WRITER_ENCODING,
+ pub textEncoding: *mut WS_XML_WRITER_ENCODING,
+ pub writeMimeHeader: super::super::Foundation::BOOL,
+ pub boundary: WS_STRING,
+ pub startInfo: WS_STRING,
+ pub startUri: WS_STRING,
+ pub maxInlineByteCount: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WS_XML_WRITER_MTOM_ENCODING {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WS_XML_WRITER_MTOM_ENCODING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_WRITER_OUTPUT {
+ pub outputType: WS_XML_WRITER_OUTPUT_TYPE,
+}
+impl ::core::marker::Copy for WS_XML_WRITER_OUTPUT {}
+impl ::core::clone::Clone for WS_XML_WRITER_OUTPUT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_XML_WRITER_OUTPUT_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_OUTPUT_TYPE_BUFFER: WS_XML_WRITER_OUTPUT_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_OUTPUT_TYPE_STREAM: WS_XML_WRITER_OUTPUT_TYPE = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_WRITER_PROPERTIES {
+ pub properties: *mut WS_XML_WRITER_PROPERTY,
+ pub propertyCount: u32,
+}
+impl ::core::marker::Copy for WS_XML_WRITER_PROPERTIES {}
+impl ::core::clone::Clone for WS_XML_WRITER_PROPERTIES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_WRITER_PROPERTY {
+ pub id: WS_XML_WRITER_PROPERTY_ID,
+ pub value: *mut ::core::ffi::c_void,
+ pub valueSize: u32,
+}
+impl ::core::marker::Copy for WS_XML_WRITER_PROPERTY {}
+impl ::core::clone::Clone for WS_XML_WRITER_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub type WS_XML_WRITER_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_MAX_DEPTH: WS_XML_WRITER_PROPERTY_ID = 0i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_ALLOW_FRAGMENT: WS_XML_WRITER_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_MAX_ATTRIBUTES: WS_XML_WRITER_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_WRITE_DECLARATION: WS_XML_WRITER_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_INDENT: WS_XML_WRITER_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_BUFFER_TRIM_SIZE: WS_XML_WRITER_PROPERTY_ID = 5i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_CHARSET: WS_XML_WRITER_PROPERTY_ID = 6i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_BUFFERS: WS_XML_WRITER_PROPERTY_ID = 7i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_BUFFER_MAX_SIZE: WS_XML_WRITER_PROPERTY_ID = 8i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_BYTES: WS_XML_WRITER_PROPERTY_ID = 9i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_IN_ATTRIBUTE: WS_XML_WRITER_PROPERTY_ID = 10i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_MAX_MIME_PARTS_BUFFER_SIZE: WS_XML_WRITER_PROPERTY_ID = 11i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_INITIAL_BUFFER: WS_XML_WRITER_PROPERTY_ID = 12i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_ALLOW_INVALID_CHARACTER_REFERENCES: WS_XML_WRITER_PROPERTY_ID = 13i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_MAX_NAMESPACES: WS_XML_WRITER_PROPERTY_ID = 14i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_BYTES_WRITTEN: WS_XML_WRITER_PROPERTY_ID = 15i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_BYTES_TO_CLOSE: WS_XML_WRITER_PROPERTY_ID = 16i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_COMPRESS_EMPTY_ELEMENTS: WS_XML_WRITER_PROPERTY_ID = 17i32;
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub const WS_XML_WRITER_PROPERTY_EMIT_UNCOMPRESSED_EMPTY_ELEMENTS: WS_XML_WRITER_PROPERTY_ID = 18i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_WRITER_RAW_ENCODING {
+ pub encoding: WS_XML_WRITER_ENCODING,
+}
+impl ::core::marker::Copy for WS_XML_WRITER_RAW_ENCODING {}
+impl ::core::clone::Clone for WS_XML_WRITER_RAW_ENCODING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_WRITER_STREAM_OUTPUT {
+ pub output: WS_XML_WRITER_OUTPUT,
+ pub writeCallback: WS_WRITE_CALLBACK,
+ pub writeCallbackState: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for WS_XML_WRITER_STREAM_OUTPUT {}
+impl ::core::clone::Clone for WS_XML_WRITER_STREAM_OUTPUT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Networking_WindowsWebServices\"`*"]
+pub struct WS_XML_WRITER_TEXT_ENCODING {
+ pub encoding: WS_XML_WRITER_ENCODING,
+ pub charSet: WS_CHARSET,
+}
+impl ::core::marker::Copy for WS_XML_WRITER_TEXT_ENCODING {}
+impl ::core::clone::Clone for WS_XML_WRITER_TEXT_ENCODING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}