]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #[link(name = "windows")] |
2 | extern "system" { | |
04454e1e | 3 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
4 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
5 | pub fn AcceptEx(slistensocket: SOCKET, sacceptsocket: SOCKET, lpoutputbuffer: *mut ::core::ffi::c_void, dwreceivedatalength: u32, dwlocaladdresslength: u32, dwremoteaddresslength: u32, lpdwbytesreceived: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; | |
04454e1e | 6 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 7 | pub fn EnumProtocolsA(lpiprotocols: *const i32, lpprotocolbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32) -> i32; |
04454e1e | 8 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 9 | pub fn EnumProtocolsW(lpiprotocols: *const i32, lpprotocolbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32) -> i32; |
04454e1e | 10 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
11 | #[cfg(feature = "Win32_Foundation")] |
12 | pub fn FreeAddrInfoEx(paddrinfoex: *const addrinfoexA); | |
04454e1e | 13 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
14 | #[cfg(feature = "Win32_Foundation")] |
15 | pub fn FreeAddrInfoExW(paddrinfoex: *const addrinfoexW); | |
04454e1e | 16 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
17 | #[cfg(feature = "Win32_Foundation")] |
18 | pub fn FreeAddrInfoW(paddrinfo: *const addrinfoW); | |
04454e1e | 19 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
20 | #[cfg(feature = "Win32_Foundation")] |
21 | pub fn GetAcceptExSockaddrs(lpoutputbuffer: *const ::core::ffi::c_void, dwreceivedatalength: u32, dwlocaladdresslength: u32, dwremoteaddresslength: u32, localsockaddr: *mut *mut SOCKADDR, localsockaddrlength: *mut i32, remotesockaddr: *mut *mut SOCKADDR, remotesockaddrlength: *mut i32); | |
04454e1e | 22 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 | 23 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
04454e1e FG |
24 | pub fn GetAddrInfoExA(pname: ::windows_sys::core::PCSTR, pservicename: ::windows_sys::core::PCSTR, dwnamespace: u32, lpnspid: *const ::windows_sys::core::GUID, hints: *const addrinfoexA, ppresult: *mut *mut addrinfoexA, timeout: *const timeval, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPLOOKUPSERVICE_COMPLETION_ROUTINE, lpnamehandle: *mut super::super::Foundation::HANDLE) -> i32; |
25 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
26 | #[cfg(feature = "Win32_Foundation")] |
27 | pub fn GetAddrInfoExCancel(lphandle: *const super::super::Foundation::HANDLE) -> i32; | |
04454e1e | 28 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
29 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
30 | pub fn GetAddrInfoExOverlappedResult(lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> i32; | |
04454e1e | 31 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 | 32 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
04454e1e FG |
33 | pub fn GetAddrInfoExW(pname: ::windows_sys::core::PCWSTR, pservicename: ::windows_sys::core::PCWSTR, dwnamespace: u32, lpnspid: *const ::windows_sys::core::GUID, hints: *const addrinfoexW, ppresult: *mut *mut addrinfoexW, timeout: *const timeval, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPLOOKUPSERVICE_COMPLETION_ROUTINE, lphandle: *mut super::super::Foundation::HANDLE) -> i32; |
34 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 35 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
36 | pub fn GetAddrInfoW(pnodename: ::windows_sys::core::PCWSTR, pservicename: ::windows_sys::core::PCWSTR, phints: *const addrinfoW, ppresult: *mut *mut addrinfoW) -> i32; |
37 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 38 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
39 | pub fn GetAddressByNameA(dwnamespace: u32, lpservicetype: *const ::windows_sys::core::GUID, lpservicename: ::windows_sys::core::PCSTR, lpiprotocols: *const i32, dwresolution: u32, lpserviceasyncinfo: *const SERVICE_ASYNC_INFO, lpcsaddrbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32, lpaliasbuffer: ::windows_sys::core::PSTR, lpdwaliasbufferlength: *mut u32) -> i32; |
40 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 41 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
42 | pub fn GetAddressByNameW(dwnamespace: u32, lpservicetype: *const ::windows_sys::core::GUID, lpservicename: ::windows_sys::core::PCWSTR, lpiprotocols: *const i32, dwresolution: u32, lpserviceasyncinfo: *const SERVICE_ASYNC_INFO, lpcsaddrbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32, lpaliasbuffer: ::windows_sys::core::PWSTR, lpdwaliasbufferlength: *mut u32) -> i32; |
43 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
44 | pub fn GetHostNameW(name: ::windows_sys::core::PWSTR, namelen: i32) -> i32; | |
45 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
46 | pub fn GetNameByTypeA(lpservicetype: *const ::windows_sys::core::GUID, lpservicename: ::windows_sys::core::PSTR, dwnamelength: u32) -> i32; | |
47 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
48 | pub fn GetNameByTypeW(lpservicetype: *const ::windows_sys::core::GUID, lpservicename: ::windows_sys::core::PWSTR, dwnamelength: u32) -> i32; | |
49 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 50 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
51 | pub fn GetNameInfoW(psockaddr: *const SOCKADDR, sockaddrlength: i32, pnodebuffer: ::windows_sys::core::PWSTR, nodebuffersize: u32, pservicebuffer: ::windows_sys::core::PWSTR, servicebuffersize: u32, flags: i32) -> i32; |
52 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 53 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
54 | pub fn GetServiceA(dwnamespace: u32, lpguid: *const ::windows_sys::core::GUID, lpservicename: ::windows_sys::core::PCSTR, dwproperties: u32, lpbuffer: *mut ::core::ffi::c_void, lpdwbuffersize: *mut u32, lpserviceasyncinfo: *const SERVICE_ASYNC_INFO) -> i32; |
55 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 56 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
57 | pub fn GetServiceW(dwnamespace: u32, lpguid: *const ::windows_sys::core::GUID, lpservicename: ::windows_sys::core::PCWSTR, dwproperties: u32, lpbuffer: *mut ::core::ffi::c_void, lpdwbuffersize: *mut u32, lpserviceasyncinfo: *const SERVICE_ASYNC_INFO) -> i32; |
58 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
59 | pub fn GetTypeByNameA(lpservicename: ::windows_sys::core::PCSTR, lpservicetype: *mut ::windows_sys::core::GUID) -> i32; | |
60 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
61 | pub fn GetTypeByNameW(lpservicename: ::windows_sys::core::PCWSTR, lpservicetype: *mut ::windows_sys::core::GUID) -> i32; | |
62 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
63 | pub fn InetNtopW(family: i32, paddr: *const ::core::ffi::c_void, pstringbuf: ::windows_sys::core::PWSTR, stringbufsize: usize) -> ::windows_sys::core::PWSTR; | |
64 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
65 | pub fn InetPtonW(family: i32, pszaddrstring: ::windows_sys::core::PCWSTR, paddrbuf: *mut ::core::ffi::c_void) -> i32; | |
66 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] | |
5e7ed085 FG |
67 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
68 | pub fn ProcessSocketNotifications(completionport: super::super::Foundation::HANDLE, registrationcount: u32, registrationinfos: *mut SOCK_NOTIFY_REGISTRATION, timeoutms: u32, completioncount: u32, completionportentries: *mut super::super::System::IO::OVERLAPPED_ENTRY, receivedentrycount: *mut u32) -> u32; | |
04454e1e FG |
69 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] |
70 | #[cfg(feature = "Win32_NetworkManagement_WindowsFilteringPlatform")] | |
71 | pub fn RtlEthernetAddressToStringA(addr: *const super::super::NetworkManagement::WindowsFilteringPlatform::DL_EUI48, s: ::windows_sys::core::PSTR) -> ::windows_sys::core::PSTR; | |
72 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] | |
73 | #[cfg(feature = "Win32_NetworkManagement_WindowsFilteringPlatform")] | |
74 | pub fn RtlEthernetAddressToStringW(addr: *const super::super::NetworkManagement::WindowsFilteringPlatform::DL_EUI48, s: ::windows_sys::core::PWSTR) -> ::windows_sys::core::PWSTR; | |
75 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] | |
76 | #[cfg(feature = "Win32_NetworkManagement_WindowsFilteringPlatform")] | |
77 | pub fn RtlEthernetStringToAddressA(s: ::windows_sys::core::PCSTR, terminator: *mut ::windows_sys::core::PSTR, addr: *mut super::super::NetworkManagement::WindowsFilteringPlatform::DL_EUI48) -> i32; | |
78 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_NetworkManagement_WindowsFilteringPlatform\"`*"] | |
79 | #[cfg(feature = "Win32_NetworkManagement_WindowsFilteringPlatform")] | |
80 | pub fn RtlEthernetStringToAddressW(s: ::windows_sys::core::PCWSTR, terminator: *mut ::windows_sys::core::PWSTR, addr: *mut super::super::NetworkManagement::WindowsFilteringPlatform::DL_EUI48) -> i32; | |
81 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
82 | pub fn RtlIpv4AddressToStringA(addr: *const IN_ADDR, s: ::windows_sys::core::PSTR) -> ::windows_sys::core::PSTR; | |
83 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
84 | pub fn RtlIpv4AddressToStringExA(address: *const IN_ADDR, port: u16, addressstring: ::windows_sys::core::PSTR, addressstringlength: *mut u32) -> i32; | |
85 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
86 | pub fn RtlIpv4AddressToStringExW(address: *const IN_ADDR, port: u16, addressstring: ::windows_sys::core::PWSTR, addressstringlength: *mut u32) -> i32; | |
87 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
88 | pub fn RtlIpv4AddressToStringW(addr: *const IN_ADDR, s: ::windows_sys::core::PWSTR) -> ::windows_sys::core::PWSTR; | |
89 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 90 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
91 | pub fn RtlIpv4StringToAddressA(s: ::windows_sys::core::PCSTR, strict: super::super::Foundation::BOOLEAN, terminator: *mut ::windows_sys::core::PSTR, addr: *mut IN_ADDR) -> i32; |
92 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 93 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
94 | pub fn RtlIpv4StringToAddressExA(addressstring: ::windows_sys::core::PCSTR, strict: super::super::Foundation::BOOLEAN, address: *mut IN_ADDR, port: *mut u16) -> i32; |
95 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 96 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
97 | pub fn RtlIpv4StringToAddressExW(addressstring: ::windows_sys::core::PCWSTR, strict: super::super::Foundation::BOOLEAN, address: *mut IN_ADDR, port: *mut u16) -> i32; |
98 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 99 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
100 | pub fn RtlIpv4StringToAddressW(s: ::windows_sys::core::PCWSTR, strict: super::super::Foundation::BOOLEAN, terminator: *mut ::windows_sys::core::PWSTR, addr: *mut IN_ADDR) -> i32; |
101 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
102 | pub fn RtlIpv6AddressToStringA(addr: *const IN6_ADDR, s: ::windows_sys::core::PSTR) -> ::windows_sys::core::PSTR; | |
103 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
104 | pub fn RtlIpv6AddressToStringExA(address: *const IN6_ADDR, scopeid: u32, port: u16, addressstring: ::windows_sys::core::PSTR, addressstringlength: *mut u32) -> i32; | |
105 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
106 | pub fn RtlIpv6AddressToStringExW(address: *const IN6_ADDR, scopeid: u32, port: u16, addressstring: ::windows_sys::core::PWSTR, addressstringlength: *mut u32) -> i32; | |
107 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
108 | pub fn RtlIpv6AddressToStringW(addr: *const IN6_ADDR, s: ::windows_sys::core::PWSTR) -> ::windows_sys::core::PWSTR; | |
109 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
110 | pub fn RtlIpv6StringToAddressA(s: ::windows_sys::core::PCSTR, terminator: *mut ::windows_sys::core::PSTR, addr: *mut IN6_ADDR) -> i32; | |
111 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
112 | pub fn RtlIpv6StringToAddressExA(addressstring: ::windows_sys::core::PCSTR, address: *mut IN6_ADDR, scopeid: *mut u32, port: *mut u16) -> i32; | |
113 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
114 | pub fn RtlIpv6StringToAddressExW(addressstring: ::windows_sys::core::PCWSTR, address: *mut IN6_ADDR, scopeid: *mut u32, port: *mut u16) -> i32; | |
115 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
116 | pub fn RtlIpv6StringToAddressW(s: ::windows_sys::core::PCWSTR, terminator: *mut ::windows_sys::core::PWSTR, addr: *mut IN6_ADDR) -> i32; | |
117 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_IO\"`*"] | |
5e7ed085 | 118 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] |
04454e1e FG |
119 | pub fn SetAddrInfoExA(pname: ::windows_sys::core::PCSTR, pservicename: ::windows_sys::core::PCSTR, paddresses: *const SOCKET_ADDRESS, dwaddresscount: u32, lpblob: *const super::super::System::Com::BLOB, dwflags: u32, dwnamespace: u32, lpnspid: *const ::windows_sys::core::GUID, timeout: *const timeval, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPLOOKUPSERVICE_COMPLETION_ROUTINE, lpnamehandle: *mut super::super::Foundation::HANDLE) -> i32; |
120 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_IO\"`*"] | |
5e7ed085 | 121 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] |
04454e1e FG |
122 | pub fn SetAddrInfoExW(pname: ::windows_sys::core::PCWSTR, pservicename: ::windows_sys::core::PCWSTR, paddresses: *const SOCKET_ADDRESS, dwaddresscount: u32, lpblob: *const super::super::System::Com::BLOB, dwflags: u32, dwnamespace: u32, lpnspid: *const ::windows_sys::core::GUID, timeout: *const timeval, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPLOOKUPSERVICE_COMPLETION_ROUTINE, lpnamehandle: *mut super::super::Foundation::HANDLE) -> i32; |
123 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] | |
5e7ed085 FG |
124 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
125 | pub fn SetServiceA(dwnamespace: u32, dwoperation: SET_SERVICE_OPERATION, dwflags: u32, lpserviceinfo: *const SERVICE_INFOA, lpserviceasyncinfo: *const SERVICE_ASYNC_INFO, lpdwstatusflags: *mut u32) -> i32; | |
04454e1e | 126 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
127 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
128 | pub fn SetServiceW(dwnamespace: u32, dwoperation: SET_SERVICE_OPERATION, dwflags: u32, lpserviceinfo: *const SERVICE_INFOW, lpserviceasyncinfo: *const SERVICE_ASYNC_INFO, lpdwstatusflags: *mut u32) -> i32; | |
04454e1e | 129 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
130 | #[cfg(feature = "Win32_Foundation")] |
131 | pub fn SetSocketMediaStreamingMode(value: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT; | |
04454e1e | 132 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
133 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
134 | pub fn TransmitFile(hsocket: SOCKET, hfile: super::super::Foundation::HANDLE, nnumberofbytestowrite: u32, nnumberofbytespersend: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lptransmitbuffers: *const TRANSMIT_FILE_BUFFERS, dwreserved: u32) -> super::super::Foundation::BOOL; | |
04454e1e | 135 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
136 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
137 | pub fn WPUCompleteOverlappedRequest(s: SOCKET, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, dwerror: u32, cbtransferred: u32, lperrno: *mut i32) -> i32; | |
04454e1e | 138 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_QoS\"`*"] |
5e7ed085 FG |
139 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_QoS"))] |
140 | pub fn WSAAccept(s: SOCKET, addr: *mut SOCKADDR, addrlen: *mut i32, lpfncondition: LPCONDITIONPROC, dwcallbackdata: usize) -> SOCKET; | |
04454e1e | 141 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 142 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
143 | pub fn WSAAddressToStringA(lpsaaddress: *const SOCKADDR, dwaddresslength: u32, lpprotocolinfo: *const WSAPROTOCOL_INFOA, lpszaddressstring: ::windows_sys::core::PSTR, lpdwaddressstringlength: *mut u32) -> i32; |
144 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 145 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
146 | pub fn WSAAddressToStringW(lpsaaddress: *const SOCKADDR, dwaddresslength: u32, lpprotocolinfo: *const WSAPROTOCOL_INFOW, lpszaddressstring: ::windows_sys::core::PWSTR, lpdwaddressstringlength: *mut u32) -> i32; |
147 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] | |
5e7ed085 FG |
148 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
149 | pub fn WSAAdvertiseProvider(puuidproviderid: *const ::windows_sys::core::GUID, pnspv2routine: *const NSPV2_ROUTINE) -> i32; | |
04454e1e | 150 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 151 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
152 | pub fn WSAAsyncGetHostByAddr(hwnd: super::super::Foundation::HWND, wmsg: u32, addr: ::windows_sys::core::PCSTR, len: i32, r#type: i32, buf: ::windows_sys::core::PSTR, buflen: i32) -> super::super::Foundation::HANDLE; |
153 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 154 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
155 | pub fn WSAAsyncGetHostByName(hwnd: super::super::Foundation::HWND, wmsg: u32, name: ::windows_sys::core::PCSTR, buf: ::windows_sys::core::PSTR, buflen: i32) -> super::super::Foundation::HANDLE; |
156 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 157 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
158 | pub fn WSAAsyncGetProtoByName(hwnd: super::super::Foundation::HWND, wmsg: u32, name: ::windows_sys::core::PCSTR, buf: ::windows_sys::core::PSTR, buflen: i32) -> super::super::Foundation::HANDLE; |
159 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 160 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
161 | pub fn WSAAsyncGetProtoByNumber(hwnd: super::super::Foundation::HWND, wmsg: u32, number: i32, buf: ::windows_sys::core::PSTR, buflen: i32) -> super::super::Foundation::HANDLE; |
162 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 163 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
164 | pub fn WSAAsyncGetServByName(hwnd: super::super::Foundation::HWND, wmsg: u32, name: ::windows_sys::core::PCSTR, proto: ::windows_sys::core::PCSTR, buf: ::windows_sys::core::PSTR, buflen: i32) -> super::super::Foundation::HANDLE; |
165 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 166 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
167 | pub fn WSAAsyncGetServByPort(hwnd: super::super::Foundation::HWND, wmsg: u32, port: i32, proto: ::windows_sys::core::PCSTR, buf: ::windows_sys::core::PSTR, buflen: i32) -> super::super::Foundation::HANDLE; |
168 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
169 | #[cfg(feature = "Win32_Foundation")] |
170 | pub fn WSAAsyncSelect(s: SOCKET, hwnd: super::super::Foundation::HWND, wmsg: u32, levent: i32) -> i32; | |
04454e1e | 171 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
172 | #[cfg(feature = "Win32_Foundation")] |
173 | pub fn WSACancelAsyncRequest(hasynctaskhandle: super::super::Foundation::HANDLE) -> i32; | |
04454e1e | 174 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 175 | pub fn WSACancelBlockingCall() -> i32; |
04454e1e | 176 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 177 | pub fn WSACleanup() -> i32; |
04454e1e | 178 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
179 | #[cfg(feature = "Win32_Foundation")] |
180 | pub fn WSACloseEvent(hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; | |
04454e1e | 181 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_QoS\"`*"] |
5e7ed085 FG |
182 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_QoS"))] |
183 | pub fn WSAConnect(s: SOCKET, name: *const SOCKADDR, namelen: i32, lpcallerdata: *const WSABUF, lpcalleedata: *mut WSABUF, lpsqos: *const super::super::NetworkManagement::QoS::QOS, lpgqos: *const super::super::NetworkManagement::QoS::QOS) -> i32; | |
04454e1e | 184 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
185 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
186 | pub fn WSAConnectByList(s: SOCKET, socketaddress: *const SOCKET_ADDRESS_LIST, localaddresslength: *mut u32, localaddress: *mut SOCKADDR, remoteaddresslength: *mut u32, remoteaddress: *mut SOCKADDR, timeout: *const timeval, reserved: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; | |
04454e1e | 187 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 | 188 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
04454e1e FG |
189 | pub fn WSAConnectByNameA(s: SOCKET, nodename: ::windows_sys::core::PCSTR, servicename: ::windows_sys::core::PCSTR, localaddresslength: *mut u32, localaddress: *mut SOCKADDR, remoteaddresslength: *mut u32, remoteaddress: *mut SOCKADDR, timeout: *const timeval, reserved: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; |
190 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] | |
5e7ed085 | 191 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
04454e1e FG |
192 | pub fn WSAConnectByNameW(s: SOCKET, nodename: ::windows_sys::core::PCWSTR, servicename: ::windows_sys::core::PCWSTR, localaddresslength: *mut u32, localaddress: *mut SOCKADDR, remoteaddresslength: *mut u32, remoteaddress: *mut SOCKADDR, timeout: *const timeval, reserved: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL; |
193 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
194 | #[cfg(feature = "Win32_Foundation")] |
195 | pub fn WSACreateEvent() -> super::super::Foundation::HANDLE; | |
04454e1e | 196 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
197 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
198 | pub fn WSADeleteSocketPeerTargetName(socket: SOCKET, peeraddr: *const SOCKADDR, peeraddrlen: u32, overlapped: *const super::super::System::IO::OVERLAPPED, completionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; | |
04454e1e | 199 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
200 | #[cfg(feature = "Win32_Foundation")] |
201 | pub fn WSADuplicateSocketA(s: SOCKET, dwprocessid: u32, lpprotocolinfo: *mut WSAPROTOCOL_INFOA) -> i32; | |
04454e1e | 202 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 203 | pub fn WSADuplicateSocketW(s: SOCKET, dwprocessid: u32, lpprotocolinfo: *mut WSAPROTOCOL_INFOW) -> i32; |
04454e1e | 204 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
205 | #[cfg(feature = "Win32_Foundation")] |
206 | pub fn WSAEnumNameSpaceProvidersA(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOA) -> i32; | |
04454e1e | 207 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
208 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
209 | pub fn WSAEnumNameSpaceProvidersExA(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOEXA) -> i32; | |
04454e1e | 210 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
211 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
212 | pub fn WSAEnumNameSpaceProvidersExW(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOEXW) -> i32; | |
04454e1e | 213 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
214 | #[cfg(feature = "Win32_Foundation")] |
215 | pub fn WSAEnumNameSpaceProvidersW(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOW) -> i32; | |
04454e1e | 216 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
217 | #[cfg(feature = "Win32_Foundation")] |
218 | pub fn WSAEnumNetworkEvents(s: SOCKET, heventobject: super::super::Foundation::HANDLE, lpnetworkevents: *mut WSANETWORKEVENTS) -> i32; | |
04454e1e | 219 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
220 | #[cfg(feature = "Win32_Foundation")] |
221 | pub fn WSAEnumProtocolsA(lpiprotocols: *const i32, lpprotocolbuffer: *mut WSAPROTOCOL_INFOA, lpdwbufferlength: *mut u32) -> i32; | |
04454e1e | 222 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 223 | pub fn WSAEnumProtocolsW(lpiprotocols: *const i32, lpprotocolbuffer: *mut WSAPROTOCOL_INFOW, lpdwbufferlength: *mut u32) -> i32; |
04454e1e | 224 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
225 | #[cfg(feature = "Win32_Foundation")] |
226 | pub fn WSAEventSelect(s: SOCKET, heventobject: super::super::Foundation::HANDLE, lnetworkevents: i32) -> i32; | |
04454e1e | 227 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 228 | pub fn WSAGetLastError() -> WSA_ERROR; |
04454e1e | 229 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
230 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
231 | pub fn WSAGetOverlappedResult(s: SOCKET, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpcbtransfer: *mut u32, fwait: super::super::Foundation::BOOL, lpdwflags: *mut u32) -> super::super::Foundation::BOOL; | |
04454e1e | 232 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_QoS\"`*"] |
5e7ed085 FG |
233 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_QoS"))] |
234 | pub fn WSAGetQOSByName(s: SOCKET, lpqosname: *const WSABUF, lpqos: *mut super::super::NetworkManagement::QoS::QOS) -> super::super::Foundation::BOOL; | |
04454e1e | 235 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 236 | pub fn WSAGetServiceClassInfoA(lpproviderid: *const ::windows_sys::core::GUID, lpserviceclassid: *const ::windows_sys::core::GUID, lpdwbufsize: *mut u32, lpserviceclassinfo: *mut WSASERVICECLASSINFOA) -> i32; |
04454e1e | 237 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 238 | pub fn WSAGetServiceClassInfoW(lpproviderid: *const ::windows_sys::core::GUID, lpserviceclassid: *const ::windows_sys::core::GUID, lpdwbufsize: *mut u32, lpserviceclassinfo: *mut WSASERVICECLASSINFOW) -> i32; |
04454e1e FG |
239 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
240 | pub fn WSAGetServiceClassNameByClassIdA(lpserviceclassid: *const ::windows_sys::core::GUID, lpszserviceclassname: ::windows_sys::core::PSTR, lpdwbufferlength: *mut u32) -> i32; | |
241 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
242 | pub fn WSAGetServiceClassNameByClassIdW(lpserviceclassid: *const ::windows_sys::core::GUID, lpszserviceclassname: ::windows_sys::core::PWSTR, lpdwbufferlength: *mut u32) -> i32; | |
243 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 244 | pub fn WSAHtonl(s: SOCKET, hostlong: u32, lpnetlong: *mut u32) -> i32; |
04454e1e | 245 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 246 | pub fn WSAHtons(s: SOCKET, hostshort: u16, lpnetshort: *mut u16) -> i32; |
04454e1e | 247 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
248 | #[cfg(feature = "Win32_Foundation")] |
249 | pub fn WSAImpersonateSocketPeer(socket: SOCKET, peeraddr: *const SOCKADDR, peeraddrlen: u32) -> i32; | |
04454e1e | 250 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 251 | pub fn WSAInstallServiceClassA(lpserviceclassinfo: *const WSASERVICECLASSINFOA) -> i32; |
04454e1e | 252 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 253 | pub fn WSAInstallServiceClassW(lpserviceclassinfo: *const WSASERVICECLASSINFOW) -> i32; |
04454e1e | 254 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
255 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
256 | pub fn WSAIoctl(s: SOCKET, dwiocontrolcode: u32, lpvinbuffer: *const ::core::ffi::c_void, cbinbuffer: u32, lpvoutbuffer: *mut ::core::ffi::c_void, cboutbuffer: u32, lpcbbytesreturned: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; | |
04454e1e | 257 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
258 | #[cfg(feature = "Win32_Foundation")] |
259 | pub fn WSAIsBlocking() -> super::super::Foundation::BOOL; | |
04454e1e | 260 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_QoS\"`*"] |
5e7ed085 FG |
261 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_QoS"))] |
262 | pub fn WSAJoinLeaf(s: SOCKET, name: *const SOCKADDR, namelen: i32, lpcallerdata: *const WSABUF, lpcalleedata: *mut WSABUF, lpsqos: *const super::super::NetworkManagement::QoS::QOS, lpgqos: *const super::super::NetworkManagement::QoS::QOS, dwflags: u32) -> SOCKET; | |
04454e1e | 263 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
264 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
265 | pub fn WSALookupServiceBeginA(lpqsrestrictions: *const WSAQUERYSETA, dwcontrolflags: u32, lphlookup: *mut super::super::Foundation::HANDLE) -> i32; | |
04454e1e | 266 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
267 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
268 | pub fn WSALookupServiceBeginW(lpqsrestrictions: *const WSAQUERYSETW, dwcontrolflags: u32, lphlookup: *mut super::super::Foundation::HANDLE) -> i32; | |
04454e1e | 269 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
270 | #[cfg(feature = "Win32_Foundation")] |
271 | pub fn WSALookupServiceEnd(hlookup: super::super::Foundation::HANDLE) -> i32; | |
04454e1e | 272 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
273 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
274 | pub fn WSALookupServiceNextA(hlookup: super::super::Foundation::HANDLE, dwcontrolflags: u32, lpdwbufferlength: *mut u32, lpqsresults: *mut WSAQUERYSETA) -> i32; | |
04454e1e | 275 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
276 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
277 | pub fn WSALookupServiceNextW(hlookup: super::super::Foundation::HANDLE, dwcontrolflags: u32, lpdwbufferlength: *mut u32, lpqsresults: *mut WSAQUERYSETW) -> i32; | |
04454e1e | 278 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
279 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
280 | pub fn WSANSPIoctl(hlookup: super::super::Foundation::HANDLE, dwcontrolcode: u32, lpvinbuffer: *const ::core::ffi::c_void, cbinbuffer: u32, lpvoutbuffer: *mut ::core::ffi::c_void, cboutbuffer: u32, lpcbbytesreturned: *mut u32, lpcompletion: *const WSACOMPLETION) -> i32; | |
04454e1e | 281 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 282 | pub fn WSANtohl(s: SOCKET, netlong: u32, lphostlong: *mut u32) -> i32; |
04454e1e | 283 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 284 | pub fn WSANtohs(s: SOCKET, netshort: u16, lphostshort: *mut u16) -> i32; |
04454e1e | 285 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 286 | pub fn WSAPoll(fdarray: *mut WSAPOLLFD, fds: u32, timeout: i32) -> i32; |
04454e1e | 287 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
288 | #[cfg(feature = "Win32_Foundation")] |
289 | pub fn WSAProviderCompleteAsyncCall(hasynccall: super::super::Foundation::HANDLE, iretcode: i32) -> i32; | |
04454e1e | 290 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
291 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
292 | pub fn WSAProviderConfigChange(lpnotificationhandle: *mut super::super::Foundation::HANDLE, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; | |
04454e1e | 293 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
294 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
295 | pub fn WSAQuerySocketSecurity(socket: SOCKET, securityquerytemplate: *const SOCKET_SECURITY_QUERY_TEMPLATE, securityquerytemplatelen: u32, securityqueryinfo: *mut SOCKET_SECURITY_QUERY_INFO, securityqueryinfolen: *mut u32, overlapped: *const super::super::System::IO::OVERLAPPED, completionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; | |
04454e1e | 296 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
297 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
298 | pub fn WSARecv(s: SOCKET, lpbuffers: *const WSABUF, dwbuffercount: u32, lpnumberofbytesrecvd: *mut u32, lpflags: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; | |
04454e1e | 299 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 300 | pub fn WSARecvDisconnect(s: SOCKET, lpinbounddisconnectdata: *const WSABUF) -> i32; |
04454e1e FG |
301 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
302 | pub fn WSARecvEx(s: SOCKET, buf: ::windows_sys::core::PSTR, len: i32, flags: *mut i32) -> i32; | |
303 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] | |
5e7ed085 FG |
304 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
305 | pub fn WSARecvFrom(s: SOCKET, lpbuffers: *const WSABUF, dwbuffercount: u32, lpnumberofbytesrecvd: *mut u32, lpflags: *mut u32, lpfrom: *mut SOCKADDR, lpfromlen: *mut i32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; | |
04454e1e | 306 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 307 | pub fn WSARemoveServiceClass(lpserviceclassid: *const ::windows_sys::core::GUID) -> i32; |
04454e1e | 308 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
309 | #[cfg(feature = "Win32_Foundation")] |
310 | pub fn WSAResetEvent(hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; | |
04454e1e | 311 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 312 | pub fn WSARevertImpersonation() -> i32; |
04454e1e | 313 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
314 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
315 | pub fn WSASend(s: SOCKET, lpbuffers: *const WSABUF, dwbuffercount: u32, lpnumberofbytessent: *mut u32, dwflags: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; | |
04454e1e | 316 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 317 | pub fn WSASendDisconnect(s: SOCKET, lpoutbounddisconnectdata: *const WSABUF) -> i32; |
04454e1e | 318 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
319 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
320 | pub fn WSASendMsg(handle: SOCKET, lpmsg: *const WSAMSG, dwflags: u32, lpnumberofbytessent: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; | |
04454e1e | 321 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
322 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
323 | pub fn WSASendTo(s: SOCKET, lpbuffers: *const WSABUF, dwbuffercount: u32, lpnumberofbytessent: *mut u32, dwflags: u32, lpto: *const SOCKADDR, itolen: i32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; | |
04454e1e | 324 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
325 | #[cfg(feature = "Win32_Foundation")] |
326 | pub fn WSASetBlockingHook(lpblockfunc: super::super::Foundation::FARPROC) -> super::super::Foundation::FARPROC; | |
04454e1e | 327 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
328 | #[cfg(feature = "Win32_Foundation")] |
329 | pub fn WSASetEvent(hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; | |
04454e1e | 330 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 331 | pub fn WSASetLastError(ierror: i32); |
04454e1e | 332 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
333 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
334 | pub fn WSASetServiceA(lpqsreginfo: *const WSAQUERYSETA, essoperation: WSAESETSERVICEOP, dwcontrolflags: u32) -> i32; | |
04454e1e | 335 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
336 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
337 | pub fn WSASetServiceW(lpqsreginfo: *const WSAQUERYSETW, essoperation: WSAESETSERVICEOP, dwcontrolflags: u32) -> i32; | |
04454e1e | 338 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
339 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
340 | pub fn WSASetSocketPeerTargetName(socket: SOCKET, peertargetname: *const SOCKET_PEER_TARGET_NAME, peertargetnamelen: u32, overlapped: *const super::super::System::IO::OVERLAPPED, completionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; | |
04454e1e | 341 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
342 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
343 | pub fn WSASetSocketSecurity(socket: SOCKET, securitysettings: *const SOCKET_SECURITY_SETTINGS, securitysettingslen: u32, overlapped: *const super::super::System::IO::OVERLAPPED, completionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32; | |
04454e1e | 344 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
345 | #[cfg(feature = "Win32_Foundation")] |
346 | pub fn WSASocketA(af: i32, r#type: i32, protocol: i32, lpprotocolinfo: *const WSAPROTOCOL_INFOA, g: u32, dwflags: u32) -> SOCKET; | |
04454e1e | 347 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 348 | pub fn WSASocketW(af: i32, r#type: i32, protocol: i32, lpprotocolinfo: *const WSAPROTOCOL_INFOW, g: u32, dwflags: u32) -> SOCKET; |
04454e1e | 349 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
350 | #[cfg(feature = "Win32_Foundation")] |
351 | pub fn WSAStartup(wversionrequested: u16, lpwsadata: *mut WSAData) -> i32; | |
04454e1e | 352 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 353 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
354 | pub fn WSAStringToAddressA(addressstring: ::windows_sys::core::PCSTR, addressfamily: i32, lpprotocolinfo: *const WSAPROTOCOL_INFOA, lpaddress: *mut SOCKADDR, lpaddresslength: *mut i32) -> i32; |
355 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 356 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
357 | pub fn WSAStringToAddressW(addressstring: ::windows_sys::core::PCWSTR, addressfamily: i32, lpprotocolinfo: *const WSAPROTOCOL_INFOW, lpaddress: *mut SOCKADDR, lpaddresslength: *mut i32) -> i32; |
358 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 359 | pub fn WSAUnadvertiseProvider(puuidproviderid: *const ::windows_sys::core::GUID) -> i32; |
04454e1e | 360 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 361 | pub fn WSAUnhookBlockingHook() -> i32; |
04454e1e | 362 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
363 | #[cfg(feature = "Win32_Foundation")] |
364 | pub fn WSAWaitForMultipleEvents(cevents: u32, lphevents: *const super::super::Foundation::HANDLE, fwaitall: super::super::Foundation::BOOL, dwtimeout: u32, falertable: super::super::Foundation::BOOL) -> u32; | |
04454e1e | 365 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 366 | pub fn WSCDeinstallProvider(lpproviderid: *const ::windows_sys::core::GUID, lperrno: *mut i32) -> i32; |
04454e1e | 367 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
368 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
369 | pub fn WSCDeinstallProvider32(lpproviderid: *const ::windows_sys::core::GUID, lperrno: *mut i32) -> i32; | |
04454e1e | 370 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
371 | #[cfg(feature = "Win32_Foundation")] |
372 | pub fn WSCEnableNSProvider(lpproviderid: *const ::windows_sys::core::GUID, fenable: super::super::Foundation::BOOL) -> i32; | |
04454e1e | 373 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
374 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
375 | #[cfg(feature = "Win32_Foundation")] | |
376 | pub fn WSCEnableNSProvider32(lpproviderid: *const ::windows_sys::core::GUID, fenable: super::super::Foundation::BOOL) -> i32; | |
04454e1e | 377 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
378 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
379 | #[cfg(feature = "Win32_Foundation")] | |
380 | pub fn WSCEnumNameSpaceProviders32(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOW) -> i32; | |
04454e1e | 381 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
382 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
383 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
384 | pub fn WSCEnumNameSpaceProvidersEx32(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOEXW) -> i32; | |
04454e1e | 385 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 386 | pub fn WSCEnumProtocols(lpiprotocols: *const i32, lpprotocolbuffer: *mut WSAPROTOCOL_INFOW, lpdwbufferlength: *mut u32, lperrno: *mut i32) -> i32; |
04454e1e | 387 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
388 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
389 | pub fn WSCEnumProtocols32(lpiprotocols: *const i32, lpprotocolbuffer: *mut WSAPROTOCOL_INFOW, lpdwbufferlength: *mut u32, lperrno: *mut i32) -> i32; | |
04454e1e FG |
390 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
391 | pub fn WSCGetApplicationCategory(path: ::windows_sys::core::PCWSTR, pathlength: u32, extra: ::windows_sys::core::PCWSTR, extralength: u32, ppermittedlspcategories: *mut u32, lperrno: *mut i32) -> i32; | |
392 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 393 | pub fn WSCGetProviderInfo(lpproviderid: *const ::windows_sys::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: *mut u8, infosize: *mut usize, flags: u32, lperrno: *mut i32) -> i32; |
04454e1e | 394 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
395 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
396 | pub fn WSCGetProviderInfo32(lpproviderid: *const ::windows_sys::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: *mut u8, infosize: *mut usize, flags: u32, lperrno: *mut i32) -> i32; | |
04454e1e FG |
397 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
398 | pub fn WSCGetProviderPath(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PWSTR, lpproviderdllpathlen: *mut i32, lperrno: *mut i32) -> i32; | |
399 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 400 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
04454e1e FG |
401 | pub fn WSCGetProviderPath32(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PWSTR, lpproviderdllpathlen: *mut i32, lperrno: *mut i32) -> i32; |
402 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
403 | pub fn WSCInstallNameSpace(lpszidentifier: ::windows_sys::core::PCWSTR, lpszpathname: ::windows_sys::core::PCWSTR, dwnamespace: u32, dwversion: u32, lpproviderid: *const ::windows_sys::core::GUID) -> i32; | |
404 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 405 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
04454e1e FG |
406 | pub fn WSCInstallNameSpace32(lpszidentifier: ::windows_sys::core::PCWSTR, lpszpathname: ::windows_sys::core::PCWSTR, dwnamespace: u32, dwversion: u32, lpproviderid: *const ::windows_sys::core::GUID) -> i32; |
407 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] | |
408 | #[cfg(feature = "Win32_System_Com")] | |
409 | pub fn WSCInstallNameSpaceEx(lpszidentifier: ::windows_sys::core::PCWSTR, lpszpathname: ::windows_sys::core::PCWSTR, dwnamespace: u32, dwversion: u32, lpproviderid: *const ::windows_sys::core::GUID, lpproviderspecific: *const super::super::System::Com::BLOB) -> i32; | |
410 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] | |
5e7ed085 | 411 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
04454e1e FG |
412 | #[cfg(feature = "Win32_System_Com")] |
413 | pub fn WSCInstallNameSpaceEx32(lpszidentifier: ::windows_sys::core::PCWSTR, lpszpathname: ::windows_sys::core::PCWSTR, dwnamespace: u32, dwversion: u32, lpproviderid: *const ::windows_sys::core::GUID, lpproviderspecific: *const super::super::System::Com::BLOB) -> i32; | |
414 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
415 | pub fn WSCInstallProvider(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PCWSTR, lpprotocolinfolist: *const WSAPROTOCOL_INFOW, dwnumberofentries: u32, lperrno: *mut i32) -> i32; | |
416 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 417 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
04454e1e FG |
418 | pub fn WSCInstallProvider64_32(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PCWSTR, lpprotocolinfolist: *const WSAPROTOCOL_INFOW, dwnumberofentries: u32, lperrno: *mut i32) -> i32; |
419 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 420 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
04454e1e FG |
421 | pub fn WSCInstallProviderAndChains64_32(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PCWSTR, lpszproviderdllpath32: ::windows_sys::core::PCWSTR, lpszlspname: ::windows_sys::core::PCWSTR, dwserviceflags: u32, lpprotocolinfolist: *mut WSAPROTOCOL_INFOW, dwnumberofentries: u32, lpdwcatalogentryid: *mut u32, lperrno: *mut i32) -> i32; |
422 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
423 | pub fn WSCSetApplicationCategory(path: ::windows_sys::core::PCWSTR, pathlength: u32, extra: ::windows_sys::core::PCWSTR, extralength: u32, permittedlspcategories: u32, pprevpermlspcat: *mut u32, lperrno: *mut i32) -> i32; | |
424 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 425 | pub fn WSCSetProviderInfo(lpproviderid: *const ::windows_sys::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: *const u8, infosize: usize, flags: u32, lperrno: *mut i32) -> i32; |
04454e1e | 426 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
427 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
428 | pub fn WSCSetProviderInfo32(lpproviderid: *const ::windows_sys::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: *const u8, infosize: usize, flags: u32, lperrno: *mut i32) -> i32; | |
04454e1e | 429 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 430 | pub fn WSCUnInstallNameSpace(lpproviderid: *const ::windows_sys::core::GUID) -> i32; |
04454e1e | 431 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
432 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
433 | pub fn WSCUnInstallNameSpace32(lpproviderid: *const ::windows_sys::core::GUID) -> i32; | |
04454e1e FG |
434 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
435 | pub fn WSCUpdateProvider(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PCWSTR, lpprotocolinfolist: *const WSAPROTOCOL_INFOW, dwnumberofentries: u32, lperrno: *mut i32) -> i32; | |
436 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 437 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
04454e1e FG |
438 | pub fn WSCUpdateProvider32(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PCWSTR, lpprotocolinfolist: *const WSAPROTOCOL_INFOW, dwnumberofentries: u32, lperrno: *mut i32) -> i32; |
439 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 440 | pub fn WSCWriteNameSpaceOrder(lpproviderid: *mut ::windows_sys::core::GUID, dwnumberofentries: u32) -> i32; |
04454e1e | 441 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
442 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
443 | pub fn WSCWriteNameSpaceOrder32(lpproviderid: *mut ::windows_sys::core::GUID, dwnumberofentries: u32) -> i32; | |
04454e1e | 444 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 445 | pub fn WSCWriteProviderOrder(lpwdcatalogentryid: *mut u32, dwnumberofentries: u32) -> i32; |
04454e1e | 446 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
447 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
448 | pub fn WSCWriteProviderOrder32(lpwdcatalogentryid: *mut u32, dwnumberofentries: u32) -> i32; | |
04454e1e | 449 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 450 | pub fn __WSAFDIsSet(fd: SOCKET, param1: *mut fd_set) -> i32; |
04454e1e | 451 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
452 | #[cfg(feature = "Win32_Foundation")] |
453 | pub fn accept(s: SOCKET, addr: *mut SOCKADDR, addrlen: *mut i32) -> SOCKET; | |
04454e1e | 454 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
455 | #[cfg(feature = "Win32_Foundation")] |
456 | pub fn bind(s: SOCKET, name: *const SOCKADDR, namelen: i32) -> i32; | |
04454e1e | 457 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 458 | pub fn closesocket(s: SOCKET) -> i32; |
04454e1e | 459 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
460 | #[cfg(feature = "Win32_Foundation")] |
461 | pub fn connect(s: SOCKET, name: *const SOCKADDR, namelen: i32) -> i32; | |
04454e1e | 462 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
463 | #[cfg(feature = "Win32_Foundation")] |
464 | pub fn freeaddrinfo(paddrinfo: *const ADDRINFOA); | |
04454e1e | 465 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 466 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
467 | pub fn getaddrinfo(pnodename: ::windows_sys::core::PCSTR, pservicename: ::windows_sys::core::PCSTR, phints: *const ADDRINFOA, ppresult: *mut *mut ADDRINFOA) -> i32; |
468 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
469 | pub fn gethostbyaddr(addr: ::windows_sys::core::PCSTR, len: i32, r#type: i32) -> *mut hostent; | |
470 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
471 | pub fn gethostbyname(name: ::windows_sys::core::PCSTR) -> *mut hostent; | |
472 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
473 | pub fn gethostname(name: ::windows_sys::core::PSTR, namelen: i32) -> i32; | |
474 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 475 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
476 | pub fn getnameinfo(psockaddr: *const SOCKADDR, sockaddrlength: i32, pnodebuffer: ::windows_sys::core::PSTR, nodebuffersize: u32, pservicebuffer: ::windows_sys::core::PSTR, servicebuffersize: u32, flags: i32) -> i32; |
477 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
478 | #[cfg(feature = "Win32_Foundation")] |
479 | pub fn getpeername(s: SOCKET, name: *mut SOCKADDR, namelen: *mut i32) -> i32; | |
04454e1e FG |
480 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
481 | pub fn getprotobyname(name: ::windows_sys::core::PCSTR) -> *mut protoent; | |
482 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 483 | pub fn getprotobynumber(number: i32) -> *mut protoent; |
04454e1e FG |
484 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
485 | pub fn getservbyname(name: ::windows_sys::core::PCSTR, proto: ::windows_sys::core::PCSTR) -> *mut servent; | |
486 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
487 | pub fn getservbyport(port: i32, proto: ::windows_sys::core::PCSTR) -> *mut servent; | |
488 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
489 | #[cfg(feature = "Win32_Foundation")] |
490 | pub fn getsockname(s: SOCKET, name: *mut SOCKADDR, namelen: *mut i32) -> i32; | |
04454e1e FG |
491 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
492 | pub fn getsockopt(s: SOCKET, level: i32, optname: i32, optval: ::windows_sys::core::PSTR, optlen: *mut i32) -> i32; | |
493 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 494 | pub fn htonl(hostlong: u32) -> u32; |
04454e1e | 495 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 496 | pub fn htons(hostshort: u16) -> u16; |
04454e1e FG |
497 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
498 | pub fn inet_addr(cp: ::windows_sys::core::PCSTR) -> u32; | |
499 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
500 | pub fn inet_ntoa(r#in: IN_ADDR) -> ::windows_sys::core::PSTR; | |
501 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
502 | pub fn inet_ntop(family: i32, paddr: *const ::core::ffi::c_void, pstringbuf: ::windows_sys::core::PSTR, stringbufsize: usize) -> ::windows_sys::core::PSTR; | |
503 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
504 | pub fn inet_pton(family: i32, pszaddrstring: ::windows_sys::core::PCSTR, paddrbuf: *mut ::core::ffi::c_void) -> i32; | |
505 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 506 | pub fn ioctlsocket(s: SOCKET, cmd: i32, argp: *mut u32) -> i32; |
04454e1e | 507 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 508 | pub fn listen(s: SOCKET, backlog: i32) -> i32; |
04454e1e | 509 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 510 | pub fn ntohl(netlong: u32) -> u32; |
04454e1e | 511 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 512 | pub fn ntohs(netshort: u16) -> u16; |
04454e1e | 513 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 514 | pub fn recv(s: SOCKET, buf: ::windows_sys::core::PSTR, len: i32, flags: SEND_RECV_FLAGS) -> i32; |
04454e1e | 515 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 516 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
517 | pub fn recvfrom(s: SOCKET, buf: ::windows_sys::core::PSTR, len: i32, flags: i32, from: *mut SOCKADDR, fromlen: *mut i32) -> i32; |
518 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 519 | pub fn select(nfds: i32, readfds: *mut fd_set, writefds: *mut fd_set, exceptfds: *mut fd_set, timeout: *const timeval) -> i32; |
04454e1e | 520 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 521 | pub fn send(s: SOCKET, buf: ::windows_sys::core::PCSTR, len: i32, flags: SEND_RECV_FLAGS) -> i32; |
04454e1e | 522 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 523 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
524 | pub fn sendto(s: SOCKET, buf: ::windows_sys::core::PCSTR, len: i32, flags: i32, to: *const SOCKADDR, tolen: i32) -> i32; |
525 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
526 | pub fn setsockopt(s: SOCKET, level: i32, optname: i32, optval: ::windows_sys::core::PCSTR, optlen: i32) -> i32; | |
527 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 528 | pub fn shutdown(s: SOCKET, how: i32) -> i32; |
04454e1e | 529 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
530 | pub fn socket(af: i32, r#type: i32, protocol: i32) -> SOCKET; |
531 | } | |
04454e1e | 532 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 533 | pub const AAL5_MODE_MESSAGE: u32 = 1u32; |
04454e1e | 534 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
535 | pub const AAL5_MODE_STREAMING: u32 = 2u32; |
536 | #[repr(C)] | |
04454e1e | 537 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
538 | pub struct AAL5_PARAMETERS { |
539 | pub ForwardMaxCPCSSDUSize: u32, | |
540 | pub BackwardMaxCPCSSDUSize: u32, | |
541 | pub Mode: u8, | |
542 | pub SSCSType: u8, | |
543 | } | |
544 | impl ::core::marker::Copy for AAL5_PARAMETERS {} | |
545 | impl ::core::clone::Clone for AAL5_PARAMETERS { | |
546 | fn clone(&self) -> Self { | |
547 | *self | |
548 | } | |
549 | } | |
04454e1e | 550 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 551 | pub const AAL5_SSCS_FRAME_RELAY: u32 = 4u32; |
04454e1e | 552 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 553 | pub const AAL5_SSCS_NULL: u32 = 0u32; |
04454e1e | 554 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 555 | pub const AAL5_SSCS_SSCOP_ASSURED: u32 = 1u32; |
04454e1e | 556 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
557 | pub const AAL5_SSCS_SSCOP_NON_ASSURED: u32 = 2u32; |
558 | #[repr(C)] | |
04454e1e | 559 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
560 | pub struct AALUSER_PARAMETERS { |
561 | pub UserDefined: u32, | |
562 | } | |
563 | impl ::core::marker::Copy for AALUSER_PARAMETERS {} | |
564 | impl ::core::clone::Clone for AALUSER_PARAMETERS { | |
565 | fn clone(&self) -> Self { | |
566 | *self | |
567 | } | |
568 | } | |
569 | #[repr(C)] | |
04454e1e | 570 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
571 | pub struct AAL_PARAMETERS_IE { |
572 | pub AALType: AAL_TYPE, | |
573 | pub AALSpecificParameters: AAL_PARAMETERS_IE_0, | |
574 | } | |
575 | impl ::core::marker::Copy for AAL_PARAMETERS_IE {} | |
576 | impl ::core::clone::Clone for AAL_PARAMETERS_IE { | |
577 | fn clone(&self) -> Self { | |
578 | *self | |
579 | } | |
580 | } | |
581 | #[repr(C)] | |
04454e1e | 582 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
583 | pub union AAL_PARAMETERS_IE_0 { |
584 | pub AAL5Parameters: AAL5_PARAMETERS, | |
585 | pub AALUserParameters: AALUSER_PARAMETERS, | |
586 | } | |
587 | impl ::core::marker::Copy for AAL_PARAMETERS_IE_0 {} | |
588 | impl ::core::clone::Clone for AAL_PARAMETERS_IE_0 { | |
589 | fn clone(&self) -> Self { | |
590 | *self | |
591 | } | |
592 | } | |
04454e1e | 593 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 594 | pub type AAL_TYPE = i32; |
04454e1e | 595 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 596 | pub const AALTYPE_5: AAL_TYPE = 5i32; |
04454e1e | 597 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 598 | pub const AALTYPE_USER: AAL_TYPE = 16i32; |
923072b8 FG |
599 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
600 | pub type ADDRESS_FAMILY = u32; | |
601 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
602 | pub const AF_INET: ADDRESS_FAMILY = 2u32; | |
603 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
604 | pub const AF_INET6: ADDRESS_FAMILY = 23u32; | |
605 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
606 | pub const AF_UNSPEC: ADDRESS_FAMILY = 0u32; | |
5e7ed085 | 607 | #[repr(C)] |
04454e1e | 608 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
609 | #[cfg(feature = "Win32_Foundation")] |
610 | pub struct ADDRINFOA { | |
611 | pub ai_flags: i32, | |
612 | pub ai_family: i32, | |
613 | pub ai_socktype: i32, | |
614 | pub ai_protocol: i32, | |
615 | pub ai_addrlen: usize, | |
04454e1e | 616 | pub ai_canonname: ::windows_sys::core::PSTR, |
5e7ed085 FG |
617 | pub ai_addr: *mut SOCKADDR, |
618 | pub ai_next: *mut ADDRINFOA, | |
619 | } | |
620 | #[cfg(feature = "Win32_Foundation")] | |
621 | impl ::core::marker::Copy for ADDRINFOA {} | |
622 | #[cfg(feature = "Win32_Foundation")] | |
623 | impl ::core::clone::Clone for ADDRINFOA { | |
624 | fn clone(&self) -> Self { | |
625 | *self | |
626 | } | |
627 | } | |
04454e1e | 628 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 629 | pub const ADDRINFOEX_VERSION_2: u32 = 2u32; |
04454e1e | 630 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 631 | pub const ADDRINFOEX_VERSION_3: u32 = 3u32; |
04454e1e | 632 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 633 | pub const ADDRINFOEX_VERSION_4: u32 = 4u32; |
04454e1e | 634 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 635 | pub const ADDRINFOEX_VERSION_5: u32 = 5u32; |
04454e1e | 636 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
637 | pub const ADDRINFOEX_VERSION_6: u32 = 6u32; |
638 | #[repr(C)] | |
04454e1e | 639 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
640 | pub struct AFPROTOCOLS { |
641 | pub iAddressFamily: i32, | |
642 | pub iProtocol: i32, | |
643 | } | |
644 | impl ::core::marker::Copy for AFPROTOCOLS {} | |
645 | impl ::core::clone::Clone for AFPROTOCOLS { | |
646 | fn clone(&self) -> Self { | |
647 | *self | |
648 | } | |
649 | } | |
04454e1e | 650 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 651 | pub const AF_12844: u16 = 25u16; |
04454e1e | 652 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 653 | pub const AF_APPLETALK: u16 = 16u16; |
04454e1e | 654 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 655 | pub const AF_ATM: u16 = 22u16; |
04454e1e | 656 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 657 | pub const AF_BAN: u16 = 21u16; |
04454e1e | 658 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 659 | pub const AF_CCITT: u16 = 10u16; |
04454e1e | 660 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 661 | pub const AF_CHAOS: u16 = 5u16; |
04454e1e | 662 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 663 | pub const AF_CLUSTER: u16 = 24u16; |
04454e1e | 664 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 665 | pub const AF_DATAKIT: u16 = 9u16; |
04454e1e | 666 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 667 | pub const AF_DECnet: u16 = 12u16; |
04454e1e | 668 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 669 | pub const AF_DLI: u16 = 13u16; |
04454e1e | 670 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 671 | pub const AF_ECMA: u16 = 8u16; |
04454e1e | 672 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 673 | pub const AF_FIREFOX: u16 = 19u16; |
04454e1e | 674 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 675 | pub const AF_HYLINK: u16 = 15u16; |
04454e1e | 676 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 677 | pub const AF_HYPERV: u16 = 34u16; |
04454e1e | 678 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 679 | pub const AF_ICLFXBM: u16 = 31u16; |
04454e1e | 680 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 681 | pub const AF_IMPLINK: u16 = 3u16; |
04454e1e | 682 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 683 | pub const AF_IPX: u16 = 6u16; |
04454e1e | 684 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 685 | pub const AF_IRDA: u16 = 26u16; |
04454e1e | 686 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 687 | pub const AF_ISO: u16 = 7u16; |
04454e1e | 688 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 689 | pub const AF_LAT: u16 = 14u16; |
04454e1e | 690 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 691 | pub const AF_LINK: u16 = 33u16; |
04454e1e | 692 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 693 | pub const AF_MAX: u16 = 29u16; |
04454e1e | 694 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 695 | pub const AF_NETBIOS: u16 = 17u16; |
04454e1e | 696 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 697 | pub const AF_NETDES: u16 = 28u16; |
04454e1e | 698 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 699 | pub const AF_NS: u16 = 6u16; |
04454e1e | 700 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 701 | pub const AF_OSI: u16 = 7u16; |
04454e1e | 702 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 703 | pub const AF_PUP: u16 = 4u16; |
04454e1e | 704 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 705 | pub const AF_SNA: u16 = 11u16; |
04454e1e | 706 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 707 | pub const AF_TCNMESSAGE: u16 = 30u16; |
04454e1e | 708 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 709 | pub const AF_TCNPROCESS: u16 = 29u16; |
04454e1e | 710 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 711 | pub const AF_UNIX: u16 = 1u16; |
04454e1e | 712 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 713 | pub const AF_UNKNOWN1: u16 = 20u16; |
04454e1e | 714 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 715 | pub const AF_VOICEVIEW: u16 = 18u16; |
04454e1e | 716 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 717 | pub const AI_ADDRCONFIG: u32 = 1024u32; |
04454e1e | 718 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 719 | pub const AI_ALL: u32 = 256u32; |
04454e1e | 720 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 721 | pub const AI_BYPASS_DNS_CACHE: u32 = 64u32; |
04454e1e | 722 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 723 | pub const AI_CANONNAME: u32 = 2u32; |
04454e1e | 724 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 725 | pub const AI_DISABLE_IDN_ENCODING: u32 = 524288u32; |
04454e1e | 726 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 727 | pub const AI_DNS_ONLY: u32 = 16u32; |
04454e1e | 728 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 729 | pub const AI_DNS_RESPONSE_HOSTFILE: u32 = 2u32; |
04454e1e | 730 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 731 | pub const AI_DNS_RESPONSE_SECURE: u32 = 1u32; |
04454e1e | 732 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 733 | pub const AI_DNS_SERVER_TYPE_DOH: u32 = 2u32; |
04454e1e | 734 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 735 | pub const AI_DNS_SERVER_TYPE_UDP: u32 = 1u32; |
04454e1e | 736 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 737 | pub const AI_DNS_SERVER_UDP_FALLBACK: u32 = 1u32; |
04454e1e | 738 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 739 | pub const AI_EXCLUSIVE_CUSTOM_SERVERS: u32 = 2097152u32; |
04454e1e | 740 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 741 | pub const AI_EXTENDED: u32 = 2147483648u32; |
04454e1e | 742 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 743 | pub const AI_FILESERVER: u32 = 262144u32; |
04454e1e | 744 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 745 | pub const AI_FORCE_CLEAR_TEXT: u32 = 32u32; |
04454e1e | 746 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 747 | pub const AI_FQDN: u32 = 131072u32; |
04454e1e | 748 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 749 | pub const AI_NON_AUTHORITATIVE: u32 = 16384u32; |
04454e1e | 750 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 751 | pub const AI_NUMERICHOST: u32 = 4u32; |
04454e1e | 752 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 753 | pub const AI_NUMERICSERV: u32 = 8u32; |
04454e1e | 754 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 755 | pub const AI_PASSIVE: u32 = 1u32; |
04454e1e | 756 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 757 | pub const AI_REQUIRE_SECURE: u32 = 536870912u32; |
04454e1e | 758 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 759 | pub const AI_RESOLUTION_HANDLE: u32 = 1073741824u32; |
04454e1e | 760 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 761 | pub const AI_RETURN_PREFERRED_NAMES: u32 = 65536u32; |
04454e1e | 762 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 763 | pub const AI_RETURN_RESPONSE_FLAGS: u32 = 268435456u32; |
04454e1e | 764 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 765 | pub const AI_RETURN_TTL: u32 = 128u32; |
04454e1e | 766 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 767 | pub const AI_SECURE: u32 = 32768u32; |
04454e1e | 768 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 769 | pub const AI_SECURE_WITH_FALLBACK: u32 = 1048576u32; |
04454e1e | 770 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
771 | pub const AI_V4MAPPED: u32 = 2048u32; |
772 | pub const ASSOCIATE_NAMERES_CONTEXT: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1503890279, data2: 54526, data3: 18145, data4: [186, 60, 135, 234, 116, 202, 48, 73] }; | |
773 | #[repr(C)] | |
04454e1e | 774 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
775 | pub struct ASSOCIATE_NAMERES_CONTEXT_INPUT { |
776 | pub TransportSettingId: TRANSPORT_SETTING_ID, | |
777 | pub Handle: u64, | |
778 | } | |
779 | impl ::core::marker::Copy for ASSOCIATE_NAMERES_CONTEXT_INPUT {} | |
780 | impl ::core::clone::Clone for ASSOCIATE_NAMERES_CONTEXT_INPUT { | |
781 | fn clone(&self) -> Self { | |
782 | *self | |
783 | } | |
784 | } | |
04454e1e | 785 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 786 | pub const ATMPROTO_AAL1: u32 = 1u32; |
04454e1e | 787 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 788 | pub const ATMPROTO_AAL2: u32 = 2u32; |
04454e1e | 789 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 790 | pub const ATMPROTO_AAL34: u32 = 3u32; |
04454e1e | 791 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 792 | pub const ATMPROTO_AAL5: u32 = 5u32; |
04454e1e | 793 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
794 | pub const ATMPROTO_AALUSER: u32 = 0u32; |
795 | #[repr(C)] | |
04454e1e | 796 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
797 | pub struct ATM_ADDRESS { |
798 | pub AddressType: u32, | |
799 | pub NumofDigits: u32, | |
800 | pub Addr: [u8; 20], | |
801 | } | |
802 | impl ::core::marker::Copy for ATM_ADDRESS {} | |
803 | impl ::core::clone::Clone for ATM_ADDRESS { | |
804 | fn clone(&self) -> Self { | |
805 | *self | |
806 | } | |
807 | } | |
04454e1e | 808 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 809 | pub const ATM_ADDR_SIZE: u32 = 20u32; |
04454e1e | 810 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
811 | pub const ATM_AESA: u32 = 2u32; |
812 | #[repr(C)] | |
04454e1e | 813 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
814 | pub struct ATM_BHLI { |
815 | pub HighLayerInfoType: u32, | |
816 | pub HighLayerInfoLength: u32, | |
817 | pub HighLayerInfo: [u8; 8], | |
818 | } | |
819 | impl ::core::marker::Copy for ATM_BHLI {} | |
820 | impl ::core::clone::Clone for ATM_BHLI { | |
821 | fn clone(&self) -> Self { | |
822 | *self | |
823 | } | |
824 | } | |
825 | #[repr(C)] | |
04454e1e | 826 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
827 | pub struct ATM_BLLI { |
828 | pub Layer2Protocol: u32, | |
829 | pub Layer2UserSpecifiedProtocol: u32, | |
830 | pub Layer3Protocol: u32, | |
831 | pub Layer3UserSpecifiedProtocol: u32, | |
832 | pub Layer3IPI: u32, | |
833 | pub SnapID: [u8; 5], | |
834 | } | |
835 | impl ::core::marker::Copy for ATM_BLLI {} | |
836 | impl ::core::clone::Clone for ATM_BLLI { | |
837 | fn clone(&self) -> Self { | |
838 | *self | |
839 | } | |
840 | } | |
841 | #[repr(C)] | |
04454e1e | 842 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
843 | pub struct ATM_BLLI_IE { |
844 | pub Layer2Protocol: u32, | |
845 | pub Layer2Mode: u8, | |
846 | pub Layer2WindowSize: u8, | |
847 | pub Layer2UserSpecifiedProtocol: u32, | |
848 | pub Layer3Protocol: u32, | |
849 | pub Layer3Mode: u8, | |
850 | pub Layer3DefaultPacketSize: u8, | |
851 | pub Layer3PacketWindowSize: u8, | |
852 | pub Layer3UserSpecifiedProtocol: u32, | |
853 | pub Layer3IPI: u32, | |
854 | pub SnapID: [u8; 5], | |
855 | } | |
856 | impl ::core::marker::Copy for ATM_BLLI_IE {} | |
857 | impl ::core::clone::Clone for ATM_BLLI_IE { | |
858 | fn clone(&self) -> Self { | |
859 | *self | |
860 | } | |
861 | } | |
862 | #[repr(C)] | |
04454e1e | 863 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
864 | pub struct ATM_BROADBAND_BEARER_CAPABILITY_IE { |
865 | pub BearerClass: u8, | |
866 | pub TrafficType: u8, | |
867 | pub TimingRequirements: u8, | |
868 | pub ClippingSusceptability: u8, | |
869 | pub UserPlaneConnectionConfig: u8, | |
870 | } | |
871 | impl ::core::marker::Copy for ATM_BROADBAND_BEARER_CAPABILITY_IE {} | |
872 | impl ::core::clone::Clone for ATM_BROADBAND_BEARER_CAPABILITY_IE { | |
873 | fn clone(&self) -> Self { | |
874 | *self | |
875 | } | |
876 | } | |
877 | #[repr(C)] | |
04454e1e | 878 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
879 | pub struct ATM_CALLING_PARTY_NUMBER_IE { |
880 | pub ATM_Number: ATM_ADDRESS, | |
881 | pub Presentation_Indication: u8, | |
882 | pub Screening_Indicator: u8, | |
883 | } | |
884 | impl ::core::marker::Copy for ATM_CALLING_PARTY_NUMBER_IE {} | |
885 | impl ::core::clone::Clone for ATM_CALLING_PARTY_NUMBER_IE { | |
886 | fn clone(&self) -> Self { | |
887 | *self | |
888 | } | |
889 | } | |
890 | #[repr(C)] | |
04454e1e | 891 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
892 | pub struct ATM_CAUSE_IE { |
893 | pub Location: u8, | |
894 | pub Cause: u8, | |
895 | pub DiagnosticsLength: u8, | |
896 | pub Diagnostics: [u8; 4], | |
897 | } | |
898 | impl ::core::marker::Copy for ATM_CAUSE_IE {} | |
899 | impl ::core::clone::Clone for ATM_CAUSE_IE { | |
900 | fn clone(&self) -> Self { | |
901 | *self | |
902 | } | |
903 | } | |
904 | #[repr(C)] | |
04454e1e | 905 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
906 | pub struct ATM_CONNECTION_ID { |
907 | pub DeviceNumber: u32, | |
908 | pub VPI: u32, | |
909 | pub VCI: u32, | |
910 | } | |
911 | impl ::core::marker::Copy for ATM_CONNECTION_ID {} | |
912 | impl ::core::clone::Clone for ATM_CONNECTION_ID { | |
913 | fn clone(&self) -> Self { | |
914 | *self | |
915 | } | |
916 | } | |
04454e1e | 917 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 918 | pub const ATM_E164: u32 = 1u32; |
04454e1e | 919 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
920 | pub const ATM_NSAP: u32 = 2u32; |
921 | #[repr(C, packed(4))] | |
04454e1e FG |
922 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_NetworkManagement_QoS\"`*"] |
923 | #[cfg(feature = "Win32_NetworkManagement_QoS")] | |
5e7ed085 FG |
924 | pub struct ATM_PVC_PARAMS { |
925 | pub PvcConnectionId: ATM_CONNECTION_ID, | |
926 | pub PvcQos: super::super::NetworkManagement::QoS::QOS, | |
927 | } | |
04454e1e | 928 | #[cfg(feature = "Win32_NetworkManagement_QoS")] |
5e7ed085 | 929 | impl ::core::marker::Copy for ATM_PVC_PARAMS {} |
04454e1e | 930 | #[cfg(feature = "Win32_NetworkManagement_QoS")] |
5e7ed085 FG |
931 | impl ::core::clone::Clone for ATM_PVC_PARAMS { |
932 | fn clone(&self) -> Self { | |
933 | *self | |
934 | } | |
935 | } | |
936 | #[repr(C)] | |
04454e1e | 937 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
938 | pub struct ATM_QOS_CLASS_IE { |
939 | pub QOSClassForward: u8, | |
940 | pub QOSClassBackward: u8, | |
941 | } | |
942 | impl ::core::marker::Copy for ATM_QOS_CLASS_IE {} | |
943 | impl ::core::clone::Clone for ATM_QOS_CLASS_IE { | |
944 | fn clone(&self) -> Self { | |
945 | *self | |
946 | } | |
947 | } | |
948 | #[repr(C)] | |
04454e1e | 949 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
950 | #[cfg(feature = "Win32_Foundation")] |
951 | pub struct ATM_TD { | |
952 | pub PeakCellRate_CLP0: u32, | |
953 | pub PeakCellRate_CLP01: u32, | |
954 | pub SustainableCellRate_CLP0: u32, | |
955 | pub SustainableCellRate_CLP01: u32, | |
956 | pub MaxBurstSize_CLP0: u32, | |
957 | pub MaxBurstSize_CLP01: u32, | |
958 | pub Tagging: super::super::Foundation::BOOL, | |
959 | } | |
960 | #[cfg(feature = "Win32_Foundation")] | |
961 | impl ::core::marker::Copy for ATM_TD {} | |
962 | #[cfg(feature = "Win32_Foundation")] | |
963 | impl ::core::clone::Clone for ATM_TD { | |
964 | fn clone(&self) -> Self { | |
965 | *self | |
966 | } | |
967 | } | |
968 | #[repr(C)] | |
04454e1e | 969 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
970 | #[cfg(feature = "Win32_Foundation")] |
971 | pub struct ATM_TRAFFIC_DESCRIPTOR_IE { | |
972 | pub Forward: ATM_TD, | |
973 | pub Backward: ATM_TD, | |
974 | pub BestEffort: super::super::Foundation::BOOL, | |
975 | } | |
976 | #[cfg(feature = "Win32_Foundation")] | |
977 | impl ::core::marker::Copy for ATM_TRAFFIC_DESCRIPTOR_IE {} | |
978 | #[cfg(feature = "Win32_Foundation")] | |
979 | impl ::core::clone::Clone for ATM_TRAFFIC_DESCRIPTOR_IE { | |
980 | fn clone(&self) -> Self { | |
981 | *self | |
982 | } | |
983 | } | |
984 | #[repr(C)] | |
04454e1e | 985 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
986 | pub struct ATM_TRANSIT_NETWORK_SELECTION_IE { |
987 | pub TypeOfNetworkId: u8, | |
988 | pub NetworkIdPlan: u8, | |
989 | pub NetworkIdLength: u8, | |
990 | pub NetworkId: [u8; 1], | |
991 | } | |
992 | impl ::core::marker::Copy for ATM_TRANSIT_NETWORK_SELECTION_IE {} | |
993 | impl ::core::clone::Clone for ATM_TRANSIT_NETWORK_SELECTION_IE { | |
994 | fn clone(&self) -> Self { | |
995 | *self | |
996 | } | |
997 | } | |
04454e1e | 998 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 999 | pub const BASE_PROTOCOL: u32 = 1u32; |
04454e1e | 1000 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1001 | pub const BCOB_A: u32 = 1u32; |
04454e1e | 1002 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1003 | pub const BCOB_C: u32 = 3u32; |
04454e1e | 1004 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1005 | pub const BCOB_X: u32 = 16u32; |
04454e1e | 1006 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1007 | pub const BHLI_HighLayerProfile: u32 = 2u32; |
04454e1e | 1008 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1009 | pub const BHLI_ISO: u32 = 0u32; |
04454e1e | 1010 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1011 | pub const BHLI_UserSpecific: u32 = 1u32; |
04454e1e | 1012 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1013 | pub const BHLI_VendorSpecificAppId: u32 = 3u32; |
04454e1e | 1014 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1015 | pub const BIGENDIAN: u32 = 0u32; |
04454e1e | 1016 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1017 | pub const BITS_PER_BYTE: u32 = 8u32; |
04454e1e | 1018 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1019 | pub const BLLI_L2_ELAPB: u32 = 8u32; |
04454e1e | 1020 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1021 | pub const BLLI_L2_HDLC_ABM: u32 = 11u32; |
04454e1e | 1022 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1023 | pub const BLLI_L2_HDLC_ARM: u32 = 9u32; |
04454e1e | 1024 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1025 | pub const BLLI_L2_HDLC_NRM: u32 = 10u32; |
04454e1e | 1026 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1027 | pub const BLLI_L2_ISO_1745: u32 = 1u32; |
04454e1e | 1028 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1029 | pub const BLLI_L2_ISO_7776: u32 = 17u32; |
04454e1e | 1030 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1031 | pub const BLLI_L2_LLC: u32 = 12u32; |
04454e1e | 1032 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1033 | pub const BLLI_L2_MODE_EXT: u32 = 128u32; |
04454e1e | 1034 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1035 | pub const BLLI_L2_MODE_NORMAL: u32 = 64u32; |
04454e1e | 1036 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1037 | pub const BLLI_L2_Q921: u32 = 2u32; |
04454e1e | 1038 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1039 | pub const BLLI_L2_Q922: u32 = 14u32; |
04454e1e | 1040 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1041 | pub const BLLI_L2_USER_SPECIFIED: u32 = 16u32; |
04454e1e | 1042 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1043 | pub const BLLI_L2_X25L: u32 = 6u32; |
04454e1e | 1044 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1045 | pub const BLLI_L2_X25M: u32 = 7u32; |
04454e1e | 1046 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1047 | pub const BLLI_L2_X75: u32 = 13u32; |
04454e1e | 1048 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1049 | pub const BLLI_L3_IPI_IP: u32 = 204u32; |
04454e1e | 1050 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1051 | pub const BLLI_L3_IPI_SNAP: u32 = 128u32; |
04454e1e | 1052 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1053 | pub const BLLI_L3_ISO_8208: u32 = 7u32; |
04454e1e | 1054 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1055 | pub const BLLI_L3_ISO_TR9577: u32 = 11u32; |
04454e1e | 1056 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1057 | pub const BLLI_L3_MODE_EXT: u32 = 128u32; |
04454e1e | 1058 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1059 | pub const BLLI_L3_MODE_NORMAL: u32 = 64u32; |
04454e1e | 1060 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1061 | pub const BLLI_L3_PACKET_1024: u32 = 10u32; |
04454e1e | 1062 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1063 | pub const BLLI_L3_PACKET_128: u32 = 7u32; |
04454e1e | 1064 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1065 | pub const BLLI_L3_PACKET_16: u32 = 4u32; |
04454e1e | 1066 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1067 | pub const BLLI_L3_PACKET_2048: u32 = 11u32; |
04454e1e | 1068 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1069 | pub const BLLI_L3_PACKET_256: u32 = 8u32; |
04454e1e | 1070 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1071 | pub const BLLI_L3_PACKET_32: u32 = 5u32; |
04454e1e | 1072 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1073 | pub const BLLI_L3_PACKET_4096: u32 = 12u32; |
04454e1e | 1074 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1075 | pub const BLLI_L3_PACKET_512: u32 = 9u32; |
04454e1e | 1076 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1077 | pub const BLLI_L3_PACKET_64: u32 = 6u32; |
04454e1e | 1078 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1079 | pub const BLLI_L3_SIO_8473: u32 = 9u32; |
04454e1e | 1080 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1081 | pub const BLLI_L3_T70: u32 = 10u32; |
04454e1e | 1082 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1083 | pub const BLLI_L3_USER_SPECIFIED: u32 = 16u32; |
04454e1e | 1084 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1085 | pub const BLLI_L3_X223: u32 = 8u32; |
04454e1e | 1086 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1087 | pub const BLLI_L3_X25: u32 = 6u32; |
04454e1e | 1088 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1089 | pub const CAUSE_AAL_PARAMETERS_UNSUPPORTED: u32 = 93u32; |
04454e1e | 1090 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1091 | pub const CAUSE_ACCESS_INFORMAION_DISCARDED: u32 = 43u32; |
04454e1e | 1092 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1093 | pub const CAUSE_BEARER_CAPABILITY_UNAUTHORIZED: u32 = 57u32; |
04454e1e | 1094 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1095 | pub const CAUSE_BEARER_CAPABILITY_UNAVAILABLE: u32 = 58u32; |
04454e1e | 1096 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1097 | pub const CAUSE_BEARER_CAPABILITY_UNIMPLEMENTED: u32 = 65u32; |
04454e1e | 1098 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1099 | pub const CAUSE_CALL_REJECTED: u32 = 21u32; |
04454e1e | 1100 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1101 | pub const CAUSE_CHANNEL_NONEXISTENT: u32 = 82u32; |
04454e1e | 1102 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1103 | pub const CAUSE_COND_PERMANENT: u32 = 1u32; |
04454e1e | 1104 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1105 | pub const CAUSE_COND_TRANSIENT: u32 = 2u32; |
04454e1e | 1106 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1107 | pub const CAUSE_COND_UNKNOWN: u32 = 0u32; |
04454e1e | 1108 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1109 | pub const CAUSE_DESTINATION_OUT_OF_ORDER: u32 = 27u32; |
04454e1e | 1110 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1111 | pub const CAUSE_INCOMPATIBLE_DESTINATION: u32 = 88u32; |
04454e1e | 1112 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1113 | pub const CAUSE_INCORRECT_MESSAGE_LENGTH: u32 = 104u32; |
04454e1e | 1114 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1115 | pub const CAUSE_INVALID_CALL_REFERENCE: u32 = 81u32; |
04454e1e | 1116 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1117 | pub const CAUSE_INVALID_ENDPOINT_REFERENCE: u32 = 89u32; |
04454e1e | 1118 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1119 | pub const CAUSE_INVALID_IE_CONTENTS: u32 = 100u32; |
04454e1e | 1120 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1121 | pub const CAUSE_INVALID_NUMBER_FORMAT: u32 = 28u32; |
04454e1e | 1122 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1123 | pub const CAUSE_INVALID_STATE_FOR_MESSAGE: u32 = 101u32; |
04454e1e | 1124 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1125 | pub const CAUSE_INVALID_TRANSIT_NETWORK_SELECTION: u32 = 91u32; |
04454e1e | 1126 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1127 | pub const CAUSE_LOC_BEYOND_INTERWORKING: u32 = 10u32; |
04454e1e | 1128 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1129 | pub const CAUSE_LOC_INTERNATIONAL_NETWORK: u32 = 7u32; |
04454e1e | 1130 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1131 | pub const CAUSE_LOC_PRIVATE_LOCAL: u32 = 1u32; |
04454e1e | 1132 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1133 | pub const CAUSE_LOC_PRIVATE_REMOTE: u32 = 5u32; |
04454e1e | 1134 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1135 | pub const CAUSE_LOC_PUBLIC_LOCAL: u32 = 2u32; |
04454e1e | 1136 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1137 | pub const CAUSE_LOC_PUBLIC_REMOTE: u32 = 4u32; |
04454e1e | 1138 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1139 | pub const CAUSE_LOC_TRANSIT_NETWORK: u32 = 3u32; |
04454e1e | 1140 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1141 | pub const CAUSE_LOC_USER: u32 = 0u32; |
04454e1e | 1142 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1143 | pub const CAUSE_MANDATORY_IE_MISSING: u32 = 96u32; |
04454e1e | 1144 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1145 | pub const CAUSE_NA_ABNORMAL: u32 = 4u32; |
04454e1e | 1146 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1147 | pub const CAUSE_NA_NORMAL: u32 = 0u32; |
04454e1e | 1148 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1149 | pub const CAUSE_NETWORK_OUT_OF_ORDER: u32 = 38u32; |
04454e1e | 1150 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1151 | pub const CAUSE_NORMAL_CALL_CLEARING: u32 = 16u32; |
04454e1e | 1152 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1153 | pub const CAUSE_NORMAL_UNSPECIFIED: u32 = 31u32; |
04454e1e | 1154 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1155 | pub const CAUSE_NO_ROUTE_TO_DESTINATION: u32 = 3u32; |
04454e1e | 1156 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1157 | pub const CAUSE_NO_ROUTE_TO_TRANSIT_NETWORK: u32 = 2u32; |
04454e1e | 1158 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1159 | pub const CAUSE_NO_USER_RESPONDING: u32 = 18u32; |
04454e1e | 1160 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1161 | pub const CAUSE_NO_VPI_VCI_AVAILABLE: u32 = 45u32; |
04454e1e | 1162 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1163 | pub const CAUSE_NUMBER_CHANGED: u32 = 22u32; |
04454e1e | 1164 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1165 | pub const CAUSE_OPTION_UNAVAILABLE: u32 = 63u32; |
04454e1e | 1166 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1167 | pub const CAUSE_PROTOCOL_ERROR: u32 = 111u32; |
04454e1e | 1168 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1169 | pub const CAUSE_PU_PROVIDER: u32 = 0u32; |
04454e1e | 1170 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1171 | pub const CAUSE_PU_USER: u32 = 8u32; |
04454e1e | 1172 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1173 | pub const CAUSE_QOS_UNAVAILABLE: u32 = 49u32; |
04454e1e | 1174 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1175 | pub const CAUSE_REASON_IE_INSUFFICIENT: u32 = 8u32; |
04454e1e | 1176 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1177 | pub const CAUSE_REASON_IE_MISSING: u32 = 4u32; |
04454e1e | 1178 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1179 | pub const CAUSE_REASON_USER: u32 = 0u32; |
04454e1e | 1180 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1181 | pub const CAUSE_RECOVERY_ON_TIMEOUT: u32 = 102u32; |
04454e1e | 1182 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1183 | pub const CAUSE_RESOURCE_UNAVAILABLE: u32 = 47u32; |
04454e1e | 1184 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1185 | pub const CAUSE_STATUS_ENQUIRY_RESPONSE: u32 = 30u32; |
04454e1e | 1186 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1187 | pub const CAUSE_TEMPORARY_FAILURE: u32 = 41u32; |
04454e1e | 1188 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1189 | pub const CAUSE_TOO_MANY_PENDING_ADD_PARTY: u32 = 92u32; |
04454e1e | 1190 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1191 | pub const CAUSE_UNALLOCATED_NUMBER: u32 = 1u32; |
04454e1e | 1192 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1193 | pub const CAUSE_UNIMPLEMENTED_IE: u32 = 99u32; |
04454e1e | 1194 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1195 | pub const CAUSE_UNIMPLEMENTED_MESSAGE_TYPE: u32 = 97u32; |
04454e1e | 1196 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1197 | pub const CAUSE_UNSUPPORTED_TRAFFIC_PARAMETERS: u32 = 73u32; |
04454e1e | 1198 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1199 | pub const CAUSE_USER_BUSY: u32 = 17u32; |
04454e1e | 1200 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1201 | pub const CAUSE_USER_CELL_RATE_UNAVAILABLE: u32 = 51u32; |
04454e1e | 1202 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1203 | pub const CAUSE_USER_REJECTS_CLIR: u32 = 23u32; |
04454e1e | 1204 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1205 | pub const CAUSE_VPI_VCI_UNACCEPTABLE: u32 = 10u32; |
04454e1e | 1206 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1207 | pub const CAUSE_VPI_VCI_UNAVAILABLE: u32 = 35u32; |
04454e1e | 1208 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1209 | pub const CF_ACCEPT: u32 = 0u32; |
04454e1e | 1210 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1211 | pub const CF_DEFER: u32 = 2u32; |
04454e1e | 1212 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1213 | pub const CF_REJECT: u32 = 1u32; |
04454e1e | 1214 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1215 | pub const CLIP_NOT: u32 = 0u32; |
04454e1e | 1216 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1217 | pub const CLIP_SUS: u32 = 32u32; |
04454e1e | 1218 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1219 | pub type CONTROL_CHANNEL_TRIGGER_STATUS = i32; |
04454e1e | 1220 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1221 | pub const CONTROL_CHANNEL_TRIGGER_STATUS_INVALID: CONTROL_CHANNEL_TRIGGER_STATUS = 0i32; |
04454e1e | 1222 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1223 | pub const CONTROL_CHANNEL_TRIGGER_STATUS_SOFTWARE_SLOT_ALLOCATED: CONTROL_CHANNEL_TRIGGER_STATUS = 1i32; |
04454e1e | 1224 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1225 | pub const CONTROL_CHANNEL_TRIGGER_STATUS_HARDWARE_SLOT_ALLOCATED: CONTROL_CHANNEL_TRIGGER_STATUS = 2i32; |
04454e1e | 1226 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1227 | pub const CONTROL_CHANNEL_TRIGGER_STATUS_POLICY_ERROR: CONTROL_CHANNEL_TRIGGER_STATUS = 3i32; |
04454e1e | 1228 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1229 | pub const CONTROL_CHANNEL_TRIGGER_STATUS_SYSTEM_ERROR: CONTROL_CHANNEL_TRIGGER_STATUS = 4i32; |
04454e1e | 1230 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1231 | pub const CONTROL_CHANNEL_TRIGGER_STATUS_TRANSPORT_DISCONNECTED: CONTROL_CHANNEL_TRIGGER_STATUS = 5i32; |
04454e1e | 1232 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1233 | pub const CONTROL_CHANNEL_TRIGGER_STATUS_SERVICE_UNAVAILABLE: CONTROL_CHANNEL_TRIGGER_STATUS = 6i32; |
1234 | #[repr(C)] | |
04454e1e | 1235 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1236 | #[cfg(feature = "Win32_Foundation")] |
1237 | pub struct CSADDR_INFO { | |
1238 | pub LocalAddr: SOCKET_ADDRESS, | |
1239 | pub RemoteAddr: SOCKET_ADDRESS, | |
1240 | pub iSocketType: i32, | |
1241 | pub iProtocol: i32, | |
1242 | } | |
1243 | #[cfg(feature = "Win32_Foundation")] | |
1244 | impl ::core::marker::Copy for CSADDR_INFO {} | |
1245 | #[cfg(feature = "Win32_Foundation")] | |
1246 | impl ::core::clone::Clone for CSADDR_INFO { | |
1247 | fn clone(&self) -> Self { | |
1248 | *self | |
1249 | } | |
1250 | } | |
04454e1e | 1251 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1252 | pub const DE_REUSE_SOCKET: u32 = 2u32; |
04454e1e | 1253 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1254 | pub const FD_ACCEPT: u32 = 8u32; |
04454e1e | 1255 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1256 | pub const FD_ACCEPT_BIT: u32 = 3u32; |
04454e1e | 1257 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1258 | pub const FD_ADDRESS_LIST_CHANGE_BIT: u32 = 9u32; |
04454e1e | 1259 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1260 | pub const FD_CLOSE: u32 = 32u32; |
04454e1e | 1261 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1262 | pub const FD_CLOSE_BIT: u32 = 5u32; |
04454e1e | 1263 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1264 | pub const FD_CONNECT: u32 = 16u32; |
04454e1e | 1265 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1266 | pub const FD_CONNECT_BIT: u32 = 4u32; |
04454e1e | 1267 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1268 | pub const FD_GROUP_QOS_BIT: u32 = 7u32; |
04454e1e | 1269 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1270 | pub const FD_MAX_EVENTS: u32 = 10u32; |
04454e1e | 1271 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1272 | pub const FD_OOB: u32 = 4u32; |
04454e1e | 1273 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1274 | pub const FD_OOB_BIT: u32 = 2u32; |
04454e1e | 1275 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1276 | pub const FD_QOS_BIT: u32 = 6u32; |
04454e1e | 1277 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1278 | pub const FD_READ: u32 = 1u32; |
04454e1e | 1279 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1280 | pub const FD_READ_BIT: u32 = 0u32; |
04454e1e | 1281 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1282 | pub const FD_ROUTING_INTERFACE_CHANGE_BIT: u32 = 8u32; |
04454e1e | 1283 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1284 | pub const FD_SETSIZE: u32 = 64u32; |
04454e1e | 1285 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1286 | pub const FD_WRITE: u32 = 2u32; |
04454e1e | 1287 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1288 | pub const FD_WRITE_BIT: u32 = 1u32; |
04454e1e | 1289 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1290 | pub const FIOASYNC: i32 = -2147195267i32; |
04454e1e | 1291 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1292 | pub const FIONBIO: i32 = -2147195266i32; |
04454e1e | 1293 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1294 | pub const FIONREAD: i32 = 1074030207i32; |
04454e1e | 1295 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1296 | pub const FROM_PROTOCOL_INFO: i32 = -1i32; |
04454e1e | 1297 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1298 | pub const GAI_STRERROR_BUFFER_SIZE: u32 = 1024u32; |
1299 | #[repr(C)] | |
04454e1e | 1300 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1301 | #[cfg(feature = "Win32_Foundation")] |
1302 | pub struct GROUP_FILTER { | |
1303 | pub gf_interface: u32, | |
1304 | pub gf_group: SOCKADDR_STORAGE, | |
1305 | pub gf_fmode: MULTICAST_MODE_TYPE, | |
1306 | pub gf_numsrc: u32, | |
1307 | pub gf_slist: [SOCKADDR_STORAGE; 1], | |
1308 | } | |
1309 | #[cfg(feature = "Win32_Foundation")] | |
1310 | impl ::core::marker::Copy for GROUP_FILTER {} | |
1311 | #[cfg(feature = "Win32_Foundation")] | |
1312 | impl ::core::clone::Clone for GROUP_FILTER { | |
1313 | fn clone(&self) -> Self { | |
1314 | *self | |
1315 | } | |
1316 | } | |
1317 | #[repr(C)] | |
04454e1e | 1318 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1319 | #[cfg(feature = "Win32_Foundation")] |
1320 | pub struct GROUP_REQ { | |
1321 | pub gr_interface: u32, | |
1322 | pub gr_group: SOCKADDR_STORAGE, | |
1323 | } | |
1324 | #[cfg(feature = "Win32_Foundation")] | |
1325 | impl ::core::marker::Copy for GROUP_REQ {} | |
1326 | #[cfg(feature = "Win32_Foundation")] | |
1327 | impl ::core::clone::Clone for GROUP_REQ { | |
1328 | fn clone(&self) -> Self { | |
1329 | *self | |
1330 | } | |
1331 | } | |
1332 | #[repr(C)] | |
04454e1e | 1333 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1334 | #[cfg(feature = "Win32_Foundation")] |
1335 | pub struct GROUP_SOURCE_REQ { | |
1336 | pub gsr_interface: u32, | |
1337 | pub gsr_group: SOCKADDR_STORAGE, | |
1338 | pub gsr_source: SOCKADDR_STORAGE, | |
1339 | } | |
1340 | #[cfg(feature = "Win32_Foundation")] | |
1341 | impl ::core::marker::Copy for GROUP_SOURCE_REQ {} | |
1342 | #[cfg(feature = "Win32_Foundation")] | |
1343 | impl ::core::clone::Clone for GROUP_SOURCE_REQ { | |
1344 | fn clone(&self) -> Self { | |
1345 | *self | |
1346 | } | |
1347 | } | |
1348 | pub type HWSAEVENT = isize; | |
04454e1e | 1349 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1350 | pub const IAS_ATTRIB_INT: u32 = 1u32; |
04454e1e | 1351 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1352 | pub const IAS_ATTRIB_NO_ATTRIB: u32 = 0u32; |
04454e1e | 1353 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1354 | pub const IAS_ATTRIB_NO_CLASS: u32 = 16u32; |
04454e1e | 1355 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1356 | pub const IAS_ATTRIB_OCTETSEQ: u32 = 2u32; |
04454e1e | 1357 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1358 | pub const IAS_ATTRIB_STR: u32 = 3u32; |
04454e1e | 1359 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1360 | pub const IAS_MAX_ATTRIBNAME: u32 = 256u32; |
04454e1e | 1361 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1362 | pub const IAS_MAX_CLASSNAME: u32 = 64u32; |
04454e1e | 1363 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1364 | pub const IAS_MAX_OCTET_STRING: u32 = 1024u32; |
04454e1e | 1365 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1366 | pub const IAS_MAX_USER_STRING: u32 = 256u32; |
1367 | #[repr(C)] | |
04454e1e | 1368 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1369 | #[cfg(feature = "Win32_Foundation")] |
1370 | pub struct ICMP_ERROR_INFO { | |
1371 | pub srcaddress: SOCKADDR_INET, | |
1372 | pub protocol: IPPROTO, | |
1373 | pub r#type: u8, | |
1374 | pub code: u8, | |
1375 | } | |
1376 | #[cfg(feature = "Win32_Foundation")] | |
1377 | impl ::core::marker::Copy for ICMP_ERROR_INFO {} | |
1378 | #[cfg(feature = "Win32_Foundation")] | |
1379 | impl ::core::clone::Clone for ICMP_ERROR_INFO { | |
1380 | fn clone(&self) -> Self { | |
1381 | *self | |
1382 | } | |
1383 | } | |
04454e1e | 1384 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1385 | pub const IFF_BROADCAST: u32 = 2u32; |
04454e1e | 1386 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1387 | pub const IFF_LOOPBACK: u32 = 4u32; |
04454e1e | 1388 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1389 | pub const IFF_MULTICAST: u32 = 16u32; |
04454e1e | 1390 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1391 | pub const IFF_POINTTOPOINT: u32 = 8u32; |
04454e1e | 1392 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1393 | pub const IFF_UP: u32 = 1u32; |
04454e1e | 1394 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1395 | pub const IMPLINK_HIGHEXPER: u32 = 158u32; |
04454e1e | 1396 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1397 | pub const IMPLINK_IP: u32 = 155u32; |
04454e1e | 1398 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1399 | pub const IMPLINK_LOWEXPER: u32 = 156u32; |
04454e1e | 1400 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1401 | pub const IN4ADDR_LINKLOCALPREFIX_LENGTH: u32 = 16u32; |
04454e1e | 1402 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1403 | pub const IN4ADDR_LOOPBACK: u32 = 16777343u32; |
04454e1e | 1404 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1405 | pub const IN4ADDR_LOOPBACKPREFIX_LENGTH: u32 = 8u32; |
04454e1e | 1406 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1407 | pub const IN4ADDR_MULTICASTPREFIX_LENGTH: u32 = 4u32; |
04454e1e | 1408 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1409 | pub const IN6ADDR_6TO4PREFIX_LENGTH: u32 = 16u32; |
04454e1e | 1410 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1411 | pub const IN6ADDR_LINKLOCALPREFIX_LENGTH: u32 = 64u32; |
04454e1e | 1412 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1413 | pub const IN6ADDR_MULTICASTPREFIX_LENGTH: u32 = 8u32; |
04454e1e | 1414 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1415 | pub const IN6ADDR_SOLICITEDNODEMULTICASTPREFIX_LENGTH: u32 = 104u32; |
04454e1e | 1416 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1417 | pub const IN6ADDR_TEREDOPREFIX_LENGTH: u32 = 32u32; |
04454e1e | 1418 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1419 | pub const IN6ADDR_V4MAPPEDPREFIX_LENGTH: u32 = 96u32; |
1420 | #[repr(C)] | |
04454e1e | 1421 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1422 | pub struct IN6_ADDR { |
1423 | pub u: IN6_ADDR_0, | |
1424 | } | |
1425 | impl ::core::marker::Copy for IN6_ADDR {} | |
1426 | impl ::core::clone::Clone for IN6_ADDR { | |
1427 | fn clone(&self) -> Self { | |
1428 | *self | |
1429 | } | |
1430 | } | |
1431 | #[repr(C)] | |
04454e1e | 1432 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1433 | pub union IN6_ADDR_0 { |
1434 | pub Byte: [u8; 16], | |
1435 | pub Word: [u16; 8], | |
1436 | } | |
1437 | impl ::core::marker::Copy for IN6_ADDR_0 {} | |
1438 | impl ::core::clone::Clone for IN6_ADDR_0 { | |
1439 | fn clone(&self) -> Self { | |
1440 | *self | |
1441 | } | |
1442 | } | |
1443 | #[repr(C)] | |
04454e1e | 1444 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1445 | pub struct IN6_PKTINFO { |
1446 | pub ipi6_addr: IN6_ADDR, | |
1447 | pub ipi6_ifindex: u32, | |
1448 | } | |
1449 | impl ::core::marker::Copy for IN6_PKTINFO {} | |
1450 | impl ::core::clone::Clone for IN6_PKTINFO { | |
1451 | fn clone(&self) -> Self { | |
1452 | *self | |
1453 | } | |
1454 | } | |
04454e1e | 1455 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1456 | pub const INADDR_LOOPBACK: u32 = 2130706433u32; |
04454e1e | 1457 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1458 | pub const INADDR_NONE: u32 = 4294967295u32; |
04454e1e | 1459 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1460 | pub const INCL_WINSOCK_API_PROTOTYPES: u32 = 1u32; |
04454e1e | 1461 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1462 | pub const INCL_WINSOCK_API_TYPEDEFS: u32 = 0u32; |
04454e1e | 1463 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1464 | pub const INET6_ADDRSTRLEN: u32 = 65u32; |
04454e1e | 1465 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1466 | pub const INET_ADDRSTRLEN: u32 = 22u32; |
1467 | #[repr(C)] | |
04454e1e | 1468 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1469 | pub struct INET_PORT_RANGE { |
1470 | pub StartPort: u16, | |
1471 | pub NumberOfPorts: u16, | |
1472 | } | |
1473 | impl ::core::marker::Copy for INET_PORT_RANGE {} | |
1474 | impl ::core::clone::Clone for INET_PORT_RANGE { | |
1475 | fn clone(&self) -> Self { | |
1476 | *self | |
1477 | } | |
1478 | } | |
1479 | #[repr(C)] | |
04454e1e | 1480 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1481 | pub struct INET_PORT_RESERVATION_INFORMATION { |
1482 | pub OwningPid: u32, | |
1483 | } | |
1484 | impl ::core::marker::Copy for INET_PORT_RESERVATION_INFORMATION {} | |
1485 | impl ::core::clone::Clone for INET_PORT_RESERVATION_INFORMATION { | |
1486 | fn clone(&self) -> Self { | |
1487 | *self | |
1488 | } | |
1489 | } | |
1490 | #[repr(C)] | |
04454e1e | 1491 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1492 | pub struct INET_PORT_RESERVATION_INSTANCE { |
1493 | pub Reservation: INET_PORT_RANGE, | |
1494 | pub Token: INET_PORT_RESERVATION_TOKEN, | |
1495 | } | |
1496 | impl ::core::marker::Copy for INET_PORT_RESERVATION_INSTANCE {} | |
1497 | impl ::core::clone::Clone for INET_PORT_RESERVATION_INSTANCE { | |
1498 | fn clone(&self) -> Self { | |
1499 | *self | |
1500 | } | |
1501 | } | |
1502 | #[repr(C)] | |
04454e1e | 1503 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1504 | pub struct INET_PORT_RESERVATION_TOKEN { |
1505 | pub Token: u64, | |
1506 | } | |
1507 | impl ::core::marker::Copy for INET_PORT_RESERVATION_TOKEN {} | |
1508 | impl ::core::clone::Clone for INET_PORT_RESERVATION_TOKEN { | |
1509 | fn clone(&self) -> Self { | |
1510 | *self | |
1511 | } | |
1512 | } | |
1513 | #[repr(C)] | |
04454e1e | 1514 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1515 | #[cfg(feature = "Win32_Foundation")] |
1516 | pub struct INTERFACE_INFO { | |
1517 | pub iiFlags: u32, | |
1518 | pub iiAddress: sockaddr_gen, | |
1519 | pub iiBroadcastAddress: sockaddr_gen, | |
1520 | pub iiNetmask: sockaddr_gen, | |
1521 | } | |
1522 | #[cfg(feature = "Win32_Foundation")] | |
1523 | impl ::core::marker::Copy for INTERFACE_INFO {} | |
1524 | #[cfg(feature = "Win32_Foundation")] | |
1525 | impl ::core::clone::Clone for INTERFACE_INFO { | |
1526 | fn clone(&self) -> Self { | |
1527 | *self | |
1528 | } | |
1529 | } | |
1530 | #[repr(C)] | |
04454e1e | 1531 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1532 | #[cfg(feature = "Win32_Foundation")] |
1533 | pub struct INTERFACE_INFO_EX { | |
1534 | pub iiFlags: u32, | |
1535 | pub iiAddress: SOCKET_ADDRESS, | |
1536 | pub iiBroadcastAddress: SOCKET_ADDRESS, | |
1537 | pub iiNetmask: SOCKET_ADDRESS, | |
1538 | } | |
1539 | #[cfg(feature = "Win32_Foundation")] | |
1540 | impl ::core::marker::Copy for INTERFACE_INFO_EX {} | |
1541 | #[cfg(feature = "Win32_Foundation")] | |
1542 | impl ::core::clone::Clone for INTERFACE_INFO_EX { | |
1543 | fn clone(&self) -> Self { | |
1544 | *self | |
1545 | } | |
1546 | } | |
04454e1e | 1547 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 1548 | pub const INVALID_SOCKET: SOCKET = -1i32 as _; |
5e7ed085 | 1549 | #[repr(C)] |
04454e1e | 1550 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1551 | pub struct IN_ADDR { |
1552 | pub S_un: IN_ADDR_0, | |
1553 | } | |
1554 | impl ::core::marker::Copy for IN_ADDR {} | |
1555 | impl ::core::clone::Clone for IN_ADDR { | |
1556 | fn clone(&self) -> Self { | |
1557 | *self | |
1558 | } | |
1559 | } | |
1560 | #[repr(C)] | |
04454e1e | 1561 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1562 | pub union IN_ADDR_0 { |
1563 | pub S_un_b: IN_ADDR_0_0, | |
1564 | pub S_un_w: IN_ADDR_0_1, | |
1565 | pub S_addr: u32, | |
1566 | } | |
1567 | impl ::core::marker::Copy for IN_ADDR_0 {} | |
1568 | impl ::core::clone::Clone for IN_ADDR_0 { | |
1569 | fn clone(&self) -> Self { | |
1570 | *self | |
1571 | } | |
1572 | } | |
1573 | #[repr(C)] | |
04454e1e | 1574 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1575 | pub struct IN_ADDR_0_0 { |
1576 | pub s_b1: u8, | |
1577 | pub s_b2: u8, | |
1578 | pub s_b3: u8, | |
1579 | pub s_b4: u8, | |
1580 | } | |
1581 | impl ::core::marker::Copy for IN_ADDR_0_0 {} | |
1582 | impl ::core::clone::Clone for IN_ADDR_0_0 { | |
1583 | fn clone(&self) -> Self { | |
1584 | *self | |
1585 | } | |
1586 | } | |
1587 | #[repr(C)] | |
04454e1e | 1588 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1589 | pub struct IN_ADDR_0_1 { |
1590 | pub s_w1: u16, | |
1591 | pub s_w2: u16, | |
1592 | } | |
1593 | impl ::core::marker::Copy for IN_ADDR_0_1 {} | |
1594 | impl ::core::clone::Clone for IN_ADDR_0_1 { | |
1595 | fn clone(&self) -> Self { | |
1596 | *self | |
1597 | } | |
1598 | } | |
04454e1e | 1599 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1600 | pub const IN_CLASSA_HOST: u32 = 16777215u32; |
04454e1e | 1601 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1602 | pub const IN_CLASSA_MAX: u32 = 128u32; |
04454e1e | 1603 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1604 | pub const IN_CLASSA_NET: u32 = 4278190080u32; |
04454e1e | 1605 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1606 | pub const IN_CLASSA_NSHIFT: u32 = 24u32; |
04454e1e | 1607 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1608 | pub const IN_CLASSB_HOST: u32 = 65535u32; |
04454e1e | 1609 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1610 | pub const IN_CLASSB_MAX: u32 = 65536u32; |
04454e1e | 1611 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1612 | pub const IN_CLASSB_NET: u32 = 4294901760u32; |
04454e1e | 1613 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1614 | pub const IN_CLASSB_NSHIFT: u32 = 16u32; |
04454e1e | 1615 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1616 | pub const IN_CLASSC_HOST: u32 = 255u32; |
04454e1e | 1617 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1618 | pub const IN_CLASSC_NET: u32 = 4294967040u32; |
04454e1e | 1619 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1620 | pub const IN_CLASSC_NSHIFT: u32 = 8u32; |
04454e1e | 1621 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1622 | pub const IN_CLASSD_HOST: u32 = 268435455u32; |
04454e1e | 1623 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1624 | pub const IN_CLASSD_NET: u32 = 4026531840u32; |
04454e1e | 1625 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1626 | pub const IN_CLASSD_NSHIFT: u32 = 28u32; |
1627 | #[repr(C)] | |
04454e1e | 1628 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1629 | pub struct IN_PKTINFO { |
1630 | pub ipi_addr: IN_ADDR, | |
1631 | pub ipi_ifindex: u32, | |
1632 | } | |
1633 | impl ::core::marker::Copy for IN_PKTINFO {} | |
1634 | impl ::core::clone::Clone for IN_PKTINFO { | |
1635 | fn clone(&self) -> Self { | |
1636 | *self | |
1637 | } | |
1638 | } | |
1639 | #[repr(C)] | |
04454e1e | 1640 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1641 | pub struct IN_PKTINFO_EX { |
1642 | pub pkt_info: IN_PKTINFO, | |
1643 | pub scope_id: SCOPE_ID, | |
1644 | } | |
1645 | impl ::core::marker::Copy for IN_PKTINFO_EX {} | |
1646 | impl ::core::clone::Clone for IN_PKTINFO_EX { | |
1647 | fn clone(&self) -> Self { | |
1648 | *self | |
1649 | } | |
1650 | } | |
1651 | #[repr(C)] | |
04454e1e | 1652 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1653 | pub struct IN_RECVERR { |
1654 | pub protocol: IPPROTO, | |
1655 | pub info: u32, | |
1656 | pub r#type: u8, | |
1657 | pub code: u8, | |
1658 | } | |
1659 | impl ::core::marker::Copy for IN_RECVERR {} | |
1660 | impl ::core::clone::Clone for IN_RECVERR { | |
1661 | fn clone(&self) -> Self { | |
1662 | *self | |
1663 | } | |
1664 | } | |
04454e1e | 1665 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1666 | pub const IOCPARM_MASK: u32 = 127u32; |
04454e1e | 1667 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1668 | pub const IOC_IN: u32 = 2147483648u32; |
04454e1e | 1669 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1670 | pub const IOC_INOUT: u32 = 3221225472u32; |
04454e1e | 1671 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1672 | pub const IOC_OUT: u32 = 1073741824u32; |
04454e1e | 1673 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1674 | pub const IOC_PROTOCOL: u32 = 268435456u32; |
04454e1e | 1675 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1676 | pub const IOC_UNIX: u32 = 0u32; |
04454e1e | 1677 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1678 | pub const IOC_VENDOR: u32 = 402653184u32; |
04454e1e | 1679 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1680 | pub const IOC_VOID: u32 = 536870912u32; |
04454e1e | 1681 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1682 | pub const IOC_WS2: u32 = 134217728u32; |
04454e1e | 1683 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1684 | pub const IP6T_SO_ORIGINAL_DST: u32 = 12303u32; |
04454e1e | 1685 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1686 | pub const IPPORT_BIFFUDP: u32 = 512u32; |
04454e1e | 1687 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1688 | pub const IPPORT_CHARGEN: u32 = 19u32; |
04454e1e | 1689 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1690 | pub const IPPORT_CMDSERVER: u32 = 514u32; |
04454e1e | 1691 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1692 | pub const IPPORT_DAYTIME: u32 = 13u32; |
04454e1e | 1693 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1694 | pub const IPPORT_DISCARD: u32 = 9u32; |
04454e1e | 1695 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1696 | pub const IPPORT_DYNAMIC_MAX: u32 = 65535u32; |
04454e1e | 1697 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1698 | pub const IPPORT_DYNAMIC_MIN: u32 = 49152u32; |
04454e1e | 1699 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1700 | pub const IPPORT_ECHO: u32 = 7u32; |
04454e1e | 1701 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1702 | pub const IPPORT_EFSSERVER: u32 = 520u32; |
04454e1e | 1703 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1704 | pub const IPPORT_EPMAP: u32 = 135u32; |
04454e1e | 1705 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1706 | pub const IPPORT_EXECSERVER: u32 = 512u32; |
04454e1e | 1707 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1708 | pub const IPPORT_FINGER: u32 = 79u32; |
04454e1e | 1709 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1710 | pub const IPPORT_FTP: u32 = 21u32; |
04454e1e | 1711 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1712 | pub const IPPORT_FTP_DATA: u32 = 20u32; |
04454e1e | 1713 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1714 | pub const IPPORT_HTTPS: u32 = 443u32; |
04454e1e | 1715 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1716 | pub const IPPORT_IMAP: u32 = 143u32; |
04454e1e | 1717 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1718 | pub const IPPORT_IMAP3: u32 = 220u32; |
04454e1e | 1719 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1720 | pub const IPPORT_LDAP: u32 = 389u32; |
04454e1e | 1721 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1722 | pub const IPPORT_LOGINSERVER: u32 = 513u32; |
04454e1e | 1723 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1724 | pub const IPPORT_MICROSOFT_DS: u32 = 445u32; |
04454e1e | 1725 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1726 | pub const IPPORT_MSP: u32 = 18u32; |
04454e1e | 1727 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1728 | pub const IPPORT_MTP: u32 = 57u32; |
04454e1e | 1729 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1730 | pub const IPPORT_NAMESERVER: u32 = 42u32; |
04454e1e | 1731 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1732 | pub const IPPORT_NETBIOS_DGM: u32 = 138u32; |
04454e1e | 1733 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1734 | pub const IPPORT_NETBIOS_NS: u32 = 137u32; |
04454e1e | 1735 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1736 | pub const IPPORT_NETBIOS_SSN: u32 = 139u32; |
04454e1e | 1737 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1738 | pub const IPPORT_NETSTAT: u32 = 15u32; |
04454e1e | 1739 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1740 | pub const IPPORT_NTP: u32 = 123u32; |
04454e1e | 1741 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1742 | pub const IPPORT_POP3: u32 = 110u32; |
04454e1e | 1743 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1744 | pub const IPPORT_QOTD: u32 = 17u32; |
04454e1e | 1745 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1746 | pub const IPPORT_REGISTERED_MAX: u32 = 49151u32; |
04454e1e | 1747 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1748 | pub const IPPORT_REGISTERED_MIN: u32 = 1024u32; |
04454e1e | 1749 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1750 | pub const IPPORT_RESERVED: u32 = 1024u32; |
04454e1e | 1751 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1752 | pub const IPPORT_RJE: u32 = 77u32; |
04454e1e | 1753 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1754 | pub const IPPORT_ROUTESERVER: u32 = 520u32; |
04454e1e | 1755 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1756 | pub const IPPORT_SMTP: u32 = 25u32; |
04454e1e | 1757 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1758 | pub const IPPORT_SNMP: u32 = 161u32; |
04454e1e | 1759 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1760 | pub const IPPORT_SNMP_TRAP: u32 = 162u32; |
04454e1e | 1761 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1762 | pub const IPPORT_SUPDUP: u32 = 95u32; |
04454e1e | 1763 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1764 | pub const IPPORT_SYSTAT: u32 = 11u32; |
04454e1e | 1765 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1766 | pub const IPPORT_TCPMUX: u32 = 1u32; |
04454e1e | 1767 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1768 | pub const IPPORT_TELNET: u32 = 23u32; |
04454e1e | 1769 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1770 | pub const IPPORT_TFTP: u32 = 69u32; |
04454e1e | 1771 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1772 | pub const IPPORT_TIMESERVER: u32 = 37u32; |
04454e1e | 1773 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1774 | pub const IPPORT_TTYLINK: u32 = 87u32; |
04454e1e | 1775 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1776 | pub const IPPORT_WHOIS: u32 = 43u32; |
04454e1e | 1777 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1778 | pub const IPPORT_WHOSERVER: u32 = 513u32; |
04454e1e | 1779 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1780 | pub type IPPROTO = i32; |
04454e1e | 1781 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1782 | pub const IPPROTO_HOPOPTS: IPPROTO = 0i32; |
04454e1e | 1783 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1784 | pub const IPPROTO_ICMP: IPPROTO = 1i32; |
04454e1e | 1785 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1786 | pub const IPPROTO_IGMP: IPPROTO = 2i32; |
04454e1e | 1787 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1788 | pub const IPPROTO_GGP: IPPROTO = 3i32; |
04454e1e | 1789 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1790 | pub const IPPROTO_IPV4: IPPROTO = 4i32; |
04454e1e | 1791 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1792 | pub const IPPROTO_ST: IPPROTO = 5i32; |
04454e1e | 1793 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1794 | pub const IPPROTO_TCP: IPPROTO = 6i32; |
04454e1e | 1795 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1796 | pub const IPPROTO_CBT: IPPROTO = 7i32; |
04454e1e | 1797 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1798 | pub const IPPROTO_EGP: IPPROTO = 8i32; |
04454e1e | 1799 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1800 | pub const IPPROTO_IGP: IPPROTO = 9i32; |
04454e1e | 1801 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1802 | pub const IPPROTO_PUP: IPPROTO = 12i32; |
04454e1e | 1803 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1804 | pub const IPPROTO_UDP: IPPROTO = 17i32; |
04454e1e | 1805 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1806 | pub const IPPROTO_IDP: IPPROTO = 22i32; |
04454e1e | 1807 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1808 | pub const IPPROTO_RDP: IPPROTO = 27i32; |
04454e1e | 1809 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1810 | pub const IPPROTO_IPV6: IPPROTO = 41i32; |
04454e1e | 1811 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1812 | pub const IPPROTO_ROUTING: IPPROTO = 43i32; |
04454e1e | 1813 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1814 | pub const IPPROTO_FRAGMENT: IPPROTO = 44i32; |
04454e1e | 1815 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1816 | pub const IPPROTO_ESP: IPPROTO = 50i32; |
04454e1e | 1817 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1818 | pub const IPPROTO_AH: IPPROTO = 51i32; |
04454e1e | 1819 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1820 | pub const IPPROTO_ICMPV6: IPPROTO = 58i32; |
04454e1e | 1821 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1822 | pub const IPPROTO_NONE: IPPROTO = 59i32; |
04454e1e | 1823 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1824 | pub const IPPROTO_DSTOPTS: IPPROTO = 60i32; |
04454e1e | 1825 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1826 | pub const IPPROTO_ND: IPPROTO = 77i32; |
04454e1e | 1827 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1828 | pub const IPPROTO_ICLFXBM: IPPROTO = 78i32; |
04454e1e | 1829 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1830 | pub const IPPROTO_PIM: IPPROTO = 103i32; |
04454e1e | 1831 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1832 | pub const IPPROTO_PGM: IPPROTO = 113i32; |
04454e1e | 1833 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1834 | pub const IPPROTO_L2TP: IPPROTO = 115i32; |
04454e1e | 1835 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1836 | pub const IPPROTO_SCTP: IPPROTO = 132i32; |
04454e1e | 1837 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1838 | pub const IPPROTO_RAW: IPPROTO = 255i32; |
04454e1e | 1839 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1840 | pub const IPPROTO_MAX: IPPROTO = 256i32; |
04454e1e | 1841 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1842 | pub const IPPROTO_RESERVED_RAW: IPPROTO = 257i32; |
04454e1e | 1843 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1844 | pub const IPPROTO_RESERVED_IPSEC: IPPROTO = 258i32; |
04454e1e | 1845 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1846 | pub const IPPROTO_RESERVED_IPSECOFFLOAD: IPPROTO = 259i32; |
04454e1e | 1847 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1848 | pub const IPPROTO_RESERVED_WNV: IPPROTO = 260i32; |
04454e1e | 1849 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1850 | pub const IPPROTO_RESERVED_MAX: IPPROTO = 261i32; |
04454e1e | 1851 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1852 | pub const IPPROTO_IP: u32 = 0u32; |
04454e1e | 1853 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1854 | pub const IPPROTO_RM: u32 = 113u32; |
04454e1e | 1855 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1856 | pub const IPV6_ADD_IFLIST: u32 = 29u32; |
04454e1e | 1857 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1858 | pub const IPV6_ADD_MEMBERSHIP: u32 = 12u32; |
04454e1e | 1859 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1860 | pub const IPV6_CHECKSUM: u32 = 26u32; |
04454e1e | 1861 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1862 | pub const IPV6_DEL_IFLIST: u32 = 30u32; |
04454e1e | 1863 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1864 | pub const IPV6_DONTFRAG: u32 = 14u32; |
04454e1e | 1865 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1866 | pub const IPV6_DROP_MEMBERSHIP: u32 = 13u32; |
04454e1e | 1867 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1868 | pub const IPV6_ECN: u32 = 50u32; |
04454e1e | 1869 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1870 | pub const IPV6_GET_IFLIST: u32 = 33u32; |
04454e1e | 1871 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1872 | pub const IPV6_HDRINCL: u32 = 2u32; |
04454e1e | 1873 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1874 | pub const IPV6_HOPLIMIT: u32 = 21u32; |
04454e1e | 1875 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1876 | pub const IPV6_HOPOPTS: u32 = 1u32; |
04454e1e | 1877 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1878 | pub const IPV6_IFLIST: u32 = 28u32; |
04454e1e | 1879 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1880 | pub const IPV6_JOIN_GROUP: u32 = 12u32; |
04454e1e | 1881 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1882 | pub const IPV6_LEAVE_GROUP: u32 = 13u32; |
1883 | #[repr(C)] | |
04454e1e | 1884 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1885 | pub struct IPV6_MREQ { |
1886 | pub ipv6mr_multiaddr: IN6_ADDR, | |
1887 | pub ipv6mr_interface: u32, | |
1888 | } | |
1889 | impl ::core::marker::Copy for IPV6_MREQ {} | |
1890 | impl ::core::clone::Clone for IPV6_MREQ { | |
1891 | fn clone(&self) -> Self { | |
1892 | *self | |
1893 | } | |
1894 | } | |
04454e1e | 1895 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1896 | pub const IPV6_MTU: u32 = 72u32; |
04454e1e | 1897 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1898 | pub const IPV6_MTU_DISCOVER: u32 = 71u32; |
04454e1e | 1899 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1900 | pub const IPV6_MULTICAST_HOPS: u32 = 10u32; |
04454e1e | 1901 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1902 | pub const IPV6_MULTICAST_IF: u32 = 9u32; |
04454e1e | 1903 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1904 | pub const IPV6_MULTICAST_LOOP: u32 = 11u32; |
04454e1e | 1905 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1906 | pub const IPV6_NRT_INTERFACE: u32 = 74u32; |
04454e1e | 1907 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1908 | pub const IPV6_PKTINFO: u32 = 19u32; |
04454e1e | 1909 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1910 | pub const IPV6_PKTINFO_EX: u32 = 51u32; |
04454e1e | 1911 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1912 | pub const IPV6_PROTECTION_LEVEL: u32 = 23u32; |
04454e1e | 1913 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1914 | pub const IPV6_RECVDSTADDR: u32 = 25u32; |
04454e1e | 1915 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1916 | pub const IPV6_RECVECN: u32 = 50u32; |
04454e1e | 1917 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1918 | pub const IPV6_RECVERR: u32 = 75u32; |
04454e1e | 1919 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1920 | pub const IPV6_RECVIF: u32 = 24u32; |
04454e1e | 1921 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1922 | pub const IPV6_RECVRTHDR: u32 = 38u32; |
04454e1e | 1923 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1924 | pub const IPV6_RECVTCLASS: u32 = 40u32; |
04454e1e | 1925 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1926 | pub const IPV6_RTHDR: u32 = 32u32; |
04454e1e | 1927 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1928 | pub const IPV6_TCLASS: u32 = 39u32; |
04454e1e | 1929 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1930 | pub const IPV6_UNICAST_HOPS: u32 = 4u32; |
04454e1e | 1931 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1932 | pub const IPV6_UNICAST_IF: u32 = 31u32; |
04454e1e | 1933 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1934 | pub const IPV6_USER_MTU: u32 = 76u32; |
04454e1e | 1935 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1936 | pub const IPV6_V6ONLY: u32 = 27u32; |
04454e1e | 1937 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1938 | pub const IPV6_WFP_REDIRECT_CONTEXT: u32 = 70u32; |
04454e1e | 1939 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1940 | pub const IPV6_WFP_REDIRECT_RECORDS: u32 = 60u32; |
04454e1e | 1941 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1942 | pub const IPX_ADDRESS: u32 = 16391u32; |
1943 | #[repr(C)] | |
04454e1e | 1944 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1945 | #[cfg(feature = "Win32_Foundation")] |
1946 | pub struct IPX_ADDRESS_DATA { | |
1947 | pub adapternum: i32, | |
1948 | pub netnum: [u8; 4], | |
1949 | pub nodenum: [u8; 6], | |
1950 | pub wan: super::super::Foundation::BOOLEAN, | |
1951 | pub status: super::super::Foundation::BOOLEAN, | |
1952 | pub maxpkt: i32, | |
1953 | pub linkspeed: u32, | |
1954 | } | |
1955 | #[cfg(feature = "Win32_Foundation")] | |
1956 | impl ::core::marker::Copy for IPX_ADDRESS_DATA {} | |
1957 | #[cfg(feature = "Win32_Foundation")] | |
1958 | impl ::core::clone::Clone for IPX_ADDRESS_DATA { | |
1959 | fn clone(&self) -> Self { | |
1960 | *self | |
1961 | } | |
1962 | } | |
04454e1e | 1963 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1964 | pub const IPX_ADDRESS_NOTIFY: u32 = 16396u32; |
04454e1e | 1965 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1966 | pub const IPX_DSTYPE: u32 = 16386u32; |
04454e1e | 1967 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1968 | pub const IPX_EXTENDED_ADDRESS: u32 = 16388u32; |
04454e1e | 1969 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1970 | pub const IPX_FILTERPTYPE: u32 = 16385u32; |
04454e1e | 1971 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1972 | pub const IPX_GETNETINFO: u32 = 16392u32; |
04454e1e | 1973 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1974 | pub const IPX_GETNETINFO_NORIP: u32 = 16393u32; |
04454e1e | 1975 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1976 | pub const IPX_IMMEDIATESPXACK: u32 = 16400u32; |
04454e1e | 1977 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1978 | pub const IPX_MAXSIZE: u32 = 16390u32; |
04454e1e | 1979 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1980 | pub const IPX_MAX_ADAPTER_NUM: u32 = 16397u32; |
1981 | #[repr(C)] | |
04454e1e | 1982 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
1983 | pub struct IPX_NETNUM_DATA { |
1984 | pub netnum: [u8; 4], | |
1985 | pub hopcount: u16, | |
1986 | pub netdelay: u16, | |
1987 | pub cardnum: i32, | |
1988 | pub router: [u8; 6], | |
1989 | } | |
1990 | impl ::core::marker::Copy for IPX_NETNUM_DATA {} | |
1991 | impl ::core::clone::Clone for IPX_NETNUM_DATA { | |
1992 | fn clone(&self) -> Self { | |
1993 | *self | |
1994 | } | |
1995 | } | |
04454e1e | 1996 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1997 | pub const IPX_PTYPE: u32 = 16384u32; |
04454e1e | 1998 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 1999 | pub const IPX_RECEIVE_BROADCAST: u32 = 16399u32; |
04454e1e | 2000 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2001 | pub const IPX_RECVHDR: u32 = 16389u32; |
04454e1e | 2002 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
2003 | pub const IPX_RERIPNETNUMBER: u32 = 16398u32; |
2004 | #[repr(C)] | |
04454e1e | 2005 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
2006 | pub struct IPX_SPXCONNSTATUS_DATA { |
2007 | pub ConnectionState: u8, | |
2008 | pub WatchDogActive: u8, | |
2009 | pub LocalConnectionId: u16, | |
2010 | pub RemoteConnectionId: u16, | |
2011 | pub LocalSequenceNumber: u16, | |
2012 | pub LocalAckNumber: u16, | |
2013 | pub LocalAllocNumber: u16, | |
2014 | pub RemoteAckNumber: u16, | |
2015 | pub RemoteAllocNumber: u16, | |
2016 | pub LocalSocket: u16, | |
2017 | pub ImmediateAddress: [u8; 6], | |
2018 | pub RemoteNetwork: [u8; 4], | |
2019 | pub RemoteNode: [u8; 6], | |
2020 | pub RemoteSocket: u16, | |
2021 | pub RetransmissionCount: u16, | |
2022 | pub EstimatedRoundTripDelay: u16, | |
2023 | pub RetransmittedPackets: u16, | |
2024 | pub SuppressedPacket: u16, | |
2025 | } | |
2026 | impl ::core::marker::Copy for IPX_SPXCONNSTATUS_DATA {} | |
2027 | impl ::core::clone::Clone for IPX_SPXCONNSTATUS_DATA { | |
2028 | fn clone(&self) -> Self { | |
2029 | *self | |
2030 | } | |
2031 | } | |
04454e1e | 2032 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2033 | pub const IPX_SPXGETCONNECTIONSTATUS: u32 = 16395u32; |
04454e1e | 2034 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2035 | pub const IPX_STOPFILTERPTYPE: u32 = 16387u32; |
04454e1e | 2036 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2037 | pub const IP_ADD_IFLIST: u32 = 29u32; |
04454e1e | 2038 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2039 | pub const IP_ADD_MEMBERSHIP: u32 = 12u32; |
04454e1e | 2040 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2041 | pub const IP_ADD_SOURCE_MEMBERSHIP: u32 = 15u32; |
04454e1e | 2042 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2043 | pub const IP_BLOCK_SOURCE: u32 = 17u32; |
04454e1e | 2044 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2045 | pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1u32; |
04454e1e | 2046 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2047 | pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1u32; |
04454e1e | 2048 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2049 | pub const IP_DEL_IFLIST: u32 = 30u32; |
04454e1e | 2050 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2051 | pub const IP_DONTFRAGMENT: u32 = 14u32; |
04454e1e | 2052 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2053 | pub const IP_DROP_MEMBERSHIP: u32 = 13u32; |
04454e1e | 2054 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2055 | pub const IP_DROP_SOURCE_MEMBERSHIP: u32 = 16u32; |
04454e1e | 2056 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2057 | pub const IP_ECN: u32 = 50u32; |
04454e1e | 2058 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2059 | pub const IP_GET_IFLIST: u32 = 33u32; |
04454e1e | 2060 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2061 | pub const IP_HDRINCL: u32 = 2u32; |
04454e1e | 2062 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2063 | pub const IP_HOPLIMIT: u32 = 21u32; |
04454e1e | 2064 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2065 | pub const IP_IFLIST: u32 = 28u32; |
04454e1e | 2066 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
2067 | pub const IP_MAX_MEMBERSHIPS: u32 = 20u32; |
2068 | #[repr(C)] | |
04454e1e | 2069 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
2070 | pub struct IP_MREQ { |
2071 | pub imr_multiaddr: IN_ADDR, | |
2072 | pub imr_interface: IN_ADDR, | |
2073 | } | |
2074 | impl ::core::marker::Copy for IP_MREQ {} | |
2075 | impl ::core::clone::Clone for IP_MREQ { | |
2076 | fn clone(&self) -> Self { | |
2077 | *self | |
2078 | } | |
2079 | } | |
2080 | #[repr(C)] | |
04454e1e | 2081 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
2082 | pub struct IP_MREQ_SOURCE { |
2083 | pub imr_multiaddr: IN_ADDR, | |
2084 | pub imr_sourceaddr: IN_ADDR, | |
2085 | pub imr_interface: IN_ADDR, | |
2086 | } | |
2087 | impl ::core::marker::Copy for IP_MREQ_SOURCE {} | |
2088 | impl ::core::clone::Clone for IP_MREQ_SOURCE { | |
2089 | fn clone(&self) -> Self { | |
2090 | *self | |
2091 | } | |
2092 | } | |
2093 | #[repr(C)] | |
04454e1e | 2094 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
2095 | pub struct IP_MSFILTER { |
2096 | pub imsf_multiaddr: IN_ADDR, | |
2097 | pub imsf_interface: IN_ADDR, | |
2098 | pub imsf_fmode: MULTICAST_MODE_TYPE, | |
2099 | pub imsf_numsrc: u32, | |
2100 | pub imsf_slist: [IN_ADDR; 1], | |
2101 | } | |
2102 | impl ::core::marker::Copy for IP_MSFILTER {} | |
2103 | impl ::core::clone::Clone for IP_MSFILTER { | |
2104 | fn clone(&self) -> Self { | |
2105 | *self | |
2106 | } | |
2107 | } | |
04454e1e | 2108 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2109 | pub const IP_MTU: u32 = 73u32; |
04454e1e | 2110 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2111 | pub const IP_MTU_DISCOVER: u32 = 71u32; |
04454e1e | 2112 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2113 | pub const IP_MULTICAST_IF: u32 = 9u32; |
04454e1e | 2114 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2115 | pub const IP_MULTICAST_LOOP: u32 = 11u32; |
04454e1e | 2116 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2117 | pub const IP_MULTICAST_TTL: u32 = 10u32; |
04454e1e | 2118 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2119 | pub const IP_NRT_INTERFACE: u32 = 74u32; |
04454e1e | 2120 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2121 | pub const IP_OPTIONS: u32 = 1u32; |
04454e1e | 2122 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2123 | pub const IP_ORIGINAL_ARRIVAL_IF: u32 = 47u32; |
04454e1e | 2124 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2125 | pub const IP_PKTINFO: u32 = 19u32; |
04454e1e | 2126 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2127 | pub const IP_PKTINFO_EX: u32 = 51u32; |
04454e1e | 2128 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2129 | pub const IP_PROTECTION_LEVEL: u32 = 23u32; |
04454e1e | 2130 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2131 | pub const IP_RECEIVE_BROADCAST: u32 = 22u32; |
04454e1e | 2132 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2133 | pub const IP_RECVDSTADDR: u32 = 25u32; |
04454e1e | 2134 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2135 | pub const IP_RECVECN: u32 = 50u32; |
04454e1e | 2136 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2137 | pub const IP_RECVERR: u32 = 75u32; |
04454e1e | 2138 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2139 | pub const IP_RECVIF: u32 = 24u32; |
04454e1e | 2140 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2141 | pub const IP_RECVRTHDR: u32 = 38u32; |
04454e1e | 2142 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2143 | pub const IP_RECVTCLASS: u32 = 40u32; |
04454e1e | 2144 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2145 | pub const IP_RECVTOS: u32 = 40u32; |
04454e1e | 2146 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2147 | pub const IP_RECVTTL: u32 = 21u32; |
04454e1e | 2148 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2149 | pub const IP_RTHDR: u32 = 32u32; |
04454e1e | 2150 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2151 | pub const IP_TCLASS: u32 = 39u32; |
04454e1e | 2152 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2153 | pub const IP_TOS: u32 = 3u32; |
04454e1e | 2154 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2155 | pub const IP_TTL: u32 = 4u32; |
04454e1e | 2156 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2157 | pub const IP_UNBLOCK_SOURCE: u32 = 18u32; |
04454e1e | 2158 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2159 | pub const IP_UNICAST_IF: u32 = 31u32; |
04454e1e | 2160 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2161 | pub const IP_UNSPECIFIED_HOP_LIMIT: i32 = -1i32; |
04454e1e | 2162 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2163 | pub const IP_UNSPECIFIED_TYPE_OF_SERVICE: i32 = -1i32; |
04454e1e | 2164 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2165 | pub const IP_UNSPECIFIED_USER_MTU: u32 = 4294967295u32; |
04454e1e | 2166 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2167 | pub const IP_USER_MTU: u32 = 76u32; |
04454e1e | 2168 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2169 | pub const IP_WFP_REDIRECT_CONTEXT: u32 = 70u32; |
04454e1e | 2170 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2171 | pub const IP_WFP_REDIRECT_RECORDS: u32 = 60u32; |
04454e1e | 2172 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2173 | pub const IRDA_PROTO_SOCK_STREAM: u32 = 1u32; |
04454e1e | 2174 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2175 | pub const IRLMP_9WIRE_MODE: u32 = 22u32; |
04454e1e | 2176 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2177 | pub const IRLMP_DISCOVERY_MODE: u32 = 25u32; |
04454e1e | 2178 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2179 | pub const IRLMP_ENUMDEVICES: u32 = 16u32; |
04454e1e | 2180 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2181 | pub const IRLMP_EXCLUSIVE_MODE: u32 = 20u32; |
04454e1e | 2182 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2183 | pub const IRLMP_IAS_QUERY: u32 = 18u32; |
04454e1e | 2184 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2185 | pub const IRLMP_IAS_SET: u32 = 17u32; |
04454e1e | 2186 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2187 | pub const IRLMP_IRLPT_MODE: u32 = 21u32; |
04454e1e | 2188 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2189 | pub const IRLMP_PARAMETERS: u32 = 24u32; |
04454e1e | 2190 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2191 | pub const IRLMP_SEND_PDU_LEN: u32 = 19u32; |
04454e1e | 2192 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2193 | pub const IRLMP_SHARP_MODE: u32 = 32u32; |
04454e1e | 2194 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2195 | pub const IRLMP_TINYTP_MODE: u32 = 23u32; |
04454e1e | 2196 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2197 | pub const ISOPROTO_CLNP: u32 = 31u32; |
04454e1e | 2198 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2199 | pub const ISOPROTO_CLTP: u32 = 30u32; |
04454e1e | 2200 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2201 | pub const ISOPROTO_ESIS: u32 = 34u32; |
04454e1e | 2202 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2203 | pub const ISOPROTO_INACT_NL: u32 = 33u32; |
04454e1e | 2204 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2205 | pub const ISOPROTO_INTRAISIS: u32 = 35u32; |
04454e1e | 2206 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2207 | pub const ISOPROTO_TP: u32 = 29u32; |
04454e1e | 2208 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2209 | pub const ISOPROTO_TP0: u32 = 25u32; |
04454e1e | 2210 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2211 | pub const ISOPROTO_TP1: u32 = 26u32; |
04454e1e | 2212 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2213 | pub const ISOPROTO_TP2: u32 = 27u32; |
04454e1e | 2214 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2215 | pub const ISOPROTO_TP3: u32 = 28u32; |
04454e1e | 2216 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2217 | pub const ISOPROTO_TP4: u32 = 29u32; |
04454e1e | 2218 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2219 | pub const ISOPROTO_X25: u32 = 32u32; |
04454e1e | 2220 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2221 | pub const ISO_EXP_DATA_NUSE: u32 = 1u32; |
04454e1e | 2222 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2223 | pub const ISO_EXP_DATA_USE: u32 = 0u32; |
04454e1e | 2224 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2225 | pub const ISO_HIERARCHICAL: u32 = 0u32; |
04454e1e | 2226 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2227 | pub const ISO_MAX_ADDR_LENGTH: u32 = 64u32; |
04454e1e | 2228 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2229 | pub const ISO_NON_HIERARCHICAL: u32 = 1u32; |
04454e1e | 2230 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2231 | pub const JL_BOTH: u32 = 4u32; |
04454e1e | 2232 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2233 | pub const JL_RECEIVER_ONLY: u32 = 2u32; |
04454e1e | 2234 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2235 | pub const JL_SENDER_ONLY: u32 = 1u32; |
04454e1e | 2236 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2237 | pub const LAYERED_PROTOCOL: u32 = 0u32; |
04454e1e | 2238 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2239 | pub const LITTLEENDIAN: u32 = 1u32; |
04454e1e | 2240 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2241 | pub const LM_BAUD_115200: u32 = 115200u32; |
04454e1e | 2242 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2243 | pub const LM_BAUD_1152K: u32 = 1152000u32; |
04454e1e | 2244 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2245 | pub const LM_BAUD_1200: u32 = 1200u32; |
04454e1e | 2246 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2247 | pub const LM_BAUD_16M: u32 = 16000000u32; |
04454e1e | 2248 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2249 | pub const LM_BAUD_19200: u32 = 19200u32; |
04454e1e | 2250 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2251 | pub const LM_BAUD_2400: u32 = 2400u32; |
04454e1e | 2252 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2253 | pub const LM_BAUD_38400: u32 = 38400u32; |
04454e1e | 2254 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2255 | pub const LM_BAUD_4M: u32 = 4000000u32; |
04454e1e | 2256 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2257 | pub const LM_BAUD_57600: u32 = 57600u32; |
04454e1e | 2258 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2259 | pub const LM_BAUD_576K: u32 = 576000u32; |
04454e1e | 2260 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2261 | pub const LM_BAUD_9600: u32 = 9600u32; |
04454e1e | 2262 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2263 | pub const LM_HB1_Computer: i32 = 4i32; |
04454e1e | 2264 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2265 | pub const LM_HB1_Fax: i32 = 32i32; |
04454e1e | 2266 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2267 | pub const LM_HB1_LANAccess: i32 = 64i32; |
04454e1e | 2268 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2269 | pub const LM_HB1_Modem: i32 = 16i32; |
04454e1e | 2270 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2271 | pub const LM_HB1_PDA_Palmtop: i32 = 2i32; |
04454e1e | 2272 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2273 | pub const LM_HB1_PnP: i32 = 1i32; |
04454e1e | 2274 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2275 | pub const LM_HB1_Printer: i32 = 8i32; |
04454e1e | 2276 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2277 | pub const LM_HB2_FileServer: i32 = 2i32; |
04454e1e | 2278 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2279 | pub const LM_HB2_Telephony: i32 = 1i32; |
04454e1e | 2280 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
2281 | pub const LM_HB_Extension: i32 = 128i32; |
2282 | #[repr(C)] | |
04454e1e | 2283 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
2284 | pub struct LM_IRPARMS { |
2285 | pub nTXDataBytes: u32, | |
2286 | pub nRXDataBytes: u32, | |
2287 | pub nBaudRate: u32, | |
2288 | pub thresholdTime: u32, | |
2289 | pub discTime: u32, | |
2290 | pub nMSLinkTurn: u16, | |
2291 | pub nTXPackets: u8, | |
2292 | pub nRXPackets: u8, | |
2293 | } | |
2294 | impl ::core::marker::Copy for LM_IRPARMS {} | |
2295 | impl ::core::clone::Clone for LM_IRPARMS { | |
2296 | fn clone(&self) -> Self { | |
2297 | *self | |
2298 | } | |
2299 | } | |
04454e1e | 2300 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2301 | pub const LOG2_BITS_PER_BYTE: u32 = 3u32; |
04454e1e | 2302 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2303 | #[cfg(feature = "Win32_Foundation")] |
2304 | pub type LPBLOCKINGCALLBACK = ::core::option::Option<unsafe extern "system" fn(dwcontext: usize) -> super::super::Foundation::BOOL>; | |
04454e1e FG |
2305 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_NetworkManagement_QoS\"`*"] |
2306 | #[cfg(feature = "Win32_NetworkManagement_QoS")] | |
5e7ed085 | 2307 | pub type LPCONDITIONPROC = ::core::option::Option<unsafe extern "system" fn(lpcallerid: *mut WSABUF, lpcallerdata: *mut WSABUF, lpsqos: *mut super::super::NetworkManagement::QoS::QOS, lpgqos: *mut super::super::NetworkManagement::QoS::QOS, lpcalleeid: *mut WSABUF, lpcalleedata: *mut WSABUF, g: *mut u32, dwcallbackdata: usize) -> i32>; |
04454e1e | 2308 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2309 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2310 | pub type LPFN_ACCEPTEX = ::core::option::Option<unsafe extern "system" fn(slistensocket: SOCKET, sacceptsocket: SOCKET, lpoutputbuffer: *mut ::core::ffi::c_void, dwreceivedatalength: u32, dwlocaladdresslength: u32, dwremoteaddresslength: u32, lpdwbytesreceived: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL>; | |
04454e1e | 2311 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2312 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2313 | pub type LPFN_CONNECTEX = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, name: *const SOCKADDR, namelen: i32, lpsendbuffer: *const ::core::ffi::c_void, dwsenddatalength: u32, lpdwbytessent: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL>; | |
04454e1e | 2314 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2315 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2316 | pub type LPFN_DISCONNECTEX = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, dwflags: u32, dwreserved: u32) -> super::super::Foundation::BOOL>; | |
04454e1e | 2317 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2318 | #[cfg(feature = "Win32_Foundation")] |
2319 | pub type LPFN_GETACCEPTEXSOCKADDRS = ::core::option::Option<unsafe extern "system" fn(lpoutputbuffer: *const ::core::ffi::c_void, dwreceivedatalength: u32, dwlocaladdresslength: u32, dwremoteaddresslength: u32, localsockaddr: *mut *mut SOCKADDR, localsockaddrlength: *mut i32, remotesockaddr: *mut *mut SOCKADDR, remotesockaddrlength: *mut i32)>; | |
04454e1e | 2320 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2321 | pub type LPFN_NSPAPI = ::core::option::Option<unsafe extern "system" fn() -> u32>; |
04454e1e | 2322 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2323 | pub type LPFN_RIOCLOSECOMPLETIONQUEUE = ::core::option::Option<unsafe extern "system" fn(cq: *const RIO_CQ_t)>; |
04454e1e | 2324 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2325 | #[cfg(feature = "Win32_Foundation")] |
2326 | pub type LPFN_RIOCREATECOMPLETIONQUEUE = ::core::option::Option<unsafe extern "system" fn(queuesize: u32, notificationcompletion: *const RIO_NOTIFICATION_COMPLETION) -> *mut RIO_CQ_t>; | |
04454e1e | 2327 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2328 | pub type LPFN_RIOCREATEREQUESTQUEUE = ::core::option::Option<unsafe extern "system" fn(socket: SOCKET, maxoutstandingreceive: u32, maxreceivedatabuffers: u32, maxoutstandingsend: u32, maxsenddatabuffers: u32, receivecq: *const RIO_CQ_t, sendcq: *const RIO_CQ_t, socketcontext: *const ::core::ffi::c_void) -> *mut RIO_RQ_t>; |
04454e1e | 2329 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2330 | pub type LPFN_RIODEQUEUECOMPLETION = ::core::option::Option<unsafe extern "system" fn(cq: *const RIO_CQ_t, array: *mut RIORESULT, arraysize: u32) -> u32>; |
04454e1e | 2331 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2332 | pub type LPFN_RIODEREGISTERBUFFER = ::core::option::Option<unsafe extern "system" fn(bufferid: *const RIO_BUFFERID_t)>; |
04454e1e | 2333 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2334 | pub type LPFN_RIONOTIFY = ::core::option::Option<unsafe extern "system" fn(cq: *const RIO_CQ_t) -> i32>; |
04454e1e | 2335 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2336 | #[cfg(feature = "Win32_Foundation")] |
2337 | pub type LPFN_RIORECEIVE = ::core::option::Option<unsafe extern "system" fn(socketqueue: *const RIO_RQ_t, pdata: *const RIO_BUF, databuffercount: u32, flags: u32, requestcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; | |
04454e1e | 2338 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2339 | pub type LPFN_RIORECEIVEEX = ::core::option::Option<unsafe extern "system" fn(socketqueue: *const RIO_RQ_t, pdata: *const RIO_BUF, databuffercount: u32, plocaladdress: *const RIO_BUF, premoteaddress: *const RIO_BUF, pcontrolcontext: *const RIO_BUF, pflags: *const RIO_BUF, flags: u32, requestcontext: *const ::core::ffi::c_void) -> i32>; |
04454e1e FG |
2340 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
2341 | pub type LPFN_RIOREGISTERBUFFER = ::core::option::Option<unsafe extern "system" fn(databuffer: ::windows_sys::core::PCSTR, datalength: u32) -> *mut RIO_BUFFERID_t>; | |
2342 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
2343 | #[cfg(feature = "Win32_Foundation")] |
2344 | pub type LPFN_RIORESIZECOMPLETIONQUEUE = ::core::option::Option<unsafe extern "system" fn(cq: *const RIO_CQ_t, queuesize: u32) -> super::super::Foundation::BOOL>; | |
04454e1e | 2345 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2346 | #[cfg(feature = "Win32_Foundation")] |
2347 | pub type LPFN_RIORESIZEREQUESTQUEUE = ::core::option::Option<unsafe extern "system" fn(rq: *const RIO_RQ_t, maxoutstandingreceive: u32, maxoutstandingsend: u32) -> super::super::Foundation::BOOL>; | |
04454e1e | 2348 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2349 | #[cfg(feature = "Win32_Foundation")] |
2350 | pub type LPFN_RIOSEND = ::core::option::Option<unsafe extern "system" fn(socketqueue: *const RIO_RQ_t, pdata: *const RIO_BUF, databuffercount: u32, flags: u32, requestcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; | |
04454e1e | 2351 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2352 | #[cfg(feature = "Win32_Foundation")] |
2353 | pub type LPFN_RIOSENDEX = ::core::option::Option<unsafe extern "system" fn(socketqueue: *const RIO_RQ_t, pdata: *const RIO_BUF, databuffercount: u32, plocaladdress: *const RIO_BUF, premoteaddress: *const RIO_BUF, pcontrolcontext: *const RIO_BUF, pflags: *const RIO_BUF, flags: u32, requestcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; | |
04454e1e | 2354 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2355 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2356 | pub type LPFN_TRANSMITFILE = ::core::option::Option<unsafe extern "system" fn(hsocket: SOCKET, hfile: super::super::Foundation::HANDLE, nnumberofbytestowrite: u32, nnumberofbytespersend: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lptransmitbuffers: *const TRANSMIT_FILE_BUFFERS, dwreserved: u32) -> super::super::Foundation::BOOL>; | |
04454e1e | 2357 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2358 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2359 | pub type LPFN_TRANSMITPACKETS = ::core::option::Option<unsafe extern "system" fn(hsocket: SOCKET, lppacketarray: *const TRANSMIT_PACKETS_ELEMENT, nelementcount: u32, nsendsize: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, dwflags: u32) -> super::super::Foundation::BOOL>; | |
04454e1e | 2360 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2361 | pub type LPFN_WSAPOLL = ::core::option::Option<unsafe extern "system" fn(fdarray: *mut WSAPOLLFD, nfds: u32, timeout: i32) -> i32>; |
04454e1e | 2362 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2363 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2364 | pub type LPFN_WSARECVMSG = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpmsg: *mut WSAMSG, lpdwnumberofbytesrecvd: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32>; | |
04454e1e | 2365 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2366 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2367 | pub type LPFN_WSASENDMSG = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpmsg: *const WSAMSG, dwflags: u32, lpnumberofbytessent: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32>; | |
04454e1e | 2368 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2369 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2370 | pub type LPLOOKUPSERVICE_COMPLETION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(dwerror: u32, dwbytes: u32, lpoverlapped: *const super::super::System::IO::OVERLAPPED)>; | |
04454e1e | 2371 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2372 | pub type LPNSPCLEANUP = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID) -> i32>; |
04454e1e | 2373 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2374 | pub type LPNSPGETSERVICECLASSINFO = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, lpdwbufsize: *const u32, lpserviceclassinfo: *const WSASERVICECLASSINFOW) -> i32>; |
04454e1e | 2375 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2376 | pub type LPNSPINSTALLSERVICECLASS = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, lpserviceclassinfo: *const WSASERVICECLASSINFOW) -> i32>; |
04454e1e | 2377 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2378 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2379 | pub type LPNSPIOCTL = ::core::option::Option<unsafe extern "system" fn(hlookup: super::super::Foundation::HANDLE, dwcontrolcode: u32, lpvinbuffer: *const ::core::ffi::c_void, cbinbuffer: u32, lpvoutbuffer: *mut ::core::ffi::c_void, cboutbuffer: u32, lpcbbytesreturned: *mut u32, lpcompletion: *const WSACOMPLETION, lpthreadid: *const WSATHREADID) -> i32>; | |
04454e1e | 2380 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
2381 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
2382 | pub type LPNSPLOOKUPSERVICEBEGIN = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, lpqsrestrictions: *const WSAQUERYSETW, lpserviceclassinfo: *const WSASERVICECLASSINFOW, dwcontrolflags: u32, lphlookup: *mut super::super::Foundation::HANDLE) -> i32>; | |
04454e1e | 2383 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2384 | #[cfg(feature = "Win32_Foundation")] |
2385 | pub type LPNSPLOOKUPSERVICEEND = ::core::option::Option<unsafe extern "system" fn(hlookup: super::super::Foundation::HANDLE) -> i32>; | |
04454e1e | 2386 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
2387 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
2388 | pub type LPNSPLOOKUPSERVICENEXT = ::core::option::Option<unsafe extern "system" fn(hlookup: super::super::Foundation::HANDLE, dwcontrolflags: u32, lpdwbufferlength: *mut u32, lpqsresults: *mut WSAQUERYSETW) -> i32>; | |
04454e1e | 2389 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2390 | pub type LPNSPREMOVESERVICECLASS = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, lpserviceclassid: *const ::windows_sys::core::GUID) -> i32>; |
04454e1e | 2391 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
2392 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
2393 | pub type LPNSPSETSERVICE = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, lpserviceclassinfo: *const WSASERVICECLASSINFOW, lpqsreginfo: *const WSAQUERYSETW, essoperation: WSAESETSERVICEOP, dwcontrolflags: u32) -> i32>; | |
04454e1e | 2394 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2395 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] |
2396 | pub type LPNSPSTARTUP = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, lpnsproutines: *mut NSP_ROUTINE) -> i32>; | |
04454e1e | 2397 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2398 | pub type LPNSPV2CLEANUP = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, pvclientsessionarg: *const ::core::ffi::c_void) -> i32>; |
04454e1e | 2399 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2400 | pub type LPNSPV2CLIENTSESSIONRUNDOWN = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, pvclientsessionarg: *const ::core::ffi::c_void)>; |
04454e1e | 2401 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
2402 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
2403 | pub type LPNSPV2LOOKUPSERVICEBEGIN = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, lpqsrestrictions: *const WSAQUERYSET2W, dwcontrolflags: u32, lpvclientsessionarg: *const ::core::ffi::c_void, lphlookup: *mut super::super::Foundation::HANDLE) -> i32>; | |
04454e1e | 2404 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2405 | #[cfg(feature = "Win32_Foundation")] |
2406 | pub type LPNSPV2LOOKUPSERVICEEND = ::core::option::Option<unsafe extern "system" fn(hlookup: super::super::Foundation::HANDLE) -> i32>; | |
04454e1e | 2407 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
2408 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
2409 | pub type LPNSPV2LOOKUPSERVICENEXTEX = ::core::option::Option<unsafe extern "system" fn(hasynccall: super::super::Foundation::HANDLE, hlookup: super::super::Foundation::HANDLE, dwcontrolflags: u32, lpdwbufferlength: *const u32, lpqsresults: *mut WSAQUERYSET2W)>; | |
04454e1e | 2410 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
2411 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
2412 | pub type LPNSPV2SETSERVICEEX = ::core::option::Option<unsafe extern "system" fn(hasynccall: super::super::Foundation::HANDLE, lpproviderid: *const ::windows_sys::core::GUID, lpqsreginfo: *const WSAQUERYSET2W, essoperation: WSAESETSERVICEOP, dwcontrolflags: u32, lpvclientsessionarg: *const ::core::ffi::c_void)>; | |
04454e1e | 2413 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2414 | pub type LPNSPV2STARTUP = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, ppvclientsessionarg: *mut *mut ::core::ffi::c_void) -> i32>; |
04454e1e | 2415 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2416 | #[cfg(feature = "Win32_Foundation")] |
2417 | pub type LPSERVICE_CALLBACK_PROC = ::core::option::Option<unsafe extern "system" fn(lparam: super::super::Foundation::LPARAM, hasynctaskhandle: super::super::Foundation::HANDLE)>; | |
04454e1e | 2418 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2419 | #[cfg(feature = "Win32_Foundation")] |
2420 | pub type LPWPUCLOSEEVENT = ::core::option::Option<unsafe extern "system" fn(hevent: super::super::Foundation::HANDLE, lperrno: *mut i32) -> super::super::Foundation::BOOL>; | |
04454e1e | 2421 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2422 | pub type LPWPUCLOSESOCKETHANDLE = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lperrno: *mut i32) -> i32>; |
04454e1e | 2423 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2424 | #[cfg(feature = "Win32_Foundation")] |
2425 | pub type LPWPUCLOSETHREAD = ::core::option::Option<unsafe extern "system" fn(lpthreadid: *const WSATHREADID, lperrno: *mut i32) -> i32>; | |
04454e1e | 2426 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2427 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2428 | pub type LPWPUCOMPLETEOVERLAPPEDREQUEST = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, dwerror: u32, cbtransferred: u32, lperrno: *mut i32) -> i32>; | |
04454e1e | 2429 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2430 | #[cfg(feature = "Win32_Foundation")] |
2431 | pub type LPWPUCREATEEVENT = ::core::option::Option<unsafe extern "system" fn(lperrno: *mut i32) -> super::super::Foundation::HANDLE>; | |
04454e1e | 2432 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2433 | pub type LPWPUCREATESOCKETHANDLE = ::core::option::Option<unsafe extern "system" fn(dwcatalogentryid: u32, dwcontext: usize, lperrno: *mut i32) -> SOCKET>; |
04454e1e | 2434 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2435 | pub type LPWPUFDISSET = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, fdset: *const fd_set) -> i32>; |
04454e1e FG |
2436 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
2437 | pub type LPWPUGETPROVIDERPATH = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PWSTR, lpproviderdllpathlen: *mut i32, lperrno: *mut i32) -> i32>; | |
2438 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 2439 | pub type LPWPUMODIFYIFSHANDLE = ::core::option::Option<unsafe extern "system" fn(dwcatalogentryid: u32, proposedhandle: SOCKET, lperrno: *mut i32) -> SOCKET>; |
04454e1e | 2440 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2441 | #[cfg(feature = "Win32_Foundation")] |
2442 | pub type LPWPUOPENCURRENTTHREAD = ::core::option::Option<unsafe extern "system" fn(lpthreadid: *mut WSATHREADID, lperrno: *mut i32) -> i32>; | |
04454e1e | 2443 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2444 | #[cfg(feature = "Win32_Foundation")] |
2445 | pub type LPWPUPOSTMESSAGE = ::core::option::Option<unsafe extern "system" fn(hwnd: super::super::Foundation::HWND, msg: u32, wparam: super::super::Foundation::WPARAM, lparam: super::super::Foundation::LPARAM) -> super::super::Foundation::BOOL>; | |
04454e1e | 2446 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2447 | #[cfg(feature = "Win32_Foundation")] |
2448 | pub type LPWPUQUERYBLOCKINGCALLBACK = ::core::option::Option<unsafe extern "system" fn(dwcatalogentryid: u32, lplpfncallback: *mut LPBLOCKINGCALLBACK, lpdwcontext: *mut usize, lperrno: *mut i32) -> i32>; | |
04454e1e | 2449 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2450 | pub type LPWPUQUERYSOCKETHANDLECONTEXT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpcontext: *mut usize, lperrno: *mut i32) -> i32>; |
04454e1e | 2451 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2452 | #[cfg(feature = "Win32_Foundation")] |
2453 | pub type LPWPUQUEUEAPC = ::core::option::Option<unsafe extern "system" fn(lpthreadid: *const WSATHREADID, lpfnuserapc: LPWSAUSERAPC, dwcontext: usize, lperrno: *mut i32) -> i32>; | |
04454e1e | 2454 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2455 | #[cfg(feature = "Win32_Foundation")] |
2456 | pub type LPWPURESETEVENT = ::core::option::Option<unsafe extern "system" fn(hevent: super::super::Foundation::HANDLE, lperrno: *mut i32) -> super::super::Foundation::BOOL>; | |
04454e1e | 2457 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2458 | #[cfg(feature = "Win32_Foundation")] |
2459 | pub type LPWPUSETEVENT = ::core::option::Option<unsafe extern "system" fn(hevent: super::super::Foundation::HANDLE, lperrno: *mut i32) -> super::super::Foundation::BOOL>; | |
04454e1e | 2460 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2461 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2462 | pub type LPWSAOVERLAPPED_COMPLETION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(dwerror: u32, cbtransferred: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, dwflags: u32)>; | |
04454e1e | 2463 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2464 | pub type LPWSAUSERAPC = ::core::option::Option<unsafe extern "system" fn(dwcontext: usize)>; |
04454e1e | 2465 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2466 | pub type LPWSCDEINSTALLPROVIDER = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, lperrno: *mut i32) -> i32>; |
04454e1e | 2467 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2468 | #[cfg(feature = "Win32_Foundation")] |
2469 | pub type LPWSCENABLENSPROVIDER = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, fenable: super::super::Foundation::BOOL) -> i32>; | |
04454e1e | 2470 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2471 | pub type LPWSCENUMPROTOCOLS = ::core::option::Option<unsafe extern "system" fn(lpiprotocols: *const i32, lpprotocolbuffer: *mut WSAPROTOCOL_INFOW, lpdwbufferlength: *mut u32, lperrno: *mut i32) -> i32>; |
04454e1e FG |
2472 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
2473 | pub type LPWSCGETPROVIDERPATH = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PWSTR, lpproviderdllpathlen: *mut i32, lperrno: *mut i32) -> i32>; | |
2474 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
2475 | pub type LPWSCINSTALLNAMESPACE = ::core::option::Option<unsafe extern "system" fn(lpszidentifier: ::windows_sys::core::PCWSTR, lpszpathname: ::windows_sys::core::PCWSTR, dwnamespace: u32, dwversion: u32, lpproviderid: *const ::windows_sys::core::GUID) -> i32>; | |
2476 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
2477 | pub type LPWSCINSTALLPROVIDER = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PCWSTR, lpprotocolinfolist: *const WSAPROTOCOL_INFOW, dwnumberofentries: u32, lperrno: *mut i32) -> i32>; | |
2478 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 2479 | pub type LPWSCUNINSTALLNAMESPACE = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID) -> i32>; |
04454e1e FG |
2480 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
2481 | pub type LPWSCUPDATEPROVIDER = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows_sys::core::GUID, lpszproviderdllpath: ::windows_sys::core::PCWSTR, lpprotocolinfolist: *const WSAPROTOCOL_INFOW, dwnumberofentries: u32, lperrno: *mut i32) -> i32>; | |
2482 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 2483 | pub type LPWSCWRITENAMESPACEORDER = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *mut ::windows_sys::core::GUID, dwnumberofentries: u32) -> i32>; |
04454e1e | 2484 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2485 | pub type LPWSCWRITEPROVIDERORDER = ::core::option::Option<unsafe extern "system" fn(lpwdcatalogentryid: *mut u32, dwnumberofentries: u32) -> i32>; |
04454e1e | 2486 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_QoS\"`*"] |
5e7ed085 FG |
2487 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_QoS"))] |
2488 | pub type LPWSPACCEPT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, addr: *mut SOCKADDR, addrlen: *mut i32, lpfncondition: LPCONDITIONPROC, dwcallbackdata: usize, lperrno: *mut i32) -> SOCKET>; | |
04454e1e | 2489 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 2490 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
2491 | pub type LPWSPADDRESSTOSTRING = ::core::option::Option<unsafe extern "system" fn(lpsaaddress: *const SOCKADDR, dwaddresslength: u32, lpprotocolinfo: *const WSAPROTOCOL_INFOW, lpszaddressstring: ::windows_sys::core::PWSTR, lpdwaddressstringlength: *mut u32, lperrno: *mut i32) -> i32>; |
2492 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
2493 | #[cfg(feature = "Win32_Foundation")] |
2494 | pub type LPWSPASYNCSELECT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, hwnd: super::super::Foundation::HWND, wmsg: u32, levent: i32, lperrno: *mut i32) -> i32>; | |
04454e1e | 2495 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2496 | #[cfg(feature = "Win32_Foundation")] |
2497 | pub type LPWSPBIND = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, name: *const SOCKADDR, namelen: i32, lperrno: *mut i32) -> i32>; | |
04454e1e | 2498 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2499 | pub type LPWSPCANCELBLOCKINGCALL = ::core::option::Option<unsafe extern "system" fn(lperrno: *mut i32) -> i32>; |
04454e1e | 2500 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2501 | pub type LPWSPCLEANUP = ::core::option::Option<unsafe extern "system" fn(lperrno: *mut i32) -> i32>; |
04454e1e | 2502 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2503 | pub type LPWSPCLOSESOCKET = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lperrno: *mut i32) -> i32>; |
04454e1e | 2504 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_QoS\"`*"] |
5e7ed085 FG |
2505 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_QoS"))] |
2506 | pub type LPWSPCONNECT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, name: *const SOCKADDR, namelen: i32, lpcallerdata: *const WSABUF, lpcalleedata: *mut WSABUF, lpsqos: *const super::super::NetworkManagement::QoS::QOS, lpgqos: *const super::super::NetworkManagement::QoS::QOS, lperrno: *mut i32) -> i32>; | |
04454e1e | 2507 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2508 | pub type LPWSPDUPLICATESOCKET = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, dwprocessid: u32, lpprotocolinfo: *mut WSAPROTOCOL_INFOW, lperrno: *mut i32) -> i32>; |
04454e1e | 2509 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2510 | #[cfg(feature = "Win32_Foundation")] |
2511 | pub type LPWSPENUMNETWORKEVENTS = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, heventobject: super::super::Foundation::HANDLE, lpnetworkevents: *mut WSANETWORKEVENTS, lperrno: *mut i32) -> i32>; | |
04454e1e | 2512 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2513 | #[cfg(feature = "Win32_Foundation")] |
2514 | pub type LPWSPEVENTSELECT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, heventobject: super::super::Foundation::HANDLE, lnetworkevents: i32, lperrno: *mut i32) -> i32>; | |
04454e1e | 2515 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2516 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2517 | pub type LPWSPGETOVERLAPPEDRESULT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpcbtransfer: *mut u32, fwait: super::super::Foundation::BOOL, lpdwflags: *mut u32, lperrno: *mut i32) -> super::super::Foundation::BOOL>; | |
04454e1e | 2518 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2519 | #[cfg(feature = "Win32_Foundation")] |
2520 | pub type LPWSPGETPEERNAME = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, name: *mut SOCKADDR, namelen: *mut i32, lperrno: *mut i32) -> i32>; | |
04454e1e | 2521 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_QoS\"`*"] |
5e7ed085 FG |
2522 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_QoS"))] |
2523 | pub type LPWSPGETQOSBYNAME = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpqosname: *const WSABUF, lpqos: *mut super::super::NetworkManagement::QoS::QOS, lperrno: *mut i32) -> super::super::Foundation::BOOL>; | |
04454e1e | 2524 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2525 | #[cfg(feature = "Win32_Foundation")] |
2526 | pub type LPWSPGETSOCKNAME = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, name: *mut SOCKADDR, namelen: *mut i32, lperrno: *mut i32) -> i32>; | |
04454e1e FG |
2527 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
2528 | pub type LPWSPGETSOCKOPT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, level: i32, optname: i32, optval: ::windows_sys::core::PSTR, optlen: *mut i32, lperrno: *mut i32) -> i32>; | |
2529 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] | |
5e7ed085 FG |
2530 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2531 | pub type LPWSPIOCTL = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, dwiocontrolcode: u32, lpvinbuffer: *const ::core::ffi::c_void, cbinbuffer: u32, lpvoutbuffer: *mut ::core::ffi::c_void, cboutbuffer: u32, lpcbbytesreturned: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE, lpthreadid: *const WSATHREADID, lperrno: *mut i32) -> i32>; | |
04454e1e | 2532 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_QoS\"`*"] |
5e7ed085 FG |
2533 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_QoS"))] |
2534 | pub type LPWSPJOINLEAF = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, name: *const SOCKADDR, namelen: i32, lpcallerdata: *const WSABUF, lpcalleedata: *mut WSABUF, lpsqos: *const super::super::NetworkManagement::QoS::QOS, lpgqos: *const super::super::NetworkManagement::QoS::QOS, dwflags: u32, lperrno: *mut i32) -> SOCKET>; | |
04454e1e | 2535 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2536 | pub type LPWSPLISTEN = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, backlog: i32, lperrno: *mut i32) -> i32>; |
04454e1e | 2537 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2538 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2539 | pub type LPWSPRECV = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpbuffers: *const WSABUF, dwbuffercount: u32, lpnumberofbytesrecvd: *mut u32, lpflags: *mut u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE, lpthreadid: *const WSATHREADID, lperrno: *const i32) -> i32>; | |
04454e1e | 2540 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2541 | pub type LPWSPRECVDISCONNECT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpinbounddisconnectdata: *const WSABUF, lperrno: *mut i32) -> i32>; |
04454e1e | 2542 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2543 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2544 | pub type LPWSPRECVFROM = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpbuffers: *const WSABUF, dwbuffercount: u32, lpnumberofbytesrecvd: *mut u32, lpflags: *mut u32, lpfrom: *mut SOCKADDR, lpfromlen: *mut i32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE, lpthreadid: *const WSATHREADID, lperrno: *mut i32) -> i32>; | |
04454e1e | 2545 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2546 | pub type LPWSPSELECT = ::core::option::Option<unsafe extern "system" fn(nfds: i32, readfds: *mut fd_set, writefds: *mut fd_set, exceptfds: *mut fd_set, timeout: *const timeval, lperrno: *mut i32) -> i32>; |
04454e1e | 2547 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2548 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2549 | pub type LPWSPSEND = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpbuffers: *const WSABUF, dwbuffercount: u32, lpnumberofbytessent: *mut u32, dwflags: u32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE, lpthreadid: *const WSATHREADID, lperrno: *mut i32) -> i32>; | |
04454e1e | 2550 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2551 | pub type LPWSPSENDDISCONNECT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpoutbounddisconnectdata: *const WSABUF, lperrno: *mut i32) -> i32>; |
04454e1e | 2552 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2553 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
2554 | pub type LPWSPSENDTO = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpbuffers: *const WSABUF, dwbuffercount: u32, lpnumberofbytessent: *mut u32, dwflags: u32, lpto: *const SOCKADDR, itolen: i32, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE, lpthreadid: *const WSATHREADID, lperrno: *mut i32) -> i32>; | |
04454e1e FG |
2555 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
2556 | pub type LPWSPSETSOCKOPT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, level: i32, optname: i32, optval: ::windows_sys::core::PCSTR, optlen: i32, lperrno: *mut i32) -> i32>; | |
2557 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 2558 | pub type LPWSPSHUTDOWN = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, how: i32, lperrno: *mut i32) -> i32>; |
04454e1e | 2559 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2560 | pub type LPWSPSOCKET = ::core::option::Option<unsafe extern "system" fn(af: i32, r#type: i32, protocol: i32, lpprotocolinfo: *const WSAPROTOCOL_INFOW, g: u32, dwflags: u32, lperrno: *mut i32) -> SOCKET>; |
04454e1e | 2561 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_QoS\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
2562 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_QoS", feature = "Win32_System_IO"))] |
2563 | pub type LPWSPSTARTUP = ::core::option::Option<unsafe extern "system" fn(wversionrequested: u16, lpwspdata: *const WSPData, lpprotocolinfo: *const WSAPROTOCOL_INFOW, upcalltable: WSPUPCALLTABLE, lpproctable: *mut WSPPROC_TABLE) -> i32>; | |
04454e1e | 2564 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 2565 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
2566 | pub type LPWSPSTRINGTOADDRESS = ::core::option::Option<unsafe extern "system" fn(addressstring: ::windows_sys::core::PCWSTR, addressfamily: i32, lpprotocolinfo: *const WSAPROTOCOL_INFOW, lpaddress: *mut SOCKADDR, lpaddresslength: *mut i32, lperrno: *mut i32) -> i32>; |
2567 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 2568 | pub const LSP_CRYPTO_COMPRESS: u32 = 64u32; |
04454e1e | 2569 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2570 | pub const LSP_FIREWALL: u32 = 8u32; |
04454e1e | 2571 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2572 | pub const LSP_INBOUND_MODIFY: u32 = 16u32; |
04454e1e | 2573 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2574 | pub const LSP_INSPECTOR: u32 = 1u32; |
04454e1e | 2575 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2576 | pub const LSP_LOCAL_CACHE: u32 = 128u32; |
04454e1e | 2577 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2578 | pub const LSP_OUTBOUND_MODIFY: u32 = 32u32; |
04454e1e | 2579 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2580 | pub const LSP_PROXY: u32 = 4u32; |
04454e1e | 2581 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2582 | pub const LSP_REDIRECTOR: u32 = 2u32; |
04454e1e | 2583 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2584 | pub const LSP_SYSTEM: u32 = 2147483648u32; |
04454e1e | 2585 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2586 | pub const LUP_ADDRCONFIG: u32 = 1048576u32; |
04454e1e | 2587 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2588 | pub const LUP_API_ANSI: u32 = 16777216u32; |
04454e1e | 2589 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2590 | pub const LUP_CONTAINERS: u32 = 2u32; |
04454e1e | 2591 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2592 | pub const LUP_DEEP: u32 = 1u32; |
04454e1e | 2593 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2594 | pub const LUP_DISABLE_IDN_ENCODING: u32 = 8388608u32; |
04454e1e | 2595 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2596 | pub const LUP_DNS_ONLY: u32 = 131072u32; |
04454e1e | 2597 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2598 | pub const LUP_DUAL_ADDR: u32 = 2097152u32; |
04454e1e | 2599 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2600 | pub const LUP_EXCLUSIVE_CUSTOM_SERVERS: u32 = 134217728u32; |
04454e1e | 2601 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2602 | pub const LUP_EXTENDED_QUERYSET: u32 = 33554432u32; |
04454e1e | 2603 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2604 | pub const LUP_FILESERVER: u32 = 4194304u32; |
04454e1e | 2605 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2606 | pub const LUP_FLUSHCACHE: u32 = 4096u32; |
04454e1e | 2607 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2608 | pub const LUP_FLUSHPREVIOUS: u32 = 8192u32; |
04454e1e | 2609 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2610 | pub const LUP_FORCE_CLEAR_TEXT: u32 = 1073741824u32; |
04454e1e | 2611 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2612 | pub const LUP_NEAREST: u32 = 8u32; |
04454e1e | 2613 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2614 | pub const LUP_NOCONTAINERS: u32 = 4u32; |
04454e1e | 2615 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2616 | pub const LUP_NON_AUTHORITATIVE: u32 = 16384u32; |
04454e1e | 2617 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2618 | pub const LUP_REQUIRE_SECURE: u32 = 268435456u32; |
04454e1e | 2619 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2620 | pub const LUP_RESOLUTION_HANDLE: u32 = 2147483648u32; |
04454e1e | 2621 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2622 | pub const LUP_RES_SERVICE: u32 = 32768u32; |
04454e1e | 2623 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2624 | pub const LUP_RETURN_ADDR: u32 = 256u32; |
04454e1e | 2625 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2626 | pub const LUP_RETURN_ALIASES: u32 = 1024u32; |
04454e1e | 2627 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2628 | pub const LUP_RETURN_ALL: u32 = 4080u32; |
04454e1e | 2629 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2630 | pub const LUP_RETURN_BLOB: u32 = 512u32; |
04454e1e | 2631 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2632 | pub const LUP_RETURN_COMMENT: u32 = 128u32; |
04454e1e | 2633 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2634 | pub const LUP_RETURN_NAME: u32 = 16u32; |
04454e1e | 2635 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2636 | pub const LUP_RETURN_PREFERRED_NAMES: u32 = 65536u32; |
04454e1e | 2637 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2638 | pub const LUP_RETURN_QUERY_STRING: u32 = 2048u32; |
04454e1e | 2639 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2640 | pub const LUP_RETURN_RESPONSE_FLAGS: u32 = 262144u32; |
04454e1e | 2641 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2642 | pub const LUP_RETURN_TTL: u32 = 536870912u32; |
04454e1e | 2643 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2644 | pub const LUP_RETURN_TYPE: u32 = 32u32; |
04454e1e | 2645 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2646 | pub const LUP_RETURN_VERSION: u32 = 64u32; |
04454e1e | 2647 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2648 | pub const LUP_SECURE: u32 = 32768u32; |
04454e1e | 2649 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2650 | pub const LUP_SECURE_WITH_FALLBACK: u32 = 67108864u32; |
04454e1e | 2651 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2652 | pub const LmCharSetASCII: u32 = 0u32; |
04454e1e | 2653 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2654 | pub const LmCharSetISO_8859_1: u32 = 1u32; |
04454e1e | 2655 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2656 | pub const LmCharSetISO_8859_2: u32 = 2u32; |
04454e1e | 2657 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2658 | pub const LmCharSetISO_8859_3: u32 = 3u32; |
04454e1e | 2659 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2660 | pub const LmCharSetISO_8859_4: u32 = 4u32; |
04454e1e | 2661 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2662 | pub const LmCharSetISO_8859_5: u32 = 5u32; |
04454e1e | 2663 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2664 | pub const LmCharSetISO_8859_6: u32 = 6u32; |
04454e1e | 2665 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2666 | pub const LmCharSetISO_8859_7: u32 = 7u32; |
04454e1e | 2667 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2668 | pub const LmCharSetISO_8859_8: u32 = 8u32; |
04454e1e | 2669 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2670 | pub const LmCharSetISO_8859_9: u32 = 9u32; |
04454e1e | 2671 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2672 | pub const LmCharSetUNICODE: u32 = 255u32; |
04454e1e | 2673 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2674 | pub const MAXGETHOSTSTRUCT: u32 = 1024u32; |
04454e1e | 2675 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2676 | pub const MAX_MCAST_TTL: u32 = 255u32; |
04454e1e | 2677 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2678 | pub const MAX_PROTOCOL_CHAIN: u32 = 7u32; |
04454e1e | 2679 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2680 | pub const MAX_WINDOW_INCREMENT_PERCENTAGE: u32 = 25u32; |
04454e1e | 2681 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2682 | pub const MCAST_BLOCK_SOURCE: u32 = 43u32; |
04454e1e | 2683 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2684 | pub const MCAST_JOIN_GROUP: u32 = 41u32; |
04454e1e | 2685 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2686 | pub const MCAST_JOIN_SOURCE_GROUP: u32 = 45u32; |
04454e1e | 2687 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2688 | pub const MCAST_LEAVE_GROUP: u32 = 42u32; |
04454e1e | 2689 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2690 | pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 46u32; |
04454e1e | 2691 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2692 | pub const MCAST_UNBLOCK_SOURCE: u32 = 44u32; |
04454e1e | 2693 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2694 | pub const MSG_BCAST: u32 = 1024u32; |
04454e1e | 2695 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2696 | pub const MSG_CTRUNC: u32 = 512u32; |
04454e1e | 2697 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2698 | pub const MSG_ERRQUEUE: u32 = 4096u32; |
04454e1e | 2699 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2700 | pub const MSG_INTERRUPT: u32 = 16u32; |
04454e1e | 2701 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2702 | pub const MSG_MAXIOVLEN: u32 = 16u32; |
04454e1e | 2703 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2704 | pub const MSG_MCAST: u32 = 2048u32; |
04454e1e | 2705 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2706 | pub const MSG_PARTIAL: u32 = 32768u32; |
04454e1e | 2707 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2708 | pub const MSG_TRUNC: u32 = 256u32; |
04454e1e | 2709 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2710 | pub type MULTICAST_MODE_TYPE = i32; |
04454e1e | 2711 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2712 | pub const MCAST_INCLUDE: MULTICAST_MODE_TYPE = 0i32; |
04454e1e | 2713 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
2714 | pub const MCAST_EXCLUDE: MULTICAST_MODE_TYPE = 1i32; |
2715 | #[repr(C)] | |
04454e1e | 2716 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
2717 | pub struct NAPI_DOMAIN_DESCRIPTION_BLOB { |
2718 | pub AuthLevel: u32, | |
2719 | pub cchDomainName: u32, | |
2720 | pub OffsetNextDomainDescription: u32, | |
2721 | pub OffsetThisDomainName: u32, | |
2722 | } | |
2723 | impl ::core::marker::Copy for NAPI_DOMAIN_DESCRIPTION_BLOB {} | |
2724 | impl ::core::clone::Clone for NAPI_DOMAIN_DESCRIPTION_BLOB { | |
2725 | fn clone(&self) -> Self { | |
2726 | *self | |
2727 | } | |
2728 | } | |
2729 | #[repr(C)] | |
04454e1e | 2730 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
2731 | pub struct NAPI_PROVIDER_INSTALLATION_BLOB { |
2732 | pub dwVersion: u32, | |
2733 | pub dwProviderType: u32, | |
2734 | pub fSupportsWildCard: u32, | |
2735 | pub cDomains: u32, | |
2736 | pub OffsetFirstDomain: u32, | |
2737 | } | |
2738 | impl ::core::marker::Copy for NAPI_PROVIDER_INSTALLATION_BLOB {} | |
2739 | impl ::core::clone::Clone for NAPI_PROVIDER_INSTALLATION_BLOB { | |
2740 | fn clone(&self) -> Self { | |
2741 | *self | |
2742 | } | |
2743 | } | |
04454e1e | 2744 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2745 | pub type NAPI_PROVIDER_LEVEL = i32; |
04454e1e | 2746 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2747 | pub const ProviderLevel_None: NAPI_PROVIDER_LEVEL = 0i32; |
04454e1e | 2748 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2749 | pub const ProviderLevel_Secondary: NAPI_PROVIDER_LEVEL = 1i32; |
04454e1e | 2750 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2751 | pub const ProviderLevel_Primary: NAPI_PROVIDER_LEVEL = 2i32; |
04454e1e | 2752 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2753 | pub type NAPI_PROVIDER_TYPE = i32; |
04454e1e | 2754 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2755 | pub const ProviderType_Application: NAPI_PROVIDER_TYPE = 1i32; |
04454e1e | 2756 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2757 | pub const ProviderType_Service: NAPI_PROVIDER_TYPE = 2i32; |
04454e1e | 2758 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2759 | pub const NETBIOS_GROUP_NAME: u32 = 1u32; |
04454e1e | 2760 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2761 | pub const NETBIOS_NAME_LENGTH: u32 = 16u32; |
04454e1e | 2762 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2763 | pub const NETBIOS_TYPE_QUICK_GROUP: u32 = 3u32; |
04454e1e | 2764 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2765 | pub const NETBIOS_TYPE_QUICK_UNIQUE: u32 = 2u32; |
04454e1e | 2766 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
2767 | pub const NETBIOS_UNIQUE_NAME: u32 = 0u32; |
2768 | #[repr(C)] | |
04454e1e | 2769 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
2770 | pub struct NETRESOURCE2A { |
2771 | pub dwScope: u32, | |
2772 | pub dwType: u32, | |
2773 | pub dwUsage: u32, | |
2774 | pub dwDisplayType: u32, | |
04454e1e FG |
2775 | pub lpLocalName: ::windows_sys::core::PSTR, |
2776 | pub lpRemoteName: ::windows_sys::core::PSTR, | |
2777 | pub lpComment: ::windows_sys::core::PSTR, | |
5e7ed085 FG |
2778 | pub ns_info: NS_INFOA, |
2779 | pub ServiceType: ::windows_sys::core::GUID, | |
2780 | pub dwProtocols: u32, | |
2781 | pub lpiProtocols: *mut i32, | |
2782 | } | |
5e7ed085 | 2783 | impl ::core::marker::Copy for NETRESOURCE2A {} |
5e7ed085 FG |
2784 | impl ::core::clone::Clone for NETRESOURCE2A { |
2785 | fn clone(&self) -> Self { | |
2786 | *self | |
2787 | } | |
2788 | } | |
2789 | #[repr(C)] | |
04454e1e | 2790 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
2791 | pub struct NETRESOURCE2W { |
2792 | pub dwScope: u32, | |
2793 | pub dwType: u32, | |
2794 | pub dwUsage: u32, | |
2795 | pub dwDisplayType: u32, | |
04454e1e FG |
2796 | pub lpLocalName: ::windows_sys::core::PWSTR, |
2797 | pub lpRemoteName: ::windows_sys::core::PWSTR, | |
2798 | pub lpComment: ::windows_sys::core::PWSTR, | |
5e7ed085 FG |
2799 | pub ns_info: NS_INFOA, |
2800 | pub ServiceType: ::windows_sys::core::GUID, | |
2801 | pub dwProtocols: u32, | |
2802 | pub lpiProtocols: *mut i32, | |
2803 | } | |
5e7ed085 | 2804 | impl ::core::marker::Copy for NETRESOURCE2W {} |
5e7ed085 FG |
2805 | impl ::core::clone::Clone for NETRESOURCE2W { |
2806 | fn clone(&self) -> Self { | |
2807 | *self | |
2808 | } | |
2809 | } | |
04454e1e | 2810 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2811 | pub const NI_DGRAM: u32 = 16u32; |
04454e1e | 2812 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2813 | pub const NI_MAXHOST: u32 = 1025u32; |
04454e1e | 2814 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2815 | pub const NI_MAXSERV: u32 = 32u32; |
04454e1e | 2816 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2817 | pub const NI_NAMEREQD: u32 = 4u32; |
04454e1e | 2818 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2819 | pub const NI_NOFQDN: u32 = 1u32; |
04454e1e | 2820 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2821 | pub const NI_NUMERICHOST: u32 = 2u32; |
04454e1e | 2822 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2823 | pub const NI_NUMERICSERV: u32 = 8u32; |
04454e1e | 2824 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
2825 | pub const NLA_ALLUSERS_NETWORK: u32 = 1u32; |
2826 | #[repr(C)] | |
04454e1e | 2827 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2828 | #[cfg(feature = "Win32_Foundation")] |
2829 | pub struct NLA_BLOB { | |
2830 | pub header: NLA_BLOB_1, | |
2831 | pub data: NLA_BLOB_0, | |
2832 | } | |
2833 | #[cfg(feature = "Win32_Foundation")] | |
2834 | impl ::core::marker::Copy for NLA_BLOB {} | |
2835 | #[cfg(feature = "Win32_Foundation")] | |
2836 | impl ::core::clone::Clone for NLA_BLOB { | |
2837 | fn clone(&self) -> Self { | |
2838 | *self | |
2839 | } | |
2840 | } | |
2841 | #[repr(C)] | |
04454e1e | 2842 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2843 | #[cfg(feature = "Win32_Foundation")] |
2844 | pub union NLA_BLOB_0 { | |
2845 | pub rawData: [super::super::Foundation::CHAR; 1], | |
2846 | pub interfaceData: NLA_BLOB_0_2, | |
2847 | pub locationData: NLA_BLOB_0_3, | |
2848 | pub connectivity: NLA_BLOB_0_1, | |
2849 | pub ICS: NLA_BLOB_0_0, | |
2850 | } | |
2851 | #[cfg(feature = "Win32_Foundation")] | |
2852 | impl ::core::marker::Copy for NLA_BLOB_0 {} | |
2853 | #[cfg(feature = "Win32_Foundation")] | |
2854 | impl ::core::clone::Clone for NLA_BLOB_0 { | |
2855 | fn clone(&self) -> Self { | |
2856 | *self | |
2857 | } | |
2858 | } | |
2859 | #[repr(C)] | |
04454e1e | 2860 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2861 | #[cfg(feature = "Win32_Foundation")] |
2862 | pub struct NLA_BLOB_0_0 { | |
2863 | pub remote: NLA_BLOB_0_0_0, | |
2864 | } | |
2865 | #[cfg(feature = "Win32_Foundation")] | |
2866 | impl ::core::marker::Copy for NLA_BLOB_0_0 {} | |
2867 | #[cfg(feature = "Win32_Foundation")] | |
2868 | impl ::core::clone::Clone for NLA_BLOB_0_0 { | |
2869 | fn clone(&self) -> Self { | |
2870 | *self | |
2871 | } | |
2872 | } | |
2873 | #[repr(C)] | |
04454e1e | 2874 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2875 | #[cfg(feature = "Win32_Foundation")] |
2876 | pub struct NLA_BLOB_0_0_0 { | |
2877 | pub speed: u32, | |
2878 | pub r#type: u32, | |
2879 | pub state: u32, | |
2880 | pub machineName: [u16; 256], | |
2881 | pub sharedAdapterName: [u16; 256], | |
2882 | } | |
2883 | #[cfg(feature = "Win32_Foundation")] | |
2884 | impl ::core::marker::Copy for NLA_BLOB_0_0_0 {} | |
2885 | #[cfg(feature = "Win32_Foundation")] | |
2886 | impl ::core::clone::Clone for NLA_BLOB_0_0_0 { | |
2887 | fn clone(&self) -> Self { | |
2888 | *self | |
2889 | } | |
2890 | } | |
2891 | #[repr(C)] | |
04454e1e | 2892 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2893 | #[cfg(feature = "Win32_Foundation")] |
2894 | pub struct NLA_BLOB_0_1 { | |
2895 | pub r#type: NLA_CONNECTIVITY_TYPE, | |
2896 | pub internet: NLA_INTERNET, | |
2897 | } | |
2898 | #[cfg(feature = "Win32_Foundation")] | |
2899 | impl ::core::marker::Copy for NLA_BLOB_0_1 {} | |
2900 | #[cfg(feature = "Win32_Foundation")] | |
2901 | impl ::core::clone::Clone for NLA_BLOB_0_1 { | |
2902 | fn clone(&self) -> Self { | |
2903 | *self | |
2904 | } | |
2905 | } | |
2906 | #[repr(C)] | |
04454e1e | 2907 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2908 | #[cfg(feature = "Win32_Foundation")] |
2909 | pub struct NLA_BLOB_0_2 { | |
2910 | pub dwType: u32, | |
2911 | pub dwSpeed: u32, | |
2912 | pub adapterName: [super::super::Foundation::CHAR; 1], | |
2913 | } | |
2914 | #[cfg(feature = "Win32_Foundation")] | |
2915 | impl ::core::marker::Copy for NLA_BLOB_0_2 {} | |
2916 | #[cfg(feature = "Win32_Foundation")] | |
2917 | impl ::core::clone::Clone for NLA_BLOB_0_2 { | |
2918 | fn clone(&self) -> Self { | |
2919 | *self | |
2920 | } | |
2921 | } | |
2922 | #[repr(C)] | |
04454e1e | 2923 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2924 | #[cfg(feature = "Win32_Foundation")] |
2925 | pub struct NLA_BLOB_0_3 { | |
2926 | pub information: [super::super::Foundation::CHAR; 1], | |
2927 | } | |
2928 | #[cfg(feature = "Win32_Foundation")] | |
2929 | impl ::core::marker::Copy for NLA_BLOB_0_3 {} | |
2930 | #[cfg(feature = "Win32_Foundation")] | |
2931 | impl ::core::clone::Clone for NLA_BLOB_0_3 { | |
2932 | fn clone(&self) -> Self { | |
2933 | *self | |
2934 | } | |
2935 | } | |
2936 | #[repr(C)] | |
04454e1e | 2937 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2938 | #[cfg(feature = "Win32_Foundation")] |
2939 | pub struct NLA_BLOB_1 { | |
2940 | pub r#type: NLA_BLOB_DATA_TYPE, | |
2941 | pub dwSize: u32, | |
2942 | pub nextOffset: u32, | |
2943 | } | |
2944 | #[cfg(feature = "Win32_Foundation")] | |
2945 | impl ::core::marker::Copy for NLA_BLOB_1 {} | |
2946 | #[cfg(feature = "Win32_Foundation")] | |
2947 | impl ::core::clone::Clone for NLA_BLOB_1 { | |
2948 | fn clone(&self) -> Self { | |
2949 | *self | |
2950 | } | |
2951 | } | |
04454e1e | 2952 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2953 | pub type NLA_BLOB_DATA_TYPE = i32; |
04454e1e | 2954 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2955 | pub const NLA_RAW_DATA: NLA_BLOB_DATA_TYPE = 0i32; |
04454e1e | 2956 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2957 | pub const NLA_INTERFACE: NLA_BLOB_DATA_TYPE = 1i32; |
04454e1e | 2958 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2959 | pub const NLA_802_1X_LOCATION: NLA_BLOB_DATA_TYPE = 2i32; |
04454e1e | 2960 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2961 | pub const NLA_CONNECTIVITY: NLA_BLOB_DATA_TYPE = 3i32; |
04454e1e | 2962 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2963 | pub const NLA_ICS: NLA_BLOB_DATA_TYPE = 4i32; |
04454e1e | 2964 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2965 | pub type NLA_CONNECTIVITY_TYPE = i32; |
04454e1e | 2966 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2967 | pub const NLA_NETWORK_AD_HOC: NLA_CONNECTIVITY_TYPE = 0i32; |
04454e1e | 2968 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2969 | pub const NLA_NETWORK_MANAGED: NLA_CONNECTIVITY_TYPE = 1i32; |
04454e1e | 2970 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2971 | pub const NLA_NETWORK_UNMANAGED: NLA_CONNECTIVITY_TYPE = 2i32; |
04454e1e | 2972 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2973 | pub const NLA_NETWORK_UNKNOWN: NLA_CONNECTIVITY_TYPE = 3i32; |
04454e1e | 2974 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2975 | pub const NLA_FRIENDLY_NAME: u32 = 2u32; |
04454e1e | 2976 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2977 | pub type NLA_INTERNET = i32; |
04454e1e | 2978 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2979 | pub const NLA_INTERNET_UNKNOWN: NLA_INTERNET = 0i32; |
04454e1e | 2980 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2981 | pub const NLA_INTERNET_NO: NLA_INTERNET = 1i32; |
04454e1e | 2982 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2983 | pub const NLA_INTERNET_YES: NLA_INTERNET = 2i32; |
04454e1e | 2984 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2985 | pub type NL_ADDRESS_TYPE = i32; |
04454e1e | 2986 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2987 | pub const NlatUnspecified: NL_ADDRESS_TYPE = 0i32; |
04454e1e | 2988 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2989 | pub const NlatUnicast: NL_ADDRESS_TYPE = 1i32; |
04454e1e | 2990 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2991 | pub const NlatAnycast: NL_ADDRESS_TYPE = 2i32; |
04454e1e | 2992 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2993 | pub const NlatMulticast: NL_ADDRESS_TYPE = 3i32; |
04454e1e | 2994 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2995 | pub const NlatBroadcast: NL_ADDRESS_TYPE = 4i32; |
04454e1e | 2996 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2997 | pub const NlatInvalid: NL_ADDRESS_TYPE = 5i32; |
04454e1e | 2998 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 2999 | pub type NL_BANDWIDTH_FLAG = i32; |
04454e1e | 3000 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3001 | pub const NlbwDisabled: NL_BANDWIDTH_FLAG = 0i32; |
04454e1e | 3002 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3003 | pub const NlbwEnabled: NL_BANDWIDTH_FLAG = 1i32; |
04454e1e | 3004 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3005 | pub const NlbwUnchanged: NL_BANDWIDTH_FLAG = -1i32; |
3006 | #[repr(C)] | |
04454e1e | 3007 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3008 | #[cfg(feature = "Win32_Foundation")] |
3009 | pub struct NL_BANDWIDTH_INFORMATION { | |
3010 | pub Bandwidth: u64, | |
3011 | pub Instability: u64, | |
3012 | pub BandwidthPeaked: super::super::Foundation::BOOLEAN, | |
3013 | } | |
3014 | #[cfg(feature = "Win32_Foundation")] | |
3015 | impl ::core::marker::Copy for NL_BANDWIDTH_INFORMATION {} | |
3016 | #[cfg(feature = "Win32_Foundation")] | |
3017 | impl ::core::clone::Clone for NL_BANDWIDTH_INFORMATION { | |
3018 | fn clone(&self) -> Self { | |
3019 | *self | |
3020 | } | |
3021 | } | |
04454e1e | 3022 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3023 | pub type NL_DAD_STATE = i32; |
04454e1e | 3024 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3025 | pub const NldsInvalid: NL_DAD_STATE = 0i32; |
04454e1e | 3026 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3027 | pub const NldsTentative: NL_DAD_STATE = 1i32; |
04454e1e | 3028 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3029 | pub const NldsDuplicate: NL_DAD_STATE = 2i32; |
04454e1e | 3030 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3031 | pub const NldsDeprecated: NL_DAD_STATE = 3i32; |
04454e1e | 3032 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3033 | pub const NldsPreferred: NL_DAD_STATE = 4i32; |
04454e1e | 3034 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3035 | pub const IpDadStateInvalid: NL_DAD_STATE = 0i32; |
04454e1e | 3036 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3037 | pub const IpDadStateTentative: NL_DAD_STATE = 1i32; |
04454e1e | 3038 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3039 | pub const IpDadStateDuplicate: NL_DAD_STATE = 2i32; |
04454e1e | 3040 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3041 | pub const IpDadStateDeprecated: NL_DAD_STATE = 3i32; |
04454e1e | 3042 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3043 | pub const IpDadStatePreferred: NL_DAD_STATE = 4i32; |
04454e1e | 3044 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3045 | pub type NL_INTERFACE_NETWORK_CATEGORY_STATE = i32; |
04454e1e | 3046 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3047 | pub const NlincCategoryUnknown: NL_INTERFACE_NETWORK_CATEGORY_STATE = 0i32; |
04454e1e | 3048 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3049 | pub const NlincPublic: NL_INTERFACE_NETWORK_CATEGORY_STATE = 1i32; |
04454e1e | 3050 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3051 | pub const NlincPrivate: NL_INTERFACE_NETWORK_CATEGORY_STATE = 2i32; |
04454e1e | 3052 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3053 | pub const NlincDomainAuthenticated: NL_INTERFACE_NETWORK_CATEGORY_STATE = 3i32; |
04454e1e | 3054 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3055 | pub const NlincCategoryStateMax: NL_INTERFACE_NETWORK_CATEGORY_STATE = 4i32; |
3056 | #[repr(C)] | |
04454e1e | 3057 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3058 | pub struct NL_INTERFACE_OFFLOAD_ROD { |
3059 | pub _bitfield: u8, | |
3060 | } | |
3061 | impl ::core::marker::Copy for NL_INTERFACE_OFFLOAD_ROD {} | |
3062 | impl ::core::clone::Clone for NL_INTERFACE_OFFLOAD_ROD { | |
3063 | fn clone(&self) -> Self { | |
3064 | *self | |
3065 | } | |
3066 | } | |
04454e1e | 3067 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3068 | pub type NL_LINK_LOCAL_ADDRESS_BEHAVIOR = i32; |
04454e1e | 3069 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3070 | pub const LinkLocalAlwaysOff: NL_LINK_LOCAL_ADDRESS_BEHAVIOR = 0i32; |
04454e1e | 3071 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3072 | pub const LinkLocalDelayed: NL_LINK_LOCAL_ADDRESS_BEHAVIOR = 1i32; |
04454e1e | 3073 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3074 | pub const LinkLocalAlwaysOn: NL_LINK_LOCAL_ADDRESS_BEHAVIOR = 2i32; |
04454e1e | 3075 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3076 | pub const LinkLocalUnchanged: NL_LINK_LOCAL_ADDRESS_BEHAVIOR = -1i32; |
04454e1e | 3077 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3078 | pub type NL_NEIGHBOR_STATE = i32; |
04454e1e | 3079 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3080 | pub const NlnsUnreachable: NL_NEIGHBOR_STATE = 0i32; |
04454e1e | 3081 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3082 | pub const NlnsIncomplete: NL_NEIGHBOR_STATE = 1i32; |
04454e1e | 3083 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3084 | pub const NlnsProbe: NL_NEIGHBOR_STATE = 2i32; |
04454e1e | 3085 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3086 | pub const NlnsDelay: NL_NEIGHBOR_STATE = 3i32; |
04454e1e | 3087 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3088 | pub const NlnsStale: NL_NEIGHBOR_STATE = 4i32; |
04454e1e | 3089 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3090 | pub const NlnsReachable: NL_NEIGHBOR_STATE = 5i32; |
04454e1e | 3091 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3092 | pub const NlnsPermanent: NL_NEIGHBOR_STATE = 6i32; |
04454e1e | 3093 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3094 | pub const NlnsMaximum: NL_NEIGHBOR_STATE = 7i32; |
04454e1e | 3095 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3096 | pub type NL_NETWORK_CATEGORY = i32; |
04454e1e | 3097 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3098 | pub const NetworkCategoryPublic: NL_NETWORK_CATEGORY = 0i32; |
04454e1e | 3099 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3100 | pub const NetworkCategoryPrivate: NL_NETWORK_CATEGORY = 1i32; |
04454e1e | 3101 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3102 | pub const NetworkCategoryDomainAuthenticated: NL_NETWORK_CATEGORY = 2i32; |
04454e1e | 3103 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3104 | pub const NetworkCategoryUnchanged: NL_NETWORK_CATEGORY = -1i32; |
04454e1e | 3105 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3106 | pub const NetworkCategoryUnknown: NL_NETWORK_CATEGORY = -1i32; |
04454e1e | 3107 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3108 | pub type NL_NETWORK_CONNECTIVITY_COST_HINT = i32; |
04454e1e | 3109 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3110 | pub const NetworkConnectivityCostHintUnknown: NL_NETWORK_CONNECTIVITY_COST_HINT = 0i32; |
04454e1e | 3111 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3112 | pub const NetworkConnectivityCostHintUnrestricted: NL_NETWORK_CONNECTIVITY_COST_HINT = 1i32; |
04454e1e | 3113 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3114 | pub const NetworkConnectivityCostHintFixed: NL_NETWORK_CONNECTIVITY_COST_HINT = 2i32; |
04454e1e | 3115 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3116 | pub const NetworkConnectivityCostHintVariable: NL_NETWORK_CONNECTIVITY_COST_HINT = 3i32; |
3117 | #[repr(C)] | |
04454e1e | 3118 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3119 | #[cfg(feature = "Win32_Foundation")] |
3120 | pub struct NL_NETWORK_CONNECTIVITY_HINT { | |
3121 | pub ConnectivityLevel: NL_NETWORK_CONNECTIVITY_LEVEL_HINT, | |
3122 | pub ConnectivityCost: NL_NETWORK_CONNECTIVITY_COST_HINT, | |
3123 | pub ApproachingDataLimit: super::super::Foundation::BOOLEAN, | |
3124 | pub OverDataLimit: super::super::Foundation::BOOLEAN, | |
3125 | pub Roaming: super::super::Foundation::BOOLEAN, | |
3126 | } | |
3127 | #[cfg(feature = "Win32_Foundation")] | |
3128 | impl ::core::marker::Copy for NL_NETWORK_CONNECTIVITY_HINT {} | |
3129 | #[cfg(feature = "Win32_Foundation")] | |
3130 | impl ::core::clone::Clone for NL_NETWORK_CONNECTIVITY_HINT { | |
3131 | fn clone(&self) -> Self { | |
3132 | *self | |
3133 | } | |
3134 | } | |
04454e1e | 3135 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3136 | pub type NL_NETWORK_CONNECTIVITY_LEVEL_HINT = i32; |
04454e1e | 3137 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3138 | pub const NetworkConnectivityLevelHintUnknown: NL_NETWORK_CONNECTIVITY_LEVEL_HINT = 0i32; |
04454e1e | 3139 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3140 | pub const NetworkConnectivityLevelHintNone: NL_NETWORK_CONNECTIVITY_LEVEL_HINT = 1i32; |
04454e1e | 3141 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3142 | pub const NetworkConnectivityLevelHintLocalAccess: NL_NETWORK_CONNECTIVITY_LEVEL_HINT = 2i32; |
04454e1e | 3143 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3144 | pub const NetworkConnectivityLevelHintInternetAccess: NL_NETWORK_CONNECTIVITY_LEVEL_HINT = 3i32; |
04454e1e | 3145 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3146 | pub const NetworkConnectivityLevelHintConstrainedInternetAccess: NL_NETWORK_CONNECTIVITY_LEVEL_HINT = 4i32; |
04454e1e | 3147 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3148 | pub const NetworkConnectivityLevelHintHidden: NL_NETWORK_CONNECTIVITY_LEVEL_HINT = 5i32; |
3149 | #[repr(C)] | |
04454e1e | 3150 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3151 | #[cfg(feature = "Win32_Foundation")] |
3152 | pub struct NL_PATH_BANDWIDTH_ROD { | |
3153 | pub Bandwidth: u64, | |
3154 | pub Instability: u64, | |
3155 | pub BandwidthPeaked: super::super::Foundation::BOOLEAN, | |
3156 | } | |
3157 | #[cfg(feature = "Win32_Foundation")] | |
3158 | impl ::core::marker::Copy for NL_PATH_BANDWIDTH_ROD {} | |
3159 | #[cfg(feature = "Win32_Foundation")] | |
3160 | impl ::core::clone::Clone for NL_PATH_BANDWIDTH_ROD { | |
3161 | fn clone(&self) -> Self { | |
3162 | *self | |
3163 | } | |
3164 | } | |
04454e1e | 3165 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3166 | pub type NL_PREFIX_ORIGIN = i32; |
04454e1e | 3167 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3168 | pub const IpPrefixOriginOther: NL_PREFIX_ORIGIN = 0i32; |
04454e1e | 3169 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3170 | pub const IpPrefixOriginManual: NL_PREFIX_ORIGIN = 1i32; |
04454e1e | 3171 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3172 | pub const IpPrefixOriginWellKnown: NL_PREFIX_ORIGIN = 2i32; |
04454e1e | 3173 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3174 | pub const IpPrefixOriginDhcp: NL_PREFIX_ORIGIN = 3i32; |
04454e1e | 3175 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3176 | pub const IpPrefixOriginRouterAdvertisement: NL_PREFIX_ORIGIN = 4i32; |
04454e1e | 3177 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3178 | pub const IpPrefixOriginUnchanged: NL_PREFIX_ORIGIN = 16i32; |
04454e1e | 3179 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3180 | pub type NL_ROUTER_DISCOVERY_BEHAVIOR = i32; |
04454e1e | 3181 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3182 | pub const RouterDiscoveryDisabled: NL_ROUTER_DISCOVERY_BEHAVIOR = 0i32; |
04454e1e | 3183 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3184 | pub const RouterDiscoveryEnabled: NL_ROUTER_DISCOVERY_BEHAVIOR = 1i32; |
04454e1e | 3185 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3186 | pub const RouterDiscoveryDhcp: NL_ROUTER_DISCOVERY_BEHAVIOR = 2i32; |
04454e1e | 3187 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3188 | pub const RouterDiscoveryUnchanged: NL_ROUTER_DISCOVERY_BEHAVIOR = -1i32; |
04454e1e | 3189 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3190 | pub type NL_ROUTE_ORIGIN = i32; |
04454e1e | 3191 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3192 | pub const NlroManual: NL_ROUTE_ORIGIN = 0i32; |
04454e1e | 3193 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3194 | pub const NlroWellKnown: NL_ROUTE_ORIGIN = 1i32; |
04454e1e | 3195 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3196 | pub const NlroDHCP: NL_ROUTE_ORIGIN = 2i32; |
04454e1e | 3197 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3198 | pub const NlroRouterAdvertisement: NL_ROUTE_ORIGIN = 3i32; |
04454e1e | 3199 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3200 | pub const Nlro6to4: NL_ROUTE_ORIGIN = 4i32; |
04454e1e | 3201 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3202 | pub type NL_ROUTE_PROTOCOL = i32; |
04454e1e | 3203 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3204 | pub const RouteProtocolOther: NL_ROUTE_PROTOCOL = 1i32; |
04454e1e | 3205 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3206 | pub const RouteProtocolLocal: NL_ROUTE_PROTOCOL = 2i32; |
04454e1e | 3207 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3208 | pub const RouteProtocolNetMgmt: NL_ROUTE_PROTOCOL = 3i32; |
04454e1e | 3209 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3210 | pub const RouteProtocolIcmp: NL_ROUTE_PROTOCOL = 4i32; |
04454e1e | 3211 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3212 | pub const RouteProtocolEgp: NL_ROUTE_PROTOCOL = 5i32; |
04454e1e | 3213 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3214 | pub const RouteProtocolGgp: NL_ROUTE_PROTOCOL = 6i32; |
04454e1e | 3215 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3216 | pub const RouteProtocolHello: NL_ROUTE_PROTOCOL = 7i32; |
04454e1e | 3217 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3218 | pub const RouteProtocolRip: NL_ROUTE_PROTOCOL = 8i32; |
04454e1e | 3219 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3220 | pub const RouteProtocolIsIs: NL_ROUTE_PROTOCOL = 9i32; |
04454e1e | 3221 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3222 | pub const RouteProtocolEsIs: NL_ROUTE_PROTOCOL = 10i32; |
04454e1e | 3223 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3224 | pub const RouteProtocolCisco: NL_ROUTE_PROTOCOL = 11i32; |
04454e1e | 3225 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3226 | pub const RouteProtocolBbn: NL_ROUTE_PROTOCOL = 12i32; |
04454e1e | 3227 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3228 | pub const RouteProtocolOspf: NL_ROUTE_PROTOCOL = 13i32; |
04454e1e | 3229 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3230 | pub const RouteProtocolBgp: NL_ROUTE_PROTOCOL = 14i32; |
04454e1e | 3231 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3232 | pub const RouteProtocolIdpr: NL_ROUTE_PROTOCOL = 15i32; |
04454e1e | 3233 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3234 | pub const RouteProtocolEigrp: NL_ROUTE_PROTOCOL = 16i32; |
04454e1e | 3235 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3236 | pub const RouteProtocolDvmrp: NL_ROUTE_PROTOCOL = 17i32; |
04454e1e | 3237 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3238 | pub const RouteProtocolRpl: NL_ROUTE_PROTOCOL = 18i32; |
04454e1e | 3239 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3240 | pub const RouteProtocolDhcp: NL_ROUTE_PROTOCOL = 19i32; |
04454e1e | 3241 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3242 | pub const MIB_IPPROTO_OTHER: NL_ROUTE_PROTOCOL = 1i32; |
04454e1e | 3243 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3244 | pub const PROTO_IP_OTHER: NL_ROUTE_PROTOCOL = 1i32; |
04454e1e | 3245 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3246 | pub const MIB_IPPROTO_LOCAL: NL_ROUTE_PROTOCOL = 2i32; |
04454e1e | 3247 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3248 | pub const PROTO_IP_LOCAL: NL_ROUTE_PROTOCOL = 2i32; |
04454e1e | 3249 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3250 | pub const MIB_IPPROTO_NETMGMT: NL_ROUTE_PROTOCOL = 3i32; |
04454e1e | 3251 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3252 | pub const PROTO_IP_NETMGMT: NL_ROUTE_PROTOCOL = 3i32; |
04454e1e | 3253 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3254 | pub const MIB_IPPROTO_ICMP: NL_ROUTE_PROTOCOL = 4i32; |
04454e1e | 3255 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3256 | pub const PROTO_IP_ICMP: NL_ROUTE_PROTOCOL = 4i32; |
04454e1e | 3257 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3258 | pub const MIB_IPPROTO_EGP: NL_ROUTE_PROTOCOL = 5i32; |
04454e1e | 3259 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3260 | pub const PROTO_IP_EGP: NL_ROUTE_PROTOCOL = 5i32; |
04454e1e | 3261 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3262 | pub const MIB_IPPROTO_GGP: NL_ROUTE_PROTOCOL = 6i32; |
04454e1e | 3263 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3264 | pub const PROTO_IP_GGP: NL_ROUTE_PROTOCOL = 6i32; |
04454e1e | 3265 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3266 | pub const MIB_IPPROTO_HELLO: NL_ROUTE_PROTOCOL = 7i32; |
04454e1e | 3267 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3268 | pub const PROTO_IP_HELLO: NL_ROUTE_PROTOCOL = 7i32; |
04454e1e | 3269 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3270 | pub const MIB_IPPROTO_RIP: NL_ROUTE_PROTOCOL = 8i32; |
04454e1e | 3271 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3272 | pub const PROTO_IP_RIP: NL_ROUTE_PROTOCOL = 8i32; |
04454e1e | 3273 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3274 | pub const MIB_IPPROTO_IS_IS: NL_ROUTE_PROTOCOL = 9i32; |
04454e1e | 3275 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3276 | pub const PROTO_IP_IS_IS: NL_ROUTE_PROTOCOL = 9i32; |
04454e1e | 3277 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3278 | pub const MIB_IPPROTO_ES_IS: NL_ROUTE_PROTOCOL = 10i32; |
04454e1e | 3279 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3280 | pub const PROTO_IP_ES_IS: NL_ROUTE_PROTOCOL = 10i32; |
04454e1e | 3281 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3282 | pub const MIB_IPPROTO_CISCO: NL_ROUTE_PROTOCOL = 11i32; |
04454e1e | 3283 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3284 | pub const PROTO_IP_CISCO: NL_ROUTE_PROTOCOL = 11i32; |
04454e1e | 3285 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3286 | pub const MIB_IPPROTO_BBN: NL_ROUTE_PROTOCOL = 12i32; |
04454e1e | 3287 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3288 | pub const PROTO_IP_BBN: NL_ROUTE_PROTOCOL = 12i32; |
04454e1e | 3289 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3290 | pub const MIB_IPPROTO_OSPF: NL_ROUTE_PROTOCOL = 13i32; |
04454e1e | 3291 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3292 | pub const PROTO_IP_OSPF: NL_ROUTE_PROTOCOL = 13i32; |
04454e1e | 3293 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3294 | pub const MIB_IPPROTO_BGP: NL_ROUTE_PROTOCOL = 14i32; |
04454e1e | 3295 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3296 | pub const PROTO_IP_BGP: NL_ROUTE_PROTOCOL = 14i32; |
04454e1e | 3297 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3298 | pub const MIB_IPPROTO_IDPR: NL_ROUTE_PROTOCOL = 15i32; |
04454e1e | 3299 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3300 | pub const PROTO_IP_IDPR: NL_ROUTE_PROTOCOL = 15i32; |
04454e1e | 3301 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3302 | pub const MIB_IPPROTO_EIGRP: NL_ROUTE_PROTOCOL = 16i32; |
04454e1e | 3303 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3304 | pub const PROTO_IP_EIGRP: NL_ROUTE_PROTOCOL = 16i32; |
04454e1e | 3305 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3306 | pub const MIB_IPPROTO_DVMRP: NL_ROUTE_PROTOCOL = 17i32; |
04454e1e | 3307 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3308 | pub const PROTO_IP_DVMRP: NL_ROUTE_PROTOCOL = 17i32; |
04454e1e | 3309 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3310 | pub const MIB_IPPROTO_RPL: NL_ROUTE_PROTOCOL = 18i32; |
04454e1e | 3311 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3312 | pub const PROTO_IP_RPL: NL_ROUTE_PROTOCOL = 18i32; |
04454e1e | 3313 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3314 | pub const MIB_IPPROTO_DHCP: NL_ROUTE_PROTOCOL = 19i32; |
04454e1e | 3315 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3316 | pub const PROTO_IP_DHCP: NL_ROUTE_PROTOCOL = 19i32; |
04454e1e | 3317 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3318 | pub const MIB_IPPROTO_NT_AUTOSTATIC: NL_ROUTE_PROTOCOL = 10002i32; |
04454e1e | 3319 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3320 | pub const PROTO_IP_NT_AUTOSTATIC: NL_ROUTE_PROTOCOL = 10002i32; |
04454e1e | 3321 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3322 | pub const MIB_IPPROTO_NT_STATIC: NL_ROUTE_PROTOCOL = 10006i32; |
04454e1e | 3323 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3324 | pub const PROTO_IP_NT_STATIC: NL_ROUTE_PROTOCOL = 10006i32; |
04454e1e | 3325 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3326 | pub const MIB_IPPROTO_NT_STATIC_NON_DOD: NL_ROUTE_PROTOCOL = 10007i32; |
04454e1e | 3327 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3328 | pub const PROTO_IP_NT_STATIC_NON_DOD: NL_ROUTE_PROTOCOL = 10007i32; |
04454e1e | 3329 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3330 | pub type NL_SUFFIX_ORIGIN = i32; |
04454e1e | 3331 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3332 | pub const NlsoOther: NL_SUFFIX_ORIGIN = 0i32; |
04454e1e | 3333 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3334 | pub const NlsoManual: NL_SUFFIX_ORIGIN = 1i32; |
04454e1e | 3335 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3336 | pub const NlsoWellKnown: NL_SUFFIX_ORIGIN = 2i32; |
04454e1e | 3337 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3338 | pub const NlsoDhcp: NL_SUFFIX_ORIGIN = 3i32; |
04454e1e | 3339 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3340 | pub const NlsoLinkLayerAddress: NL_SUFFIX_ORIGIN = 4i32; |
04454e1e | 3341 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3342 | pub const NlsoRandom: NL_SUFFIX_ORIGIN = 5i32; |
04454e1e | 3343 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3344 | pub const IpSuffixOriginOther: NL_SUFFIX_ORIGIN = 0i32; |
04454e1e | 3345 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3346 | pub const IpSuffixOriginManual: NL_SUFFIX_ORIGIN = 1i32; |
04454e1e | 3347 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3348 | pub const IpSuffixOriginWellKnown: NL_SUFFIX_ORIGIN = 2i32; |
04454e1e | 3349 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3350 | pub const IpSuffixOriginDhcp: NL_SUFFIX_ORIGIN = 3i32; |
04454e1e | 3351 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3352 | pub const IpSuffixOriginLinkLayerAddress: NL_SUFFIX_ORIGIN = 4i32; |
04454e1e | 3353 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3354 | pub const IpSuffixOriginRandom: NL_SUFFIX_ORIGIN = 5i32; |
04454e1e | 3355 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3356 | pub const IpSuffixOriginUnchanged: NL_SUFFIX_ORIGIN = 16i32; |
04454e1e | 3357 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3358 | pub const NSPROTO_IPX: u32 = 1000u32; |
04454e1e | 3359 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3360 | pub const NSPROTO_SPX: u32 = 1256u32; |
04454e1e | 3361 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3362 | pub const NSPROTO_SPXII: u32 = 1257u32; |
3363 | #[repr(C)] | |
04454e1e | 3364 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
3365 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
3366 | pub struct NSPV2_ROUTINE { | |
3367 | pub cbSize: u32, | |
3368 | pub dwMajorVersion: u32, | |
3369 | pub dwMinorVersion: u32, | |
3370 | pub NSPv2Startup: LPNSPV2STARTUP, | |
3371 | pub NSPv2Cleanup: LPNSPV2CLEANUP, | |
3372 | pub NSPv2LookupServiceBegin: LPNSPV2LOOKUPSERVICEBEGIN, | |
3373 | pub NSPv2LookupServiceNextEx: LPNSPV2LOOKUPSERVICENEXTEX, | |
3374 | pub NSPv2LookupServiceEnd: LPNSPV2LOOKUPSERVICEEND, | |
3375 | pub NSPv2SetServiceEx: LPNSPV2SETSERVICEEX, | |
3376 | pub NSPv2ClientSessionRundown: LPNSPV2CLIENTSESSIONRUNDOWN, | |
3377 | } | |
3378 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
3379 | impl ::core::marker::Copy for NSPV2_ROUTINE {} | |
3380 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
3381 | impl ::core::clone::Clone for NSPV2_ROUTINE { | |
3382 | fn clone(&self) -> Self { | |
3383 | *self | |
3384 | } | |
3385 | } | |
3386 | #[repr(C)] | |
04454e1e | 3387 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
3388 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] |
3389 | pub struct NSP_ROUTINE { | |
3390 | pub cbSize: u32, | |
3391 | pub dwMajorVersion: u32, | |
3392 | pub dwMinorVersion: u32, | |
3393 | pub NSPCleanup: LPNSPCLEANUP, | |
3394 | pub NSPLookupServiceBegin: LPNSPLOOKUPSERVICEBEGIN, | |
3395 | pub NSPLookupServiceNext: LPNSPLOOKUPSERVICENEXT, | |
3396 | pub NSPLookupServiceEnd: LPNSPLOOKUPSERVICEEND, | |
3397 | pub NSPSetService: LPNSPSETSERVICE, | |
3398 | pub NSPInstallServiceClass: LPNSPINSTALLSERVICECLASS, | |
3399 | pub NSPRemoveServiceClass: LPNSPREMOVESERVICECLASS, | |
3400 | pub NSPGetServiceClassInfo: LPNSPGETSERVICECLASSINFO, | |
3401 | pub NSPIoctl: LPNSPIOCTL, | |
3402 | } | |
3403 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] | |
3404 | impl ::core::marker::Copy for NSP_ROUTINE {} | |
3405 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] | |
3406 | impl ::core::clone::Clone for NSP_ROUTINE { | |
3407 | fn clone(&self) -> Self { | |
3408 | *self | |
3409 | } | |
3410 | } | |
04454e1e | 3411 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3412 | pub const NSTYPE_DYNAMIC: u32 = 2u32; |
04454e1e | 3413 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3414 | pub const NSTYPE_ENUMERABLE: u32 = 4u32; |
04454e1e | 3415 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3416 | pub const NSTYPE_HIERARCHICAL: u32 = 1u32; |
04454e1e | 3417 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3418 | pub const NSTYPE_WORKGROUP: u32 = 8u32; |
04454e1e | 3419 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3420 | pub const NS_ALL: u32 = 0u32; |
04454e1e | 3421 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3422 | pub const NS_DEFAULT: u32 = 0u32; |
04454e1e | 3423 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3424 | pub const NS_DHCP: u32 = 6u32; |
04454e1e | 3425 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3426 | pub const NS_DNS: u32 = 12u32; |
04454e1e | 3427 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3428 | pub const NS_EMAIL: u32 = 37u32; |
3429 | #[repr(C)] | |
04454e1e | 3430 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3431 | pub struct NS_INFOA { |
3432 | pub dwNameSpace: u32, | |
3433 | pub dwNameSpaceFlags: u32, | |
04454e1e | 3434 | pub lpNameSpace: ::windows_sys::core::PSTR, |
5e7ed085 | 3435 | } |
5e7ed085 | 3436 | impl ::core::marker::Copy for NS_INFOA {} |
5e7ed085 FG |
3437 | impl ::core::clone::Clone for NS_INFOA { |
3438 | fn clone(&self) -> Self { | |
3439 | *self | |
3440 | } | |
3441 | } | |
3442 | #[repr(C)] | |
04454e1e | 3443 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3444 | pub struct NS_INFOW { |
3445 | pub dwNameSpace: u32, | |
3446 | pub dwNameSpaceFlags: u32, | |
04454e1e | 3447 | pub lpNameSpace: ::windows_sys::core::PWSTR, |
5e7ed085 | 3448 | } |
5e7ed085 | 3449 | impl ::core::marker::Copy for NS_INFOW {} |
5e7ed085 FG |
3450 | impl ::core::clone::Clone for NS_INFOW { |
3451 | fn clone(&self) -> Self { | |
3452 | *self | |
3453 | } | |
3454 | } | |
04454e1e | 3455 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3456 | pub const NS_LOCALNAME: u32 = 19u32; |
04454e1e | 3457 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3458 | pub const NS_MS: u32 = 30u32; |
04454e1e | 3459 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3460 | pub const NS_NBP: u32 = 20u32; |
04454e1e | 3461 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3462 | pub const NS_NDS: u32 = 2u32; |
04454e1e | 3463 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3464 | pub const NS_NETBT: u32 = 13u32; |
04454e1e | 3465 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3466 | pub const NS_NETDES: u32 = 60u32; |
04454e1e | 3467 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3468 | pub const NS_NIS: u32 = 41u32; |
04454e1e | 3469 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3470 | pub const NS_NISPLUS: u32 = 42u32; |
04454e1e | 3471 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3472 | pub const NS_NLA: u32 = 15u32; |
04454e1e | 3473 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3474 | pub const NS_NTDS: u32 = 32u32; |
04454e1e | 3475 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3476 | pub const NS_PEER_BROWSE: u32 = 3u32; |
04454e1e | 3477 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3478 | pub const NS_SAP: u32 = 1u32; |
3479 | #[repr(C)] | |
04454e1e FG |
3480 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
3481 | #[cfg(feature = "Win32_System_Com")] | |
5e7ed085 FG |
3482 | pub struct NS_SERVICE_INFOA { |
3483 | pub dwNameSpace: u32, | |
3484 | pub ServiceInfo: SERVICE_INFOA, | |
3485 | } | |
04454e1e | 3486 | #[cfg(feature = "Win32_System_Com")] |
5e7ed085 | 3487 | impl ::core::marker::Copy for NS_SERVICE_INFOA {} |
04454e1e | 3488 | #[cfg(feature = "Win32_System_Com")] |
5e7ed085 FG |
3489 | impl ::core::clone::Clone for NS_SERVICE_INFOA { |
3490 | fn clone(&self) -> Self { | |
3491 | *self | |
3492 | } | |
3493 | } | |
3494 | #[repr(C)] | |
04454e1e FG |
3495 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
3496 | #[cfg(feature = "Win32_System_Com")] | |
5e7ed085 FG |
3497 | pub struct NS_SERVICE_INFOW { |
3498 | pub dwNameSpace: u32, | |
3499 | pub ServiceInfo: SERVICE_INFOW, | |
3500 | } | |
04454e1e | 3501 | #[cfg(feature = "Win32_System_Com")] |
5e7ed085 | 3502 | impl ::core::marker::Copy for NS_SERVICE_INFOW {} |
04454e1e | 3503 | #[cfg(feature = "Win32_System_Com")] |
5e7ed085 FG |
3504 | impl ::core::clone::Clone for NS_SERVICE_INFOW { |
3505 | fn clone(&self) -> Self { | |
3506 | *self | |
3507 | } | |
3508 | } | |
04454e1e | 3509 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3510 | pub const NS_SLP: u32 = 5u32; |
04454e1e | 3511 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3512 | pub const NS_STDA: u32 = 31u32; |
04454e1e | 3513 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3514 | pub const NS_TCPIP_HOSTS: u32 = 11u32; |
04454e1e | 3515 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3516 | pub const NS_TCPIP_LOCAL: u32 = 10u32; |
04454e1e | 3517 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3518 | pub const NS_VNS: u32 = 50u32; |
04454e1e | 3519 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3520 | pub const NS_WINS: u32 = 14u32; |
04454e1e | 3521 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3522 | pub const NS_WRQ: u32 = 50u32; |
04454e1e | 3523 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3524 | pub const NS_X500: u32 = 40u32; |
04454e1e | 3525 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3526 | pub const PFL_HIDDEN: u32 = 4u32; |
04454e1e | 3527 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3528 | pub const PFL_MATCHES_PROTOCOL_ZERO: u32 = 8u32; |
04454e1e | 3529 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3530 | pub const PFL_MULTIPLE_PROTO_ENTRIES: u32 = 1u32; |
04454e1e | 3531 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3532 | pub const PFL_NETWORKDIRECT_PROVIDER: u32 = 16u32; |
04454e1e | 3533 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3534 | pub const PFL_RECOMMENDED_PROTO_ENTRY: u32 = 2u32; |
04454e1e | 3535 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3536 | pub const PF_APPLETALK: u16 = 16u16; |
04454e1e | 3537 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3538 | pub const PF_ATM: u16 = 22u16; |
04454e1e | 3539 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3540 | pub const PF_BAN: u16 = 21u16; |
04454e1e | 3541 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3542 | pub const PF_CCITT: u16 = 10u16; |
04454e1e | 3543 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3544 | pub const PF_CHAOS: u16 = 5u16; |
04454e1e | 3545 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3546 | pub const PF_DATAKIT: u16 = 9u16; |
04454e1e | 3547 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3548 | pub const PF_DECnet: u16 = 12u16; |
04454e1e | 3549 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3550 | pub const PF_DLI: u16 = 13u16; |
04454e1e | 3551 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3552 | pub const PF_ECMA: u16 = 8u16; |
04454e1e | 3553 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3554 | pub const PF_FIREFOX: u16 = 19u16; |
04454e1e | 3555 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3556 | pub const PF_HYLINK: u16 = 15u16; |
04454e1e | 3557 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3558 | pub const PF_IMPLINK: u16 = 3u16; |
04454e1e | 3559 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3560 | pub const PF_IPX: u16 = 6u16; |
04454e1e | 3561 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3562 | pub const PF_IRDA: u16 = 26u16; |
04454e1e | 3563 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3564 | pub const PF_ISO: u16 = 7u16; |
04454e1e | 3565 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3566 | pub const PF_LAT: u16 = 14u16; |
04454e1e | 3567 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3568 | pub const PF_MAX: u16 = 29u16; |
04454e1e | 3569 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3570 | pub const PF_NS: u16 = 6u16; |
04454e1e | 3571 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3572 | pub const PF_OSI: u16 = 7u16; |
04454e1e | 3573 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3574 | pub const PF_PUP: u16 = 4u16; |
04454e1e | 3575 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3576 | pub const PF_SNA: u16 = 11u16; |
04454e1e | 3577 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3578 | pub const PF_UNIX: u16 = 1u16; |
04454e1e | 3579 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3580 | pub const PF_UNKNOWN1: u16 = 20u16; |
04454e1e | 3581 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3582 | pub const PF_VOICEVIEW: u16 = 18u16; |
04454e1e | 3583 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3584 | pub const PI_ALLOWED: u32 = 0u32; |
04454e1e | 3585 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3586 | pub const PI_NUMBER_NOT_AVAILABLE: u32 = 128u32; |
04454e1e | 3587 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3588 | pub const PI_RESTRICTED: u32 = 64u32; |
04454e1e | 3589 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3590 | pub type PMTUD_STATE = i32; |
04454e1e | 3591 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3592 | pub const IP_PMTUDISC_NOT_SET: PMTUD_STATE = 0i32; |
04454e1e | 3593 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3594 | pub const IP_PMTUDISC_DO: PMTUD_STATE = 1i32; |
04454e1e | 3595 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3596 | pub const IP_PMTUDISC_DONT: PMTUD_STATE = 2i32; |
04454e1e | 3597 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3598 | pub const IP_PMTUDISC_PROBE: PMTUD_STATE = 3i32; |
04454e1e | 3599 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3600 | pub const IP_PMTUDISC_MAX: PMTUD_STATE = 4i32; |
04454e1e | 3601 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 FG |
3602 | pub const POLLERR: u16 = 1u16; |
3603 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
3604 | pub const POLLHUP: u16 = 2u16; | |
04454e1e | 3605 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 3606 | pub const POLLIN: u16 = 768u16; |
04454e1e | 3607 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 3608 | pub const POLLNVAL: u16 = 4u16; |
04454e1e | 3609 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 3610 | pub const POLLOUT: u16 = 16u16; |
04454e1e | 3611 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 3612 | pub const POLLPRI: u16 = 1024u16; |
04454e1e | 3613 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 3614 | pub const POLLRDBAND: u16 = 512u16; |
04454e1e | 3615 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 3616 | pub const POLLRDNORM: u16 = 256u16; |
04454e1e | 3617 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 3618 | pub const POLLWRBAND: u16 = 32u16; |
04454e1e | 3619 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 3620 | pub const POLLWRNORM: u16 = 16u16; |
5e7ed085 | 3621 | #[repr(C)] |
04454e1e | 3622 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3623 | pub struct PRIORITY_STATUS { |
3624 | pub Sender: SOCKET_PRIORITY_HINT, | |
3625 | pub Receiver: SOCKET_PRIORITY_HINT, | |
3626 | } | |
3627 | impl ::core::marker::Copy for PRIORITY_STATUS {} | |
3628 | impl ::core::clone::Clone for PRIORITY_STATUS { | |
3629 | fn clone(&self) -> Self { | |
3630 | *self | |
3631 | } | |
3632 | } | |
04454e1e | 3633 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3634 | pub const PROP_ADDRESSES: u32 = 256u32; |
04454e1e | 3635 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3636 | pub const PROP_ALL: u32 = 2147483648u32; |
04454e1e | 3637 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3638 | pub const PROP_COMMENT: u32 = 1u32; |
04454e1e | 3639 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3640 | pub const PROP_DISPLAY_HINT: u32 = 4u32; |
04454e1e | 3641 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3642 | pub const PROP_LOCALE: u32 = 2u32; |
04454e1e | 3643 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3644 | pub const PROP_MACHINE: u32 = 32u32; |
04454e1e | 3645 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3646 | pub const PROP_SD: u32 = 512u32; |
04454e1e | 3647 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3648 | pub const PROP_START_TIME: u32 = 16u32; |
04454e1e | 3649 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3650 | pub const PROP_VERSION: u32 = 8u32; |
04454e1e | 3651 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3652 | pub const PROTECTION_LEVEL_DEFAULT: u32 = 20u32; |
04454e1e | 3653 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3654 | pub const PROTECTION_LEVEL_EDGERESTRICTED: u32 = 20u32; |
04454e1e | 3655 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3656 | pub const PROTECTION_LEVEL_RESTRICTED: u32 = 30u32; |
04454e1e | 3657 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3658 | pub const PROTECTION_LEVEL_UNRESTRICTED: u32 = 10u32; |
3659 | #[repr(C)] | |
04454e1e | 3660 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3661 | pub struct PROTOCOL_INFOA { |
3662 | pub dwServiceFlags: u32, | |
3663 | pub iAddressFamily: i32, | |
3664 | pub iMaxSockAddr: i32, | |
3665 | pub iMinSockAddr: i32, | |
3666 | pub iSocketType: i32, | |
3667 | pub iProtocol: i32, | |
3668 | pub dwMessageSize: u32, | |
04454e1e | 3669 | pub lpProtocol: ::windows_sys::core::PSTR, |
5e7ed085 | 3670 | } |
5e7ed085 | 3671 | impl ::core::marker::Copy for PROTOCOL_INFOA {} |
5e7ed085 FG |
3672 | impl ::core::clone::Clone for PROTOCOL_INFOA { |
3673 | fn clone(&self) -> Self { | |
3674 | *self | |
3675 | } | |
3676 | } | |
3677 | #[repr(C)] | |
04454e1e | 3678 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3679 | pub struct PROTOCOL_INFOW { |
3680 | pub dwServiceFlags: u32, | |
3681 | pub iAddressFamily: i32, | |
3682 | pub iMaxSockAddr: i32, | |
3683 | pub iMinSockAddr: i32, | |
3684 | pub iSocketType: i32, | |
3685 | pub iProtocol: i32, | |
3686 | pub dwMessageSize: u32, | |
04454e1e | 3687 | pub lpProtocol: ::windows_sys::core::PWSTR, |
5e7ed085 | 3688 | } |
5e7ed085 | 3689 | impl ::core::marker::Copy for PROTOCOL_INFOW {} |
5e7ed085 FG |
3690 | impl ::core::clone::Clone for PROTOCOL_INFOW { |
3691 | fn clone(&self) -> Self { | |
3692 | *self | |
3693 | } | |
3694 | } | |
04454e1e | 3695 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3696 | pub const PVD_CONFIG: u32 = 12289u32; |
3697 | #[repr(C)] | |
04454e1e | 3698 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3699 | pub struct Q2931_IE { |
3700 | pub IEType: Q2931_IE_TYPE, | |
3701 | pub IELength: u32, | |
3702 | pub IE: [u8; 1], | |
3703 | } | |
3704 | impl ::core::marker::Copy for Q2931_IE {} | |
3705 | impl ::core::clone::Clone for Q2931_IE { | |
3706 | fn clone(&self) -> Self { | |
3707 | *self | |
3708 | } | |
3709 | } | |
04454e1e | 3710 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3711 | pub type Q2931_IE_TYPE = i32; |
04454e1e | 3712 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3713 | pub const IE_AALParameters: Q2931_IE_TYPE = 0i32; |
04454e1e | 3714 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3715 | pub const IE_TrafficDescriptor: Q2931_IE_TYPE = 1i32; |
04454e1e | 3716 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3717 | pub const IE_BroadbandBearerCapability: Q2931_IE_TYPE = 2i32; |
04454e1e | 3718 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3719 | pub const IE_BHLI: Q2931_IE_TYPE = 3i32; |
04454e1e | 3720 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3721 | pub const IE_BLLI: Q2931_IE_TYPE = 4i32; |
04454e1e | 3722 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3723 | pub const IE_CalledPartyNumber: Q2931_IE_TYPE = 5i32; |
04454e1e | 3724 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3725 | pub const IE_CalledPartySubaddress: Q2931_IE_TYPE = 6i32; |
04454e1e | 3726 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3727 | pub const IE_CallingPartyNumber: Q2931_IE_TYPE = 7i32; |
04454e1e | 3728 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3729 | pub const IE_CallingPartySubaddress: Q2931_IE_TYPE = 8i32; |
04454e1e | 3730 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3731 | pub const IE_Cause: Q2931_IE_TYPE = 9i32; |
04454e1e | 3732 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3733 | pub const IE_QOSClass: Q2931_IE_TYPE = 10i32; |
04454e1e | 3734 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3735 | pub const IE_TransitNetworkSelection: Q2931_IE_TYPE = 11i32; |
04454e1e | 3736 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3737 | pub const QOS_CLASS0: u32 = 0u32; |
04454e1e | 3738 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3739 | pub const QOS_CLASS1: u32 = 1u32; |
04454e1e | 3740 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3741 | pub const QOS_CLASS2: u32 = 2u32; |
04454e1e | 3742 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3743 | pub const QOS_CLASS3: u32 = 3u32; |
04454e1e | 3744 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3745 | pub const QOS_CLASS4: u32 = 4u32; |
3746 | #[repr(C)] | |
04454e1e | 3747 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3748 | pub struct RCVALL_IF { |
3749 | pub Mode: RCVALL_VALUE, | |
3750 | pub Interface: u32, | |
3751 | } | |
3752 | impl ::core::marker::Copy for RCVALL_IF {} | |
3753 | impl ::core::clone::Clone for RCVALL_IF { | |
3754 | fn clone(&self) -> Self { | |
3755 | *self | |
3756 | } | |
3757 | } | |
04454e1e | 3758 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3759 | pub type RCVALL_VALUE = i32; |
04454e1e | 3760 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3761 | pub const RCVALL_OFF: RCVALL_VALUE = 0i32; |
04454e1e | 3762 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3763 | pub const RCVALL_ON: RCVALL_VALUE = 1i32; |
04454e1e | 3764 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3765 | pub const RCVALL_SOCKETLEVELONLY: RCVALL_VALUE = 2i32; |
04454e1e | 3766 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3767 | pub const RCVALL_IPLEVEL: RCVALL_VALUE = 3i32; |
3768 | pub const REAL_TIME_NOTIFICATION_CAPABILITY: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1801027994, data2: 23726, data3: 18733, data4: [169, 1, 42, 60, 44, 80, 22, 79] }; | |
3769 | pub const REAL_TIME_NOTIFICATION_CAPABILITY_EX: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1749277187, data2: 5450, data3: 17942, data4: [165, 8, 68, 55, 18, 149, 249, 107] }; | |
3770 | #[repr(C)] | |
04454e1e | 3771 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3772 | pub struct REAL_TIME_NOTIFICATION_SETTING_INPUT { |
3773 | pub TransportSettingId: TRANSPORT_SETTING_ID, | |
3774 | pub BrokerEventGuid: ::windows_sys::core::GUID, | |
3775 | } | |
3776 | impl ::core::marker::Copy for REAL_TIME_NOTIFICATION_SETTING_INPUT {} | |
3777 | impl ::core::clone::Clone for REAL_TIME_NOTIFICATION_SETTING_INPUT { | |
3778 | fn clone(&self) -> Self { | |
3779 | *self | |
3780 | } | |
3781 | } | |
3782 | #[repr(C)] | |
04454e1e | 3783 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3784 | #[cfg(feature = "Win32_Foundation")] |
3785 | pub struct REAL_TIME_NOTIFICATION_SETTING_INPUT_EX { | |
3786 | pub TransportSettingId: TRANSPORT_SETTING_ID, | |
3787 | pub BrokerEventGuid: ::windows_sys::core::GUID, | |
3788 | pub Unmark: super::super::Foundation::BOOLEAN, | |
3789 | } | |
3790 | #[cfg(feature = "Win32_Foundation")] | |
3791 | impl ::core::marker::Copy for REAL_TIME_NOTIFICATION_SETTING_INPUT_EX {} | |
3792 | #[cfg(feature = "Win32_Foundation")] | |
3793 | impl ::core::clone::Clone for REAL_TIME_NOTIFICATION_SETTING_INPUT_EX { | |
3794 | fn clone(&self) -> Self { | |
3795 | *self | |
3796 | } | |
3797 | } | |
3798 | #[repr(C)] | |
04454e1e | 3799 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3800 | pub struct REAL_TIME_NOTIFICATION_SETTING_OUTPUT { |
3801 | pub ChannelStatus: CONTROL_CHANNEL_TRIGGER_STATUS, | |
3802 | } | |
3803 | impl ::core::marker::Copy for REAL_TIME_NOTIFICATION_SETTING_OUTPUT {} | |
3804 | impl ::core::clone::Clone for REAL_TIME_NOTIFICATION_SETTING_OUTPUT { | |
3805 | fn clone(&self) -> Self { | |
3806 | *self | |
3807 | } | |
3808 | } | |
04454e1e | 3809 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3810 | pub type RESOURCE_DISPLAY_TYPE = u32; |
04454e1e | 3811 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3812 | pub const RESOURCEDISPLAYTYPE_DOMAIN: RESOURCE_DISPLAY_TYPE = 1u32; |
04454e1e | 3813 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3814 | pub const RESOURCEDISPLAYTYPE_FILE: RESOURCE_DISPLAY_TYPE = 4u32; |
04454e1e | 3815 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3816 | pub const RESOURCEDISPLAYTYPE_GENERIC: RESOURCE_DISPLAY_TYPE = 0u32; |
04454e1e | 3817 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3818 | pub const RESOURCEDISPLAYTYPE_GROUP: RESOURCE_DISPLAY_TYPE = 5u32; |
04454e1e | 3819 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3820 | pub const RESOURCEDISPLAYTYPE_SERVER: RESOURCE_DISPLAY_TYPE = 2u32; |
04454e1e | 3821 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3822 | pub const RESOURCEDISPLAYTYPE_SHARE: RESOURCE_DISPLAY_TYPE = 3u32; |
04454e1e | 3823 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3824 | pub const RESOURCEDISPLAYTYPE_TREE: RESOURCE_DISPLAY_TYPE = 10u32; |
04454e1e | 3825 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3826 | pub const RESULT_IS_ADDED: u32 = 16u32; |
04454e1e | 3827 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3828 | pub const RESULT_IS_ALIAS: u32 = 1u32; |
04454e1e | 3829 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3830 | pub const RESULT_IS_CHANGED: u32 = 32u32; |
04454e1e | 3831 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3832 | pub const RESULT_IS_DELETED: u32 = 64u32; |
04454e1e | 3833 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3834 | pub const RES_FIND_MULTIPLE: u32 = 2u32; |
04454e1e | 3835 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3836 | pub const RES_FLUSH_CACHE: u32 = 2u32; |
04454e1e | 3837 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3838 | pub const RES_SERVICE: u32 = 4u32; |
04454e1e | 3839 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3840 | pub const RES_SOFT_SEARCH: u32 = 1u32; |
04454e1e | 3841 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3842 | pub const RES_UNUSED_1: u32 = 1u32; |
3843 | #[repr(C)] | |
04454e1e | 3844 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3845 | pub struct RIORESULT { |
3846 | pub Status: i32, | |
3847 | pub BytesTransferred: u32, | |
3848 | pub SocketContext: u64, | |
3849 | pub RequestContext: u64, | |
3850 | } | |
3851 | impl ::core::marker::Copy for RIORESULT {} | |
3852 | impl ::core::clone::Clone for RIORESULT { | |
3853 | fn clone(&self) -> Self { | |
3854 | *self | |
3855 | } | |
3856 | } | |
3857 | #[repr(C)] | |
04454e1e | 3858 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3859 | pub struct RIO_BUF { |
3860 | pub BufferId: *mut RIO_BUFFERID_t, | |
3861 | pub Offset: u32, | |
3862 | pub Length: u32, | |
3863 | } | |
3864 | impl ::core::marker::Copy for RIO_BUF {} | |
3865 | impl ::core::clone::Clone for RIO_BUF { | |
3866 | fn clone(&self) -> Self { | |
3867 | *self | |
3868 | } | |
3869 | } | |
3870 | #[repr(C)] | |
3871 | pub struct RIO_BUFFERID_t(pub u8); | |
3872 | #[repr(C)] | |
04454e1e | 3873 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3874 | pub struct RIO_CMSG_BUFFER { |
3875 | pub TotalLength: u32, | |
3876 | } | |
3877 | impl ::core::marker::Copy for RIO_CMSG_BUFFER {} | |
3878 | impl ::core::clone::Clone for RIO_CMSG_BUFFER { | |
3879 | fn clone(&self) -> Self { | |
3880 | *self | |
3881 | } | |
3882 | } | |
04454e1e | 3883 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3884 | pub const RIO_CORRUPT_CQ: u32 = 4294967295u32; |
3885 | #[repr(C)] | |
3886 | pub struct RIO_CQ_t(pub u8); | |
3887 | #[repr(C)] | |
04454e1e | 3888 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3889 | #[cfg(feature = "Win32_Foundation")] |
3890 | pub struct RIO_EXTENSION_FUNCTION_TABLE { | |
3891 | pub cbSize: u32, | |
3892 | pub RIOReceive: LPFN_RIORECEIVE, | |
3893 | pub RIOReceiveEx: LPFN_RIORECEIVEEX, | |
3894 | pub RIOSend: LPFN_RIOSEND, | |
3895 | pub RIOSendEx: LPFN_RIOSENDEX, | |
3896 | pub RIOCloseCompletionQueue: LPFN_RIOCLOSECOMPLETIONQUEUE, | |
3897 | pub RIOCreateCompletionQueue: LPFN_RIOCREATECOMPLETIONQUEUE, | |
3898 | pub RIOCreateRequestQueue: LPFN_RIOCREATEREQUESTQUEUE, | |
3899 | pub RIODequeueCompletion: LPFN_RIODEQUEUECOMPLETION, | |
3900 | pub RIODeregisterBuffer: LPFN_RIODEREGISTERBUFFER, | |
3901 | pub RIONotify: LPFN_RIONOTIFY, | |
3902 | pub RIORegisterBuffer: LPFN_RIOREGISTERBUFFER, | |
3903 | pub RIOResizeCompletionQueue: LPFN_RIORESIZECOMPLETIONQUEUE, | |
3904 | pub RIOResizeRequestQueue: LPFN_RIORESIZEREQUESTQUEUE, | |
3905 | } | |
3906 | #[cfg(feature = "Win32_Foundation")] | |
3907 | impl ::core::marker::Copy for RIO_EXTENSION_FUNCTION_TABLE {} | |
3908 | #[cfg(feature = "Win32_Foundation")] | |
3909 | impl ::core::clone::Clone for RIO_EXTENSION_FUNCTION_TABLE { | |
3910 | fn clone(&self) -> Self { | |
3911 | *self | |
3912 | } | |
3913 | } | |
04454e1e | 3914 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3915 | pub const RIO_MAX_CQ_SIZE: u32 = 134217728u32; |
04454e1e | 3916 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3917 | pub const RIO_MSG_COMMIT_ONLY: u32 = 8u32; |
04454e1e | 3918 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3919 | pub const RIO_MSG_DEFER: u32 = 2u32; |
04454e1e | 3920 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3921 | pub const RIO_MSG_DONT_NOTIFY: u32 = 1u32; |
04454e1e | 3922 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3923 | pub const RIO_MSG_WAITALL: u32 = 4u32; |
3924 | #[repr(C)] | |
04454e1e | 3925 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3926 | #[cfg(feature = "Win32_Foundation")] |
3927 | pub struct RIO_NOTIFICATION_COMPLETION { | |
3928 | pub Type: RIO_NOTIFICATION_COMPLETION_TYPE, | |
3929 | pub Anonymous: RIO_NOTIFICATION_COMPLETION_0, | |
3930 | } | |
3931 | #[cfg(feature = "Win32_Foundation")] | |
3932 | impl ::core::marker::Copy for RIO_NOTIFICATION_COMPLETION {} | |
3933 | #[cfg(feature = "Win32_Foundation")] | |
3934 | impl ::core::clone::Clone for RIO_NOTIFICATION_COMPLETION { | |
3935 | fn clone(&self) -> Self { | |
3936 | *self | |
3937 | } | |
3938 | } | |
3939 | #[repr(C)] | |
04454e1e | 3940 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3941 | #[cfg(feature = "Win32_Foundation")] |
3942 | pub union RIO_NOTIFICATION_COMPLETION_0 { | |
3943 | pub Event: RIO_NOTIFICATION_COMPLETION_0_0, | |
3944 | pub Iocp: RIO_NOTIFICATION_COMPLETION_0_1, | |
3945 | } | |
3946 | #[cfg(feature = "Win32_Foundation")] | |
3947 | impl ::core::marker::Copy for RIO_NOTIFICATION_COMPLETION_0 {} | |
3948 | #[cfg(feature = "Win32_Foundation")] | |
3949 | impl ::core::clone::Clone for RIO_NOTIFICATION_COMPLETION_0 { | |
3950 | fn clone(&self) -> Self { | |
3951 | *self | |
3952 | } | |
3953 | } | |
3954 | #[repr(C)] | |
04454e1e | 3955 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3956 | #[cfg(feature = "Win32_Foundation")] |
3957 | pub struct RIO_NOTIFICATION_COMPLETION_0_0 { | |
3958 | pub EventHandle: super::super::Foundation::HANDLE, | |
3959 | pub NotifyReset: super::super::Foundation::BOOL, | |
3960 | } | |
3961 | #[cfg(feature = "Win32_Foundation")] | |
3962 | impl ::core::marker::Copy for RIO_NOTIFICATION_COMPLETION_0_0 {} | |
3963 | #[cfg(feature = "Win32_Foundation")] | |
3964 | impl ::core::clone::Clone for RIO_NOTIFICATION_COMPLETION_0_0 { | |
3965 | fn clone(&self) -> Self { | |
3966 | *self | |
3967 | } | |
3968 | } | |
3969 | #[repr(C)] | |
04454e1e | 3970 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3971 | #[cfg(feature = "Win32_Foundation")] |
3972 | pub struct RIO_NOTIFICATION_COMPLETION_0_1 { | |
3973 | pub IocpHandle: super::super::Foundation::HANDLE, | |
3974 | pub CompletionKey: *mut ::core::ffi::c_void, | |
3975 | pub Overlapped: *mut ::core::ffi::c_void, | |
3976 | } | |
3977 | #[cfg(feature = "Win32_Foundation")] | |
3978 | impl ::core::marker::Copy for RIO_NOTIFICATION_COMPLETION_0_1 {} | |
3979 | #[cfg(feature = "Win32_Foundation")] | |
3980 | impl ::core::clone::Clone for RIO_NOTIFICATION_COMPLETION_0_1 { | |
3981 | fn clone(&self) -> Self { | |
3982 | *self | |
3983 | } | |
3984 | } | |
04454e1e | 3985 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3986 | pub type RIO_NOTIFICATION_COMPLETION_TYPE = i32; |
04454e1e | 3987 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3988 | pub const RIO_EVENT_COMPLETION: RIO_NOTIFICATION_COMPLETION_TYPE = 1i32; |
04454e1e | 3989 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3990 | pub const RIO_IOCP_COMPLETION: RIO_NOTIFICATION_COMPLETION_TYPE = 2i32; |
3991 | #[repr(C)] | |
3992 | pub struct RIO_RQ_t(pub u8); | |
04454e1e | 3993 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 3994 | pub const RM_ADD_RECEIVE_IF: u32 = 1008u32; |
04454e1e | 3995 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
3996 | pub const RM_DEL_RECEIVE_IF: u32 = 1009u32; |
3997 | #[repr(C)] | |
04454e1e | 3998 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3999 | #[cfg(feature = "Win32_Foundation")] |
4000 | pub struct RM_FEC_INFO { | |
4001 | pub FECBlockSize: u16, | |
4002 | pub FECProActivePackets: u16, | |
4003 | pub FECGroupSize: u8, | |
4004 | pub fFECOnDemandParityEnabled: super::super::Foundation::BOOLEAN, | |
4005 | } | |
4006 | #[cfg(feature = "Win32_Foundation")] | |
4007 | impl ::core::marker::Copy for RM_FEC_INFO {} | |
4008 | #[cfg(feature = "Win32_Foundation")] | |
4009 | impl ::core::clone::Clone for RM_FEC_INFO { | |
4010 | fn clone(&self) -> Self { | |
4011 | *self | |
4012 | } | |
4013 | } | |
04454e1e | 4014 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4015 | pub const RM_FLUSHCACHE: u32 = 1003u32; |
04454e1e | 4016 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4017 | pub const RM_HIGH_SPEED_INTRANET_OPT: u32 = 1014u32; |
04454e1e | 4018 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4019 | pub const RM_LATEJOIN: u32 = 1006u32; |
04454e1e | 4020 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4021 | pub const RM_OPTIONSBASE: u32 = 1000u32; |
04454e1e | 4022 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4023 | pub const RM_RATE_WINDOW_SIZE: u32 = 1001u32; |
04454e1e | 4024 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4025 | pub const RM_RECEIVER_STATISTICS: u32 = 1013u32; |
4026 | #[repr(C)] | |
04454e1e | 4027 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4028 | pub struct RM_RECEIVER_STATS { |
4029 | pub NumODataPacketsReceived: u64, | |
4030 | pub NumRDataPacketsReceived: u64, | |
4031 | pub NumDuplicateDataPackets: u64, | |
4032 | pub DataBytesReceived: u64, | |
4033 | pub TotalBytesReceived: u64, | |
4034 | pub RateKBitsPerSecOverall: u64, | |
4035 | pub RateKBitsPerSecLast: u64, | |
4036 | pub TrailingEdgeSeqId: u64, | |
4037 | pub LeadingEdgeSeqId: u64, | |
4038 | pub AverageSequencesInWindow: u64, | |
4039 | pub MinSequencesInWindow: u64, | |
4040 | pub MaxSequencesInWindow: u64, | |
4041 | pub FirstNakSequenceNumber: u64, | |
4042 | pub NumPendingNaks: u64, | |
4043 | pub NumOutstandingNaks: u64, | |
4044 | pub NumDataPacketsBuffered: u64, | |
4045 | pub TotalSelectiveNaksSent: u64, | |
4046 | pub TotalParityNaksSent: u64, | |
4047 | } | |
4048 | impl ::core::marker::Copy for RM_RECEIVER_STATS {} | |
4049 | impl ::core::clone::Clone for RM_RECEIVER_STATS { | |
4050 | fn clone(&self) -> Self { | |
4051 | *self | |
4052 | } | |
4053 | } | |
04454e1e | 4054 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4055 | pub const RM_SENDER_STATISTICS: u32 = 1005u32; |
4056 | #[repr(C)] | |
04454e1e | 4057 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4058 | pub struct RM_SENDER_STATS { |
4059 | pub DataBytesSent: u64, | |
4060 | pub TotalBytesSent: u64, | |
4061 | pub NaksReceived: u64, | |
4062 | pub NaksReceivedTooLate: u64, | |
4063 | pub NumOutstandingNaks: u64, | |
4064 | pub NumNaksAfterRData: u64, | |
4065 | pub RepairPacketsSent: u64, | |
4066 | pub BufferSpaceAvailable: u64, | |
4067 | pub TrailingEdgeSeqId: u64, | |
4068 | pub LeadingEdgeSeqId: u64, | |
4069 | pub RateKBitsPerSecOverall: u64, | |
4070 | pub RateKBitsPerSecLast: u64, | |
4071 | pub TotalODataPacketsSent: u64, | |
4072 | } | |
4073 | impl ::core::marker::Copy for RM_SENDER_STATS {} | |
4074 | impl ::core::clone::Clone for RM_SENDER_STATS { | |
4075 | fn clone(&self) -> Self { | |
4076 | *self | |
4077 | } | |
4078 | } | |
04454e1e | 4079 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4080 | pub const RM_SENDER_WINDOW_ADVANCE_METHOD: u32 = 1004u32; |
4081 | #[repr(C)] | |
04454e1e | 4082 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4083 | pub struct RM_SEND_WINDOW { |
4084 | pub RateKbitsPerSec: u32, | |
4085 | pub WindowSizeInMSecs: u32, | |
4086 | pub WindowSizeInBytes: u32, | |
4087 | } | |
4088 | impl ::core::marker::Copy for RM_SEND_WINDOW {} | |
4089 | impl ::core::clone::Clone for RM_SEND_WINDOW { | |
4090 | fn clone(&self) -> Self { | |
4091 | *self | |
4092 | } | |
4093 | } | |
04454e1e | 4094 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4095 | pub const RM_SEND_WINDOW_ADV_RATE: u32 = 1010u32; |
04454e1e | 4096 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4097 | pub const RM_SET_MCAST_TTL: u32 = 1012u32; |
04454e1e | 4098 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4099 | pub const RM_SET_MESSAGE_BOUNDARY: u32 = 1002u32; |
04454e1e | 4100 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4101 | pub const RM_SET_SEND_IF: u32 = 1007u32; |
04454e1e | 4102 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4103 | pub const RM_USE_FEC: u32 = 1011u32; |
4104 | #[repr(C)] | |
04454e1e | 4105 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4106 | #[cfg(feature = "Win32_Foundation")] |
4107 | pub struct RSS_SCALABILITY_INFO { | |
4108 | pub RssEnabled: super::super::Foundation::BOOLEAN, | |
4109 | } | |
4110 | #[cfg(feature = "Win32_Foundation")] | |
4111 | impl ::core::marker::Copy for RSS_SCALABILITY_INFO {} | |
4112 | #[cfg(feature = "Win32_Foundation")] | |
4113 | impl ::core::clone::Clone for RSS_SCALABILITY_INFO { | |
4114 | fn clone(&self) -> Self { | |
4115 | *self | |
4116 | } | |
4117 | } | |
04454e1e | 4118 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4119 | pub const SAP_FIELD_ABSENT: u32 = 4294967294u32; |
04454e1e | 4120 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4121 | pub const SAP_FIELD_ANY: u32 = 4294967295u32; |
04454e1e | 4122 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4123 | pub const SAP_FIELD_ANY_AESA_REST: u32 = 4294967291u32; |
04454e1e | 4124 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4125 | pub const SAP_FIELD_ANY_AESA_SEL: u32 = 4294967290u32; |
4126 | #[repr(C)] | |
04454e1e | 4127 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4128 | pub struct SCOPE_ID { |
4129 | pub Anonymous: SCOPE_ID_0, | |
4130 | } | |
4131 | impl ::core::marker::Copy for SCOPE_ID {} | |
4132 | impl ::core::clone::Clone for SCOPE_ID { | |
4133 | fn clone(&self) -> Self { | |
4134 | *self | |
4135 | } | |
4136 | } | |
4137 | #[repr(C)] | |
04454e1e | 4138 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4139 | pub union SCOPE_ID_0 { |
4140 | pub Anonymous: SCOPE_ID_0_0, | |
4141 | pub Value: u32, | |
4142 | } | |
4143 | impl ::core::marker::Copy for SCOPE_ID_0 {} | |
4144 | impl ::core::clone::Clone for SCOPE_ID_0 { | |
4145 | fn clone(&self) -> Self { | |
4146 | *self | |
4147 | } | |
4148 | } | |
4149 | #[repr(C)] | |
04454e1e | 4150 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4151 | pub struct SCOPE_ID_0_0 { |
4152 | pub _bitfield: u32, | |
4153 | } | |
4154 | impl ::core::marker::Copy for SCOPE_ID_0_0 {} | |
4155 | impl ::core::clone::Clone for SCOPE_ID_0_0 { | |
4156 | fn clone(&self) -> Self { | |
4157 | *self | |
4158 | } | |
4159 | } | |
04454e1e | 4160 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4161 | pub type SCOPE_LEVEL = i32; |
04454e1e | 4162 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4163 | pub const ScopeLevelInterface: SCOPE_LEVEL = 1i32; |
04454e1e | 4164 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4165 | pub const ScopeLevelLink: SCOPE_LEVEL = 2i32; |
04454e1e | 4166 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4167 | pub const ScopeLevelSubnet: SCOPE_LEVEL = 3i32; |
04454e1e | 4168 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4169 | pub const ScopeLevelAdmin: SCOPE_LEVEL = 4i32; |
04454e1e | 4170 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4171 | pub const ScopeLevelSite: SCOPE_LEVEL = 5i32; |
04454e1e | 4172 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4173 | pub const ScopeLevelOrganization: SCOPE_LEVEL = 8i32; |
04454e1e | 4174 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4175 | pub const ScopeLevelGlobal: SCOPE_LEVEL = 14i32; |
04454e1e | 4176 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4177 | pub const ScopeLevelCount: SCOPE_LEVEL = 16i32; |
04454e1e | 4178 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4179 | pub const SD_BOTH: u32 = 2u32; |
04454e1e | 4180 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4181 | pub const SD_RECEIVE: u32 = 0u32; |
04454e1e | 4182 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4183 | pub const SD_SEND: u32 = 1u32; |
04454e1e | 4184 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4185 | pub const SECURITY_PROTOCOL_NONE: u32 = 0u32; |
04454e1e | 4186 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4187 | pub const SENDER_DEFAULT_LATE_JOINER_PERCENTAGE: u32 = 0u32; |
04454e1e | 4188 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4189 | pub const SENDER_DEFAULT_RATE_KBITS_PER_SEC: u32 = 56u32; |
04454e1e | 4190 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4191 | pub const SENDER_DEFAULT_WINDOW_ADV_PERCENTAGE: u32 = 15u32; |
04454e1e | 4192 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4193 | pub const SENDER_MAX_LATE_JOINER_PERCENTAGE: u32 = 75u32; |
04454e1e | 4194 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 FG |
4195 | pub type SEND_RECV_FLAGS = i32; |
4196 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4197 | pub const MSG_OOB: SEND_RECV_FLAGS = 1i32; | |
4198 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4199 | pub const MSG_PEEK: SEND_RECV_FLAGS = 2i32; | |
4200 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4201 | pub const MSG_DONTROUTE: SEND_RECV_FLAGS = 4i32; | |
04454e1e | 4202 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4203 | pub const MSG_WAITALL: SEND_RECV_FLAGS = 8i32; |
04454e1e | 4204 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4205 | pub const MSG_PUSH_IMMEDIATE: SEND_RECV_FLAGS = 32i32; |
5e7ed085 | 4206 | #[repr(C)] |
04454e1e | 4207 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4208 | pub struct SERVICE_ADDRESS { |
4209 | pub dwAddressType: u32, | |
4210 | pub dwAddressFlags: u32, | |
4211 | pub dwAddressLength: u32, | |
4212 | pub dwPrincipalLength: u32, | |
4213 | pub lpAddress: *mut u8, | |
4214 | pub lpPrincipal: *mut u8, | |
4215 | } | |
4216 | impl ::core::marker::Copy for SERVICE_ADDRESS {} | |
4217 | impl ::core::clone::Clone for SERVICE_ADDRESS { | |
4218 | fn clone(&self) -> Self { | |
4219 | *self | |
4220 | } | |
4221 | } | |
4222 | #[repr(C)] | |
04454e1e | 4223 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4224 | pub struct SERVICE_ADDRESSES { |
4225 | pub dwAddressCount: u32, | |
4226 | pub Addresses: [SERVICE_ADDRESS; 1], | |
4227 | } | |
4228 | impl ::core::marker::Copy for SERVICE_ADDRESSES {} | |
4229 | impl ::core::clone::Clone for SERVICE_ADDRESSES { | |
4230 | fn clone(&self) -> Self { | |
4231 | *self | |
4232 | } | |
4233 | } | |
04454e1e | 4234 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4235 | pub const SERVICE_ADDRESS_FLAG_RPC_CN: u32 = 1u32; |
04454e1e | 4236 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4237 | pub const SERVICE_ADDRESS_FLAG_RPC_DG: u32 = 2u32; |
04454e1e | 4238 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4239 | pub const SERVICE_ADDRESS_FLAG_RPC_NB: u32 = 4u32; |
4240 | #[repr(C)] | |
04454e1e | 4241 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4242 | #[cfg(feature = "Win32_Foundation")] |
4243 | pub struct SERVICE_ASYNC_INFO { | |
4244 | pub lpServiceCallbackProc: LPSERVICE_CALLBACK_PROC, | |
4245 | pub lParam: super::super::Foundation::LPARAM, | |
4246 | pub hAsyncTaskHandle: super::super::Foundation::HANDLE, | |
4247 | } | |
4248 | #[cfg(feature = "Win32_Foundation")] | |
4249 | impl ::core::marker::Copy for SERVICE_ASYNC_INFO {} | |
4250 | #[cfg(feature = "Win32_Foundation")] | |
4251 | impl ::core::clone::Clone for SERVICE_ASYNC_INFO { | |
4252 | fn clone(&self) -> Self { | |
4253 | *self | |
4254 | } | |
4255 | } | |
04454e1e | 4256 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4257 | pub const SERVICE_FLAG_DEFER: u32 = 1u32; |
04454e1e | 4258 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4259 | pub const SERVICE_FLAG_HARD: u32 = 2u32; |
4260 | #[repr(C)] | |
04454e1e FG |
4261 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
4262 | #[cfg(feature = "Win32_System_Com")] | |
5e7ed085 FG |
4263 | pub struct SERVICE_INFOA { |
4264 | pub lpServiceType: *mut ::windows_sys::core::GUID, | |
04454e1e FG |
4265 | pub lpServiceName: ::windows_sys::core::PSTR, |
4266 | pub lpComment: ::windows_sys::core::PSTR, | |
4267 | pub lpLocale: ::windows_sys::core::PSTR, | |
5e7ed085 FG |
4268 | pub dwDisplayHint: RESOURCE_DISPLAY_TYPE, |
4269 | pub dwVersion: u32, | |
4270 | pub dwTime: u32, | |
04454e1e | 4271 | pub lpMachineName: ::windows_sys::core::PSTR, |
5e7ed085 FG |
4272 | pub lpServiceAddress: *mut SERVICE_ADDRESSES, |
4273 | pub ServiceSpecificInfo: super::super::System::Com::BLOB, | |
4274 | } | |
04454e1e | 4275 | #[cfg(feature = "Win32_System_Com")] |
5e7ed085 | 4276 | impl ::core::marker::Copy for SERVICE_INFOA {} |
04454e1e | 4277 | #[cfg(feature = "Win32_System_Com")] |
5e7ed085 FG |
4278 | impl ::core::clone::Clone for SERVICE_INFOA { |
4279 | fn clone(&self) -> Self { | |
4280 | *self | |
4281 | } | |
4282 | } | |
4283 | #[repr(C)] | |
04454e1e FG |
4284 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
4285 | #[cfg(feature = "Win32_System_Com")] | |
5e7ed085 FG |
4286 | pub struct SERVICE_INFOW { |
4287 | pub lpServiceType: *mut ::windows_sys::core::GUID, | |
04454e1e FG |
4288 | pub lpServiceName: ::windows_sys::core::PWSTR, |
4289 | pub lpComment: ::windows_sys::core::PWSTR, | |
4290 | pub lpLocale: ::windows_sys::core::PWSTR, | |
5e7ed085 FG |
4291 | pub dwDisplayHint: RESOURCE_DISPLAY_TYPE, |
4292 | pub dwVersion: u32, | |
4293 | pub dwTime: u32, | |
04454e1e | 4294 | pub lpMachineName: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
4295 | pub lpServiceAddress: *mut SERVICE_ADDRESSES, |
4296 | pub ServiceSpecificInfo: super::super::System::Com::BLOB, | |
4297 | } | |
04454e1e | 4298 | #[cfg(feature = "Win32_System_Com")] |
5e7ed085 | 4299 | impl ::core::marker::Copy for SERVICE_INFOW {} |
04454e1e | 4300 | #[cfg(feature = "Win32_System_Com")] |
5e7ed085 FG |
4301 | impl ::core::clone::Clone for SERVICE_INFOW { |
4302 | fn clone(&self) -> Self { | |
4303 | *self | |
4304 | } | |
4305 | } | |
04454e1e | 4306 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4307 | pub const SERVICE_LOCAL: u32 = 4u32; |
04454e1e | 4308 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4309 | pub const SERVICE_MULTIPLE: u32 = 1u32; |
04454e1e | 4310 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4311 | pub const SERVICE_RESOURCE: u32 = 1u32; |
04454e1e | 4312 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4313 | pub const SERVICE_SERVICE: u32 = 2u32; |
4314 | #[repr(C)] | |
04454e1e | 4315 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4316 | pub struct SERVICE_TYPE_INFO { |
4317 | pub dwTypeNameOffset: u32, | |
4318 | pub dwValueCount: u32, | |
4319 | pub Values: [SERVICE_TYPE_VALUE; 1], | |
4320 | } | |
4321 | impl ::core::marker::Copy for SERVICE_TYPE_INFO {} | |
4322 | impl ::core::clone::Clone for SERVICE_TYPE_INFO { | |
4323 | fn clone(&self) -> Self { | |
4324 | *self | |
4325 | } | |
4326 | } | |
4327 | #[repr(C)] | |
04454e1e | 4328 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4329 | pub struct SERVICE_TYPE_INFO_ABSA { |
04454e1e | 4330 | pub lpTypeName: ::windows_sys::core::PSTR, |
5e7ed085 FG |
4331 | pub dwValueCount: u32, |
4332 | pub Values: [SERVICE_TYPE_VALUE_ABSA; 1], | |
4333 | } | |
5e7ed085 | 4334 | impl ::core::marker::Copy for SERVICE_TYPE_INFO_ABSA {} |
5e7ed085 FG |
4335 | impl ::core::clone::Clone for SERVICE_TYPE_INFO_ABSA { |
4336 | fn clone(&self) -> Self { | |
4337 | *self | |
4338 | } | |
4339 | } | |
4340 | #[repr(C)] | |
04454e1e | 4341 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4342 | pub struct SERVICE_TYPE_INFO_ABSW { |
04454e1e | 4343 | pub lpTypeName: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
4344 | pub dwValueCount: u32, |
4345 | pub Values: [SERVICE_TYPE_VALUE_ABSW; 1], | |
4346 | } | |
5e7ed085 | 4347 | impl ::core::marker::Copy for SERVICE_TYPE_INFO_ABSW {} |
5e7ed085 FG |
4348 | impl ::core::clone::Clone for SERVICE_TYPE_INFO_ABSW { |
4349 | fn clone(&self) -> Self { | |
4350 | *self | |
4351 | } | |
4352 | } | |
4353 | #[repr(C)] | |
04454e1e | 4354 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4355 | pub struct SERVICE_TYPE_VALUE { |
4356 | pub dwNameSpace: u32, | |
4357 | pub dwValueType: u32, | |
4358 | pub dwValueSize: u32, | |
4359 | pub dwValueNameOffset: u32, | |
4360 | pub dwValueOffset: u32, | |
4361 | } | |
4362 | impl ::core::marker::Copy for SERVICE_TYPE_VALUE {} | |
4363 | impl ::core::clone::Clone for SERVICE_TYPE_VALUE { | |
4364 | fn clone(&self) -> Self { | |
4365 | *self | |
4366 | } | |
4367 | } | |
4368 | #[repr(C)] | |
04454e1e | 4369 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4370 | pub struct SERVICE_TYPE_VALUE_ABSA { |
4371 | pub dwNameSpace: u32, | |
4372 | pub dwValueType: u32, | |
4373 | pub dwValueSize: u32, | |
04454e1e | 4374 | pub lpValueName: ::windows_sys::core::PSTR, |
5e7ed085 FG |
4375 | pub lpValue: *mut ::core::ffi::c_void, |
4376 | } | |
5e7ed085 | 4377 | impl ::core::marker::Copy for SERVICE_TYPE_VALUE_ABSA {} |
5e7ed085 FG |
4378 | impl ::core::clone::Clone for SERVICE_TYPE_VALUE_ABSA { |
4379 | fn clone(&self) -> Self { | |
4380 | *self | |
4381 | } | |
4382 | } | |
4383 | #[repr(C)] | |
04454e1e | 4384 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4385 | pub struct SERVICE_TYPE_VALUE_ABSW { |
4386 | pub dwNameSpace: u32, | |
4387 | pub dwValueType: u32, | |
4388 | pub dwValueSize: u32, | |
04454e1e | 4389 | pub lpValueName: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
4390 | pub lpValue: *mut ::core::ffi::c_void, |
4391 | } | |
5e7ed085 | 4392 | impl ::core::marker::Copy for SERVICE_TYPE_VALUE_ABSW {} |
5e7ed085 FG |
4393 | impl ::core::clone::Clone for SERVICE_TYPE_VALUE_ABSW { |
4394 | fn clone(&self) -> Self { | |
4395 | *self | |
4396 | } | |
4397 | } | |
04454e1e | 4398 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4399 | pub const SERVICE_TYPE_VALUE_CONN: &str = "ConnectionOriented"; |
04454e1e | 4400 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4401 | pub const SERVICE_TYPE_VALUE_CONNA: &str = "ConnectionOriented"; |
04454e1e | 4402 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4403 | pub const SERVICE_TYPE_VALUE_CONNW: &str = "ConnectionOriented"; |
04454e1e | 4404 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4405 | pub const SERVICE_TYPE_VALUE_IPXPORTA: &str = "IpxSocket"; |
04454e1e | 4406 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4407 | pub const SERVICE_TYPE_VALUE_IPXPORTW: &str = "IpxSocket"; |
04454e1e | 4408 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4409 | pub const SERVICE_TYPE_VALUE_OBJECTID: &str = "ObjectId"; |
04454e1e | 4410 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4411 | pub const SERVICE_TYPE_VALUE_OBJECTIDA: &str = "ObjectId"; |
04454e1e | 4412 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4413 | pub const SERVICE_TYPE_VALUE_OBJECTIDW: &str = "ObjectId"; |
04454e1e | 4414 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4415 | pub const SERVICE_TYPE_VALUE_SAPID: &str = "SapId"; |
04454e1e | 4416 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4417 | pub const SERVICE_TYPE_VALUE_SAPIDA: &str = "SapId"; |
04454e1e | 4418 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4419 | pub const SERVICE_TYPE_VALUE_SAPIDW: &str = "SapId"; |
04454e1e | 4420 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4421 | pub const SERVICE_TYPE_VALUE_TCPPORT: &str = "TcpPort"; |
04454e1e | 4422 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4423 | pub const SERVICE_TYPE_VALUE_TCPPORTA: &str = "TcpPort"; |
04454e1e | 4424 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4425 | pub const SERVICE_TYPE_VALUE_TCPPORTW: &str = "TcpPort"; |
04454e1e | 4426 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4427 | pub const SERVICE_TYPE_VALUE_UDPPORT: &str = "UdpPort"; |
04454e1e | 4428 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4429 | pub const SERVICE_TYPE_VALUE_UDPPORTA: &str = "UdpPort"; |
04454e1e | 4430 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 | 4431 | pub const SERVICE_TYPE_VALUE_UDPPORTW: &str = "UdpPort"; |
04454e1e | 4432 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4433 | pub type SET_SERVICE_OPERATION = u32; |
04454e1e | 4434 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4435 | pub const SERVICE_REGISTER: SET_SERVICE_OPERATION = 1u32; |
04454e1e | 4436 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4437 | pub const SERVICE_DEREGISTER: SET_SERVICE_OPERATION = 2u32; |
04454e1e | 4438 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4439 | pub const SERVICE_FLUSH: SET_SERVICE_OPERATION = 3u32; |
04454e1e | 4440 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4441 | pub const SERVICE_ADD_TYPE: SET_SERVICE_OPERATION = 4u32; |
04454e1e | 4442 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4443 | pub const SERVICE_DELETE_TYPE: SET_SERVICE_OPERATION = 5u32; |
04454e1e | 4444 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4445 | pub const SET_SERVICE_PARTIAL_SUCCESS: u32 = 1u32; |
04454e1e | 4446 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4447 | pub const SG_CONSTRAINED_GROUP: u32 = 2u32; |
04454e1e | 4448 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4449 | pub const SG_UNCONSTRAINED_GROUP: u32 = 1u32; |
04454e1e | 4450 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4451 | pub const SIOCATMARK: i32 = 1074033415i32; |
04454e1e | 4452 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4453 | pub const SIOCGHIWAT: i32 = 1074033409i32; |
04454e1e | 4454 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4455 | pub const SIOCGLOWAT: i32 = 1074033411i32; |
04454e1e | 4456 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4457 | pub const SIOCSHIWAT: i32 = -2147192064i32; |
04454e1e | 4458 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4459 | pub const SIOCSLOWAT: i32 = -2147192062i32; |
04454e1e | 4460 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 FG |
4461 | pub const SIO_ABSORB_RTRALERT: u32 = 2550136837u32; |
4462 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4463 | pub const SIO_ACQUIRE_PORT_RESERVATION: u32 = 2550136932u32; | |
4464 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4465 | pub const SIO_ADDRESS_LIST_CHANGE: u32 = 671088663u32; | |
4466 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4467 | pub const SIO_ADDRESS_LIST_QUERY: u32 = 1207959574u32; | |
4468 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4469 | pub const SIO_ADDRESS_LIST_SORT: u32 = 3355443225u32; | |
4470 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4471 | pub const SIO_AF_UNIX_GETPEERPID: u32 = 1476395264u32; | |
4472 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4473 | pub const SIO_AF_UNIX_SETBINDPARENTPATH: u32 = 2550137089u32; | |
4474 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4475 | pub const SIO_AF_UNIX_SETCONNPARENTPATH: u32 = 2550137090u32; | |
4476 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4477 | pub const SIO_APPLY_TRANSPORT_SETTING: u32 = 2550136851u32; | |
4478 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4479 | pub const SIO_ASSOCIATE_HANDLE: u32 = 2281701377u32; | |
4480 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4481 | pub const SIO_ASSOCIATE_PORT_RESERVATION: u32 = 2550136934u32; | |
4482 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 4483 | pub const SIO_ASSOCIATE_PVC: u32 = 2417360899u32; |
04454e1e | 4484 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 FG |
4485 | pub const SIO_BASE_HANDLE: u32 = 1207959586u32; |
4486 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4487 | pub const SIO_BSP_HANDLE: u32 = 1207959579u32; | |
4488 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4489 | pub const SIO_BSP_HANDLE_POLL: u32 = 1207959581u32; | |
4490 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4491 | pub const SIO_BSP_HANDLE_SELECT: u32 = 1207959580u32; | |
4492 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4493 | pub const SIO_CPU_AFFINITY: u32 = 2550136853u32; | |
4494 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4495 | pub const SIO_DELETE_PEER_TARGET_NAME: u32 = 2550137035u32; | |
4496 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4497 | pub const SIO_ENABLE_CIRCULAR_QUEUEING: u32 = 671088642u32; | |
4498 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4499 | pub const SIO_EXT_POLL: u32 = 3355443231u32; | |
4500 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4501 | pub const SIO_EXT_SELECT: u32 = 3355443230u32; | |
4502 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4503 | pub const SIO_EXT_SENDMSG: u32 = 3355443232u32; | |
4504 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4505 | pub const SIO_FIND_ROUTE: u32 = 1207959555u32; | |
4506 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4507 | pub const SIO_FLUSH: u32 = 671088644u32; | |
4508 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 4509 | pub const SIO_GET_ATM_ADDRESS: u32 = 3491102722u32; |
04454e1e | 4510 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4511 | pub const SIO_GET_ATM_CONNECTION_ID: u32 = 1343619076u32; |
04454e1e | 4512 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 FG |
4513 | pub const SIO_GET_BROADCAST_ADDRESS: u32 = 1207959557u32; |
4514 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4515 | pub const SIO_GET_EXTENSION_FUNCTION_POINTER: u32 = 3355443206u32; | |
4516 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4517 | pub const SIO_GET_GROUP_QOS: u32 = 3355443208u32; | |
4518 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4519 | pub const SIO_GET_MULTIPLE_EXTENSION_FUNCTION_POINTER: u32 = 3355443236u32; | |
4520 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 4521 | pub const SIO_GET_NUMBER_OF_ATM_DEVICES: u32 = 1343619073u32; |
04454e1e | 4522 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
923072b8 FG |
4523 | pub const SIO_GET_QOS: u32 = 3355443207u32; |
4524 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4525 | pub const SIO_GET_TX_TIMESTAMP: u32 = 2550137066u32; | |
4526 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4527 | pub const SIO_INDEX_ADD_MCAST: u32 = 2550136842u32; | |
4528 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4529 | pub const SIO_INDEX_BIND: u32 = 2550136840u32; | |
4530 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4531 | pub const SIO_INDEX_DEL_MCAST: u32 = 2550136843u32; | |
4532 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4533 | pub const SIO_INDEX_MCASTIF: u32 = 2550136841u32; | |
4534 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4535 | pub const SIO_KEEPALIVE_VALS: u32 = 2550136836u32; | |
4536 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4537 | pub const SIO_LIMIT_BROADCASTS: u32 = 2550136839u32; | |
4538 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4539 | pub const SIO_LOOPBACK_FAST_PATH: u32 = 2550136848u32; | |
4540 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4541 | pub const SIO_MULTICAST_SCOPE: u32 = 2281701386u32; | |
4542 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4543 | pub const SIO_MULTIPOINT_LOOPBACK: u32 = 2281701385u32; | |
4544 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4545 | pub const SIO_NSP_NOTIFY_CHANGE: u32 = 2281701401u32; | |
4546 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4547 | pub const SIO_PRIORITY_HINT: u32 = 2550136856u32; | |
4548 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4549 | pub const SIO_QUERY_RSS_PROCESSOR_INFO: u32 = 1207959589u32; | |
4550 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4551 | pub const SIO_QUERY_RSS_SCALABILITY_INFO: u32 = 1476395218u32; | |
4552 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4553 | pub const SIO_QUERY_SECURITY: u32 = 3623878857u32; | |
4554 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4555 | pub const SIO_QUERY_TARGET_PNP_HANDLE: u32 = 1207959576u32; | |
4556 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4557 | pub const SIO_QUERY_TRANSPORT_SETTING: u32 = 2550136852u32; | |
4558 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4559 | pub const SIO_QUERY_WFP_ALE_ENDPOINT_HANDLE: u32 = 1476395213u32; | |
4560 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4561 | pub const SIO_QUERY_WFP_CONNECTION_REDIRECT_CONTEXT: u32 = 2550137053u32; | |
4562 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4563 | pub const SIO_QUERY_WFP_CONNECTION_REDIRECT_RECORDS: u32 = 2550137052u32; | |
4564 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4565 | pub const SIO_RCVALL: u32 = 2550136833u32; | |
4566 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4567 | pub const SIO_RCVALL_IF: u32 = 2550136846u32; | |
4568 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4569 | pub const SIO_RCVALL_IGMPMCAST: u32 = 2550136835u32; | |
4570 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4571 | pub const SIO_RCVALL_MCAST: u32 = 2550136834u32; | |
4572 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4573 | pub const SIO_RCVALL_MCAST_IF: u32 = 2550136845u32; | |
4574 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4575 | pub const SIO_RELEASE_PORT_RESERVATION: u32 = 2550136933u32; | |
4576 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4577 | pub const SIO_RESERVED_1: u32 = 2281701402u32; | |
4578 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4579 | pub const SIO_RESERVED_2: u32 = 2281701409u32; | |
4580 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4581 | pub const SIO_ROUTING_INTERFACE_CHANGE: u32 = 2281701397u32; | |
4582 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4583 | pub const SIO_ROUTING_INTERFACE_QUERY: u32 = 3355443220u32; | |
4584 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4585 | pub const SIO_SET_COMPATIBILITY_MODE: u32 = 2550137132u32; | |
4586 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4587 | pub const SIO_SET_GROUP_QOS: u32 = 2281701388u32; | |
4588 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4589 | pub const SIO_SET_PEER_TARGET_NAME: u32 = 2550137034u32; | |
4590 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4591 | pub const SIO_SET_PRIORITY_HINT: u32 = 2550136856u32; | |
4592 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4593 | pub const SIO_SET_QOS: u32 = 2281701387u32; | |
4594 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4595 | pub const SIO_SET_SECURITY: u32 = 2550137032u32; | |
4596 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4597 | pub const SIO_SET_WFP_CONNECTION_REDIRECT_RECORDS: u32 = 2550137054u32; | |
4598 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4599 | pub const SIO_SOCKET_CLOSE_NOTIFY: u32 = 2550136845u32; | |
4600 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4601 | pub const SIO_SOCKET_USAGE_NOTIFICATION: u32 = 2550137036u32; | |
4602 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4603 | pub const SIO_TCP_INFO: u32 = 3623878695u32; | |
4604 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4605 | pub const SIO_TCP_INITIAL_RTO: u32 = 2550136849u32; | |
4606 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4607 | pub const SIO_TCP_SET_ACK_FREQUENCY: u32 = 2550136855u32; | |
4608 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4609 | pub const SIO_TCP_SET_ICW: u32 = 2550136854u32; | |
4610 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4611 | pub const SIO_TIMESTAMPING: u32 = 2550137067u32; | |
4612 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4613 | pub const SIO_TRANSLATE_HANDLE: u32 = 3355443213u32; | |
4614 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4615 | pub const SIO_UCAST_IF: u32 = 2550136838u32; | |
4616 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4617 | pub const SIO_UDP_CONNRESET: u32 = 2550136844u32; | |
4618 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
4619 | pub const SIO_UDP_NETRESET: u32 = 2550136847u32; | |
4620 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] | |
5e7ed085 | 4621 | pub const SI_NETWORK: u32 = 3u32; |
04454e1e | 4622 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4623 | pub const SI_USER_FAILED: u32 = 2u32; |
04454e1e | 4624 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4625 | pub const SI_USER_NOT_SCREENED: u32 = 0u32; |
04454e1e | 4626 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4627 | pub const SI_USER_PASSED: u32 = 1u32; |
4628 | #[repr(C)] | |
04454e1e | 4629 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4630 | #[cfg(feature = "Win32_Foundation")] |
4631 | pub struct SOCKADDR { | |
4632 | pub sa_family: u16, | |
4633 | pub sa_data: [super::super::Foundation::CHAR; 14], | |
4634 | } | |
4635 | #[cfg(feature = "Win32_Foundation")] | |
4636 | impl ::core::marker::Copy for SOCKADDR {} | |
4637 | #[cfg(feature = "Win32_Foundation")] | |
4638 | impl ::core::clone::Clone for SOCKADDR { | |
4639 | fn clone(&self) -> Self { | |
4640 | *self | |
4641 | } | |
4642 | } | |
4643 | #[repr(C)] | |
04454e1e | 4644 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4645 | pub struct SOCKADDR_DL { |
4646 | pub sdl_family: u16, | |
4647 | pub sdl_data: [u8; 8], | |
4648 | pub sdl_zero: [u8; 4], | |
4649 | } | |
4650 | impl ::core::marker::Copy for SOCKADDR_DL {} | |
4651 | impl ::core::clone::Clone for SOCKADDR_DL { | |
4652 | fn clone(&self) -> Self { | |
4653 | *self | |
4654 | } | |
4655 | } | |
4656 | #[repr(C)] | |
04454e1e | 4657 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4658 | #[cfg(feature = "Win32_Foundation")] |
4659 | pub struct SOCKADDR_IN { | |
4660 | pub sin_family: u16, | |
4661 | pub sin_port: u16, | |
4662 | pub sin_addr: IN_ADDR, | |
4663 | pub sin_zero: [super::super::Foundation::CHAR; 8], | |
4664 | } | |
4665 | #[cfg(feature = "Win32_Foundation")] | |
4666 | impl ::core::marker::Copy for SOCKADDR_IN {} | |
4667 | #[cfg(feature = "Win32_Foundation")] | |
4668 | impl ::core::clone::Clone for SOCKADDR_IN { | |
4669 | fn clone(&self) -> Self { | |
4670 | *self | |
4671 | } | |
4672 | } | |
4673 | #[repr(C)] | |
04454e1e | 4674 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4675 | pub struct SOCKADDR_IN6 { |
4676 | pub sin6_family: u16, | |
4677 | pub sin6_port: u16, | |
4678 | pub sin6_flowinfo: u32, | |
4679 | pub sin6_addr: IN6_ADDR, | |
4680 | pub Anonymous: SOCKADDR_IN6_0, | |
4681 | } | |
4682 | impl ::core::marker::Copy for SOCKADDR_IN6 {} | |
4683 | impl ::core::clone::Clone for SOCKADDR_IN6 { | |
4684 | fn clone(&self) -> Self { | |
4685 | *self | |
4686 | } | |
4687 | } | |
4688 | #[repr(C)] | |
04454e1e | 4689 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4690 | pub union SOCKADDR_IN6_0 { |
4691 | pub sin6_scope_id: u32, | |
4692 | pub sin6_scope_struct: SCOPE_ID, | |
4693 | } | |
4694 | impl ::core::marker::Copy for SOCKADDR_IN6_0 {} | |
4695 | impl ::core::clone::Clone for SOCKADDR_IN6_0 { | |
4696 | fn clone(&self) -> Self { | |
4697 | *self | |
4698 | } | |
4699 | } | |
4700 | #[repr(C)] | |
04454e1e | 4701 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4702 | pub struct SOCKADDR_IN6_PAIR { |
4703 | pub SourceAddress: *mut SOCKADDR_IN6, | |
4704 | pub DestinationAddress: *mut SOCKADDR_IN6, | |
4705 | } | |
4706 | impl ::core::marker::Copy for SOCKADDR_IN6_PAIR {} | |
4707 | impl ::core::clone::Clone for SOCKADDR_IN6_PAIR { | |
4708 | fn clone(&self) -> Self { | |
4709 | *self | |
4710 | } | |
4711 | } | |
4712 | #[repr(C)] | |
04454e1e | 4713 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4714 | pub struct SOCKADDR_IN6_W2KSP1 { |
4715 | pub sin6_family: i16, | |
4716 | pub sin6_port: u16, | |
4717 | pub sin6_flowinfo: u32, | |
4718 | pub sin6_addr: IN6_ADDR, | |
4719 | pub sin6_scope_id: u32, | |
4720 | } | |
4721 | impl ::core::marker::Copy for SOCKADDR_IN6_W2KSP1 {} | |
4722 | impl ::core::clone::Clone for SOCKADDR_IN6_W2KSP1 { | |
4723 | fn clone(&self) -> Self { | |
4724 | *self | |
4725 | } | |
4726 | } | |
4727 | #[repr(C)] | |
04454e1e | 4728 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4729 | #[cfg(feature = "Win32_Foundation")] |
4730 | pub union SOCKADDR_INET { | |
4731 | pub Ipv4: SOCKADDR_IN, | |
4732 | pub Ipv6: SOCKADDR_IN6, | |
4733 | pub si_family: u16, | |
4734 | } | |
4735 | #[cfg(feature = "Win32_Foundation")] | |
4736 | impl ::core::marker::Copy for SOCKADDR_INET {} | |
4737 | #[cfg(feature = "Win32_Foundation")] | |
4738 | impl ::core::clone::Clone for SOCKADDR_INET { | |
4739 | fn clone(&self) -> Self { | |
4740 | *self | |
4741 | } | |
4742 | } | |
4743 | #[repr(C)] | |
04454e1e | 4744 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4745 | #[cfg(feature = "Win32_Foundation")] |
4746 | pub struct SOCKADDR_IRDA { | |
4747 | pub irdaAddressFamily: u16, | |
4748 | pub irdaDeviceID: [u8; 4], | |
4749 | pub irdaServiceName: [super::super::Foundation::CHAR; 25], | |
4750 | } | |
4751 | #[cfg(feature = "Win32_Foundation")] | |
4752 | impl ::core::marker::Copy for SOCKADDR_IRDA {} | |
4753 | #[cfg(feature = "Win32_Foundation")] | |
4754 | impl ::core::clone::Clone for SOCKADDR_IRDA { | |
4755 | fn clone(&self) -> Self { | |
4756 | *self | |
4757 | } | |
4758 | } | |
4759 | #[repr(C)] | |
04454e1e | 4760 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4761 | #[cfg(feature = "Win32_Foundation")] |
4762 | pub struct SOCKADDR_STORAGE { | |
4763 | pub ss_family: u16, | |
4764 | pub __ss_pad1: [super::super::Foundation::CHAR; 6], | |
4765 | pub __ss_align: i64, | |
4766 | pub __ss_pad2: [super::super::Foundation::CHAR; 112], | |
4767 | } | |
4768 | #[cfg(feature = "Win32_Foundation")] | |
4769 | impl ::core::marker::Copy for SOCKADDR_STORAGE {} | |
4770 | #[cfg(feature = "Win32_Foundation")] | |
4771 | impl ::core::clone::Clone for SOCKADDR_STORAGE { | |
4772 | fn clone(&self) -> Self { | |
4773 | *self | |
4774 | } | |
4775 | } | |
4776 | #[repr(C)] | |
04454e1e | 4777 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4778 | #[cfg(feature = "Win32_Foundation")] |
4779 | pub struct SOCKADDR_STORAGE_XP { | |
4780 | pub ss_family: i16, | |
4781 | pub __ss_pad1: [super::super::Foundation::CHAR; 6], | |
4782 | pub __ss_align: i64, | |
4783 | pub __ss_pad2: [super::super::Foundation::CHAR; 112], | |
4784 | } | |
4785 | #[cfg(feature = "Win32_Foundation")] | |
4786 | impl ::core::marker::Copy for SOCKADDR_STORAGE_XP {} | |
4787 | #[cfg(feature = "Win32_Foundation")] | |
4788 | impl ::core::clone::Clone for SOCKADDR_STORAGE_XP { | |
4789 | fn clone(&self) -> Self { | |
4790 | *self | |
4791 | } | |
4792 | } | |
4793 | pub type SOCKET = usize; | |
4794 | #[repr(C)] | |
04454e1e | 4795 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4796 | #[cfg(feature = "Win32_Foundation")] |
4797 | pub struct SOCKET_ADDRESS { | |
4798 | pub lpSockaddr: *mut SOCKADDR, | |
4799 | pub iSockaddrLength: i32, | |
4800 | } | |
4801 | #[cfg(feature = "Win32_Foundation")] | |
4802 | impl ::core::marker::Copy for SOCKET_ADDRESS {} | |
4803 | #[cfg(feature = "Win32_Foundation")] | |
4804 | impl ::core::clone::Clone for SOCKET_ADDRESS { | |
4805 | fn clone(&self) -> Self { | |
4806 | *self | |
4807 | } | |
4808 | } | |
4809 | #[repr(C)] | |
04454e1e | 4810 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4811 | #[cfg(feature = "Win32_Foundation")] |
4812 | pub struct SOCKET_ADDRESS_LIST { | |
4813 | pub iAddressCount: i32, | |
4814 | pub Address: [SOCKET_ADDRESS; 1], | |
4815 | } | |
4816 | #[cfg(feature = "Win32_Foundation")] | |
4817 | impl ::core::marker::Copy for SOCKET_ADDRESS_LIST {} | |
4818 | #[cfg(feature = "Win32_Foundation")] | |
4819 | impl ::core::clone::Clone for SOCKET_ADDRESS_LIST { | |
4820 | fn clone(&self) -> Self { | |
4821 | *self | |
4822 | } | |
4823 | } | |
4824 | pub const SOCKET_DEFAULT2_QM_POLICY: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2932010908, data2: 14925, data3: 19774, data4: [136, 66, 35, 153, 66, 227, 154, 71] }; | |
04454e1e | 4825 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4826 | pub const SOCKET_ERROR: i32 = -1i32; |
04454e1e | 4827 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4828 | pub const SOCKET_INFO_CONNECTION_ENCRYPTED: u32 = 2u32; |
04454e1e | 4829 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4830 | pub const SOCKET_INFO_CONNECTION_IMPERSONATED: u32 = 4u32; |
04454e1e | 4831 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4832 | pub const SOCKET_INFO_CONNECTION_SECURED: u32 = 1u32; |
4833 | #[repr(C)] | |
04454e1e | 4834 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4835 | #[cfg(feature = "Win32_Foundation")] |
4836 | pub struct SOCKET_PEER_TARGET_NAME { | |
4837 | pub SecurityProtocol: SOCKET_SECURITY_PROTOCOL, | |
4838 | pub PeerAddress: SOCKADDR_STORAGE, | |
4839 | pub PeerTargetNameStringLen: u32, | |
4840 | pub AllStrings: [u16; 1], | |
4841 | } | |
4842 | #[cfg(feature = "Win32_Foundation")] | |
4843 | impl ::core::marker::Copy for SOCKET_PEER_TARGET_NAME {} | |
4844 | #[cfg(feature = "Win32_Foundation")] | |
4845 | impl ::core::clone::Clone for SOCKET_PEER_TARGET_NAME { | |
4846 | fn clone(&self) -> Self { | |
4847 | *self | |
4848 | } | |
4849 | } | |
04454e1e | 4850 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4851 | pub type SOCKET_PRIORITY_HINT = i32; |
04454e1e | 4852 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4853 | pub const SocketPriorityHintVeryLow: SOCKET_PRIORITY_HINT = 0i32; |
04454e1e | 4854 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4855 | pub const SocketPriorityHintLow: SOCKET_PRIORITY_HINT = 1i32; |
04454e1e | 4856 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4857 | pub const SocketPriorityHintNormal: SOCKET_PRIORITY_HINT = 2i32; |
04454e1e | 4858 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4859 | pub const SocketMaximumPriorityHintType: SOCKET_PRIORITY_HINT = 3i32; |
4860 | #[repr(C)] | |
04454e1e | 4861 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
4862 | #[cfg(feature = "Win32_System_Kernel")] |
4863 | pub struct SOCKET_PROCESSOR_AFFINITY { | |
4864 | pub Processor: super::super::System::Kernel::PROCESSOR_NUMBER, | |
4865 | pub NumaNodeId: u16, | |
4866 | pub Reserved: u16, | |
4867 | } | |
4868 | #[cfg(feature = "Win32_System_Kernel")] | |
4869 | impl ::core::marker::Copy for SOCKET_PROCESSOR_AFFINITY {} | |
4870 | #[cfg(feature = "Win32_System_Kernel")] | |
4871 | impl ::core::clone::Clone for SOCKET_PROCESSOR_AFFINITY { | |
4872 | fn clone(&self) -> Self { | |
4873 | *self | |
4874 | } | |
4875 | } | |
04454e1e | 4876 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4877 | pub const SOCKET_QUERY_IPSEC2_ABORT_CONNECTION_ON_FIELD_CHANGE: u32 = 1u32; |
04454e1e | 4878 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4879 | pub const SOCKET_QUERY_IPSEC2_FIELD_MASK_MM_SA_ID: u32 = 1u32; |
04454e1e | 4880 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4881 | pub const SOCKET_QUERY_IPSEC2_FIELD_MASK_QM_SA_ID: u32 = 2u32; |
04454e1e | 4882 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4883 | pub type SOCKET_SECURITY_PROTOCOL = i32; |
04454e1e | 4884 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4885 | pub const SOCKET_SECURITY_PROTOCOL_DEFAULT: SOCKET_SECURITY_PROTOCOL = 0i32; |
04454e1e | 4886 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4887 | pub const SOCKET_SECURITY_PROTOCOL_IPSEC: SOCKET_SECURITY_PROTOCOL = 1i32; |
04454e1e | 4888 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4889 | pub const SOCKET_SECURITY_PROTOCOL_IPSEC2: SOCKET_SECURITY_PROTOCOL = 2i32; |
04454e1e | 4890 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4891 | pub const SOCKET_SECURITY_PROTOCOL_INVALID: SOCKET_SECURITY_PROTOCOL = 3i32; |
4892 | #[repr(C)] | |
04454e1e | 4893 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4894 | pub struct SOCKET_SECURITY_QUERY_INFO { |
4895 | pub SecurityProtocol: SOCKET_SECURITY_PROTOCOL, | |
4896 | pub Flags: u32, | |
4897 | pub PeerApplicationAccessTokenHandle: u64, | |
4898 | pub PeerMachineAccessTokenHandle: u64, | |
4899 | } | |
4900 | impl ::core::marker::Copy for SOCKET_SECURITY_QUERY_INFO {} | |
4901 | impl ::core::clone::Clone for SOCKET_SECURITY_QUERY_INFO { | |
4902 | fn clone(&self) -> Self { | |
4903 | *self | |
4904 | } | |
4905 | } | |
4906 | #[repr(C)] | |
04454e1e | 4907 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4908 | pub struct SOCKET_SECURITY_QUERY_INFO_IPSEC2 { |
4909 | pub SecurityProtocol: SOCKET_SECURITY_PROTOCOL, | |
4910 | pub Flags: u32, | |
4911 | pub PeerApplicationAccessTokenHandle: u64, | |
4912 | pub PeerMachineAccessTokenHandle: u64, | |
4913 | pub MmSaId: u64, | |
4914 | pub QmSaId: u64, | |
4915 | pub NegotiationWinerr: u32, | |
4916 | pub SaLookupContext: ::windows_sys::core::GUID, | |
4917 | } | |
4918 | impl ::core::marker::Copy for SOCKET_SECURITY_QUERY_INFO_IPSEC2 {} | |
4919 | impl ::core::clone::Clone for SOCKET_SECURITY_QUERY_INFO_IPSEC2 { | |
4920 | fn clone(&self) -> Self { | |
4921 | *self | |
4922 | } | |
4923 | } | |
4924 | #[repr(C)] | |
04454e1e | 4925 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4926 | #[cfg(feature = "Win32_Foundation")] |
4927 | pub struct SOCKET_SECURITY_QUERY_TEMPLATE { | |
4928 | pub SecurityProtocol: SOCKET_SECURITY_PROTOCOL, | |
4929 | pub PeerAddress: SOCKADDR_STORAGE, | |
4930 | pub PeerTokenAccessMask: u32, | |
4931 | } | |
4932 | #[cfg(feature = "Win32_Foundation")] | |
4933 | impl ::core::marker::Copy for SOCKET_SECURITY_QUERY_TEMPLATE {} | |
4934 | #[cfg(feature = "Win32_Foundation")] | |
4935 | impl ::core::clone::Clone for SOCKET_SECURITY_QUERY_TEMPLATE { | |
4936 | fn clone(&self) -> Self { | |
4937 | *self | |
4938 | } | |
4939 | } | |
4940 | #[repr(C)] | |
04454e1e | 4941 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4942 | #[cfg(feature = "Win32_Foundation")] |
4943 | pub struct SOCKET_SECURITY_QUERY_TEMPLATE_IPSEC2 { | |
4944 | pub SecurityProtocol: SOCKET_SECURITY_PROTOCOL, | |
4945 | pub PeerAddress: SOCKADDR_STORAGE, | |
4946 | pub PeerTokenAccessMask: u32, | |
4947 | pub Flags: u32, | |
4948 | pub FieldMask: u32, | |
4949 | } | |
4950 | #[cfg(feature = "Win32_Foundation")] | |
4951 | impl ::core::marker::Copy for SOCKET_SECURITY_QUERY_TEMPLATE_IPSEC2 {} | |
4952 | #[cfg(feature = "Win32_Foundation")] | |
4953 | impl ::core::clone::Clone for SOCKET_SECURITY_QUERY_TEMPLATE_IPSEC2 { | |
4954 | fn clone(&self) -> Self { | |
4955 | *self | |
4956 | } | |
4957 | } | |
4958 | #[repr(C)] | |
04454e1e | 4959 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4960 | pub struct SOCKET_SECURITY_SETTINGS { |
4961 | pub SecurityProtocol: SOCKET_SECURITY_PROTOCOL, | |
4962 | pub SecurityFlags: u32, | |
4963 | } | |
4964 | impl ::core::marker::Copy for SOCKET_SECURITY_SETTINGS {} | |
4965 | impl ::core::clone::Clone for SOCKET_SECURITY_SETTINGS { | |
4966 | fn clone(&self) -> Self { | |
4967 | *self | |
4968 | } | |
4969 | } | |
4970 | #[repr(C)] | |
04454e1e | 4971 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
4972 | pub struct SOCKET_SECURITY_SETTINGS_IPSEC { |
4973 | pub SecurityProtocol: SOCKET_SECURITY_PROTOCOL, | |
4974 | pub SecurityFlags: u32, | |
4975 | pub IpsecFlags: u32, | |
4976 | pub AuthipMMPolicyKey: ::windows_sys::core::GUID, | |
4977 | pub AuthipQMPolicyKey: ::windows_sys::core::GUID, | |
4978 | pub Reserved: ::windows_sys::core::GUID, | |
4979 | pub Reserved2: u64, | |
4980 | pub UserNameStringLen: u32, | |
4981 | pub DomainNameStringLen: u32, | |
4982 | pub PasswordStringLen: u32, | |
4983 | pub AllStrings: [u16; 1], | |
4984 | } | |
4985 | impl ::core::marker::Copy for SOCKET_SECURITY_SETTINGS_IPSEC {} | |
4986 | impl ::core::clone::Clone for SOCKET_SECURITY_SETTINGS_IPSEC { | |
4987 | fn clone(&self) -> Self { | |
4988 | *self | |
4989 | } | |
4990 | } | |
04454e1e | 4991 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4992 | pub const SOCKET_SETTINGS_ALLOW_INSECURE: u32 = 2u32; |
04454e1e | 4993 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4994 | pub const SOCKET_SETTINGS_GUARANTEE_ENCRYPTION: u32 = 1u32; |
04454e1e | 4995 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4996 | pub const SOCKET_SETTINGS_IPSEC_ALLOW_FIRST_INBOUND_PKT_UNENCRYPTED: u32 = 4u32; |
04454e1e | 4997 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 4998 | pub const SOCKET_SETTINGS_IPSEC_OPTIONAL_PEER_NAME_VERIFICATION: u32 = 2u32; |
04454e1e | 4999 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5000 | pub const SOCKET_SETTINGS_IPSEC_PEER_NAME_IS_RAW_FORMAT: u32 = 8u32; |
04454e1e | 5001 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5002 | pub const SOCKET_SETTINGS_IPSEC_SKIP_FILTER_INSTANTIATION: u32 = 1u32; |
04454e1e | 5003 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5004 | pub type SOCKET_USAGE_TYPE = i32; |
04454e1e | 5005 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5006 | pub const SYSTEM_CRITICAL_SOCKET: SOCKET_USAGE_TYPE = 1i32; |
04454e1e | 5007 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5008 | pub const SOCK_DGRAM: u16 = 2u16; |
04454e1e | 5009 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5010 | pub const SOCK_NOTIFY_EVENT_ERR: u32 = 64u32; |
04454e1e | 5011 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5012 | pub const SOCK_NOTIFY_EVENT_HANGUP: u32 = 4u32; |
04454e1e | 5013 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5014 | pub const SOCK_NOTIFY_EVENT_IN: u32 = 1u32; |
04454e1e | 5015 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5016 | pub const SOCK_NOTIFY_EVENT_OUT: u32 = 2u32; |
04454e1e | 5017 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5018 | pub const SOCK_NOTIFY_EVENT_REMOVE: u32 = 128u32; |
04454e1e | 5019 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5020 | pub const SOCK_NOTIFY_OP_DISABLE: u32 = 2u32; |
04454e1e | 5021 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5022 | pub const SOCK_NOTIFY_OP_ENABLE: u32 = 1u32; |
04454e1e | 5023 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5024 | pub const SOCK_NOTIFY_OP_NONE: u32 = 0u32; |
04454e1e | 5025 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5026 | pub const SOCK_NOTIFY_OP_REMOVE: u32 = 4u32; |
04454e1e | 5027 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5028 | pub const SOCK_NOTIFY_REGISTER_EVENT_HANGUP: u32 = 4u32; |
04454e1e | 5029 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5030 | pub const SOCK_NOTIFY_REGISTER_EVENT_IN: u32 = 1u32; |
04454e1e | 5031 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5032 | pub const SOCK_NOTIFY_REGISTER_EVENT_NONE: u32 = 0u32; |
04454e1e | 5033 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5034 | pub const SOCK_NOTIFY_REGISTER_EVENT_OUT: u32 = 2u32; |
5035 | #[repr(C)] | |
04454e1e | 5036 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5037 | pub struct SOCK_NOTIFY_REGISTRATION { |
5038 | pub socket: SOCKET, | |
5039 | pub completionKey: *mut ::core::ffi::c_void, | |
5040 | pub eventFilter: u16, | |
5041 | pub operation: u8, | |
5042 | pub triggerFlags: u8, | |
5043 | pub registrationResult: u32, | |
5044 | } | |
5045 | impl ::core::marker::Copy for SOCK_NOTIFY_REGISTRATION {} | |
5046 | impl ::core::clone::Clone for SOCK_NOTIFY_REGISTRATION { | |
5047 | fn clone(&self) -> Self { | |
5048 | *self | |
5049 | } | |
5050 | } | |
04454e1e | 5051 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5052 | pub const SOCK_NOTIFY_TRIGGER_EDGE: u32 = 8u32; |
04454e1e | 5053 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5054 | pub const SOCK_NOTIFY_TRIGGER_LEVEL: u32 = 4u32; |
04454e1e | 5055 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5056 | pub const SOCK_NOTIFY_TRIGGER_ONESHOT: u32 = 1u32; |
04454e1e | 5057 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5058 | pub const SOCK_NOTIFY_TRIGGER_PERSISTENT: u32 = 2u32; |
04454e1e | 5059 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5060 | pub const SOCK_RAW: u16 = 3u16; |
04454e1e | 5061 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5062 | pub const SOCK_RDM: u16 = 4u16; |
04454e1e | 5063 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5064 | pub const SOCK_SEQPACKET: u16 = 5u16; |
04454e1e | 5065 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5066 | pub const SOCK_STREAM: u16 = 1u16; |
04454e1e | 5067 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5068 | pub const SOL_IRLMP: u32 = 255u32; |
04454e1e | 5069 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5070 | pub const SOL_SOCKET: u32 = 65535u32; |
04454e1e | 5071 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5072 | pub const SOMAXCONN: u32 = 5u32; |
04454e1e | 5073 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5074 | pub const SO_ACCEPTCONN: u32 = 2u32; |
04454e1e | 5075 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5076 | pub const SO_BROADCAST: u32 = 32u32; |
04454e1e | 5077 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5078 | pub const SO_BSP_STATE: u32 = 4105u32; |
04454e1e | 5079 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5080 | pub const SO_COMPARTMENT_ID: u32 = 12292u32; |
04454e1e | 5081 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5082 | pub const SO_CONDITIONAL_ACCEPT: u32 = 12290u32; |
04454e1e | 5083 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5084 | pub const SO_CONNDATA: u32 = 28672u32; |
04454e1e | 5085 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5086 | pub const SO_CONNDATALEN: u32 = 28676u32; |
04454e1e | 5087 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5088 | pub const SO_CONNECT_TIME: u32 = 28684u32; |
04454e1e | 5089 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5090 | pub const SO_CONNOPT: u32 = 28673u32; |
04454e1e | 5091 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5092 | pub const SO_CONNOPTLEN: u32 = 28677u32; |
04454e1e | 5093 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5094 | pub const SO_DEBUG: u32 = 1u32; |
04454e1e | 5095 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5096 | pub const SO_DISCDATA: u32 = 28674u32; |
04454e1e | 5097 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5098 | pub const SO_DISCDATALEN: u32 = 28678u32; |
04454e1e | 5099 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5100 | pub const SO_DISCOPT: u32 = 28675u32; |
04454e1e | 5101 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5102 | pub const SO_DISCOPTLEN: u32 = 28679u32; |
04454e1e | 5103 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5104 | pub const SO_DONTROUTE: u32 = 16u32; |
04454e1e | 5105 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5106 | pub const SO_ERROR: u32 = 4103u32; |
04454e1e | 5107 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5108 | pub const SO_GROUP_ID: u32 = 8193u32; |
04454e1e | 5109 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5110 | pub const SO_GROUP_PRIORITY: u32 = 8194u32; |
04454e1e | 5111 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5112 | pub const SO_KEEPALIVE: u32 = 8u32; |
04454e1e | 5113 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5114 | pub const SO_LINGER: u32 = 128u32; |
04454e1e | 5115 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5116 | pub const SO_MAXDG: u32 = 28681u32; |
04454e1e | 5117 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5118 | pub const SO_MAXPATHDG: u32 = 28682u32; |
04454e1e | 5119 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5120 | pub const SO_MAX_MSG_SIZE: u32 = 8195u32; |
04454e1e | 5121 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5122 | pub const SO_OOBINLINE: u32 = 256u32; |
04454e1e | 5123 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5124 | pub const SO_OPENTYPE: u32 = 28680u32; |
04454e1e | 5125 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5126 | pub const SO_ORIGINAL_DST: u32 = 12303u32; |
04454e1e | 5127 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5128 | pub const SO_PAUSE_ACCEPT: u32 = 12291u32; |
04454e1e | 5129 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5130 | pub const SO_PORT_SCALABILITY: u32 = 12294u32; |
04454e1e | 5131 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5132 | pub const SO_PROTOCOL_INFO: u32 = 8197u32; |
04454e1e | 5133 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5134 | pub const SO_PROTOCOL_INFOA: u32 = 8196u32; |
04454e1e | 5135 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5136 | pub const SO_PROTOCOL_INFOW: u32 = 8197u32; |
04454e1e | 5137 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5138 | pub const SO_RANDOMIZE_PORT: u32 = 12293u32; |
04454e1e | 5139 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5140 | pub const SO_RCVBUF: u32 = 4098u32; |
04454e1e | 5141 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5142 | pub const SO_RCVLOWAT: u32 = 4100u32; |
04454e1e | 5143 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5144 | pub const SO_RCVTIMEO: u32 = 4102u32; |
04454e1e | 5145 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5146 | pub const SO_REUSEADDR: u32 = 4u32; |
04454e1e | 5147 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5148 | pub const SO_REUSE_MULTICASTPORT: u32 = 12296u32; |
04454e1e | 5149 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5150 | pub const SO_REUSE_UNICASTPORT: u32 = 12295u32; |
04454e1e | 5151 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5152 | pub const SO_SNDBUF: u32 = 4097u32; |
04454e1e | 5153 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5154 | pub const SO_SNDLOWAT: u32 = 4099u32; |
04454e1e | 5155 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5156 | pub const SO_SNDTIMEO: u32 = 4101u32; |
04454e1e | 5157 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5158 | pub const SO_SYNCHRONOUS_ALERT: u32 = 16u32; |
04454e1e | 5159 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5160 | pub const SO_SYNCHRONOUS_NONALERT: u32 = 32u32; |
04454e1e | 5161 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5162 | pub const SO_TIMESTAMP: u32 = 12298u32; |
04454e1e | 5163 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5164 | pub const SO_TIMESTAMP_ID: u32 = 12299u32; |
04454e1e | 5165 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5166 | pub const SO_TYPE: u32 = 4104u32; |
04454e1e | 5167 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5168 | pub const SO_UPDATE_ACCEPT_CONTEXT: u32 = 28683u32; |
04454e1e | 5169 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5170 | pub const SO_UPDATE_CONNECT_CONTEXT: u32 = 28688u32; |
04454e1e | 5171 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5172 | pub const SO_USELOOPBACK: u32 = 64u32; |
04454e1e | 5173 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5174 | pub type TCPSTATE = i32; |
04454e1e | 5175 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5176 | pub const TCPSTATE_CLOSED: TCPSTATE = 0i32; |
04454e1e | 5177 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5178 | pub const TCPSTATE_LISTEN: TCPSTATE = 1i32; |
04454e1e | 5179 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5180 | pub const TCPSTATE_SYN_SENT: TCPSTATE = 2i32; |
04454e1e | 5181 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5182 | pub const TCPSTATE_SYN_RCVD: TCPSTATE = 3i32; |
04454e1e | 5183 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5184 | pub const TCPSTATE_ESTABLISHED: TCPSTATE = 4i32; |
04454e1e | 5185 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5186 | pub const TCPSTATE_FIN_WAIT_1: TCPSTATE = 5i32; |
04454e1e | 5187 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5188 | pub const TCPSTATE_FIN_WAIT_2: TCPSTATE = 6i32; |
04454e1e | 5189 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5190 | pub const TCPSTATE_CLOSE_WAIT: TCPSTATE = 7i32; |
04454e1e | 5191 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5192 | pub const TCPSTATE_CLOSING: TCPSTATE = 8i32; |
04454e1e | 5193 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5194 | pub const TCPSTATE_LAST_ACK: TCPSTATE = 9i32; |
04454e1e | 5195 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5196 | pub const TCPSTATE_TIME_WAIT: TCPSTATE = 10i32; |
04454e1e | 5197 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5198 | pub const TCPSTATE_MAX: TCPSTATE = 11i32; |
5199 | #[repr(C)] | |
04454e1e | 5200 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5201 | pub struct TCP_ACK_FREQUENCY_PARAMETERS { |
5202 | pub TcpDelayedAckFrequency: u8, | |
5203 | } | |
5204 | impl ::core::marker::Copy for TCP_ACK_FREQUENCY_PARAMETERS {} | |
5205 | impl ::core::clone::Clone for TCP_ACK_FREQUENCY_PARAMETERS { | |
5206 | fn clone(&self) -> Self { | |
5207 | *self | |
5208 | } | |
5209 | } | |
04454e1e | 5210 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5211 | pub const TCP_ATMARK: u32 = 8u32; |
04454e1e | 5212 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5213 | pub const TCP_BSDURGENT: u32 = 28672u32; |
04454e1e | 5214 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5215 | pub const TCP_CONGESTION_ALGORITHM: u32 = 12u32; |
04454e1e | 5216 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5217 | pub const TCP_DELAY_FIN_ACK: u32 = 13u32; |
04454e1e | 5218 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5219 | pub const TCP_EXPEDITED_1122: u32 = 2u32; |
04454e1e | 5220 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5221 | pub const TCP_FAIL_CONNECT_ON_ICMP_ERROR: u32 = 18u32; |
04454e1e | 5222 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5223 | pub const TCP_FASTOPEN: u32 = 15u32; |
04454e1e | 5224 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5225 | pub const TCP_ICMP_ERROR_INFO: u32 = 19u32; |
04454e1e | 5226 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5227 | pub type TCP_ICW_LEVEL = i32; |
04454e1e | 5228 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5229 | pub const TCP_ICW_LEVEL_DEFAULT: TCP_ICW_LEVEL = 0i32; |
04454e1e | 5230 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5231 | pub const TCP_ICW_LEVEL_HIGH: TCP_ICW_LEVEL = 1i32; |
04454e1e | 5232 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5233 | pub const TCP_ICW_LEVEL_VERY_HIGH: TCP_ICW_LEVEL = 2i32; |
04454e1e | 5234 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5235 | pub const TCP_ICW_LEVEL_AGGRESSIVE: TCP_ICW_LEVEL = 3i32; |
04454e1e | 5236 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5237 | pub const TCP_ICW_LEVEL_EXPERIMENTAL: TCP_ICW_LEVEL = 4i32; |
04454e1e | 5238 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5239 | pub const TCP_ICW_LEVEL_COMPAT: TCP_ICW_LEVEL = 254i32; |
04454e1e | 5240 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5241 | pub const TCP_ICW_LEVEL_MAX: TCP_ICW_LEVEL = 255i32; |
5242 | #[repr(C)] | |
04454e1e | 5243 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5244 | pub struct TCP_ICW_PARAMETERS { |
5245 | pub Level: TCP_ICW_LEVEL, | |
5246 | } | |
5247 | impl ::core::marker::Copy for TCP_ICW_PARAMETERS {} | |
5248 | impl ::core::clone::Clone for TCP_ICW_PARAMETERS { | |
5249 | fn clone(&self) -> Self { | |
5250 | *self | |
5251 | } | |
5252 | } | |
5253 | #[repr(C)] | |
04454e1e | 5254 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5255 | #[cfg(feature = "Win32_Foundation")] |
5256 | pub struct TCP_INFO_v0 { | |
5257 | pub State: TCPSTATE, | |
5258 | pub Mss: u32, | |
5259 | pub ConnectionTimeMs: u64, | |
5260 | pub TimestampsEnabled: super::super::Foundation::BOOLEAN, | |
5261 | pub RttUs: u32, | |
5262 | pub MinRttUs: u32, | |
5263 | pub BytesInFlight: u32, | |
5264 | pub Cwnd: u32, | |
5265 | pub SndWnd: u32, | |
5266 | pub RcvWnd: u32, | |
5267 | pub RcvBuf: u32, | |
5268 | pub BytesOut: u64, | |
5269 | pub BytesIn: u64, | |
5270 | pub BytesReordered: u32, | |
5271 | pub BytesRetrans: u32, | |
5272 | pub FastRetrans: u32, | |
5273 | pub DupAcksIn: u32, | |
5274 | pub TimeoutEpisodes: u32, | |
5275 | pub SynRetrans: u8, | |
5276 | } | |
5277 | #[cfg(feature = "Win32_Foundation")] | |
5278 | impl ::core::marker::Copy for TCP_INFO_v0 {} | |
5279 | #[cfg(feature = "Win32_Foundation")] | |
5280 | impl ::core::clone::Clone for TCP_INFO_v0 { | |
5281 | fn clone(&self) -> Self { | |
5282 | *self | |
5283 | } | |
5284 | } | |
5285 | #[repr(C)] | |
04454e1e | 5286 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5287 | #[cfg(feature = "Win32_Foundation")] |
5288 | pub struct TCP_INFO_v1 { | |
5289 | pub State: TCPSTATE, | |
5290 | pub Mss: u32, | |
5291 | pub ConnectionTimeMs: u64, | |
5292 | pub TimestampsEnabled: super::super::Foundation::BOOLEAN, | |
5293 | pub RttUs: u32, | |
5294 | pub MinRttUs: u32, | |
5295 | pub BytesInFlight: u32, | |
5296 | pub Cwnd: u32, | |
5297 | pub SndWnd: u32, | |
5298 | pub RcvWnd: u32, | |
5299 | pub RcvBuf: u32, | |
5300 | pub BytesOut: u64, | |
5301 | pub BytesIn: u64, | |
5302 | pub BytesReordered: u32, | |
5303 | pub BytesRetrans: u32, | |
5304 | pub FastRetrans: u32, | |
5305 | pub DupAcksIn: u32, | |
5306 | pub TimeoutEpisodes: u32, | |
5307 | pub SynRetrans: u8, | |
5308 | pub SndLimTransRwin: u32, | |
5309 | pub SndLimTimeRwin: u32, | |
5310 | pub SndLimBytesRwin: u64, | |
5311 | pub SndLimTransCwnd: u32, | |
5312 | pub SndLimTimeCwnd: u32, | |
5313 | pub SndLimBytesCwnd: u64, | |
5314 | pub SndLimTransSnd: u32, | |
5315 | pub SndLimTimeSnd: u32, | |
5316 | pub SndLimBytesSnd: u64, | |
5317 | } | |
5318 | #[cfg(feature = "Win32_Foundation")] | |
5319 | impl ::core::marker::Copy for TCP_INFO_v1 {} | |
5320 | #[cfg(feature = "Win32_Foundation")] | |
5321 | impl ::core::clone::Clone for TCP_INFO_v1 { | |
5322 | fn clone(&self) -> Self { | |
5323 | *self | |
5324 | } | |
5325 | } | |
04454e1e | 5326 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5327 | pub const TCP_INITIAL_RTO_DEFAULT_MAX_SYN_RETRANSMISSIONS: u32 = 0u32; |
04454e1e | 5328 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5329 | pub const TCP_INITIAL_RTO_DEFAULT_RTT: u32 = 0u32; |
5330 | #[repr(C)] | |
04454e1e | 5331 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5332 | pub struct TCP_INITIAL_RTO_PARAMETERS { |
5333 | pub Rtt: u16, | |
5334 | pub MaxSynRetransmissions: u8, | |
5335 | } | |
5336 | impl ::core::marker::Copy for TCP_INITIAL_RTO_PARAMETERS {} | |
5337 | impl ::core::clone::Clone for TCP_INITIAL_RTO_PARAMETERS { | |
5338 | fn clone(&self) -> Self { | |
5339 | *self | |
5340 | } | |
5341 | } | |
04454e1e | 5342 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5343 | pub const TCP_KEEPALIVE: u32 = 3u32; |
04454e1e | 5344 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5345 | pub const TCP_KEEPCNT: u32 = 16u32; |
04454e1e | 5346 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5347 | pub const TCP_KEEPIDLE: u32 = 3u32; |
04454e1e | 5348 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5349 | pub const TCP_KEEPINTVL: u32 = 17u32; |
04454e1e | 5350 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5351 | pub const TCP_MAXRT: u32 = 5u32; |
04454e1e | 5352 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5353 | pub const TCP_MAXRTMS: u32 = 14u32; |
04454e1e | 5354 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5355 | pub const TCP_MAXSEG: u32 = 4u32; |
04454e1e | 5356 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5357 | pub const TCP_NODELAY: u32 = 1u32; |
04454e1e | 5358 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5359 | pub const TCP_NOSYNRETRIES: u32 = 9u32; |
04454e1e | 5360 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5361 | pub const TCP_NOURG: u32 = 7u32; |
04454e1e | 5362 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5363 | pub const TCP_OFFLOAD_NOT_PREFERRED: u32 = 1u32; |
04454e1e | 5364 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5365 | pub const TCP_OFFLOAD_NO_PREFERENCE: u32 = 0u32; |
04454e1e | 5366 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5367 | pub const TCP_OFFLOAD_PREFERENCE: u32 = 11u32; |
04454e1e | 5368 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5369 | pub const TCP_OFFLOAD_PREFERRED: u32 = 2u32; |
04454e1e | 5370 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5371 | pub const TCP_STDURG: u32 = 6u32; |
04454e1e | 5372 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5373 | pub const TCP_TIMESTAMPS: u32 = 10u32; |
04454e1e | 5374 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5375 | pub const TF_DISCONNECT: u32 = 1u32; |
04454e1e | 5376 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5377 | pub const TF_REUSE_SOCKET: u32 = 2u32; |
04454e1e | 5378 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5379 | pub const TF_USE_DEFAULT_WORKER: u32 = 0u32; |
04454e1e | 5380 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5381 | pub const TF_USE_KERNEL_APC: u32 = 32u32; |
04454e1e | 5382 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5383 | pub const TF_USE_SYSTEM_THREAD: u32 = 16u32; |
04454e1e | 5384 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5385 | pub const TF_WRITE_BEHIND: u32 = 4u32; |
04454e1e | 5386 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5387 | pub const TH_NETDEV: u32 = 1u32; |
04454e1e | 5388 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5389 | pub const TH_TAPI: u32 = 2u32; |
5390 | #[repr(C)] | |
04454e1e | 5391 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5392 | pub struct TIMESTAMPING_CONFIG { |
5393 | pub Flags: u32, | |
5394 | pub TxTimestampsBuffered: u16, | |
5395 | } | |
5396 | impl ::core::marker::Copy for TIMESTAMPING_CONFIG {} | |
5397 | impl ::core::clone::Clone for TIMESTAMPING_CONFIG { | |
5398 | fn clone(&self) -> Self { | |
5399 | *self | |
5400 | } | |
5401 | } | |
04454e1e | 5402 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5403 | pub const TIMESTAMPING_FLAG_RX: u32 = 1u32; |
04454e1e | 5404 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5405 | pub const TIMESTAMPING_FLAG_TX: u32 = 2u32; |
04454e1e | 5406 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5407 | pub const TNS_PLAN_CARRIER_ID_CODE: u32 = 1u32; |
04454e1e | 5408 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5409 | pub const TNS_TYPE_NATIONAL: u32 = 64u32; |
04454e1e | 5410 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5411 | pub const TP_DISCONNECT: u32 = 1u32; |
04454e1e | 5412 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5413 | pub const TP_ELEMENT_EOP: u32 = 4u32; |
04454e1e | 5414 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5415 | pub const TP_ELEMENT_FILE: u32 = 2u32; |
04454e1e | 5416 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5417 | pub const TP_ELEMENT_MEMORY: u32 = 1u32; |
04454e1e | 5418 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5419 | pub const TP_REUSE_SOCKET: u32 = 2u32; |
04454e1e | 5420 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5421 | pub const TP_USE_DEFAULT_WORKER: u32 = 0u32; |
04454e1e | 5422 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5423 | pub const TP_USE_KERNEL_APC: u32 = 32u32; |
04454e1e | 5424 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5425 | pub const TP_USE_SYSTEM_THREAD: u32 = 16u32; |
5426 | #[repr(C)] | |
04454e1e | 5427 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5428 | pub struct TRANSMIT_FILE_BUFFERS { |
5429 | pub Head: *mut ::core::ffi::c_void, | |
5430 | pub HeadLength: u32, | |
5431 | pub Tail: *mut ::core::ffi::c_void, | |
5432 | pub TailLength: u32, | |
5433 | } | |
5434 | impl ::core::marker::Copy for TRANSMIT_FILE_BUFFERS {} | |
5435 | impl ::core::clone::Clone for TRANSMIT_FILE_BUFFERS { | |
5436 | fn clone(&self) -> Self { | |
5437 | *self | |
5438 | } | |
5439 | } | |
5440 | #[repr(C)] | |
04454e1e | 5441 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5442 | #[cfg(feature = "Win32_Foundation")] |
5443 | pub struct TRANSMIT_PACKETS_ELEMENT { | |
5444 | pub dwElFlags: u32, | |
5445 | pub cLength: u32, | |
5446 | pub Anonymous: TRANSMIT_PACKETS_ELEMENT_0, | |
5447 | } | |
5448 | #[cfg(feature = "Win32_Foundation")] | |
5449 | impl ::core::marker::Copy for TRANSMIT_PACKETS_ELEMENT {} | |
5450 | #[cfg(feature = "Win32_Foundation")] | |
5451 | impl ::core::clone::Clone for TRANSMIT_PACKETS_ELEMENT { | |
5452 | fn clone(&self) -> Self { | |
5453 | *self | |
5454 | } | |
5455 | } | |
5456 | #[repr(C)] | |
04454e1e | 5457 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5458 | #[cfg(feature = "Win32_Foundation")] |
5459 | pub union TRANSMIT_PACKETS_ELEMENT_0 { | |
5460 | pub Anonymous: TRANSMIT_PACKETS_ELEMENT_0_0, | |
5461 | pub pBuffer: *mut ::core::ffi::c_void, | |
5462 | } | |
5463 | #[cfg(feature = "Win32_Foundation")] | |
5464 | impl ::core::marker::Copy for TRANSMIT_PACKETS_ELEMENT_0 {} | |
5465 | #[cfg(feature = "Win32_Foundation")] | |
5466 | impl ::core::clone::Clone for TRANSMIT_PACKETS_ELEMENT_0 { | |
5467 | fn clone(&self) -> Self { | |
5468 | *self | |
5469 | } | |
5470 | } | |
5471 | #[repr(C)] | |
04454e1e | 5472 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5473 | #[cfg(feature = "Win32_Foundation")] |
5474 | pub struct TRANSMIT_PACKETS_ELEMENT_0_0 { | |
5475 | pub nFileOffset: i64, | |
5476 | pub hFile: super::super::Foundation::HANDLE, | |
5477 | } | |
5478 | #[cfg(feature = "Win32_Foundation")] | |
5479 | impl ::core::marker::Copy for TRANSMIT_PACKETS_ELEMENT_0_0 {} | |
5480 | #[cfg(feature = "Win32_Foundation")] | |
5481 | impl ::core::clone::Clone for TRANSMIT_PACKETS_ELEMENT_0_0 { | |
5482 | fn clone(&self) -> Self { | |
5483 | *self | |
5484 | } | |
5485 | } | |
5486 | #[repr(C)] | |
04454e1e | 5487 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5488 | pub struct TRANSPORT_SETTING_ID { |
5489 | pub Guid: ::windows_sys::core::GUID, | |
5490 | } | |
5491 | impl ::core::marker::Copy for TRANSPORT_SETTING_ID {} | |
5492 | impl ::core::clone::Clone for TRANSPORT_SETTING_ID { | |
5493 | fn clone(&self) -> Self { | |
5494 | *self | |
5495 | } | |
5496 | } | |
04454e1e | 5497 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5498 | pub const TR_END_TO_END: u32 = 1u32; |
04454e1e | 5499 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5500 | pub const TR_NOIND: u32 = 0u32; |
04454e1e | 5501 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5502 | pub const TR_NO_END_TO_END: u32 = 2u32; |
04454e1e | 5503 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5504 | pub const TT_CBR: u32 = 4u32; |
04454e1e | 5505 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5506 | pub const TT_NOIND: u32 = 0u32; |
04454e1e | 5507 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5508 | pub const TT_VBR: u32 = 8u32; |
04454e1e | 5509 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5510 | pub const UDP_CHECKSUM_COVERAGE: u32 = 20u32; |
04454e1e | 5511 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5512 | pub const UDP_COALESCED_INFO: u32 = 3u32; |
04454e1e | 5513 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5514 | pub const UDP_NOCHECKSUM: u32 = 1u32; |
04454e1e | 5515 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5516 | pub const UDP_RECV_MAX_COALESCED_SIZE: u32 = 3u32; |
04454e1e | 5517 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5518 | pub const UDP_SEND_MSG_SIZE: u32 = 2u32; |
04454e1e | 5519 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5520 | pub const UNIX_PATH_MAX: u32 = 108u32; |
04454e1e | 5521 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5522 | pub const UP_P2MP: u32 = 1u32; |
04454e1e | 5523 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5524 | pub const UP_P2P: u32 = 0u32; |
04454e1e | 5525 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5526 | pub const VNSPROTO_IPC: u32 = 1u32; |
04454e1e | 5527 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5528 | pub const VNSPROTO_RELIABLE_IPC: u32 = 2u32; |
04454e1e | 5529 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5530 | pub const VNSPROTO_SPP: u32 = 3u32; |
04454e1e | 5531 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5532 | pub const WCE_AF_IRDA: u32 = 22u32; |
5533 | #[repr(C)] | |
04454e1e | 5534 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5535 | #[cfg(feature = "Win32_Foundation")] |
5536 | pub struct WCE_DEVICELIST { | |
5537 | pub numDevice: u32, | |
5538 | pub Device: [WCE_IRDA_DEVICE_INFO; 1], | |
5539 | } | |
5540 | #[cfg(feature = "Win32_Foundation")] | |
5541 | impl ::core::marker::Copy for WCE_DEVICELIST {} | |
5542 | #[cfg(feature = "Win32_Foundation")] | |
5543 | impl ::core::clone::Clone for WCE_DEVICELIST { | |
5544 | fn clone(&self) -> Self { | |
5545 | *self | |
5546 | } | |
5547 | } | |
5548 | #[repr(C)] | |
04454e1e | 5549 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5550 | #[cfg(feature = "Win32_Foundation")] |
5551 | pub struct WCE_IRDA_DEVICE_INFO { | |
5552 | pub irdaDeviceID: [u8; 4], | |
5553 | pub irdaDeviceName: [super::super::Foundation::CHAR; 22], | |
5554 | pub Reserved: [u8; 2], | |
5555 | } | |
5556 | #[cfg(feature = "Win32_Foundation")] | |
5557 | impl ::core::marker::Copy for WCE_IRDA_DEVICE_INFO {} | |
5558 | #[cfg(feature = "Win32_Foundation")] | |
5559 | impl ::core::clone::Clone for WCE_IRDA_DEVICE_INFO { | |
5560 | fn clone(&self) -> Self { | |
5561 | *self | |
5562 | } | |
5563 | } | |
04454e1e | 5564 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5565 | pub const WCE_PF_IRDA: u32 = 22u32; |
04454e1e | 5566 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5567 | pub const WINDOWS_AF_IRDA: u32 = 26u32; |
5568 | #[repr(C)] | |
04454e1e | 5569 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5570 | #[cfg(feature = "Win32_Foundation")] |
5571 | pub struct WINDOWS_DEVICELIST { | |
5572 | pub numDevice: u32, | |
5573 | pub Device: [WINDOWS_IRDA_DEVICE_INFO; 1], | |
5574 | } | |
5575 | #[cfg(feature = "Win32_Foundation")] | |
5576 | impl ::core::marker::Copy for WINDOWS_DEVICELIST {} | |
5577 | #[cfg(feature = "Win32_Foundation")] | |
5578 | impl ::core::clone::Clone for WINDOWS_DEVICELIST { | |
5579 | fn clone(&self) -> Self { | |
5580 | *self | |
5581 | } | |
5582 | } | |
5583 | #[repr(C)] | |
04454e1e | 5584 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5585 | #[cfg(feature = "Win32_Foundation")] |
5586 | pub struct WINDOWS_IAS_QUERY { | |
5587 | pub irdaDeviceID: [u8; 4], | |
5588 | pub irdaClassName: [super::super::Foundation::CHAR; 64], | |
5589 | pub irdaAttribName: [super::super::Foundation::CHAR; 256], | |
5590 | pub irdaAttribType: u32, | |
5591 | pub irdaAttribute: WINDOWS_IAS_QUERY_0, | |
5592 | } | |
5593 | #[cfg(feature = "Win32_Foundation")] | |
5594 | impl ::core::marker::Copy for WINDOWS_IAS_QUERY {} | |
5595 | #[cfg(feature = "Win32_Foundation")] | |
5596 | impl ::core::clone::Clone for WINDOWS_IAS_QUERY { | |
5597 | fn clone(&self) -> Self { | |
5598 | *self | |
5599 | } | |
5600 | } | |
5601 | #[repr(C)] | |
04454e1e | 5602 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5603 | #[cfg(feature = "Win32_Foundation")] |
5604 | pub union WINDOWS_IAS_QUERY_0 { | |
5605 | pub irdaAttribInt: i32, | |
5606 | pub irdaAttribOctetSeq: WINDOWS_IAS_QUERY_0_0, | |
5607 | pub irdaAttribUsrStr: WINDOWS_IAS_QUERY_0_1, | |
5608 | } | |
5609 | #[cfg(feature = "Win32_Foundation")] | |
5610 | impl ::core::marker::Copy for WINDOWS_IAS_QUERY_0 {} | |
5611 | #[cfg(feature = "Win32_Foundation")] | |
5612 | impl ::core::clone::Clone for WINDOWS_IAS_QUERY_0 { | |
5613 | fn clone(&self) -> Self { | |
5614 | *self | |
5615 | } | |
5616 | } | |
5617 | #[repr(C)] | |
04454e1e | 5618 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5619 | #[cfg(feature = "Win32_Foundation")] |
5620 | pub struct WINDOWS_IAS_QUERY_0_0 { | |
5621 | pub Len: u32, | |
5622 | pub OctetSeq: [u8; 1024], | |
5623 | } | |
5624 | #[cfg(feature = "Win32_Foundation")] | |
5625 | impl ::core::marker::Copy for WINDOWS_IAS_QUERY_0_0 {} | |
5626 | #[cfg(feature = "Win32_Foundation")] | |
5627 | impl ::core::clone::Clone for WINDOWS_IAS_QUERY_0_0 { | |
5628 | fn clone(&self) -> Self { | |
5629 | *self | |
5630 | } | |
5631 | } | |
5632 | #[repr(C)] | |
04454e1e | 5633 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5634 | #[cfg(feature = "Win32_Foundation")] |
5635 | pub struct WINDOWS_IAS_QUERY_0_1 { | |
5636 | pub Len: u32, | |
5637 | pub CharSet: u32, | |
5638 | pub UsrStr: [u8; 256], | |
5639 | } | |
5640 | #[cfg(feature = "Win32_Foundation")] | |
5641 | impl ::core::marker::Copy for WINDOWS_IAS_QUERY_0_1 {} | |
5642 | #[cfg(feature = "Win32_Foundation")] | |
5643 | impl ::core::clone::Clone for WINDOWS_IAS_QUERY_0_1 { | |
5644 | fn clone(&self) -> Self { | |
5645 | *self | |
5646 | } | |
5647 | } | |
5648 | #[repr(C)] | |
04454e1e | 5649 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5650 | #[cfg(feature = "Win32_Foundation")] |
5651 | pub struct WINDOWS_IAS_SET { | |
5652 | pub irdaClassName: [super::super::Foundation::CHAR; 64], | |
5653 | pub irdaAttribName: [super::super::Foundation::CHAR; 256], | |
5654 | pub irdaAttribType: u32, | |
5655 | pub irdaAttribute: WINDOWS_IAS_SET_0, | |
5656 | } | |
5657 | #[cfg(feature = "Win32_Foundation")] | |
5658 | impl ::core::marker::Copy for WINDOWS_IAS_SET {} | |
5659 | #[cfg(feature = "Win32_Foundation")] | |
5660 | impl ::core::clone::Clone for WINDOWS_IAS_SET { | |
5661 | fn clone(&self) -> Self { | |
5662 | *self | |
5663 | } | |
5664 | } | |
5665 | #[repr(C)] | |
04454e1e | 5666 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5667 | #[cfg(feature = "Win32_Foundation")] |
5668 | pub union WINDOWS_IAS_SET_0 { | |
5669 | pub irdaAttribInt: i32, | |
5670 | pub irdaAttribOctetSeq: WINDOWS_IAS_SET_0_0, | |
5671 | pub irdaAttribUsrStr: WINDOWS_IAS_SET_0_1, | |
5672 | } | |
5673 | #[cfg(feature = "Win32_Foundation")] | |
5674 | impl ::core::marker::Copy for WINDOWS_IAS_SET_0 {} | |
5675 | #[cfg(feature = "Win32_Foundation")] | |
5676 | impl ::core::clone::Clone for WINDOWS_IAS_SET_0 { | |
5677 | fn clone(&self) -> Self { | |
5678 | *self | |
5679 | } | |
5680 | } | |
5681 | #[repr(C)] | |
04454e1e | 5682 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5683 | #[cfg(feature = "Win32_Foundation")] |
5684 | pub struct WINDOWS_IAS_SET_0_0 { | |
5685 | pub Len: u16, | |
5686 | pub OctetSeq: [u8; 1024], | |
5687 | } | |
5688 | #[cfg(feature = "Win32_Foundation")] | |
5689 | impl ::core::marker::Copy for WINDOWS_IAS_SET_0_0 {} | |
5690 | #[cfg(feature = "Win32_Foundation")] | |
5691 | impl ::core::clone::Clone for WINDOWS_IAS_SET_0_0 { | |
5692 | fn clone(&self) -> Self { | |
5693 | *self | |
5694 | } | |
5695 | } | |
5696 | #[repr(C)] | |
04454e1e | 5697 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5698 | #[cfg(feature = "Win32_Foundation")] |
5699 | pub struct WINDOWS_IAS_SET_0_1 { | |
5700 | pub Len: u8, | |
5701 | pub CharSet: u8, | |
5702 | pub UsrStr: [u8; 256], | |
5703 | } | |
5704 | #[cfg(feature = "Win32_Foundation")] | |
5705 | impl ::core::marker::Copy for WINDOWS_IAS_SET_0_1 {} | |
5706 | #[cfg(feature = "Win32_Foundation")] | |
5707 | impl ::core::clone::Clone for WINDOWS_IAS_SET_0_1 { | |
5708 | fn clone(&self) -> Self { | |
5709 | *self | |
5710 | } | |
5711 | } | |
5712 | #[repr(C)] | |
04454e1e | 5713 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5714 | #[cfg(feature = "Win32_Foundation")] |
5715 | pub struct WINDOWS_IRDA_DEVICE_INFO { | |
5716 | pub irdaDeviceID: [u8; 4], | |
5717 | pub irdaDeviceName: [super::super::Foundation::CHAR; 22], | |
5718 | pub irdaDeviceHints1: u8, | |
5719 | pub irdaDeviceHints2: u8, | |
5720 | pub irdaCharSet: u8, | |
5721 | } | |
5722 | #[cfg(feature = "Win32_Foundation")] | |
5723 | impl ::core::marker::Copy for WINDOWS_IRDA_DEVICE_INFO {} | |
5724 | #[cfg(feature = "Win32_Foundation")] | |
5725 | impl ::core::clone::Clone for WINDOWS_IRDA_DEVICE_INFO { | |
5726 | fn clone(&self) -> Self { | |
5727 | *self | |
5728 | } | |
5729 | } | |
04454e1e | 5730 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5731 | pub const WINDOWS_PF_IRDA: u32 = 26u32; |
5732 | #[repr(C)] | |
04454e1e | 5733 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5734 | pub struct WSABUF { |
5735 | pub len: u32, | |
04454e1e | 5736 | pub buf: ::windows_sys::core::PSTR, |
5e7ed085 | 5737 | } |
5e7ed085 | 5738 | impl ::core::marker::Copy for WSABUF {} |
5e7ed085 FG |
5739 | impl ::core::clone::Clone for WSABUF { |
5740 | fn clone(&self) -> Self { | |
5741 | *self | |
5742 | } | |
5743 | } | |
5744 | #[repr(C)] | |
04454e1e | 5745 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
5746 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
5747 | pub struct WSACOMPLETION { | |
5748 | pub Type: WSACOMPLETIONTYPE, | |
5749 | pub Parameters: WSACOMPLETION_0, | |
5750 | } | |
5751 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] | |
5752 | impl ::core::marker::Copy for WSACOMPLETION {} | |
5753 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] | |
5754 | impl ::core::clone::Clone for WSACOMPLETION { | |
5755 | fn clone(&self) -> Self { | |
5756 | *self | |
5757 | } | |
5758 | } | |
5759 | #[repr(C)] | |
04454e1e | 5760 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
5761 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
5762 | pub union WSACOMPLETION_0 { | |
5763 | pub WindowMessage: WSACOMPLETION_0_3, | |
5764 | pub Event: WSACOMPLETION_0_1, | |
5765 | pub Apc: WSACOMPLETION_0_0, | |
5766 | pub Port: WSACOMPLETION_0_2, | |
5767 | } | |
5768 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] | |
5769 | impl ::core::marker::Copy for WSACOMPLETION_0 {} | |
5770 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] | |
5771 | impl ::core::clone::Clone for WSACOMPLETION_0 { | |
5772 | fn clone(&self) -> Self { | |
5773 | *self | |
5774 | } | |
5775 | } | |
5776 | #[repr(C)] | |
04454e1e | 5777 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
5778 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
5779 | pub struct WSACOMPLETION_0_0 { | |
5780 | pub lpOverlapped: *mut super::super::System::IO::OVERLAPPED, | |
5781 | pub lpfnCompletionProc: LPWSAOVERLAPPED_COMPLETION_ROUTINE, | |
5782 | } | |
5783 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] | |
5784 | impl ::core::marker::Copy for WSACOMPLETION_0_0 {} | |
5785 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] | |
5786 | impl ::core::clone::Clone for WSACOMPLETION_0_0 { | |
5787 | fn clone(&self) -> Self { | |
5788 | *self | |
5789 | } | |
5790 | } | |
5791 | #[repr(C)] | |
04454e1e | 5792 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
5793 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
5794 | pub struct WSACOMPLETION_0_1 { | |
5795 | pub lpOverlapped: *mut super::super::System::IO::OVERLAPPED, | |
5796 | } | |
5797 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] | |
5798 | impl ::core::marker::Copy for WSACOMPLETION_0_1 {} | |
5799 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] | |
5800 | impl ::core::clone::Clone for WSACOMPLETION_0_1 { | |
5801 | fn clone(&self) -> Self { | |
5802 | *self | |
5803 | } | |
5804 | } | |
5805 | #[repr(C)] | |
04454e1e | 5806 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
5807 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
5808 | pub struct WSACOMPLETION_0_2 { | |
5809 | pub lpOverlapped: *mut super::super::System::IO::OVERLAPPED, | |
5810 | pub hPort: super::super::Foundation::HANDLE, | |
5811 | pub Key: usize, | |
5812 | } | |
5813 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] | |
5814 | impl ::core::marker::Copy for WSACOMPLETION_0_2 {} | |
5815 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] | |
5816 | impl ::core::clone::Clone for WSACOMPLETION_0_2 { | |
5817 | fn clone(&self) -> Self { | |
5818 | *self | |
5819 | } | |
5820 | } | |
5821 | #[repr(C)] | |
04454e1e | 5822 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
5823 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
5824 | pub struct WSACOMPLETION_0_3 { | |
5825 | pub hWnd: super::super::Foundation::HWND, | |
5826 | pub uMsg: u32, | |
5827 | pub context: super::super::Foundation::WPARAM, | |
5828 | } | |
5829 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] | |
5830 | impl ::core::marker::Copy for WSACOMPLETION_0_3 {} | |
5831 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] | |
5832 | impl ::core::clone::Clone for WSACOMPLETION_0_3 { | |
5833 | fn clone(&self) -> Self { | |
5834 | *self | |
5835 | } | |
5836 | } | |
04454e1e | 5837 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5838 | pub type WSACOMPLETIONTYPE = i32; |
04454e1e | 5839 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5840 | pub const NSP_NOTIFY_IMMEDIATELY: WSACOMPLETIONTYPE = 0i32; |
04454e1e | 5841 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5842 | pub const NSP_NOTIFY_HWND: WSACOMPLETIONTYPE = 1i32; |
04454e1e | 5843 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5844 | pub const NSP_NOTIFY_EVENT: WSACOMPLETIONTYPE = 2i32; |
04454e1e | 5845 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5846 | pub const NSP_NOTIFY_PORT: WSACOMPLETIONTYPE = 3i32; |
04454e1e | 5847 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5848 | pub const NSP_NOTIFY_APC: WSACOMPLETIONTYPE = 4i32; |
04454e1e | 5849 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5850 | pub const WSADESCRIPTION_LEN: u32 = 256u32; |
5851 | #[repr(C)] | |
04454e1e | 5852 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5853 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
5854 | #[cfg(feature = "Win32_Foundation")] | |
5855 | pub struct WSAData { | |
5856 | pub wVersion: u16, | |
5857 | pub wHighVersion: u16, | |
5858 | pub iMaxSockets: u16, | |
5859 | pub iMaxUdpDg: u16, | |
04454e1e | 5860 | pub lpVendorInfo: ::windows_sys::core::PSTR, |
5e7ed085 FG |
5861 | pub szDescription: [super::super::Foundation::CHAR; 257], |
5862 | pub szSystemStatus: [super::super::Foundation::CHAR; 129], | |
5863 | } | |
5864 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] | |
5865 | #[cfg(feature = "Win32_Foundation")] | |
5866 | impl ::core::marker::Copy for WSAData {} | |
5867 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] | |
5868 | #[cfg(feature = "Win32_Foundation")] | |
5869 | impl ::core::clone::Clone for WSAData { | |
5870 | fn clone(&self) -> Self { | |
5871 | *self | |
5872 | } | |
5873 | } | |
5874 | #[repr(C)] | |
04454e1e | 5875 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5876 | #[cfg(target_arch = "x86")] |
5877 | #[cfg(feature = "Win32_Foundation")] | |
5878 | pub struct WSAData { | |
5879 | pub wVersion: u16, | |
5880 | pub wHighVersion: u16, | |
5881 | pub szDescription: [super::super::Foundation::CHAR; 257], | |
5882 | pub szSystemStatus: [super::super::Foundation::CHAR; 129], | |
5883 | pub iMaxSockets: u16, | |
5884 | pub iMaxUdpDg: u16, | |
04454e1e | 5885 | pub lpVendorInfo: ::windows_sys::core::PSTR, |
5e7ed085 FG |
5886 | } |
5887 | #[cfg(target_arch = "x86")] | |
5888 | #[cfg(feature = "Win32_Foundation")] | |
5889 | impl ::core::marker::Copy for WSAData {} | |
5890 | #[cfg(target_arch = "x86")] | |
5891 | #[cfg(feature = "Win32_Foundation")] | |
5892 | impl ::core::clone::Clone for WSAData { | |
5893 | fn clone(&self) -> Self { | |
5894 | *self | |
5895 | } | |
5896 | } | |
04454e1e | 5897 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5898 | pub type WSAECOMPARATOR = i32; |
04454e1e | 5899 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5900 | pub const COMP_EQUAL: WSAECOMPARATOR = 0i32; |
04454e1e | 5901 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5902 | pub const COMP_NOTLESS: WSAECOMPARATOR = 1i32; |
04454e1e | 5903 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5904 | pub type WSAESETSERVICEOP = i32; |
04454e1e | 5905 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5906 | pub const RNRSERVICE_REGISTER: WSAESETSERVICEOP = 0i32; |
04454e1e | 5907 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 5908 | pub const RNRSERVICE_DEREGISTER: WSAESETSERVICEOP = 1i32; |
04454e1e | 5909 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
5910 | pub const RNRSERVICE_DELETE: WSAESETSERVICEOP = 2i32; |
5911 | #[repr(C)] | |
04454e1e | 5912 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5913 | #[cfg(feature = "Win32_Foundation")] |
5914 | pub struct WSAMSG { | |
5915 | pub name: *mut SOCKADDR, | |
5916 | pub namelen: i32, | |
5917 | pub lpBuffers: *mut WSABUF, | |
5918 | pub dwBufferCount: u32, | |
5919 | pub Control: WSABUF, | |
5920 | pub dwFlags: u32, | |
5921 | } | |
5922 | #[cfg(feature = "Win32_Foundation")] | |
5923 | impl ::core::marker::Copy for WSAMSG {} | |
5924 | #[cfg(feature = "Win32_Foundation")] | |
5925 | impl ::core::clone::Clone for WSAMSG { | |
5926 | fn clone(&self) -> Self { | |
5927 | *self | |
5928 | } | |
5929 | } | |
5930 | #[repr(C)] | |
04454e1e | 5931 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5932 | #[cfg(feature = "Win32_Foundation")] |
5933 | pub struct WSANAMESPACE_INFOA { | |
5934 | pub NSProviderId: ::windows_sys::core::GUID, | |
5935 | pub dwNameSpace: u32, | |
5936 | pub fActive: super::super::Foundation::BOOL, | |
5937 | pub dwVersion: u32, | |
04454e1e | 5938 | pub lpszIdentifier: ::windows_sys::core::PSTR, |
5e7ed085 FG |
5939 | } |
5940 | #[cfg(feature = "Win32_Foundation")] | |
5941 | impl ::core::marker::Copy for WSANAMESPACE_INFOA {} | |
5942 | #[cfg(feature = "Win32_Foundation")] | |
5943 | impl ::core::clone::Clone for WSANAMESPACE_INFOA { | |
5944 | fn clone(&self) -> Self { | |
5945 | *self | |
5946 | } | |
5947 | } | |
5948 | #[repr(C)] | |
04454e1e | 5949 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
5950 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
5951 | pub struct WSANAMESPACE_INFOEXA { | |
5952 | pub NSProviderId: ::windows_sys::core::GUID, | |
5953 | pub dwNameSpace: u32, | |
5954 | pub fActive: super::super::Foundation::BOOL, | |
5955 | pub dwVersion: u32, | |
04454e1e | 5956 | pub lpszIdentifier: ::windows_sys::core::PSTR, |
5e7ed085 FG |
5957 | pub ProviderSpecific: super::super::System::Com::BLOB, |
5958 | } | |
5959 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
5960 | impl ::core::marker::Copy for WSANAMESPACE_INFOEXA {} | |
5961 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
5962 | impl ::core::clone::Clone for WSANAMESPACE_INFOEXA { | |
5963 | fn clone(&self) -> Self { | |
5964 | *self | |
5965 | } | |
5966 | } | |
5967 | #[repr(C)] | |
04454e1e | 5968 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
5969 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
5970 | pub struct WSANAMESPACE_INFOEXW { | |
5971 | pub NSProviderId: ::windows_sys::core::GUID, | |
5972 | pub dwNameSpace: u32, | |
5973 | pub fActive: super::super::Foundation::BOOL, | |
5974 | pub dwVersion: u32, | |
04454e1e | 5975 | pub lpszIdentifier: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
5976 | pub ProviderSpecific: super::super::System::Com::BLOB, |
5977 | } | |
5978 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
5979 | impl ::core::marker::Copy for WSANAMESPACE_INFOEXW {} | |
5980 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
5981 | impl ::core::clone::Clone for WSANAMESPACE_INFOEXW { | |
5982 | fn clone(&self) -> Self { | |
5983 | *self | |
5984 | } | |
5985 | } | |
5986 | #[repr(C)] | |
04454e1e | 5987 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5988 | #[cfg(feature = "Win32_Foundation")] |
5989 | pub struct WSANAMESPACE_INFOW { | |
5990 | pub NSProviderId: ::windows_sys::core::GUID, | |
5991 | pub dwNameSpace: u32, | |
5992 | pub fActive: super::super::Foundation::BOOL, | |
5993 | pub dwVersion: u32, | |
04454e1e | 5994 | pub lpszIdentifier: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
5995 | } |
5996 | #[cfg(feature = "Win32_Foundation")] | |
5997 | impl ::core::marker::Copy for WSANAMESPACE_INFOW {} | |
5998 | #[cfg(feature = "Win32_Foundation")] | |
5999 | impl ::core::clone::Clone for WSANAMESPACE_INFOW { | |
6000 | fn clone(&self) -> Self { | |
6001 | *self | |
6002 | } | |
6003 | } | |
6004 | #[repr(C)] | |
04454e1e | 6005 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6006 | pub struct WSANETWORKEVENTS { |
6007 | pub lNetworkEvents: i32, | |
6008 | pub iErrorCode: [i32; 10], | |
6009 | } | |
6010 | impl ::core::marker::Copy for WSANETWORKEVENTS {} | |
6011 | impl ::core::clone::Clone for WSANETWORKEVENTS { | |
6012 | fn clone(&self) -> Self { | |
6013 | *self | |
6014 | } | |
6015 | } | |
6016 | #[repr(C)] | |
04454e1e | 6017 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6018 | pub struct WSANSCLASSINFOA { |
04454e1e | 6019 | pub lpszName: ::windows_sys::core::PSTR, |
5e7ed085 FG |
6020 | pub dwNameSpace: u32, |
6021 | pub dwValueType: u32, | |
6022 | pub dwValueSize: u32, | |
6023 | pub lpValue: *mut ::core::ffi::c_void, | |
6024 | } | |
5e7ed085 | 6025 | impl ::core::marker::Copy for WSANSCLASSINFOA {} |
5e7ed085 FG |
6026 | impl ::core::clone::Clone for WSANSCLASSINFOA { |
6027 | fn clone(&self) -> Self { | |
6028 | *self | |
6029 | } | |
6030 | } | |
6031 | #[repr(C)] | |
04454e1e | 6032 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6033 | pub struct WSANSCLASSINFOW { |
04454e1e | 6034 | pub lpszName: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6035 | pub dwNameSpace: u32, |
6036 | pub dwValueType: u32, | |
6037 | pub dwValueSize: u32, | |
6038 | pub lpValue: *mut ::core::ffi::c_void, | |
6039 | } | |
5e7ed085 | 6040 | impl ::core::marker::Copy for WSANSCLASSINFOW {} |
5e7ed085 FG |
6041 | impl ::core::clone::Clone for WSANSCLASSINFOW { |
6042 | fn clone(&self) -> Self { | |
6043 | *self | |
6044 | } | |
6045 | } | |
6046 | #[repr(C)] | |
04454e1e | 6047 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6048 | pub struct WSAPOLLDATA { |
6049 | pub result: i32, | |
6050 | pub fds: u32, | |
6051 | pub timeout: i32, | |
6052 | pub fdArray: [WSAPOLLFD; 1], | |
6053 | } | |
6054 | impl ::core::marker::Copy for WSAPOLLDATA {} | |
6055 | impl ::core::clone::Clone for WSAPOLLDATA { | |
6056 | fn clone(&self) -> Self { | |
6057 | *self | |
6058 | } | |
6059 | } | |
6060 | #[repr(C)] | |
04454e1e | 6061 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6062 | pub struct WSAPOLLFD { |
6063 | pub fd: SOCKET, | |
6064 | pub events: i16, | |
6065 | pub revents: i16, | |
6066 | } | |
6067 | impl ::core::marker::Copy for WSAPOLLFD {} | |
6068 | impl ::core::clone::Clone for WSAPOLLFD { | |
6069 | fn clone(&self) -> Self { | |
6070 | *self | |
6071 | } | |
6072 | } | |
6073 | #[repr(C)] | |
04454e1e | 6074 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6075 | pub struct WSAPROTOCOLCHAIN { |
6076 | pub ChainLen: i32, | |
6077 | pub ChainEntries: [u32; 7], | |
6078 | } | |
6079 | impl ::core::marker::Copy for WSAPROTOCOLCHAIN {} | |
6080 | impl ::core::clone::Clone for WSAPROTOCOLCHAIN { | |
6081 | fn clone(&self) -> Self { | |
6082 | *self | |
6083 | } | |
6084 | } | |
6085 | #[repr(C)] | |
04454e1e | 6086 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6087 | #[cfg(feature = "Win32_Foundation")] |
6088 | pub struct WSAPROTOCOL_INFOA { | |
6089 | pub dwServiceFlags1: u32, | |
6090 | pub dwServiceFlags2: u32, | |
6091 | pub dwServiceFlags3: u32, | |
6092 | pub dwServiceFlags4: u32, | |
6093 | pub dwProviderFlags: u32, | |
6094 | pub ProviderId: ::windows_sys::core::GUID, | |
6095 | pub dwCatalogEntryId: u32, | |
6096 | pub ProtocolChain: WSAPROTOCOLCHAIN, | |
6097 | pub iVersion: i32, | |
6098 | pub iAddressFamily: i32, | |
6099 | pub iMaxSockAddr: i32, | |
6100 | pub iMinSockAddr: i32, | |
6101 | pub iSocketType: i32, | |
6102 | pub iProtocol: i32, | |
6103 | pub iProtocolMaxOffset: i32, | |
6104 | pub iNetworkByteOrder: i32, | |
6105 | pub iSecurityScheme: i32, | |
6106 | pub dwMessageSize: u32, | |
6107 | pub dwProviderReserved: u32, | |
6108 | pub szProtocol: [super::super::Foundation::CHAR; 256], | |
6109 | } | |
6110 | #[cfg(feature = "Win32_Foundation")] | |
6111 | impl ::core::marker::Copy for WSAPROTOCOL_INFOA {} | |
6112 | #[cfg(feature = "Win32_Foundation")] | |
6113 | impl ::core::clone::Clone for WSAPROTOCOL_INFOA { | |
6114 | fn clone(&self) -> Self { | |
6115 | *self | |
6116 | } | |
6117 | } | |
6118 | #[repr(C)] | |
04454e1e | 6119 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6120 | pub struct WSAPROTOCOL_INFOW { |
6121 | pub dwServiceFlags1: u32, | |
6122 | pub dwServiceFlags2: u32, | |
6123 | pub dwServiceFlags3: u32, | |
6124 | pub dwServiceFlags4: u32, | |
6125 | pub dwProviderFlags: u32, | |
6126 | pub ProviderId: ::windows_sys::core::GUID, | |
6127 | pub dwCatalogEntryId: u32, | |
6128 | pub ProtocolChain: WSAPROTOCOLCHAIN, | |
6129 | pub iVersion: i32, | |
6130 | pub iAddressFamily: i32, | |
6131 | pub iMaxSockAddr: i32, | |
6132 | pub iMinSockAddr: i32, | |
6133 | pub iSocketType: i32, | |
6134 | pub iProtocol: i32, | |
6135 | pub iProtocolMaxOffset: i32, | |
6136 | pub iNetworkByteOrder: i32, | |
6137 | pub iSecurityScheme: i32, | |
6138 | pub dwMessageSize: u32, | |
6139 | pub dwProviderReserved: u32, | |
6140 | pub szProtocol: [u16; 256], | |
6141 | } | |
6142 | impl ::core::marker::Copy for WSAPROTOCOL_INFOW {} | |
6143 | impl ::core::clone::Clone for WSAPROTOCOL_INFOW { | |
6144 | fn clone(&self) -> Self { | |
6145 | *self | |
6146 | } | |
6147 | } | |
04454e1e | 6148 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6149 | pub const WSAPROTOCOL_LEN: u32 = 255u32; |
6150 | #[repr(C)] | |
04454e1e | 6151 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
6152 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
6153 | pub struct WSAQUERYSET2A { | |
6154 | pub dwSize: u32, | |
04454e1e | 6155 | pub lpszServiceInstanceName: ::windows_sys::core::PSTR, |
5e7ed085 | 6156 | pub lpVersion: *mut WSAVERSION, |
04454e1e | 6157 | pub lpszComment: ::windows_sys::core::PSTR, |
5e7ed085 FG |
6158 | pub dwNameSpace: u32, |
6159 | pub lpNSProviderId: *mut ::windows_sys::core::GUID, | |
04454e1e | 6160 | pub lpszContext: ::windows_sys::core::PSTR, |
5e7ed085 FG |
6161 | pub dwNumberOfProtocols: u32, |
6162 | pub lpafpProtocols: *mut AFPROTOCOLS, | |
04454e1e | 6163 | pub lpszQueryString: ::windows_sys::core::PSTR, |
5e7ed085 FG |
6164 | pub dwNumberOfCsAddrs: u32, |
6165 | pub lpcsaBuffer: *mut CSADDR_INFO, | |
6166 | pub dwOutputFlags: u32, | |
6167 | pub lpBlob: *mut super::super::System::Com::BLOB, | |
6168 | } | |
6169 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
6170 | impl ::core::marker::Copy for WSAQUERYSET2A {} | |
6171 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
6172 | impl ::core::clone::Clone for WSAQUERYSET2A { | |
6173 | fn clone(&self) -> Self { | |
6174 | *self | |
6175 | } | |
6176 | } | |
6177 | #[repr(C)] | |
04454e1e | 6178 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
6179 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
6180 | pub struct WSAQUERYSET2W { | |
6181 | pub dwSize: u32, | |
04454e1e | 6182 | pub lpszServiceInstanceName: ::windows_sys::core::PWSTR, |
5e7ed085 | 6183 | pub lpVersion: *mut WSAVERSION, |
04454e1e | 6184 | pub lpszComment: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6185 | pub dwNameSpace: u32, |
6186 | pub lpNSProviderId: *mut ::windows_sys::core::GUID, | |
04454e1e | 6187 | pub lpszContext: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6188 | pub dwNumberOfProtocols: u32, |
6189 | pub lpafpProtocols: *mut AFPROTOCOLS, | |
04454e1e | 6190 | pub lpszQueryString: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6191 | pub dwNumberOfCsAddrs: u32, |
6192 | pub lpcsaBuffer: *mut CSADDR_INFO, | |
6193 | pub dwOutputFlags: u32, | |
6194 | pub lpBlob: *mut super::super::System::Com::BLOB, | |
6195 | } | |
6196 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
6197 | impl ::core::marker::Copy for WSAQUERYSET2W {} | |
6198 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
6199 | impl ::core::clone::Clone for WSAQUERYSET2W { | |
6200 | fn clone(&self) -> Self { | |
6201 | *self | |
6202 | } | |
6203 | } | |
6204 | #[repr(C)] | |
04454e1e | 6205 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
6206 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
6207 | pub struct WSAQUERYSETA { | |
6208 | pub dwSize: u32, | |
04454e1e | 6209 | pub lpszServiceInstanceName: ::windows_sys::core::PSTR, |
5e7ed085 FG |
6210 | pub lpServiceClassId: *mut ::windows_sys::core::GUID, |
6211 | pub lpVersion: *mut WSAVERSION, | |
04454e1e | 6212 | pub lpszComment: ::windows_sys::core::PSTR, |
5e7ed085 FG |
6213 | pub dwNameSpace: u32, |
6214 | pub lpNSProviderId: *mut ::windows_sys::core::GUID, | |
04454e1e | 6215 | pub lpszContext: ::windows_sys::core::PSTR, |
5e7ed085 FG |
6216 | pub dwNumberOfProtocols: u32, |
6217 | pub lpafpProtocols: *mut AFPROTOCOLS, | |
04454e1e | 6218 | pub lpszQueryString: ::windows_sys::core::PSTR, |
5e7ed085 FG |
6219 | pub dwNumberOfCsAddrs: u32, |
6220 | pub lpcsaBuffer: *mut CSADDR_INFO, | |
6221 | pub dwOutputFlags: u32, | |
6222 | pub lpBlob: *mut super::super::System::Com::BLOB, | |
6223 | } | |
6224 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
6225 | impl ::core::marker::Copy for WSAQUERYSETA {} | |
6226 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
6227 | impl ::core::clone::Clone for WSAQUERYSETA { | |
6228 | fn clone(&self) -> Self { | |
6229 | *self | |
6230 | } | |
6231 | } | |
6232 | #[repr(C)] | |
04454e1e | 6233 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
5e7ed085 FG |
6234 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
6235 | pub struct WSAQUERYSETW { | |
6236 | pub dwSize: u32, | |
04454e1e | 6237 | pub lpszServiceInstanceName: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6238 | pub lpServiceClassId: *mut ::windows_sys::core::GUID, |
6239 | pub lpVersion: *mut WSAVERSION, | |
04454e1e | 6240 | pub lpszComment: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6241 | pub dwNameSpace: u32, |
6242 | pub lpNSProviderId: *mut ::windows_sys::core::GUID, | |
04454e1e | 6243 | pub lpszContext: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6244 | pub dwNumberOfProtocols: u32, |
6245 | pub lpafpProtocols: *mut AFPROTOCOLS, | |
04454e1e | 6246 | pub lpszQueryString: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6247 | pub dwNumberOfCsAddrs: u32, |
6248 | pub lpcsaBuffer: *mut CSADDR_INFO, | |
6249 | pub dwOutputFlags: u32, | |
6250 | pub lpBlob: *mut super::super::System::Com::BLOB, | |
6251 | } | |
6252 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
6253 | impl ::core::marker::Copy for WSAQUERYSETW {} | |
6254 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] | |
6255 | impl ::core::clone::Clone for WSAQUERYSETW { | |
6256 | fn clone(&self) -> Self { | |
6257 | *self | |
6258 | } | |
6259 | } | |
6260 | #[repr(C)] | |
04454e1e | 6261 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
6262 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
6263 | pub struct WSASENDMSG { | |
6264 | pub lpMsg: *mut WSAMSG, | |
6265 | pub dwFlags: u32, | |
6266 | pub lpNumberOfBytesSent: *mut u32, | |
6267 | pub lpOverlapped: *mut super::super::System::IO::OVERLAPPED, | |
6268 | pub lpCompletionRoutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE, | |
6269 | } | |
6270 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] | |
6271 | impl ::core::marker::Copy for WSASENDMSG {} | |
6272 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] | |
6273 | impl ::core::clone::Clone for WSASENDMSG { | |
6274 | fn clone(&self) -> Self { | |
6275 | *self | |
6276 | } | |
6277 | } | |
6278 | #[repr(C)] | |
04454e1e | 6279 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6280 | pub struct WSASERVICECLASSINFOA { |
6281 | pub lpServiceClassId: *mut ::windows_sys::core::GUID, | |
04454e1e | 6282 | pub lpszServiceClassName: ::windows_sys::core::PSTR, |
5e7ed085 FG |
6283 | pub dwCount: u32, |
6284 | pub lpClassInfos: *mut WSANSCLASSINFOA, | |
6285 | } | |
5e7ed085 | 6286 | impl ::core::marker::Copy for WSASERVICECLASSINFOA {} |
5e7ed085 FG |
6287 | impl ::core::clone::Clone for WSASERVICECLASSINFOA { |
6288 | fn clone(&self) -> Self { | |
6289 | *self | |
6290 | } | |
6291 | } | |
6292 | #[repr(C)] | |
04454e1e | 6293 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6294 | pub struct WSASERVICECLASSINFOW { |
6295 | pub lpServiceClassId: *mut ::windows_sys::core::GUID, | |
04454e1e | 6296 | pub lpszServiceClassName: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6297 | pub dwCount: u32, |
6298 | pub lpClassInfos: *mut WSANSCLASSINFOW, | |
6299 | } | |
5e7ed085 | 6300 | impl ::core::marker::Copy for WSASERVICECLASSINFOW {} |
5e7ed085 FG |
6301 | impl ::core::clone::Clone for WSASERVICECLASSINFOW { |
6302 | fn clone(&self) -> Self { | |
6303 | *self | |
6304 | } | |
6305 | } | |
04454e1e | 6306 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6307 | pub const WSASYS_STATUS_LEN: u32 = 128u32; |
6308 | #[repr(C)] | |
04454e1e | 6309 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6310 | #[cfg(feature = "Win32_Foundation")] |
6311 | pub struct WSATHREADID { | |
6312 | pub ThreadHandle: super::super::Foundation::HANDLE, | |
6313 | pub Reserved: usize, | |
6314 | } | |
6315 | #[cfg(feature = "Win32_Foundation")] | |
6316 | impl ::core::marker::Copy for WSATHREADID {} | |
6317 | #[cfg(feature = "Win32_Foundation")] | |
6318 | impl ::core::clone::Clone for WSATHREADID { | |
6319 | fn clone(&self) -> Self { | |
6320 | *self | |
6321 | } | |
6322 | } | |
6323 | #[repr(C)] | |
04454e1e | 6324 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6325 | pub struct WSAVERSION { |
6326 | pub dwVersion: u32, | |
6327 | pub ecHow: WSAECOMPARATOR, | |
6328 | } | |
6329 | impl ::core::marker::Copy for WSAVERSION {} | |
6330 | impl ::core::clone::Clone for WSAVERSION { | |
6331 | fn clone(&self) -> Self { | |
6332 | *self | |
6333 | } | |
6334 | } | |
04454e1e | 6335 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6336 | pub type WSA_COMPATIBILITY_BEHAVIOR_ID = i32; |
04454e1e | 6337 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6338 | pub const WsaBehaviorAll: WSA_COMPATIBILITY_BEHAVIOR_ID = 0i32; |
04454e1e | 6339 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6340 | pub const WsaBehaviorReceiveBuffering: WSA_COMPATIBILITY_BEHAVIOR_ID = 1i32; |
04454e1e | 6341 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6342 | pub const WsaBehaviorAutoTuning: WSA_COMPATIBILITY_BEHAVIOR_ID = 2i32; |
6343 | #[repr(C)] | |
04454e1e | 6344 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6345 | pub struct WSA_COMPATIBILITY_MODE { |
6346 | pub BehaviorId: WSA_COMPATIBILITY_BEHAVIOR_ID, | |
6347 | pub TargetOsVersion: u32, | |
6348 | } | |
6349 | impl ::core::marker::Copy for WSA_COMPATIBILITY_MODE {} | |
6350 | impl ::core::clone::Clone for WSA_COMPATIBILITY_MODE { | |
6351 | fn clone(&self) -> Self { | |
6352 | *self | |
6353 | } | |
6354 | } | |
04454e1e | 6355 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6356 | pub type WSA_ERROR = i32; |
04454e1e | 6357 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6358 | pub const WSA_IO_PENDING: WSA_ERROR = 997i32; |
04454e1e | 6359 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6360 | pub const WSA_IO_INCOMPLETE: WSA_ERROR = 996i32; |
04454e1e | 6361 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6362 | pub const WSA_INVALID_HANDLE: WSA_ERROR = 6i32; |
04454e1e | 6363 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6364 | pub const WSA_INVALID_PARAMETER: WSA_ERROR = 87i32; |
04454e1e | 6365 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6366 | pub const WSA_NOT_ENOUGH_MEMORY: WSA_ERROR = 8i32; |
04454e1e | 6367 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6368 | pub const WSA_OPERATION_ABORTED: WSA_ERROR = 995i32; |
04454e1e | 6369 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6370 | pub const WSABASEERR: WSA_ERROR = 10000i32; |
04454e1e | 6371 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6372 | pub const WSAEINTR: WSA_ERROR = 10004i32; |
04454e1e | 6373 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6374 | pub const WSAEBADF: WSA_ERROR = 10009i32; |
04454e1e | 6375 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6376 | pub const WSAEACCES: WSA_ERROR = 10013i32; |
04454e1e | 6377 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6378 | pub const WSAEFAULT: WSA_ERROR = 10014i32; |
04454e1e | 6379 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6380 | pub const WSAEINVAL: WSA_ERROR = 10022i32; |
04454e1e | 6381 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6382 | pub const WSAEMFILE: WSA_ERROR = 10024i32; |
04454e1e | 6383 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6384 | pub const WSAEWOULDBLOCK: WSA_ERROR = 10035i32; |
04454e1e | 6385 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6386 | pub const WSAEINPROGRESS: WSA_ERROR = 10036i32; |
04454e1e | 6387 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6388 | pub const WSAEALREADY: WSA_ERROR = 10037i32; |
04454e1e | 6389 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6390 | pub const WSAENOTSOCK: WSA_ERROR = 10038i32; |
04454e1e | 6391 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6392 | pub const WSAEDESTADDRREQ: WSA_ERROR = 10039i32; |
04454e1e | 6393 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6394 | pub const WSAEMSGSIZE: WSA_ERROR = 10040i32; |
04454e1e | 6395 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6396 | pub const WSAEPROTOTYPE: WSA_ERROR = 10041i32; |
04454e1e | 6397 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6398 | pub const WSAENOPROTOOPT: WSA_ERROR = 10042i32; |
04454e1e | 6399 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6400 | pub const WSAEPROTONOSUPPORT: WSA_ERROR = 10043i32; |
04454e1e | 6401 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6402 | pub const WSAESOCKTNOSUPPORT: WSA_ERROR = 10044i32; |
04454e1e | 6403 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6404 | pub const WSAEOPNOTSUPP: WSA_ERROR = 10045i32; |
04454e1e | 6405 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6406 | pub const WSAEPFNOSUPPORT: WSA_ERROR = 10046i32; |
04454e1e | 6407 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6408 | pub const WSAEAFNOSUPPORT: WSA_ERROR = 10047i32; |
04454e1e | 6409 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6410 | pub const WSAEADDRINUSE: WSA_ERROR = 10048i32; |
04454e1e | 6411 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6412 | pub const WSAEADDRNOTAVAIL: WSA_ERROR = 10049i32; |
04454e1e | 6413 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6414 | pub const WSAENETDOWN: WSA_ERROR = 10050i32; |
04454e1e | 6415 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6416 | pub const WSAENETUNREACH: WSA_ERROR = 10051i32; |
04454e1e | 6417 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6418 | pub const WSAENETRESET: WSA_ERROR = 10052i32; |
04454e1e | 6419 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6420 | pub const WSAECONNABORTED: WSA_ERROR = 10053i32; |
04454e1e | 6421 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6422 | pub const WSAECONNRESET: WSA_ERROR = 10054i32; |
04454e1e | 6423 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6424 | pub const WSAENOBUFS: WSA_ERROR = 10055i32; |
04454e1e | 6425 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6426 | pub const WSAEISCONN: WSA_ERROR = 10056i32; |
04454e1e | 6427 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6428 | pub const WSAENOTCONN: WSA_ERROR = 10057i32; |
04454e1e | 6429 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6430 | pub const WSAESHUTDOWN: WSA_ERROR = 10058i32; |
04454e1e | 6431 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6432 | pub const WSAETOOMANYREFS: WSA_ERROR = 10059i32; |
04454e1e | 6433 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6434 | pub const WSAETIMEDOUT: WSA_ERROR = 10060i32; |
04454e1e | 6435 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6436 | pub const WSAECONNREFUSED: WSA_ERROR = 10061i32; |
04454e1e | 6437 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6438 | pub const WSAELOOP: WSA_ERROR = 10062i32; |
04454e1e | 6439 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6440 | pub const WSAENAMETOOLONG: WSA_ERROR = 10063i32; |
04454e1e | 6441 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6442 | pub const WSAEHOSTDOWN: WSA_ERROR = 10064i32; |
04454e1e | 6443 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6444 | pub const WSAEHOSTUNREACH: WSA_ERROR = 10065i32; |
04454e1e | 6445 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6446 | pub const WSAENOTEMPTY: WSA_ERROR = 10066i32; |
04454e1e | 6447 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6448 | pub const WSAEPROCLIM: WSA_ERROR = 10067i32; |
04454e1e | 6449 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6450 | pub const WSAEUSERS: WSA_ERROR = 10068i32; |
04454e1e | 6451 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6452 | pub const WSAEDQUOT: WSA_ERROR = 10069i32; |
04454e1e | 6453 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6454 | pub const WSAESTALE: WSA_ERROR = 10070i32; |
04454e1e | 6455 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6456 | pub const WSAEREMOTE: WSA_ERROR = 10071i32; |
04454e1e | 6457 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6458 | pub const WSASYSNOTREADY: WSA_ERROR = 10091i32; |
04454e1e | 6459 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6460 | pub const WSAVERNOTSUPPORTED: WSA_ERROR = 10092i32; |
04454e1e | 6461 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6462 | pub const WSANOTINITIALISED: WSA_ERROR = 10093i32; |
04454e1e | 6463 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6464 | pub const WSAEDISCON: WSA_ERROR = 10101i32; |
04454e1e | 6465 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6466 | pub const WSAENOMORE: WSA_ERROR = 10102i32; |
04454e1e | 6467 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6468 | pub const WSAECANCELLED: WSA_ERROR = 10103i32; |
04454e1e | 6469 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6470 | pub const WSAEINVALIDPROCTABLE: WSA_ERROR = 10104i32; |
04454e1e | 6471 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6472 | pub const WSAEINVALIDPROVIDER: WSA_ERROR = 10105i32; |
04454e1e | 6473 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6474 | pub const WSAEPROVIDERFAILEDINIT: WSA_ERROR = 10106i32; |
04454e1e | 6475 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6476 | pub const WSASYSCALLFAILURE: WSA_ERROR = 10107i32; |
04454e1e | 6477 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6478 | pub const WSASERVICE_NOT_FOUND: WSA_ERROR = 10108i32; |
04454e1e | 6479 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6480 | pub const WSATYPE_NOT_FOUND: WSA_ERROR = 10109i32; |
04454e1e | 6481 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6482 | pub const WSA_E_NO_MORE: WSA_ERROR = 10110i32; |
04454e1e | 6483 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6484 | pub const WSA_E_CANCELLED: WSA_ERROR = 10111i32; |
04454e1e | 6485 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6486 | pub const WSAEREFUSED: WSA_ERROR = 10112i32; |
04454e1e | 6487 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6488 | pub const WSAHOST_NOT_FOUND: WSA_ERROR = 11001i32; |
04454e1e | 6489 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6490 | pub const WSATRY_AGAIN: WSA_ERROR = 11002i32; |
04454e1e | 6491 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6492 | pub const WSANO_RECOVERY: WSA_ERROR = 11003i32; |
04454e1e | 6493 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6494 | pub const WSANO_DATA: WSA_ERROR = 11004i32; |
04454e1e | 6495 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6496 | pub const WSA_QOS_RECEIVERS: WSA_ERROR = 11005i32; |
04454e1e | 6497 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6498 | pub const WSA_QOS_SENDERS: WSA_ERROR = 11006i32; |
04454e1e | 6499 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6500 | pub const WSA_QOS_NO_SENDERS: WSA_ERROR = 11007i32; |
04454e1e | 6501 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6502 | pub const WSA_QOS_NO_RECEIVERS: WSA_ERROR = 11008i32; |
04454e1e | 6503 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6504 | pub const WSA_QOS_REQUEST_CONFIRMED: WSA_ERROR = 11009i32; |
04454e1e | 6505 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6506 | pub const WSA_QOS_ADMISSION_FAILURE: WSA_ERROR = 11010i32; |
04454e1e | 6507 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6508 | pub const WSA_QOS_POLICY_FAILURE: WSA_ERROR = 11011i32; |
04454e1e | 6509 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6510 | pub const WSA_QOS_BAD_STYLE: WSA_ERROR = 11012i32; |
04454e1e | 6511 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6512 | pub const WSA_QOS_BAD_OBJECT: WSA_ERROR = 11013i32; |
04454e1e | 6513 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6514 | pub const WSA_QOS_TRAFFIC_CTRL_ERROR: WSA_ERROR = 11014i32; |
04454e1e | 6515 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6516 | pub const WSA_QOS_GENERIC_ERROR: WSA_ERROR = 11015i32; |
04454e1e | 6517 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6518 | pub const WSA_QOS_ESERVICETYPE: WSA_ERROR = 11016i32; |
04454e1e | 6519 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6520 | pub const WSA_QOS_EFLOWSPEC: WSA_ERROR = 11017i32; |
04454e1e | 6521 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6522 | pub const WSA_QOS_EPROVSPECBUF: WSA_ERROR = 11018i32; |
04454e1e | 6523 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6524 | pub const WSA_QOS_EFILTERSTYLE: WSA_ERROR = 11019i32; |
04454e1e | 6525 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6526 | pub const WSA_QOS_EFILTERTYPE: WSA_ERROR = 11020i32; |
04454e1e | 6527 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6528 | pub const WSA_QOS_EFILTERCOUNT: WSA_ERROR = 11021i32; |
04454e1e | 6529 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6530 | pub const WSA_QOS_EOBJLENGTH: WSA_ERROR = 11022i32; |
04454e1e | 6531 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6532 | pub const WSA_QOS_EFLOWCOUNT: WSA_ERROR = 11023i32; |
04454e1e | 6533 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6534 | pub const WSA_QOS_EUNKOWNPSOBJ: WSA_ERROR = 11024i32; |
04454e1e | 6535 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6536 | pub const WSA_QOS_EPOLICYOBJ: WSA_ERROR = 11025i32; |
04454e1e | 6537 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6538 | pub const WSA_QOS_EFLOWDESC: WSA_ERROR = 11026i32; |
04454e1e | 6539 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6540 | pub const WSA_QOS_EPSFLOWSPEC: WSA_ERROR = 11027i32; |
04454e1e | 6541 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6542 | pub const WSA_QOS_EPSFILTERSPEC: WSA_ERROR = 11028i32; |
04454e1e | 6543 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6544 | pub const WSA_QOS_ESDMODEOBJ: WSA_ERROR = 11029i32; |
04454e1e | 6545 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6546 | pub const WSA_QOS_ESHAPERATEOBJ: WSA_ERROR = 11030i32; |
04454e1e | 6547 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6548 | pub const WSA_QOS_RESERVED_PETYPE: WSA_ERROR = 11031i32; |
04454e1e | 6549 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6550 | pub const WSA_SECURE_HOST_NOT_FOUND: WSA_ERROR = 11032i32; |
04454e1e | 6551 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6552 | pub const WSA_IPSEC_NAME_POLICY_ERROR: WSA_ERROR = 11033i32; |
04454e1e | 6553 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6554 | pub const WSA_FLAG_ACCESS_SYSTEM_SECURITY: u32 = 64u32; |
04454e1e | 6555 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6556 | pub const WSA_FLAG_MULTIPOINT_C_LEAF: u32 = 4u32; |
04454e1e | 6557 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6558 | pub const WSA_FLAG_MULTIPOINT_C_ROOT: u32 = 2u32; |
04454e1e | 6559 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6560 | pub const WSA_FLAG_MULTIPOINT_D_LEAF: u32 = 16u32; |
04454e1e | 6561 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6562 | pub const WSA_FLAG_MULTIPOINT_D_ROOT: u32 = 8u32; |
04454e1e | 6563 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6564 | pub const WSA_FLAG_NO_HANDLE_INHERIT: u32 = 128u32; |
04454e1e | 6565 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6566 | pub const WSA_FLAG_OVERLAPPED: u32 = 1u32; |
04454e1e | 6567 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6568 | pub const WSA_FLAG_REGISTERED_IO: u32 = 256u32; |
04454e1e | 6569 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6570 | pub const WSA_INFINITE: u32 = 4294967295u32; |
04454e1e | 6571 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6572 | pub const WSA_MAXIMUM_WAIT_EVENTS: u32 = 64u32; |
04454e1e | 6573 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6574 | pub const WSA_WAIT_EVENT_0: u32 = 0u32; |
04454e1e | 6575 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6576 | pub const WSA_WAIT_FAILED: u32 = 4294967295u32; |
04454e1e | 6577 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6578 | pub const WSA_WAIT_IO_COMPLETION: u32 = 192u32; |
6579 | #[repr(C)] | |
04454e1e | 6580 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6581 | pub struct WSC_PROVIDER_AUDIT_INFO { |
6582 | pub RecordSize: u32, | |
6583 | pub Reserved: *mut ::core::ffi::c_void, | |
6584 | } | |
6585 | impl ::core::marker::Copy for WSC_PROVIDER_AUDIT_INFO {} | |
6586 | impl ::core::clone::Clone for WSC_PROVIDER_AUDIT_INFO { | |
6587 | fn clone(&self) -> Self { | |
6588 | *self | |
6589 | } | |
6590 | } | |
04454e1e | 6591 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6592 | pub type WSC_PROVIDER_INFO_TYPE = i32; |
04454e1e | 6593 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6594 | pub const ProviderInfoLspCategories: WSC_PROVIDER_INFO_TYPE = 0i32; |
04454e1e | 6595 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6596 | pub const ProviderInfoAudit: WSC_PROVIDER_INFO_TYPE = 1i32; |
04454e1e | 6597 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6598 | pub const WSK_SO_BASE: u32 = 16384u32; |
04454e1e | 6599 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6600 | pub const WSPDESCRIPTION_LEN: u32 = 255u32; |
6601 | #[repr(C)] | |
04454e1e | 6602 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6603 | pub struct WSPData { |
6604 | pub wVersion: u16, | |
6605 | pub wHighVersion: u16, | |
6606 | pub szDescription: [u16; 256], | |
6607 | } | |
6608 | impl ::core::marker::Copy for WSPData {} | |
6609 | impl ::core::clone::Clone for WSPData { | |
6610 | fn clone(&self) -> Self { | |
6611 | *self | |
6612 | } | |
6613 | } | |
6614 | #[repr(C)] | |
04454e1e | 6615 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_QoS\"`, `\"Win32_System_IO\"`*"] |
5e7ed085 FG |
6616 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_QoS", feature = "Win32_System_IO"))] |
6617 | pub struct WSPPROC_TABLE { | |
6618 | pub lpWSPAccept: LPWSPACCEPT, | |
6619 | pub lpWSPAddressToString: LPWSPADDRESSTOSTRING, | |
6620 | pub lpWSPAsyncSelect: LPWSPASYNCSELECT, | |
6621 | pub lpWSPBind: LPWSPBIND, | |
6622 | pub lpWSPCancelBlockingCall: LPWSPCANCELBLOCKINGCALL, | |
6623 | pub lpWSPCleanup: LPWSPCLEANUP, | |
6624 | pub lpWSPCloseSocket: LPWSPCLOSESOCKET, | |
6625 | pub lpWSPConnect: LPWSPCONNECT, | |
6626 | pub lpWSPDuplicateSocket: LPWSPDUPLICATESOCKET, | |
6627 | pub lpWSPEnumNetworkEvents: LPWSPENUMNETWORKEVENTS, | |
6628 | pub lpWSPEventSelect: LPWSPEVENTSELECT, | |
6629 | pub lpWSPGetOverlappedResult: LPWSPGETOVERLAPPEDRESULT, | |
6630 | pub lpWSPGetPeerName: LPWSPGETPEERNAME, | |
6631 | pub lpWSPGetSockName: LPWSPGETSOCKNAME, | |
6632 | pub lpWSPGetSockOpt: LPWSPGETSOCKOPT, | |
6633 | pub lpWSPGetQOSByName: LPWSPGETQOSBYNAME, | |
6634 | pub lpWSPIoctl: LPWSPIOCTL, | |
6635 | pub lpWSPJoinLeaf: LPWSPJOINLEAF, | |
6636 | pub lpWSPListen: LPWSPLISTEN, | |
6637 | pub lpWSPRecv: LPWSPRECV, | |
6638 | pub lpWSPRecvDisconnect: LPWSPRECVDISCONNECT, | |
6639 | pub lpWSPRecvFrom: LPWSPRECVFROM, | |
6640 | pub lpWSPSelect: LPWSPSELECT, | |
6641 | pub lpWSPSend: LPWSPSEND, | |
6642 | pub lpWSPSendDisconnect: LPWSPSENDDISCONNECT, | |
6643 | pub lpWSPSendTo: LPWSPSENDTO, | |
6644 | pub lpWSPSetSockOpt: LPWSPSETSOCKOPT, | |
6645 | pub lpWSPShutdown: LPWSPSHUTDOWN, | |
6646 | pub lpWSPSocket: LPWSPSOCKET, | |
6647 | pub lpWSPStringToAddress: LPWSPSTRINGTOADDRESS, | |
6648 | } | |
6649 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_QoS", feature = "Win32_System_IO"))] | |
6650 | impl ::core::marker::Copy for WSPPROC_TABLE {} | |
6651 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_QoS", feature = "Win32_System_IO"))] | |
6652 | impl ::core::clone::Clone for WSPPROC_TABLE { | |
6653 | fn clone(&self) -> Self { | |
6654 | *self | |
6655 | } | |
6656 | } | |
6657 | #[repr(C)] | |
04454e1e | 6658 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6659 | #[cfg(feature = "Win32_Foundation")] |
6660 | pub struct WSPUPCALLTABLE { | |
6661 | pub lpWPUCloseEvent: LPWPUCLOSEEVENT, | |
6662 | pub lpWPUCloseSocketHandle: LPWPUCLOSESOCKETHANDLE, | |
6663 | pub lpWPUCreateEvent: LPWPUCREATEEVENT, | |
6664 | pub lpWPUCreateSocketHandle: LPWPUCREATESOCKETHANDLE, | |
6665 | pub lpWPUFDIsSet: LPWPUFDISSET, | |
6666 | pub lpWPUGetProviderPath: LPWPUGETPROVIDERPATH, | |
6667 | pub lpWPUModifyIFSHandle: LPWPUMODIFYIFSHANDLE, | |
6668 | pub lpWPUPostMessage: LPWPUPOSTMESSAGE, | |
6669 | pub lpWPUQueryBlockingCallback: LPWPUQUERYBLOCKINGCALLBACK, | |
6670 | pub lpWPUQuerySocketHandleContext: LPWPUQUERYSOCKETHANDLECONTEXT, | |
6671 | pub lpWPUQueueApc: LPWPUQUEUEAPC, | |
6672 | pub lpWPUResetEvent: LPWPURESETEVENT, | |
6673 | pub lpWPUSetEvent: LPWPUSETEVENT, | |
6674 | pub lpWPUOpenCurrentThread: LPWPUOPENCURRENTTHREAD, | |
6675 | pub lpWPUCloseThread: LPWPUCLOSETHREAD, | |
6676 | } | |
6677 | #[cfg(feature = "Win32_Foundation")] | |
6678 | impl ::core::marker::Copy for WSPUPCALLTABLE {} | |
6679 | #[cfg(feature = "Win32_Foundation")] | |
6680 | impl ::core::clone::Clone for WSPUPCALLTABLE { | |
6681 | fn clone(&self) -> Self { | |
6682 | *self | |
6683 | } | |
6684 | } | |
04454e1e | 6685 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6686 | pub const WSS_OPERATION_IN_PROGRESS: i32 = 259i32; |
04454e1e | 6687 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6688 | pub const XP1_CONNECTIONLESS: u32 = 1u32; |
04454e1e | 6689 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6690 | pub const XP1_CONNECT_DATA: u32 = 128u32; |
04454e1e | 6691 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6692 | pub const XP1_DISCONNECT_DATA: u32 = 256u32; |
04454e1e | 6693 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6694 | pub const XP1_EXPEDITED_DATA: u32 = 64u32; |
04454e1e | 6695 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6696 | pub const XP1_GRACEFUL_CLOSE: u32 = 32u32; |
04454e1e | 6697 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6698 | pub const XP1_GUARANTEED_DELIVERY: u32 = 2u32; |
04454e1e | 6699 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6700 | pub const XP1_GUARANTEED_ORDER: u32 = 4u32; |
04454e1e | 6701 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6702 | pub const XP1_IFS_HANDLES: u32 = 131072u32; |
04454e1e | 6703 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6704 | pub const XP1_INTERRUPT: u32 = 16384u32; |
04454e1e | 6705 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6706 | pub const XP1_MESSAGE_ORIENTED: u32 = 8u32; |
04454e1e | 6707 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6708 | pub const XP1_MULTIPOINT_CONTROL_PLANE: u32 = 2048u32; |
04454e1e | 6709 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6710 | pub const XP1_MULTIPOINT_DATA_PLANE: u32 = 4096u32; |
04454e1e | 6711 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6712 | pub const XP1_PARTIAL_MESSAGE: u32 = 262144u32; |
04454e1e | 6713 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6714 | pub const XP1_PSEUDO_STREAM: u32 = 16u32; |
04454e1e | 6715 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6716 | pub const XP1_QOS_SUPPORTED: u32 = 8192u32; |
04454e1e | 6717 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6718 | pub const XP1_SAN_SUPPORT_SDP: u32 = 524288u32; |
04454e1e | 6719 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6720 | pub const XP1_SUPPORT_BROADCAST: u32 = 512u32; |
04454e1e | 6721 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6722 | pub const XP1_SUPPORT_MULTIPOINT: u32 = 1024u32; |
04454e1e | 6723 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6724 | pub const XP1_UNI_RECV: u32 = 65536u32; |
04454e1e | 6725 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6726 | pub const XP1_UNI_SEND: u32 = 32768u32; |
04454e1e | 6727 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6728 | pub const XP_BANDWIDTH_ALLOCATION: u32 = 2048u32; |
04454e1e | 6729 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6730 | pub const XP_CONNECTIONLESS: u32 = 1u32; |
04454e1e | 6731 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6732 | pub const XP_CONNECT_DATA: u32 = 128u32; |
04454e1e | 6733 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6734 | pub const XP_DISCONNECT_DATA: u32 = 256u32; |
04454e1e | 6735 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6736 | pub const XP_ENCRYPTS: u32 = 8192u32; |
04454e1e | 6737 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6738 | pub const XP_EXPEDITED_DATA: u32 = 64u32; |
04454e1e | 6739 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6740 | pub const XP_FRAGMENTATION: u32 = 4096u32; |
04454e1e | 6741 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6742 | pub const XP_GRACEFUL_CLOSE: u32 = 32u32; |
04454e1e | 6743 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6744 | pub const XP_GUARANTEED_DELIVERY: u32 = 2u32; |
04454e1e | 6745 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6746 | pub const XP_GUARANTEED_ORDER: u32 = 4u32; |
04454e1e | 6747 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6748 | pub const XP_MESSAGE_ORIENTED: u32 = 8u32; |
04454e1e | 6749 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6750 | pub const XP_PSEUDO_STREAM: u32 = 16u32; |
04454e1e | 6751 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6752 | pub const XP_SUPPORTS_BROADCAST: u32 = 512u32; |
04454e1e | 6753 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 6754 | pub const XP_SUPPORTS_MULTICAST: u32 = 1024u32; |
04454e1e | 6755 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
6756 | pub const _SS_MAXSIZE: u32 = 128u32; |
6757 | #[repr(C)] | |
04454e1e | 6758 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6759 | #[cfg(feature = "Win32_Foundation")] |
6760 | pub struct addrinfoW { | |
6761 | pub ai_flags: i32, | |
6762 | pub ai_family: i32, | |
6763 | pub ai_socktype: i32, | |
6764 | pub ai_protocol: i32, | |
6765 | pub ai_addrlen: usize, | |
04454e1e | 6766 | pub ai_canonname: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6767 | pub ai_addr: *mut SOCKADDR, |
6768 | pub ai_next: *mut addrinfoW, | |
6769 | } | |
6770 | #[cfg(feature = "Win32_Foundation")] | |
6771 | impl ::core::marker::Copy for addrinfoW {} | |
6772 | #[cfg(feature = "Win32_Foundation")] | |
6773 | impl ::core::clone::Clone for addrinfoW { | |
6774 | fn clone(&self) -> Self { | |
6775 | *self | |
6776 | } | |
6777 | } | |
6778 | #[repr(C)] | |
04454e1e | 6779 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6780 | #[cfg(feature = "Win32_Foundation")] |
6781 | pub struct addrinfo_dns_server { | |
6782 | pub ai_servertype: u32, | |
6783 | pub ai_flags: u64, | |
6784 | pub ai_addrlen: u32, | |
6785 | pub ai_addr: *mut SOCKADDR, | |
6786 | pub Anonymous: addrinfo_dns_server_0, | |
6787 | } | |
6788 | #[cfg(feature = "Win32_Foundation")] | |
6789 | impl ::core::marker::Copy for addrinfo_dns_server {} | |
6790 | #[cfg(feature = "Win32_Foundation")] | |
6791 | impl ::core::clone::Clone for addrinfo_dns_server { | |
6792 | fn clone(&self) -> Self { | |
6793 | *self | |
6794 | } | |
6795 | } | |
6796 | #[repr(C)] | |
04454e1e | 6797 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6798 | #[cfg(feature = "Win32_Foundation")] |
6799 | pub union addrinfo_dns_server_0 { | |
04454e1e | 6800 | pub ai_template: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6801 | } |
6802 | #[cfg(feature = "Win32_Foundation")] | |
6803 | impl ::core::marker::Copy for addrinfo_dns_server_0 {} | |
6804 | #[cfg(feature = "Win32_Foundation")] | |
6805 | impl ::core::clone::Clone for addrinfo_dns_server_0 { | |
6806 | fn clone(&self) -> Self { | |
6807 | *self | |
6808 | } | |
6809 | } | |
6810 | #[repr(C)] | |
04454e1e | 6811 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6812 | #[cfg(feature = "Win32_Foundation")] |
6813 | pub struct addrinfoex2A { | |
6814 | pub ai_flags: i32, | |
6815 | pub ai_family: i32, | |
6816 | pub ai_socktype: i32, | |
6817 | pub ai_protocol: i32, | |
6818 | pub ai_addrlen: usize, | |
04454e1e | 6819 | pub ai_canonname: ::windows_sys::core::PSTR, |
5e7ed085 FG |
6820 | pub ai_addr: *mut SOCKADDR, |
6821 | pub ai_blob: *mut ::core::ffi::c_void, | |
6822 | pub ai_bloblen: usize, | |
6823 | pub ai_provider: *mut ::windows_sys::core::GUID, | |
6824 | pub ai_next: *mut addrinfoex2A, | |
6825 | pub ai_version: i32, | |
04454e1e | 6826 | pub ai_fqdn: ::windows_sys::core::PSTR, |
5e7ed085 FG |
6827 | } |
6828 | #[cfg(feature = "Win32_Foundation")] | |
6829 | impl ::core::marker::Copy for addrinfoex2A {} | |
6830 | #[cfg(feature = "Win32_Foundation")] | |
6831 | impl ::core::clone::Clone for addrinfoex2A { | |
6832 | fn clone(&self) -> Self { | |
6833 | *self | |
6834 | } | |
6835 | } | |
6836 | #[repr(C)] | |
04454e1e | 6837 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6838 | #[cfg(feature = "Win32_Foundation")] |
6839 | pub struct addrinfoex2W { | |
6840 | pub ai_flags: i32, | |
6841 | pub ai_family: i32, | |
6842 | pub ai_socktype: i32, | |
6843 | pub ai_protocol: i32, | |
6844 | pub ai_addrlen: usize, | |
04454e1e | 6845 | pub ai_canonname: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6846 | pub ai_addr: *mut SOCKADDR, |
6847 | pub ai_blob: *mut ::core::ffi::c_void, | |
6848 | pub ai_bloblen: usize, | |
6849 | pub ai_provider: *mut ::windows_sys::core::GUID, | |
6850 | pub ai_next: *mut addrinfoex2W, | |
6851 | pub ai_version: i32, | |
04454e1e | 6852 | pub ai_fqdn: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6853 | } |
6854 | #[cfg(feature = "Win32_Foundation")] | |
6855 | impl ::core::marker::Copy for addrinfoex2W {} | |
6856 | #[cfg(feature = "Win32_Foundation")] | |
6857 | impl ::core::clone::Clone for addrinfoex2W { | |
6858 | fn clone(&self) -> Self { | |
6859 | *self | |
6860 | } | |
6861 | } | |
6862 | #[repr(C)] | |
04454e1e | 6863 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6864 | #[cfg(feature = "Win32_Foundation")] |
6865 | pub struct addrinfoex3 { | |
6866 | pub ai_flags: i32, | |
6867 | pub ai_family: i32, | |
6868 | pub ai_socktype: i32, | |
6869 | pub ai_protocol: i32, | |
6870 | pub ai_addrlen: usize, | |
04454e1e | 6871 | pub ai_canonname: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6872 | pub ai_addr: *mut SOCKADDR, |
6873 | pub ai_blob: *mut ::core::ffi::c_void, | |
6874 | pub ai_bloblen: usize, | |
6875 | pub ai_provider: *mut ::windows_sys::core::GUID, | |
6876 | pub ai_next: *mut addrinfoex3, | |
6877 | pub ai_version: i32, | |
04454e1e | 6878 | pub ai_fqdn: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6879 | pub ai_interfaceindex: i32, |
6880 | } | |
6881 | #[cfg(feature = "Win32_Foundation")] | |
6882 | impl ::core::marker::Copy for addrinfoex3 {} | |
6883 | #[cfg(feature = "Win32_Foundation")] | |
6884 | impl ::core::clone::Clone for addrinfoex3 { | |
6885 | fn clone(&self) -> Self { | |
6886 | *self | |
6887 | } | |
6888 | } | |
6889 | #[repr(C)] | |
04454e1e | 6890 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6891 | #[cfg(feature = "Win32_Foundation")] |
6892 | pub struct addrinfoex4 { | |
6893 | pub ai_flags: i32, | |
6894 | pub ai_family: i32, | |
6895 | pub ai_socktype: i32, | |
6896 | pub ai_protocol: i32, | |
6897 | pub ai_addrlen: usize, | |
04454e1e | 6898 | pub ai_canonname: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6899 | pub ai_addr: *mut SOCKADDR, |
6900 | pub ai_blob: *mut ::core::ffi::c_void, | |
6901 | pub ai_bloblen: usize, | |
6902 | pub ai_provider: *mut ::windows_sys::core::GUID, | |
6903 | pub ai_next: *mut addrinfoex4, | |
6904 | pub ai_version: i32, | |
04454e1e | 6905 | pub ai_fqdn: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6906 | pub ai_interfaceindex: i32, |
6907 | pub ai_resolutionhandle: super::super::Foundation::HANDLE, | |
6908 | } | |
6909 | #[cfg(feature = "Win32_Foundation")] | |
6910 | impl ::core::marker::Copy for addrinfoex4 {} | |
6911 | #[cfg(feature = "Win32_Foundation")] | |
6912 | impl ::core::clone::Clone for addrinfoex4 { | |
6913 | fn clone(&self) -> Self { | |
6914 | *self | |
6915 | } | |
6916 | } | |
6917 | #[repr(C)] | |
04454e1e | 6918 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6919 | #[cfg(feature = "Win32_Foundation")] |
6920 | pub struct addrinfoex5 { | |
6921 | pub ai_flags: i32, | |
6922 | pub ai_family: i32, | |
6923 | pub ai_socktype: i32, | |
6924 | pub ai_protocol: i32, | |
6925 | pub ai_addrlen: usize, | |
04454e1e | 6926 | pub ai_canonname: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6927 | pub ai_addr: *mut SOCKADDR, |
6928 | pub ai_blob: *mut ::core::ffi::c_void, | |
6929 | pub ai_bloblen: usize, | |
6930 | pub ai_provider: *mut ::windows_sys::core::GUID, | |
6931 | pub ai_next: *mut addrinfoex5, | |
6932 | pub ai_version: i32, | |
04454e1e | 6933 | pub ai_fqdn: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6934 | pub ai_interfaceindex: i32, |
6935 | pub ai_resolutionhandle: super::super::Foundation::HANDLE, | |
6936 | pub ai_ttl: u32, | |
6937 | } | |
6938 | #[cfg(feature = "Win32_Foundation")] | |
6939 | impl ::core::marker::Copy for addrinfoex5 {} | |
6940 | #[cfg(feature = "Win32_Foundation")] | |
6941 | impl ::core::clone::Clone for addrinfoex5 { | |
6942 | fn clone(&self) -> Self { | |
6943 | *self | |
6944 | } | |
6945 | } | |
6946 | #[repr(C)] | |
04454e1e | 6947 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6948 | #[cfg(feature = "Win32_Foundation")] |
6949 | pub struct addrinfoex6 { | |
6950 | pub ai_flags: i32, | |
6951 | pub ai_family: i32, | |
6952 | pub ai_socktype: i32, | |
6953 | pub ai_protocol: i32, | |
6954 | pub ai_addrlen: usize, | |
04454e1e | 6955 | pub ai_canonname: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6956 | pub ai_addr: *mut SOCKADDR, |
6957 | pub ai_blob: *mut ::core::ffi::c_void, | |
6958 | pub ai_bloblen: usize, | |
6959 | pub ai_provider: *mut ::windows_sys::core::GUID, | |
6960 | pub ai_next: *mut addrinfoex5, | |
6961 | pub ai_version: i32, | |
04454e1e | 6962 | pub ai_fqdn: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
6963 | pub ai_interfaceindex: i32, |
6964 | pub ai_resolutionhandle: super::super::Foundation::HANDLE, | |
6965 | pub ai_ttl: u32, | |
6966 | pub ai_numservers: u32, | |
6967 | pub ai_servers: *mut addrinfo_dns_server, | |
6968 | pub ai_responseflags: u64, | |
6969 | } | |
6970 | #[cfg(feature = "Win32_Foundation")] | |
6971 | impl ::core::marker::Copy for addrinfoex6 {} | |
6972 | #[cfg(feature = "Win32_Foundation")] | |
6973 | impl ::core::clone::Clone for addrinfoex6 { | |
6974 | fn clone(&self) -> Self { | |
6975 | *self | |
6976 | } | |
6977 | } | |
6978 | #[repr(C)] | |
04454e1e | 6979 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6980 | #[cfg(feature = "Win32_Foundation")] |
6981 | pub struct addrinfoexA { | |
6982 | pub ai_flags: i32, | |
6983 | pub ai_family: i32, | |
6984 | pub ai_socktype: i32, | |
6985 | pub ai_protocol: i32, | |
6986 | pub ai_addrlen: usize, | |
04454e1e | 6987 | pub ai_canonname: ::windows_sys::core::PSTR, |
5e7ed085 FG |
6988 | pub ai_addr: *mut SOCKADDR, |
6989 | pub ai_blob: *mut ::core::ffi::c_void, | |
6990 | pub ai_bloblen: usize, | |
6991 | pub ai_provider: *mut ::windows_sys::core::GUID, | |
6992 | pub ai_next: *mut addrinfoexA, | |
6993 | } | |
6994 | #[cfg(feature = "Win32_Foundation")] | |
6995 | impl ::core::marker::Copy for addrinfoexA {} | |
6996 | #[cfg(feature = "Win32_Foundation")] | |
6997 | impl ::core::clone::Clone for addrinfoexA { | |
6998 | fn clone(&self) -> Self { | |
6999 | *self | |
7000 | } | |
7001 | } | |
7002 | #[repr(C)] | |
04454e1e | 7003 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
7004 | #[cfg(feature = "Win32_Foundation")] |
7005 | pub struct addrinfoexW { | |
7006 | pub ai_flags: i32, | |
7007 | pub ai_family: i32, | |
7008 | pub ai_socktype: i32, | |
7009 | pub ai_protocol: i32, | |
7010 | pub ai_addrlen: usize, | |
04454e1e | 7011 | pub ai_canonname: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
7012 | pub ai_addr: *mut SOCKADDR, |
7013 | pub ai_blob: *mut ::core::ffi::c_void, | |
7014 | pub ai_bloblen: usize, | |
7015 | pub ai_provider: *mut ::windows_sys::core::GUID, | |
7016 | pub ai_next: *mut addrinfoexW, | |
7017 | } | |
7018 | #[cfg(feature = "Win32_Foundation")] | |
7019 | impl ::core::marker::Copy for addrinfoexW {} | |
7020 | #[cfg(feature = "Win32_Foundation")] | |
7021 | impl ::core::clone::Clone for addrinfoexW { | |
7022 | fn clone(&self) -> Self { | |
7023 | *self | |
7024 | } | |
7025 | } | |
7026 | #[repr(C)] | |
04454e1e | 7027 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
7028 | pub struct cmsghdr { |
7029 | pub cmsg_len: usize, | |
7030 | pub cmsg_level: i32, | |
7031 | pub cmsg_type: i32, | |
7032 | } | |
7033 | impl ::core::marker::Copy for cmsghdr {} | |
7034 | impl ::core::clone::Clone for cmsghdr { | |
7035 | fn clone(&self) -> Self { | |
7036 | *self | |
7037 | } | |
7038 | } | |
04454e1e | 7039 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 7040 | pub type eWINDOW_ADVANCE_METHOD = i32; |
04454e1e | 7041 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 7042 | pub const E_WINDOW_ADVANCE_BY_TIME: eWINDOW_ADVANCE_METHOD = 1i32; |
04454e1e | 7043 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
7044 | pub const E_WINDOW_USE_AS_DATA_CACHE: eWINDOW_ADVANCE_METHOD = 2i32; |
7045 | #[repr(C)] | |
04454e1e | 7046 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
7047 | pub struct fd_set { |
7048 | pub fd_count: u32, | |
7049 | pub fd_array: [SOCKET; 64], | |
7050 | } | |
7051 | impl ::core::marker::Copy for fd_set {} | |
7052 | impl ::core::clone::Clone for fd_set { | |
7053 | fn clone(&self) -> Self { | |
7054 | *self | |
7055 | } | |
7056 | } | |
7057 | #[repr(C)] | |
04454e1e | 7058 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 7059 | pub struct hostent { |
04454e1e | 7060 | pub h_name: ::windows_sys::core::PSTR, |
5e7ed085 FG |
7061 | pub h_aliases: *mut *mut i8, |
7062 | pub h_addrtype: i16, | |
7063 | pub h_length: i16, | |
7064 | pub h_addr_list: *mut *mut i8, | |
7065 | } | |
5e7ed085 | 7066 | impl ::core::marker::Copy for hostent {} |
5e7ed085 FG |
7067 | impl ::core::clone::Clone for hostent { |
7068 | fn clone(&self) -> Self { | |
7069 | *self | |
7070 | } | |
7071 | } | |
7072 | #[repr(C)] | |
04454e1e | 7073 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
7074 | pub struct in6_pktinfo_ex { |
7075 | pub pkt_info: IN6_PKTINFO, | |
7076 | pub scope_id: SCOPE_ID, | |
7077 | } | |
7078 | impl ::core::marker::Copy for in6_pktinfo_ex {} | |
7079 | impl ::core::clone::Clone for in6_pktinfo_ex { | |
7080 | fn clone(&self) -> Self { | |
7081 | *self | |
7082 | } | |
7083 | } | |
7084 | #[repr(C)] | |
04454e1e | 7085 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
7086 | pub struct linger { |
7087 | pub l_onoff: u16, | |
7088 | pub l_linger: u16, | |
7089 | } | |
7090 | impl ::core::marker::Copy for linger {} | |
7091 | impl ::core::clone::Clone for linger { | |
7092 | fn clone(&self) -> Self { | |
7093 | *self | |
7094 | } | |
7095 | } | |
7096 | #[repr(C)] | |
04454e1e | 7097 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 7098 | pub struct netent { |
04454e1e | 7099 | pub n_name: ::windows_sys::core::PSTR, |
5e7ed085 FG |
7100 | pub n_aliases: *mut *mut i8, |
7101 | pub n_addrtype: i16, | |
7102 | pub n_net: u32, | |
7103 | } | |
5e7ed085 | 7104 | impl ::core::marker::Copy for netent {} |
5e7ed085 FG |
7105 | impl ::core::clone::Clone for netent { |
7106 | fn clone(&self) -> Self { | |
7107 | *self | |
7108 | } | |
7109 | } | |
7110 | #[repr(C)] | |
04454e1e | 7111 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 7112 | pub struct protoent { |
04454e1e | 7113 | pub p_name: ::windows_sys::core::PSTR, |
5e7ed085 FG |
7114 | pub p_aliases: *mut *mut i8, |
7115 | pub p_proto: i16, | |
7116 | } | |
5e7ed085 | 7117 | impl ::core::marker::Copy for protoent {} |
5e7ed085 FG |
7118 | impl ::core::clone::Clone for protoent { |
7119 | fn clone(&self) -> Self { | |
7120 | *self | |
7121 | } | |
7122 | } | |
7123 | #[repr(C)] | |
04454e1e | 7124 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 7125 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
5e7ed085 | 7126 | pub struct servent { |
04454e1e | 7127 | pub s_name: ::windows_sys::core::PSTR, |
5e7ed085 | 7128 | pub s_aliases: *mut *mut i8, |
04454e1e | 7129 | pub s_proto: ::windows_sys::core::PSTR, |
5e7ed085 FG |
7130 | pub s_port: i16, |
7131 | } | |
7132 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] | |
5e7ed085 FG |
7133 | impl ::core::marker::Copy for servent {} |
7134 | #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] | |
5e7ed085 FG |
7135 | impl ::core::clone::Clone for servent { |
7136 | fn clone(&self) -> Self { | |
7137 | *self | |
7138 | } | |
7139 | } | |
7140 | #[repr(C)] | |
04454e1e | 7141 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 | 7142 | #[cfg(target_arch = "x86")] |
5e7ed085 | 7143 | pub struct servent { |
04454e1e | 7144 | pub s_name: ::windows_sys::core::PSTR, |
5e7ed085 FG |
7145 | pub s_aliases: *mut *mut i8, |
7146 | pub s_port: i16, | |
04454e1e | 7147 | pub s_proto: ::windows_sys::core::PSTR, |
5e7ed085 FG |
7148 | } |
7149 | #[cfg(target_arch = "x86")] | |
5e7ed085 FG |
7150 | impl ::core::marker::Copy for servent {} |
7151 | #[cfg(target_arch = "x86")] | |
5e7ed085 FG |
7152 | impl ::core::clone::Clone for servent { |
7153 | fn clone(&self) -> Self { | |
7154 | *self | |
7155 | } | |
7156 | } | |
7157 | #[repr(C)] | |
04454e1e | 7158 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
7159 | pub struct sockaddr_atm { |
7160 | pub satm_family: u16, | |
7161 | pub satm_number: ATM_ADDRESS, | |
7162 | pub satm_blli: ATM_BLLI, | |
7163 | pub satm_bhli: ATM_BHLI, | |
7164 | } | |
7165 | impl ::core::marker::Copy for sockaddr_atm {} | |
7166 | impl ::core::clone::Clone for sockaddr_atm { | |
7167 | fn clone(&self) -> Self { | |
7168 | *self | |
7169 | } | |
7170 | } | |
7171 | #[repr(C)] | |
04454e1e | 7172 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
7173 | #[cfg(feature = "Win32_Foundation")] |
7174 | pub union sockaddr_gen { | |
7175 | pub Address: SOCKADDR, | |
7176 | pub AddressIn: SOCKADDR_IN, | |
7177 | pub AddressIn6: sockaddr_in6_old, | |
7178 | } | |
7179 | #[cfg(feature = "Win32_Foundation")] | |
7180 | impl ::core::marker::Copy for sockaddr_gen {} | |
7181 | #[cfg(feature = "Win32_Foundation")] | |
7182 | impl ::core::clone::Clone for sockaddr_gen { | |
7183 | fn clone(&self) -> Self { | |
7184 | *self | |
7185 | } | |
7186 | } | |
7187 | #[repr(C)] | |
04454e1e | 7188 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
7189 | pub struct sockaddr_in6_old { |
7190 | pub sin6_family: i16, | |
7191 | pub sin6_port: u16, | |
7192 | pub sin6_flowinfo: u32, | |
7193 | pub sin6_addr: IN6_ADDR, | |
7194 | } | |
7195 | impl ::core::marker::Copy for sockaddr_in6_old {} | |
7196 | impl ::core::clone::Clone for sockaddr_in6_old { | |
7197 | fn clone(&self) -> Self { | |
7198 | *self | |
7199 | } | |
7200 | } | |
7201 | #[repr(C)] | |
04454e1e | 7202 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
7203 | #[cfg(feature = "Win32_Foundation")] |
7204 | pub struct sockaddr_ipx { | |
7205 | pub sa_family: i16, | |
7206 | pub sa_netnum: [super::super::Foundation::CHAR; 4], | |
7207 | pub sa_nodenum: [super::super::Foundation::CHAR; 6], | |
7208 | pub sa_socket: u16, | |
7209 | } | |
7210 | #[cfg(feature = "Win32_Foundation")] | |
7211 | impl ::core::marker::Copy for sockaddr_ipx {} | |
7212 | #[cfg(feature = "Win32_Foundation")] | |
7213 | impl ::core::clone::Clone for sockaddr_ipx { | |
7214 | fn clone(&self) -> Self { | |
7215 | *self | |
7216 | } | |
7217 | } | |
7218 | #[repr(C)] | |
04454e1e | 7219 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
7220 | #[cfg(feature = "Win32_Foundation")] |
7221 | pub struct sockaddr_nb { | |
7222 | pub snb_family: i16, | |
7223 | pub snb_type: u16, | |
7224 | pub snb_name: [super::super::Foundation::CHAR; 16], | |
7225 | } | |
7226 | #[cfg(feature = "Win32_Foundation")] | |
7227 | impl ::core::marker::Copy for sockaddr_nb {} | |
7228 | #[cfg(feature = "Win32_Foundation")] | |
7229 | impl ::core::clone::Clone for sockaddr_nb { | |
7230 | fn clone(&self) -> Self { | |
7231 | *self | |
7232 | } | |
7233 | } | |
7234 | #[repr(C)] | |
04454e1e | 7235 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
7236 | pub struct sockaddr_tp { |
7237 | pub tp_family: u16, | |
7238 | pub tp_addr_type: u16, | |
7239 | pub tp_taddr_len: u16, | |
7240 | pub tp_tsel_len: u16, | |
7241 | pub tp_addr: [u8; 64], | |
7242 | } | |
7243 | impl ::core::marker::Copy for sockaddr_tp {} | |
7244 | impl ::core::clone::Clone for sockaddr_tp { | |
7245 | fn clone(&self) -> Self { | |
7246 | *self | |
7247 | } | |
7248 | } | |
7249 | #[repr(C)] | |
04454e1e | 7250 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
7251 | #[cfg(feature = "Win32_Foundation")] |
7252 | pub struct sockaddr_un { | |
7253 | pub sun_family: u16, | |
7254 | pub sun_path: [super::super::Foundation::CHAR; 108], | |
7255 | } | |
7256 | #[cfg(feature = "Win32_Foundation")] | |
7257 | impl ::core::marker::Copy for sockaddr_un {} | |
7258 | #[cfg(feature = "Win32_Foundation")] | |
7259 | impl ::core::clone::Clone for sockaddr_un { | |
7260 | fn clone(&self) -> Self { | |
7261 | *self | |
7262 | } | |
7263 | } | |
7264 | #[repr(C)] | |
04454e1e | 7265 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
7266 | pub struct sockaddr_vns { |
7267 | pub sin_family: u16, | |
7268 | pub net_address: [u8; 4], | |
7269 | pub subnet_addr: [u8; 2], | |
7270 | pub port: [u8; 2], | |
7271 | pub hops: u8, | |
7272 | pub filler: [u8; 5], | |
7273 | } | |
7274 | impl ::core::marker::Copy for sockaddr_vns {} | |
7275 | impl ::core::clone::Clone for sockaddr_vns { | |
7276 | fn clone(&self) -> Self { | |
7277 | *self | |
7278 | } | |
7279 | } | |
7280 | #[repr(C)] | |
04454e1e | 7281 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
7282 | pub struct sockproto { |
7283 | pub sp_family: u16, | |
7284 | pub sp_protocol: u16, | |
7285 | } | |
7286 | impl ::core::marker::Copy for sockproto {} | |
7287 | impl ::core::clone::Clone for sockproto { | |
7288 | fn clone(&self) -> Self { | |
7289 | *self | |
7290 | } | |
7291 | } | |
7292 | #[repr(C)] | |
04454e1e | 7293 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
7294 | pub struct tcp_keepalive { |
7295 | pub onoff: u32, | |
7296 | pub keepalivetime: u32, | |
7297 | pub keepaliveinterval: u32, | |
7298 | } | |
7299 | impl ::core::marker::Copy for tcp_keepalive {} | |
7300 | impl ::core::clone::Clone for tcp_keepalive { | |
7301 | fn clone(&self) -> Self { | |
7302 | *self | |
7303 | } | |
7304 | } | |
7305 | #[repr(C)] | |
04454e1e | 7306 | #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
5e7ed085 FG |
7307 | pub struct timeval { |
7308 | pub tv_sec: i32, | |
7309 | pub tv_usec: i32, | |
7310 | } | |
7311 | impl ::core::marker::Copy for timeval {} | |
7312 | impl ::core::clone::Clone for timeval { | |
7313 | fn clone(&self) -> Self { | |
7314 | *self | |
7315 | } | |
7316 | } |