| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn AcceptEx<P0, P1>(slistensocket: P0, sacceptsocket: P1, 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 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| P1: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "mswsock.dll""system" 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 ); |
| AcceptEx(slistensocket.into_param().abi(), sacceptsocket.into_param().abi(), lpoutputbuffer, dwreceivedatalength, dwlocaladdresslength, dwremoteaddresslength, lpdwbytesreceived, lpoverlapped) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn EnumProtocolsA(lpiprotocols: ::core::option::Option<*const i32>, lpprotocolbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32) -> i32 { |
| ::windows::imp::link ! ( "mswsock.dll""system" fn EnumProtocolsA ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 ) -> i32 ); |
| EnumProtocolsA(::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), lpprotocolbuffer, lpdwbufferlength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn EnumProtocolsW(lpiprotocols: ::core::option::Option<*const i32>, lpprotocolbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32) -> i32 { |
| ::windows::imp::link ! ( "mswsock.dll""system" fn EnumProtocolsW ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 ) -> i32 ); |
| EnumProtocolsW(::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), lpprotocolbuffer, lpdwbufferlength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn FreeAddrInfoEx(paddrinfoex: ::core::option::Option<*const ADDRINFOEXA>) { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn FreeAddrInfoEx ( paddrinfoex : *const ADDRINFOEXA ) -> ( ) ); |
| FreeAddrInfoEx(::core::mem::transmute(paddrinfoex.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn FreeAddrInfoExW(paddrinfoex: ::core::option::Option<*const ADDRINFOEXW>) { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn FreeAddrInfoExW ( paddrinfoex : *const ADDRINFOEXW ) -> ( ) ); |
| FreeAddrInfoExW(::core::mem::transmute(paddrinfoex.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn FreeAddrInfoW(paddrinfo: ::core::option::Option<*const ADDRINFOW>) { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn FreeAddrInfoW ( paddrinfo : *const ADDRINFOW ) -> ( ) ); |
| FreeAddrInfoW(::core::mem::transmute(paddrinfo.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe 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) { |
| ::windows::imp::link ! ( "mswsock.dll""system" 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 ) -> ( ) ); |
| GetAcceptExSockaddrs(lpoutputbuffer, dwreceivedatalength, dwlocaladdresslength, dwremoteaddresslength, localsockaddr, localsockaddrlength, remotesockaddr, remotesockaddrlength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn GetAddrInfoExA<P0, P1>(pname: P0, pservicename: P1, dwnamespace: u32, lpnspid: ::core::option::Option<*const ::windows::core::GUID>, hints: ::core::option::Option<*const ADDRINFOEXA>, ppresult: *mut *mut ADDRINFOEXA, timeout: ::core::option::Option<*const TIMEVAL>, lpoverlapped: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>, lpcompletionroutine: LPLOOKUPSERVICE_COMPLETION_ROUTINE, lpnamehandle: ::core::option::Option<*mut super::super::Foundation::HANDLE>) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| P1: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn GetAddrInfoExA ( pname : :: windows::core::PCSTR , pservicename : :: windows::core::PCSTR , dwnamespace : u32 , lpnspid : *const :: windows::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 ); |
| GetAddrInfoExA(pname.into_param().abi(), pservicename.into_param().abi(), dwnamespace, ::core::mem::transmute(lpnspid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(hints.unwrap_or(::std::ptr::null())), ppresult, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null())), lpcompletionroutine, ::core::mem::transmute(lpnamehandle.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetAddrInfoExCancel(lphandle: *const super::super::Foundation::HANDLE) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn GetAddrInfoExCancel ( lphandle : *const super::super::Foundation:: HANDLE ) -> i32 ); |
| GetAddrInfoExCancel(lphandle) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn GetAddrInfoExOverlappedResult(lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn GetAddrInfoExOverlappedResult ( lpoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> i32 ); |
| GetAddrInfoExOverlappedResult(lpoverlapped) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn GetAddrInfoExW<P0, P1>(pname: P0, pservicename: P1, dwnamespace: u32, lpnspid: ::core::option::Option<*const ::windows::core::GUID>, hints: ::core::option::Option<*const ADDRINFOEXW>, ppresult: *mut *mut ADDRINFOEXW, timeout: ::core::option::Option<*const TIMEVAL>, lpoverlapped: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>, lpcompletionroutine: LPLOOKUPSERVICE_COMPLETION_ROUTINE, lphandle: ::core::option::Option<*mut super::super::Foundation::HANDLE>) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn GetAddrInfoExW ( pname : :: windows::core::PCWSTR , pservicename : :: windows::core::PCWSTR , dwnamespace : u32 , lpnspid : *const :: windows::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 ); |
| GetAddrInfoExW(pname.into_param().abi(), pservicename.into_param().abi(), dwnamespace, ::core::mem::transmute(lpnspid.unwrap_or(::std::ptr::null())), ::core::mem::transmute(hints.unwrap_or(::std::ptr::null())), ppresult, ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null())), lpcompletionroutine, ::core::mem::transmute(lphandle.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn GetAddrInfoW<P0, P1>(pnodename: P0, pservicename: P1, phints: ::core::option::Option<*const ADDRINFOW>, ppresult: *mut *mut ADDRINFOW) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn GetAddrInfoW ( pnodename : :: windows::core::PCWSTR , pservicename : :: windows::core::PCWSTR , phints : *const ADDRINFOW , ppresult : *mut *mut ADDRINFOW ) -> i32 ); |
| GetAddrInfoW(pnodename.into_param().abi(), pservicename.into_param().abi(), ::core::mem::transmute(phints.unwrap_or(::std::ptr::null())), ppresult) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetAddressByNameA<P0>(dwnamespace: u32, lpservicetype: *const ::windows::core::GUID, lpservicename: P0, lpiprotocols: ::core::option::Option<*const i32>, dwresolution: u32, lpserviceasyncinfo: ::core::option::Option<*const SERVICE_ASYNC_INFO>, lpcsaddrbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32, lpaliasbuffer: ::windows::core::PSTR, lpdwaliasbufferlength: *mut u32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "mswsock.dll""system" fn GetAddressByNameA ( dwnamespace : u32 , lpservicetype : *const :: windows::core::GUID , lpservicename : :: windows::core::PCSTR , lpiprotocols : *const i32 , dwresolution : u32 , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO , lpcsaddrbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 , lpaliasbuffer : :: windows::core::PSTR , lpdwaliasbufferlength : *mut u32 ) -> i32 ); |
| GetAddressByNameA(dwnamespace, lpservicetype, lpservicename.into_param().abi(), ::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), dwresolution, ::core::mem::transmute(lpserviceasyncinfo.unwrap_or(::std::ptr::null())), lpcsaddrbuffer, lpdwbufferlength, ::core::mem::transmute(lpaliasbuffer), lpdwaliasbufferlength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetAddressByNameW<P0>(dwnamespace: u32, lpservicetype: *const ::windows::core::GUID, lpservicename: P0, lpiprotocols: ::core::option::Option<*const i32>, dwresolution: u32, lpserviceasyncinfo: ::core::option::Option<*const SERVICE_ASYNC_INFO>, lpcsaddrbuffer: *mut ::core::ffi::c_void, lpdwbufferlength: *mut u32, lpaliasbuffer: ::windows::core::PWSTR, lpdwaliasbufferlength: *mut u32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "mswsock.dll""system" fn GetAddressByNameW ( dwnamespace : u32 , lpservicetype : *const :: windows::core::GUID , lpservicename : :: windows::core::PCWSTR , lpiprotocols : *const i32 , dwresolution : u32 , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO , lpcsaddrbuffer : *mut ::core::ffi::c_void , lpdwbufferlength : *mut u32 , lpaliasbuffer : :: windows::core::PWSTR , lpdwaliasbufferlength : *mut u32 ) -> i32 ); |
| GetAddressByNameW(dwnamespace, lpservicetype, lpservicename.into_param().abi(), ::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), dwresolution, ::core::mem::transmute(lpserviceasyncinfo.unwrap_or(::std::ptr::null())), lpcsaddrbuffer, lpdwbufferlength, ::core::mem::transmute(lpaliasbuffer), lpdwaliasbufferlength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn GetHostNameW(name: &mut [u16]) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn GetHostNameW ( name : :: windows::core::PWSTR , namelen : i32 ) -> i32 ); |
| GetHostNameW(::core::mem::transmute(name.as_ptr()), name.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn GetNameByTypeA(lpservicetype: *const ::windows::core::GUID, lpservicename: &mut [u8]) -> i32 { |
| ::windows::imp::link ! ( "mswsock.dll""system" fn GetNameByTypeA ( lpservicetype : *const :: windows::core::GUID , lpservicename : :: windows::core::PSTR , dwnamelength : u32 ) -> i32 ); |
| GetNameByTypeA(lpservicetype, ::core::mem::transmute(lpservicename.as_ptr()), lpservicename.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn GetNameByTypeW(lpservicetype: *const ::windows::core::GUID, lpservicename: ::windows::core::PWSTR, dwnamelength: u32) -> i32 { |
| ::windows::imp::link ! ( "mswsock.dll""system" fn GetNameByTypeW ( lpservicetype : *const :: windows::core::GUID , lpservicename : :: windows::core::PWSTR , dwnamelength : u32 ) -> i32 ); |
| GetNameByTypeW(lpservicetype, ::core::mem::transmute(lpservicename), dwnamelength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn GetNameInfoW(psockaddr: *const SOCKADDR, sockaddrlength: i32, pnodebuffer: ::core::option::Option<&mut [u16]>, pservicebuffer: ::core::option::Option<&mut [u16]>, flags: i32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn GetNameInfoW ( psockaddr : *const SOCKADDR , sockaddrlength : i32 , pnodebuffer : :: windows::core::PWSTR , nodebuffersize : u32 , pservicebuffer : :: windows::core::PWSTR , servicebuffersize : u32 , flags : i32 ) -> i32 ); |
| GetNameInfoW(psockaddr, sockaddrlength, ::core::mem::transmute(pnodebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pnodebuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pservicebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pservicebuffer.as_deref().map_or(0, |slice| slice.len() as _), flags) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetServiceA<P0>(dwnamespace: u32, lpguid: *const ::windows::core::GUID, lpservicename: P0, dwproperties: u32, lpbuffer: *mut ::core::ffi::c_void, lpdwbuffersize: *mut u32, lpserviceasyncinfo: ::core::option::Option<*const SERVICE_ASYNC_INFO>) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "mswsock.dll""system" fn GetServiceA ( dwnamespace : u32 , lpguid : *const :: windows::core::GUID , lpservicename : :: windows::core::PCSTR , dwproperties : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbuffersize : *mut u32 , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO ) -> i32 ); |
| GetServiceA(dwnamespace, lpguid, lpservicename.into_param().abi(), dwproperties, lpbuffer, lpdwbuffersize, ::core::mem::transmute(lpserviceasyncinfo.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetServiceW<P0>(dwnamespace: u32, lpguid: *const ::windows::core::GUID, lpservicename: P0, dwproperties: u32, lpbuffer: *mut ::core::ffi::c_void, lpdwbuffersize: *mut u32, lpserviceasyncinfo: ::core::option::Option<*const SERVICE_ASYNC_INFO>) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "mswsock.dll""system" fn GetServiceW ( dwnamespace : u32 , lpguid : *const :: windows::core::GUID , lpservicename : :: windows::core::PCWSTR , dwproperties : u32 , lpbuffer : *mut ::core::ffi::c_void , lpdwbuffersize : *mut u32 , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO ) -> i32 ); |
| GetServiceW(dwnamespace, lpguid, lpservicename.into_param().abi(), dwproperties, lpbuffer, lpdwbuffersize, ::core::mem::transmute(lpserviceasyncinfo.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn GetTypeByNameA<P0>(lpservicename: P0, lpservicetype: *mut ::windows::core::GUID) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "mswsock.dll""system" fn GetTypeByNameA ( lpservicename : :: windows::core::PCSTR , lpservicetype : *mut :: windows::core::GUID ) -> i32 ); |
| GetTypeByNameA(lpservicename.into_param().abi(), lpservicetype) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn GetTypeByNameW<P0>(lpservicename: P0, lpservicetype: *mut ::windows::core::GUID) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "mswsock.dll""system" fn GetTypeByNameW ( lpservicename : :: windows::core::PCWSTR , lpservicetype : *mut :: windows::core::GUID ) -> i32 ); |
| GetTypeByNameW(lpservicename.into_param().abi(), lpservicetype) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn InetNtopW(family: i32, paddr: *const ::core::ffi::c_void, pstringbuf: &mut [u16]) -> ::windows::core::PWSTR { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn InetNtopW ( family : i32 , paddr : *const ::core::ffi::c_void , pstringbuf : :: windows::core::PWSTR , stringbufsize : usize ) -> :: windows::core::PWSTR ); |
| InetNtopW(family, paddr, ::core::mem::transmute(pstringbuf.as_ptr()), pstringbuf.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn InetPtonW<P0>(family: i32, pszaddrstring: P0, paddrbuf: *mut ::core::ffi::c_void) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn InetPtonW ( family : i32 , pszaddrstring : :: windows::core::PCWSTR , paddrbuf : *mut ::core::ffi::c_void ) -> i32 ); |
| InetPtonW(family, pszaddrstring.into_param().abi(), paddrbuf) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn ProcessSocketNotifications<P0>(completionport: P0, registrationinfos: ::core::option::Option<&mut [SOCK_NOTIFY_REGISTRATION]>, timeoutms: u32, completionportentries: ::core::option::Option<&mut [super::super::System::IO::OVERLAPPED_ENTRY]>, receivedentrycount: ::core::option::Option<*mut u32>) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" 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 ); |
| ProcessSocketNotifications(completionport.into_param().abi(), registrationinfos.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(registrationinfos.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), timeoutms, completionportentries.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(completionportentries.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), ::core::mem::transmute(receivedentrycount.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlEthernetAddressToStringA(addr: *const DL_EUI48, s: &mut [u8; 18]) -> ::windows::core::PSTR { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlEthernetAddressToStringA ( addr : *const DL_EUI48 , s : :: windows::core::PSTR ) -> :: windows::core::PSTR ); |
| RtlEthernetAddressToStringA(addr, ::core::mem::transmute(s.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlEthernetAddressToStringW(addr: *const DL_EUI48, s: &mut [u16; 18]) -> ::windows::core::PWSTR { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlEthernetAddressToStringW ( addr : *const DL_EUI48 , s : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); |
| RtlEthernetAddressToStringW(addr, ::core::mem::transmute(s.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlEthernetStringToAddressA<P0>(s: P0, terminator: *mut ::windows::core::PSTR, addr: *mut DL_EUI48) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlEthernetStringToAddressA ( s : :: windows::core::PCSTR , terminator : *mut :: windows::core::PSTR , addr : *mut DL_EUI48 ) -> i32 ); |
| RtlEthernetStringToAddressA(s.into_param().abi(), terminator, addr) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlEthernetStringToAddressW<P0>(s: P0, terminator: *mut ::windows::core::PWSTR, addr: *mut DL_EUI48) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlEthernetStringToAddressW ( s : :: windows::core::PCWSTR , terminator : *mut :: windows::core::PWSTR , addr : *mut DL_EUI48 ) -> i32 ); |
| RtlEthernetStringToAddressW(s.into_param().abi(), terminator, addr) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlIpv4AddressToStringA(addr: *const IN_ADDR, s: &mut [u8; 16]) -> ::windows::core::PSTR { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4AddressToStringA ( addr : *const IN_ADDR , s : :: windows::core::PSTR ) -> :: windows::core::PSTR ); |
| RtlIpv4AddressToStringA(addr, ::core::mem::transmute(s.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlIpv4AddressToStringExA(address: *const IN_ADDR, port: u16, addressstring: ::windows::core::PSTR, addressstringlength: *mut u32) -> i32 { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4AddressToStringExA ( address : *const IN_ADDR , port : u16 , addressstring : :: windows::core::PSTR , addressstringlength : *mut u32 ) -> i32 ); |
| RtlIpv4AddressToStringExA(address, port, ::core::mem::transmute(addressstring), addressstringlength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlIpv4AddressToStringExW(address: *const IN_ADDR, port: u16, addressstring: ::windows::core::PWSTR, addressstringlength: *mut u32) -> i32 { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4AddressToStringExW ( address : *const IN_ADDR , port : u16 , addressstring : :: windows::core::PWSTR , addressstringlength : *mut u32 ) -> i32 ); |
| RtlIpv4AddressToStringExW(address, port, ::core::mem::transmute(addressstring), addressstringlength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlIpv4AddressToStringW(addr: *const IN_ADDR, s: &mut [u16; 16]) -> ::windows::core::PWSTR { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4AddressToStringW ( addr : *const IN_ADDR , s : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); |
| RtlIpv4AddressToStringW(addr, ::core::mem::transmute(s.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn RtlIpv4StringToAddressA<P0, P1>(s: P0, strict: P1, terminator: *mut ::windows::core::PSTR, addr: *mut IN_ADDR) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| P1: ::windows::core::IntoParam<super::super::Foundation::BOOLEAN>, |
| { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4StringToAddressA ( s : :: windows::core::PCSTR , strict : super::super::Foundation:: BOOLEAN , terminator : *mut :: windows::core::PSTR , addr : *mut IN_ADDR ) -> i32 ); |
| RtlIpv4StringToAddressA(s.into_param().abi(), strict.into_param().abi(), terminator, addr) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn RtlIpv4StringToAddressExA<P0, P1>(addressstring: P0, strict: P1, address: *mut IN_ADDR, port: *mut u16) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| P1: ::windows::core::IntoParam<super::super::Foundation::BOOLEAN>, |
| { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4StringToAddressExA ( addressstring : :: windows::core::PCSTR , strict : super::super::Foundation:: BOOLEAN , address : *mut IN_ADDR , port : *mut u16 ) -> i32 ); |
| RtlIpv4StringToAddressExA(addressstring.into_param().abi(), strict.into_param().abi(), address, port) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn RtlIpv4StringToAddressExW<P0, P1>(addressstring: P0, strict: P1, address: *mut IN_ADDR, port: *mut u16) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| P1: ::windows::core::IntoParam<super::super::Foundation::BOOLEAN>, |
| { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4StringToAddressExW ( addressstring : :: windows::core::PCWSTR , strict : super::super::Foundation:: BOOLEAN , address : *mut IN_ADDR , port : *mut u16 ) -> i32 ); |
| RtlIpv4StringToAddressExW(addressstring.into_param().abi(), strict.into_param().abi(), address, port) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn RtlIpv4StringToAddressW<P0, P1>(s: P0, strict: P1, terminator: *mut ::windows::core::PWSTR, addr: *mut IN_ADDR) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| P1: ::windows::core::IntoParam<super::super::Foundation::BOOLEAN>, |
| { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv4StringToAddressW ( s : :: windows::core::PCWSTR , strict : super::super::Foundation:: BOOLEAN , terminator : *mut :: windows::core::PWSTR , addr : *mut IN_ADDR ) -> i32 ); |
| RtlIpv4StringToAddressW(s.into_param().abi(), strict.into_param().abi(), terminator, addr) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlIpv6AddressToStringA(addr: *const IN6_ADDR, s: &mut [u8; 46]) -> ::windows::core::PSTR { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6AddressToStringA ( addr : *const IN6_ADDR , s : :: windows::core::PSTR ) -> :: windows::core::PSTR ); |
| RtlIpv6AddressToStringA(addr, ::core::mem::transmute(s.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlIpv6AddressToStringExA(address: *const IN6_ADDR, scopeid: u32, port: u16, addressstring: ::windows::core::PSTR, addressstringlength: *mut u32) -> i32 { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6AddressToStringExA ( address : *const IN6_ADDR , scopeid : u32 , port : u16 , addressstring : :: windows::core::PSTR , addressstringlength : *mut u32 ) -> i32 ); |
| RtlIpv6AddressToStringExA(address, scopeid, port, ::core::mem::transmute(addressstring), addressstringlength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlIpv6AddressToStringExW(address: *const IN6_ADDR, scopeid: u32, port: u16, addressstring: ::windows::core::PWSTR, addressstringlength: *mut u32) -> i32 { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6AddressToStringExW ( address : *const IN6_ADDR , scopeid : u32 , port : u16 , addressstring : :: windows::core::PWSTR , addressstringlength : *mut u32 ) -> i32 ); |
| RtlIpv6AddressToStringExW(address, scopeid, port, ::core::mem::transmute(addressstring), addressstringlength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlIpv6AddressToStringW(addr: *const IN6_ADDR, s: &mut [u16; 46]) -> ::windows::core::PWSTR { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6AddressToStringW ( addr : *const IN6_ADDR , s : :: windows::core::PWSTR ) -> :: windows::core::PWSTR ); |
| RtlIpv6AddressToStringW(addr, ::core::mem::transmute(s.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlIpv6StringToAddressA<P0>(s: P0, terminator: *mut ::windows::core::PSTR, addr: *mut IN6_ADDR) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6StringToAddressA ( s : :: windows::core::PCSTR , terminator : *mut :: windows::core::PSTR , addr : *mut IN6_ADDR ) -> i32 ); |
| RtlIpv6StringToAddressA(s.into_param().abi(), terminator, addr) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlIpv6StringToAddressExA<P0>(addressstring: P0, address: *mut IN6_ADDR, scopeid: *mut u32, port: *mut u16) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6StringToAddressExA ( addressstring : :: windows::core::PCSTR , address : *mut IN6_ADDR , scopeid : *mut u32 , port : *mut u16 ) -> i32 ); |
| RtlIpv6StringToAddressExA(addressstring.into_param().abi(), address, scopeid, port) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlIpv6StringToAddressExW<P0>(addressstring: P0, address: *mut IN6_ADDR, scopeid: *mut u32, port: *mut u16) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6StringToAddressExW ( addressstring : :: windows::core::PCWSTR , address : *mut IN6_ADDR , scopeid : *mut u32 , port : *mut u16 ) -> i32 ); |
| RtlIpv6StringToAddressExW(addressstring.into_param().abi(), address, scopeid, port) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn RtlIpv6StringToAddressW<P0>(s: P0, terminator: *mut ::windows::core::PWSTR, addr: *mut IN6_ADDR) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ntdll.dll""system" fn RtlIpv6StringToAddressW ( s : :: windows::core::PCWSTR , terminator : *mut :: windows::core::PWSTR , addr : *mut IN6_ADDR ) -> i32 ); |
| RtlIpv6StringToAddressW(s.into_param().abi(), terminator, addr) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn SetAddrInfoExA<P0, P1>(pname: P0, pservicename: P1, paddresses: ::core::option::Option<*const SOCKET_ADDRESS>, dwaddresscount: u32, lpblob: ::core::option::Option<*const super::super::System::Com::BLOB>, dwflags: u32, dwnamespace: u32, lpnspid: ::core::option::Option<*const ::windows::core::GUID>, timeout: ::core::option::Option<*const TIMEVAL>, lpoverlapped: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>, lpcompletionroutine: LPLOOKUPSERVICE_COMPLETION_ROUTINE, lpnamehandle: ::core::option::Option<*mut super::super::Foundation::HANDLE>) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| P1: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn SetAddrInfoExA ( pname : :: windows::core::PCSTR , pservicename : :: windows::core::PCSTR , paddresses : *const SOCKET_ADDRESS , dwaddresscount : u32 , lpblob : *const super::super::System::Com:: BLOB , dwflags : u32 , dwnamespace : u32 , lpnspid : *const :: windows::core::GUID , timeout : *const TIMEVAL , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPLOOKUPSERVICE_COMPLETION_ROUTINE , lpnamehandle : *mut super::super::Foundation:: HANDLE ) -> i32 ); |
| SetAddrInfoExA( |
| pname.into_param().abi(), |
| pservicename.into_param().abi(), |
| ::core::mem::transmute(paddresses.unwrap_or(::std::ptr::null())), |
| dwaddresscount, |
| ::core::mem::transmute(lpblob.unwrap_or(::std::ptr::null())), |
| dwflags, |
| dwnamespace, |
| ::core::mem::transmute(lpnspid.unwrap_or(::std::ptr::null())), |
| ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), |
| ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null())), |
| lpcompletionroutine, |
| ::core::mem::transmute(lpnamehandle.unwrap_or(::std::ptr::null_mut())), |
| ) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn SetAddrInfoExW<P0, P1>(pname: P0, pservicename: P1, paddresses: ::core::option::Option<*const SOCKET_ADDRESS>, dwaddresscount: u32, lpblob: ::core::option::Option<*const super::super::System::Com::BLOB>, dwflags: u32, dwnamespace: u32, lpnspid: ::core::option::Option<*const ::windows::core::GUID>, timeout: ::core::option::Option<*const TIMEVAL>, lpoverlapped: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>, lpcompletionroutine: LPLOOKUPSERVICE_COMPLETION_ROUTINE, lpnamehandle: ::core::option::Option<*mut super::super::Foundation::HANDLE>) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn SetAddrInfoExW ( pname : :: windows::core::PCWSTR , pservicename : :: windows::core::PCWSTR , paddresses : *const SOCKET_ADDRESS , dwaddresscount : u32 , lpblob : *const super::super::System::Com:: BLOB , dwflags : u32 , dwnamespace : u32 , lpnspid : *const :: windows::core::GUID , timeout : *const TIMEVAL , lpoverlapped : *const super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPLOOKUPSERVICE_COMPLETION_ROUTINE , lpnamehandle : *mut super::super::Foundation:: HANDLE ) -> i32 ); |
| SetAddrInfoExW( |
| pname.into_param().abi(), |
| pservicename.into_param().abi(), |
| ::core::mem::transmute(paddresses.unwrap_or(::std::ptr::null())), |
| dwaddresscount, |
| ::core::mem::transmute(lpblob.unwrap_or(::std::ptr::null())), |
| dwflags, |
| dwnamespace, |
| ::core::mem::transmute(lpnspid.unwrap_or(::std::ptr::null())), |
| ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), |
| ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null())), |
| lpcompletionroutine, |
| ::core::mem::transmute(lpnamehandle.unwrap_or(::std::ptr::null_mut())), |
| ) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| #[inline] |
| pub unsafe fn SetServiceA(dwnamespace: u32, dwoperation: SET_SERVICE_OPERATION, dwflags: u32, lpserviceinfo: *const SERVICE_INFOA, lpserviceasyncinfo: ::core::option::Option<*const SERVICE_ASYNC_INFO>, lpdwstatusflags: *mut u32) -> i32 { |
| ::windows::imp::link ! ( "mswsock.dll""system" fn SetServiceA ( dwnamespace : u32 , dwoperation : SET_SERVICE_OPERATION , dwflags : u32 , lpserviceinfo : *const SERVICE_INFOA , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO , lpdwstatusflags : *mut u32 ) -> i32 ); |
| SetServiceA(dwnamespace, dwoperation, dwflags, lpserviceinfo, ::core::mem::transmute(lpserviceasyncinfo.unwrap_or(::std::ptr::null())), lpdwstatusflags) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| #[inline] |
| pub unsafe fn SetServiceW(dwnamespace: u32, dwoperation: SET_SERVICE_OPERATION, dwflags: u32, lpserviceinfo: *const SERVICE_INFOW, lpserviceasyncinfo: ::core::option::Option<*const SERVICE_ASYNC_INFO>, lpdwstatusflags: *mut u32) -> i32 { |
| ::windows::imp::link ! ( "mswsock.dll""system" fn SetServiceW ( dwnamespace : u32 , dwoperation : SET_SERVICE_OPERATION , dwflags : u32 , lpserviceinfo : *const SERVICE_INFOW , lpserviceasyncinfo : *const SERVICE_ASYNC_INFO , lpdwstatusflags : *mut u32 ) -> i32 ); |
| SetServiceW(dwnamespace, dwoperation, dwflags, lpserviceinfo, ::core::mem::transmute(lpserviceasyncinfo.unwrap_or(::std::ptr::null())), lpdwstatusflags) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetSocketMediaStreamingMode<P0>(value: P0) -> ::windows::core::Result<()> |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows::imp::link ! ( "windows.networking.dll""system" fn SetSocketMediaStreamingMode ( value : super::super::Foundation:: BOOL ) -> :: windows::core::HRESULT ); |
| SetSocketMediaStreamingMode(value.into_param().abi()).ok() |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn TransmitFile<P0, P1>(hsocket: P0, hfile: P1, nnumberofbytestowrite: u32, nnumberofbytespersend: u32, lpoverlapped: ::core::option::Option<*mut super::super::System::IO::OVERLAPPED>, lptransmitbuffers: ::core::option::Option<*const TRANSMIT_FILE_BUFFERS>, dwreserved: u32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| P1: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows::imp::link ! ( "mswsock.dll""system" 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 ); |
| TransmitFile(hsocket.into_param().abi(), hfile.into_param().abi(), nnumberofbytestowrite, nnumberofbytespersend, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lptransmitbuffers.unwrap_or(::std::ptr::null())), dwreserved) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WPUCompleteOverlappedRequest<P0>(s: P0, lpoverlapped: *mut super::super::System::IO::OVERLAPPED, dwerror: u32, cbtransferred: u32, lperrno: *mut i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WPUCompleteOverlappedRequest ( s : SOCKET , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , dwerror : u32 , cbtransferred : u32 , lperrno : *mut i32 ) -> i32 ); |
| WPUCompleteOverlappedRequest(s.into_param().abi(), lpoverlapped, dwerror, cbtransferred, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAAccept<P0>(s: P0, addr: ::core::option::Option<*mut SOCKADDR>, addrlen: ::core::option::Option<*mut i32>, lpfncondition: LPCONDITIONPROC, dwcallbackdata: usize) -> SOCKET |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAccept ( s : SOCKET , addr : *mut SOCKADDR , addrlen : *mut i32 , lpfncondition : LPCONDITIONPROC , dwcallbackdata : usize ) -> SOCKET ); |
| WSAAccept(s.into_param().abi(), ::core::mem::transmute(addr.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(addrlen.unwrap_or(::std::ptr::null_mut())), lpfncondition, dwcallbackdata) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAAddressToStringA(lpsaaddress: *const SOCKADDR, dwaddresslength: u32, lpprotocolinfo: ::core::option::Option<*const WSAPROTOCOL_INFOA>, lpszaddressstring: ::windows::core::PSTR, lpdwaddressstringlength: *mut u32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAddressToStringA ( lpsaaddress : *const SOCKADDR , dwaddresslength : u32 , lpprotocolinfo : *const WSAPROTOCOL_INFOA , lpszaddressstring : :: windows::core::PSTR , lpdwaddressstringlength : *mut u32 ) -> i32 ); |
| WSAAddressToStringA(lpsaaddress, dwaddresslength, ::core::mem::transmute(lpprotocolinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpszaddressstring), lpdwaddressstringlength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAAddressToStringW(lpsaaddress: *const SOCKADDR, dwaddresslength: u32, lpprotocolinfo: ::core::option::Option<*const WSAPROTOCOL_INFOW>, lpszaddressstring: ::windows::core::PWSTR, lpdwaddressstringlength: *mut u32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAddressToStringW ( lpsaaddress : *const SOCKADDR , dwaddresslength : u32 , lpprotocolinfo : *const WSAPROTOCOL_INFOW , lpszaddressstring : :: windows::core::PWSTR , lpdwaddressstringlength : *mut u32 ) -> i32 ); |
| WSAAddressToStringW(lpsaaddress, dwaddresslength, ::core::mem::transmute(lpprotocolinfo.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpszaddressstring), lpdwaddressstringlength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| #[inline] |
| pub unsafe fn WSAAdvertiseProvider(puuidproviderid: *const ::windows::core::GUID, pnspv2routine: *const NSPV2_ROUTINE) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAdvertiseProvider ( puuidproviderid : *const :: windows::core::GUID , pnspv2routine : *const NSPV2_ROUTINE ) -> i32 ); |
| WSAAdvertiseProvider(puuidproviderid, pnspv2routine) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAAsyncGetHostByAddr<P0>(hwnd: P0, wmsg: u32, addr: &[u8], r#type: i32, buf: &mut [u8]) -> super::super::Foundation::HANDLE |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAsyncGetHostByAddr ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , addr : :: windows::core::PCSTR , len : i32 , r#type : i32 , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); |
| WSAAsyncGetHostByAddr(hwnd.into_param().abi(), wmsg, ::core::mem::transmute(addr.as_ptr()), addr.len() as _, r#type, ::core::mem::transmute(buf.as_ptr()), buf.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAAsyncGetHostByName<P0, P1>(hwnd: P0, wmsg: u32, name: P1, buf: &mut [u8]) -> super::super::Foundation::HANDLE |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAsyncGetHostByName ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , name : :: windows::core::PCSTR , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); |
| WSAAsyncGetHostByName(hwnd.into_param().abi(), wmsg, name.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAAsyncGetProtoByName<P0, P1>(hwnd: P0, wmsg: u32, name: P1, buf: &mut [u8]) -> super::super::Foundation::HANDLE |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAsyncGetProtoByName ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , name : :: windows::core::PCSTR , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); |
| WSAAsyncGetProtoByName(hwnd.into_param().abi(), wmsg, name.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAAsyncGetProtoByNumber<P0>(hwnd: P0, wmsg: u32, number: i32, buf: &mut [u8]) -> super::super::Foundation::HANDLE |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAsyncGetProtoByNumber ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , number : i32 , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); |
| WSAAsyncGetProtoByNumber(hwnd.into_param().abi(), wmsg, number, ::core::mem::transmute(buf.as_ptr()), buf.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAAsyncGetServByName<P0, P1, P2>(hwnd: P0, wmsg: u32, name: P1, proto: P2, buf: &mut [u8]) -> super::super::Foundation::HANDLE |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| P2: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAsyncGetServByName ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , name : :: windows::core::PCSTR , proto : :: windows::core::PCSTR , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); |
| WSAAsyncGetServByName(hwnd.into_param().abi(), wmsg, name.into_param().abi(), proto.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAAsyncGetServByPort<P0, P1>(hwnd: P0, wmsg: u32, port: i32, proto: P1, buf: &mut [u8]) -> super::super::Foundation::HANDLE |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HWND>, |
| P1: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAsyncGetServByPort ( hwnd : super::super::Foundation:: HWND , wmsg : u32 , port : i32 , proto : :: windows::core::PCSTR , buf : :: windows::core::PSTR , buflen : i32 ) -> super::super::Foundation:: HANDLE ); |
| WSAAsyncGetServByPort(hwnd.into_param().abi(), wmsg, port, proto.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAAsyncSelect<P0, P1>(s: P0, hwnd: P1, wmsg: u32, levent: i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| P1: ::windows::core::IntoParam<super::super::Foundation::HWND>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAAsyncSelect ( s : SOCKET , hwnd : super::super::Foundation:: HWND , wmsg : u32 , levent : i32 ) -> i32 ); |
| WSAAsyncSelect(s.into_param().abi(), hwnd.into_param().abi(), wmsg, levent) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSACancelAsyncRequest<P0>(hasynctaskhandle: P0) -> i32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSACancelAsyncRequest ( hasynctaskhandle : super::super::Foundation:: HANDLE ) -> i32 ); |
| WSACancelAsyncRequest(hasynctaskhandle.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSACancelBlockingCall() -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSACancelBlockingCall ( ) -> i32 ); |
| WSACancelBlockingCall() |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSACleanup() -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSACleanup ( ) -> i32 ); |
| WSACleanup() |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSACloseEvent<P0>(hevent: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSACloseEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); |
| WSACloseEvent(hevent.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAConnect<P0>(s: P0, name: *const SOCKADDR, namelen: i32, lpcallerdata: ::core::option::Option<*const WSABUF>, lpcalleedata: ::core::option::Option<*mut WSABUF>, lpsqos: ::core::option::Option<*const QOS>, lpgqos: ::core::option::Option<*const QOS>) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAConnect ( s : SOCKET , name : *const SOCKADDR , namelen : i32 , lpcallerdata : *const WSABUF , lpcalleedata : *mut WSABUF , lpsqos : *const QOS , lpgqos : *const QOS ) -> i32 ); |
| WSAConnect(s.into_param().abi(), name, namelen, ::core::mem::transmute(lpcallerdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpcalleedata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpsqos.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpgqos.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSAConnectByList<P0>(s: P0, socketaddress: *const SOCKET_ADDRESS_LIST, localaddresslength: ::core::option::Option<*mut u32>, localaddress: ::core::option::Option<*mut SOCKADDR>, remoteaddresslength: ::core::option::Option<*mut u32>, remoteaddress: ::core::option::Option<*mut SOCKADDR>, timeout: ::core::option::Option<*const TIMEVAL>, reserved: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" 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 : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); |
| WSAConnectByList(s.into_param().abi(), socketaddress, ::core::mem::transmute(localaddresslength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(localaddress.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(remoteaddresslength.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(remoteaddress.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSAConnectByNameA<P0, P1, P2>(s: P0, nodename: P1, servicename: P2, localaddresslength: ::core::option::Option<*mut u32>, localaddress: ::core::option::Option<*mut SOCKADDR>, remoteaddresslength: ::core::option::Option<*mut u32>, remoteaddress: ::core::option::Option<*mut SOCKADDR>, timeout: ::core::option::Option<*const TIMEVAL>, reserved: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| P1: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| P2: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAConnectByNameA ( s : SOCKET , nodename : :: windows::core::PCSTR , servicename : :: windows::core::PCSTR , localaddresslength : *mut u32 , localaddress : *mut SOCKADDR , remoteaddresslength : *mut u32 , remoteaddress : *mut SOCKADDR , timeout : *const TIMEVAL , reserved : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); |
| WSAConnectByNameA( |
| s.into_param().abi(), |
| nodename.into_param().abi(), |
| servicename.into_param().abi(), |
| ::core::mem::transmute(localaddresslength.unwrap_or(::std::ptr::null_mut())), |
| ::core::mem::transmute(localaddress.unwrap_or(::std::ptr::null_mut())), |
| ::core::mem::transmute(remoteaddresslength.unwrap_or(::std::ptr::null_mut())), |
| ::core::mem::transmute(remoteaddress.unwrap_or(::std::ptr::null_mut())), |
| ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), |
| ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), |
| ) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSAConnectByNameW<P0, P1, P2>(s: P0, nodename: P1, servicename: P2, localaddresslength: ::core::option::Option<*mut u32>, localaddress: ::core::option::Option<*mut SOCKADDR>, remoteaddresslength: ::core::option::Option<*mut u32>, remoteaddress: ::core::option::Option<*mut SOCKADDR>, timeout: ::core::option::Option<*const TIMEVAL>, reserved: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| P2: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAConnectByNameW ( s : SOCKET , nodename : :: windows::core::PCWSTR , servicename : :: windows::core::PCWSTR , localaddresslength : *mut u32 , localaddress : *mut SOCKADDR , remoteaddresslength : *mut u32 , remoteaddress : *mut SOCKADDR , timeout : *const TIMEVAL , reserved : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); |
| WSAConnectByNameW( |
| s.into_param().abi(), |
| nodename.into_param().abi(), |
| servicename.into_param().abi(), |
| ::core::mem::transmute(localaddresslength.unwrap_or(::std::ptr::null_mut())), |
| ::core::mem::transmute(localaddress.unwrap_or(::std::ptr::null_mut())), |
| ::core::mem::transmute(remoteaddresslength.unwrap_or(::std::ptr::null_mut())), |
| ::core::mem::transmute(remoteaddress.unwrap_or(::std::ptr::null_mut())), |
| ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null())), |
| ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), |
| ) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSACreateEvent() -> super::super::Foundation::HANDLE { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSACreateEvent ( ) -> super::super::Foundation:: HANDLE ); |
| WSACreateEvent() |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSADeleteSocketPeerTargetName<P0>(socket: P0, peeraddr: *const SOCKADDR, peeraddrlen: u32, overlapped: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>, completionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "fwpuclnt.dll""system" fn WSADeleteSocketPeerTargetName ( socket : SOCKET , peeraddr : *const SOCKADDR , peeraddrlen : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED , completionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); |
| WSADeleteSocketPeerTargetName(socket.into_param().abi(), peeraddr, peeraddrlen, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null())), completionroutine) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSADuplicateSocketA<P0>(s: P0, dwprocessid: u32, lpprotocolinfo: *mut WSAPROTOCOL_INFOA) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSADuplicateSocketA ( s : SOCKET , dwprocessid : u32 , lpprotocolinfo : *mut WSAPROTOCOL_INFOA ) -> i32 ); |
| WSADuplicateSocketA(s.into_param().abi(), dwprocessid, lpprotocolinfo) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSADuplicateSocketW<P0>(s: P0, dwprocessid: u32, lpprotocolinfo: *mut WSAPROTOCOL_INFOW) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSADuplicateSocketW ( s : SOCKET , dwprocessid : u32 , lpprotocolinfo : *mut WSAPROTOCOL_INFOW ) -> i32 ); |
| WSADuplicateSocketW(s.into_param().abi(), dwprocessid, lpprotocolinfo) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAEnumNameSpaceProvidersA(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOA) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEnumNameSpaceProvidersA ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOA ) -> i32 ); |
| WSAEnumNameSpaceProvidersA(lpdwbufferlength, lpnspbuffer) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| #[inline] |
| pub unsafe fn WSAEnumNameSpaceProvidersExA(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOEXA) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEnumNameSpaceProvidersExA ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOEXA ) -> i32 ); |
| WSAEnumNameSpaceProvidersExA(lpdwbufferlength, lpnspbuffer) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| #[inline] |
| pub unsafe fn WSAEnumNameSpaceProvidersExW(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOEXW) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEnumNameSpaceProvidersExW ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOEXW ) -> i32 ); |
| WSAEnumNameSpaceProvidersExW(lpdwbufferlength, lpnspbuffer) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAEnumNameSpaceProvidersW(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOW) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEnumNameSpaceProvidersW ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOW ) -> i32 ); |
| WSAEnumNameSpaceProvidersW(lpdwbufferlength, lpnspbuffer) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAEnumNetworkEvents<P0, P1>(s: P0, heventobject: P1, lpnetworkevents: *mut WSANETWORKEVENTS) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| P1: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEnumNetworkEvents ( s : SOCKET , heventobject : super::super::Foundation:: HANDLE , lpnetworkevents : *mut WSANETWORKEVENTS ) -> i32 ); |
| WSAEnumNetworkEvents(s.into_param().abi(), heventobject.into_param().abi(), lpnetworkevents) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAEnumProtocolsA(lpiprotocols: ::core::option::Option<*const i32>, lpprotocolbuffer: ::core::option::Option<*mut WSAPROTOCOL_INFOA>, lpdwbufferlength: *mut u32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEnumProtocolsA ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut WSAPROTOCOL_INFOA , lpdwbufferlength : *mut u32 ) -> i32 ); |
| WSAEnumProtocolsA(::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpprotocolbuffer.unwrap_or(::std::ptr::null_mut())), lpdwbufferlength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAEnumProtocolsW(lpiprotocols: ::core::option::Option<*const i32>, lpprotocolbuffer: ::core::option::Option<*mut WSAPROTOCOL_INFOW>, lpdwbufferlength: *mut u32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEnumProtocolsW ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut WSAPROTOCOL_INFOW , lpdwbufferlength : *mut u32 ) -> i32 ); |
| WSAEnumProtocolsW(::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpprotocolbuffer.unwrap_or(::std::ptr::null_mut())), lpdwbufferlength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAEventSelect<P0, P1>(s: P0, heventobject: P1, lnetworkevents: i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| P1: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAEventSelect ( s : SOCKET , heventobject : super::super::Foundation:: HANDLE , lnetworkevents : i32 ) -> i32 ); |
| WSAEventSelect(s.into_param().abi(), heventobject.into_param().abi(), lnetworkevents) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAGetLastError() -> WSA_ERROR { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAGetLastError ( ) -> WSA_ERROR ); |
| WSAGetLastError() |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSAGetOverlappedResult<P0, P1>(s: P0, lpoverlapped: *const super::super::System::IO::OVERLAPPED, lpcbtransfer: *mut u32, fwait: P1, lpdwflags: *mut u32) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" 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 ); |
| WSAGetOverlappedResult(s.into_param().abi(), lpoverlapped, lpcbtransfer, fwait.into_param().abi(), lpdwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAGetQOSByName<P0>(s: P0, lpqosname: *const WSABUF, lpqos: *mut QOS) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAGetQOSByName ( s : SOCKET , lpqosname : *const WSABUF , lpqos : *mut QOS ) -> super::super::Foundation:: BOOL ); |
| WSAGetQOSByName(s.into_param().abi(), lpqosname, lpqos) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAGetServiceClassInfoA(lpproviderid: *const ::windows::core::GUID, lpserviceclassid: *const ::windows::core::GUID, lpdwbufsize: *mut u32, lpserviceclassinfo: *mut WSASERVICECLASSINFOA) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAGetServiceClassInfoA ( lpproviderid : *const :: windows::core::GUID , lpserviceclassid : *const :: windows::core::GUID , lpdwbufsize : *mut u32 , lpserviceclassinfo : *mut WSASERVICECLASSINFOA ) -> i32 ); |
| WSAGetServiceClassInfoA(lpproviderid, lpserviceclassid, lpdwbufsize, lpserviceclassinfo) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAGetServiceClassInfoW(lpproviderid: *const ::windows::core::GUID, lpserviceclassid: *const ::windows::core::GUID, lpdwbufsize: *mut u32, lpserviceclassinfo: *mut WSASERVICECLASSINFOW) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAGetServiceClassInfoW ( lpproviderid : *const :: windows::core::GUID , lpserviceclassid : *const :: windows::core::GUID , lpdwbufsize : *mut u32 , lpserviceclassinfo : *mut WSASERVICECLASSINFOW ) -> i32 ); |
| WSAGetServiceClassInfoW(lpproviderid, lpserviceclassid, lpdwbufsize, lpserviceclassinfo) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAGetServiceClassNameByClassIdA(lpserviceclassid: *const ::windows::core::GUID, lpszserviceclassname: ::windows::core::PSTR, lpdwbufferlength: *mut u32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAGetServiceClassNameByClassIdA ( lpserviceclassid : *const :: windows::core::GUID , lpszserviceclassname : :: windows::core::PSTR , lpdwbufferlength : *mut u32 ) -> i32 ); |
| WSAGetServiceClassNameByClassIdA(lpserviceclassid, ::core::mem::transmute(lpszserviceclassname), lpdwbufferlength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAGetServiceClassNameByClassIdW(lpserviceclassid: *const ::windows::core::GUID, lpszserviceclassname: ::windows::core::PWSTR, lpdwbufferlength: *mut u32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAGetServiceClassNameByClassIdW ( lpserviceclassid : *const :: windows::core::GUID , lpszserviceclassname : :: windows::core::PWSTR , lpdwbufferlength : *mut u32 ) -> i32 ); |
| WSAGetServiceClassNameByClassIdW(lpserviceclassid, ::core::mem::transmute(lpszserviceclassname), lpdwbufferlength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAHtonl<P0>(s: P0, hostlong: u32, lpnetlong: *mut u32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAHtonl ( s : SOCKET , hostlong : u32 , lpnetlong : *mut u32 ) -> i32 ); |
| WSAHtonl(s.into_param().abi(), hostlong, lpnetlong) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAHtons<P0>(s: P0, hostshort: u16, lpnetshort: *mut u16) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAHtons ( s : SOCKET , hostshort : u16 , lpnetshort : *mut u16 ) -> i32 ); |
| WSAHtons(s.into_param().abi(), hostshort, lpnetshort) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAImpersonateSocketPeer<P0>(socket: P0, peeraddr: ::core::option::Option<*const SOCKADDR>, peeraddrlen: u32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "fwpuclnt.dll""system" fn WSAImpersonateSocketPeer ( socket : SOCKET , peeraddr : *const SOCKADDR , peeraddrlen : u32 ) -> i32 ); |
| WSAImpersonateSocketPeer(socket.into_param().abi(), ::core::mem::transmute(peeraddr.unwrap_or(::std::ptr::null())), peeraddrlen) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAInstallServiceClassA(lpserviceclassinfo: *const WSASERVICECLASSINFOA) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAInstallServiceClassA ( lpserviceclassinfo : *const WSASERVICECLASSINFOA ) -> i32 ); |
| WSAInstallServiceClassA(lpserviceclassinfo) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAInstallServiceClassW(lpserviceclassinfo: *const WSASERVICECLASSINFOW) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAInstallServiceClassW ( lpserviceclassinfo : *const WSASERVICECLASSINFOW ) -> i32 ); |
| WSAInstallServiceClassW(lpserviceclassinfo) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSAIoctl<P0>(s: P0, dwiocontrolcode: u32, lpvinbuffer: ::core::option::Option<*const ::core::ffi::c_void>, cbinbuffer: u32, lpvoutbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, cboutbuffer: u32, lpcbbytesreturned: *mut u32, lpoverlapped: ::core::option::Option<*mut super::super::System::IO::OVERLAPPED>, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" 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 ); |
| WSAIoctl(s.into_param().abi(), dwiocontrolcode, ::core::mem::transmute(lpvinbuffer.unwrap_or(::std::ptr::null())), cbinbuffer, ::core::mem::transmute(lpvoutbuffer.unwrap_or(::std::ptr::null_mut())), cboutbuffer, lpcbbytesreturned, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAIsBlocking() -> super::super::Foundation::BOOL { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAIsBlocking ( ) -> super::super::Foundation:: BOOL ); |
| WSAIsBlocking() |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAJoinLeaf<P0>(s: P0, name: *const SOCKADDR, namelen: i32, lpcallerdata: ::core::option::Option<*const WSABUF>, lpcalleedata: ::core::option::Option<*mut WSABUF>, lpsqos: ::core::option::Option<*const QOS>, lpgqos: ::core::option::Option<*const QOS>, dwflags: u32) -> SOCKET |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAJoinLeaf ( s : SOCKET , name : *const SOCKADDR , namelen : i32 , lpcallerdata : *const WSABUF , lpcalleedata : *mut WSABUF , lpsqos : *const QOS , lpgqos : *const QOS , dwflags : u32 ) -> SOCKET ); |
| WSAJoinLeaf(s.into_param().abi(), name, namelen, ::core::mem::transmute(lpcallerdata.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpcalleedata.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpsqos.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpgqos.unwrap_or(::std::ptr::null())), dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| #[inline] |
| pub unsafe fn WSALookupServiceBeginA(lpqsrestrictions: *const WSAQUERYSETA, dwcontrolflags: u32, lphlookup: *mut super::super::Foundation::HANDLE) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSALookupServiceBeginA ( lpqsrestrictions : *const WSAQUERYSETA , dwcontrolflags : u32 , lphlookup : *mut super::super::Foundation:: HANDLE ) -> i32 ); |
| WSALookupServiceBeginA(lpqsrestrictions, dwcontrolflags, lphlookup) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| #[inline] |
| pub unsafe fn WSALookupServiceBeginW(lpqsrestrictions: *const WSAQUERYSETW, dwcontrolflags: u32, lphlookup: *mut super::super::Foundation::HANDLE) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSALookupServiceBeginW ( lpqsrestrictions : *const WSAQUERYSETW , dwcontrolflags : u32 , lphlookup : *mut super::super::Foundation:: HANDLE ) -> i32 ); |
| WSALookupServiceBeginW(lpqsrestrictions, dwcontrolflags, lphlookup) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSALookupServiceEnd<P0>(hlookup: P0) -> i32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSALookupServiceEnd ( hlookup : super::super::Foundation:: HANDLE ) -> i32 ); |
| WSALookupServiceEnd(hlookup.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| #[inline] |
| pub unsafe fn WSALookupServiceNextA<P0>(hlookup: P0, dwcontrolflags: u32, lpdwbufferlength: *mut u32, lpqsresults: *mut WSAQUERYSETA) -> i32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSALookupServiceNextA ( hlookup : super::super::Foundation:: HANDLE , dwcontrolflags : u32 , lpdwbufferlength : *mut u32 , lpqsresults : *mut WSAQUERYSETA ) -> i32 ); |
| WSALookupServiceNextA(hlookup.into_param().abi(), dwcontrolflags, lpdwbufferlength, lpqsresults) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| #[inline] |
| pub unsafe fn WSALookupServiceNextW<P0>(hlookup: P0, dwcontrolflags: u32, lpdwbufferlength: *mut u32, lpqsresults: ::core::option::Option<*mut WSAQUERYSETW>) -> i32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSALookupServiceNextW ( hlookup : super::super::Foundation:: HANDLE , dwcontrolflags : u32 , lpdwbufferlength : *mut u32 , lpqsresults : *mut WSAQUERYSETW ) -> i32 ); |
| WSALookupServiceNextW(hlookup.into_param().abi(), dwcontrolflags, lpdwbufferlength, ::core::mem::transmute(lpqsresults.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSANSPIoctl<P0>(hlookup: P0, dwcontrolcode: u32, lpvinbuffer: ::core::option::Option<*const ::core::ffi::c_void>, cbinbuffer: u32, lpvoutbuffer: ::core::option::Option<*mut ::core::ffi::c_void>, cboutbuffer: u32, lpcbbytesreturned: *mut u32, lpcompletion: ::core::option::Option<*const WSACOMPLETION>) -> i32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" 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 ); |
| WSANSPIoctl(hlookup.into_param().abi(), dwcontrolcode, ::core::mem::transmute(lpvinbuffer.unwrap_or(::std::ptr::null())), cbinbuffer, ::core::mem::transmute(lpvoutbuffer.unwrap_or(::std::ptr::null_mut())), cboutbuffer, lpcbbytesreturned, ::core::mem::transmute(lpcompletion.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSANtohl<P0>(s: P0, netlong: u32, lphostlong: *mut u32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSANtohl ( s : SOCKET , netlong : u32 , lphostlong : *mut u32 ) -> i32 ); |
| WSANtohl(s.into_param().abi(), netlong, lphostlong) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSANtohs<P0>(s: P0, netshort: u16, lphostshort: *mut u16) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSANtohs ( s : SOCKET , netshort : u16 , lphostshort : *mut u16 ) -> i32 ); |
| WSANtohs(s.into_param().abi(), netshort, lphostshort) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAPoll(fdarray: *mut WSAPOLLFD, fds: u32, timeout: i32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAPoll ( fdarray : *mut WSAPOLLFD , fds : u32 , timeout : i32 ) -> i32 ); |
| WSAPoll(fdarray, fds, timeout) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAProviderCompleteAsyncCall<P0>(hasynccall: P0, iretcode: i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAProviderCompleteAsyncCall ( hasynccall : super::super::Foundation:: HANDLE , iretcode : i32 ) -> i32 ); |
| WSAProviderCompleteAsyncCall(hasynccall.into_param().abi(), iretcode) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSAProviderConfigChange(lpnotificationhandle: *mut super::super::Foundation::HANDLE, lpoverlapped: ::core::option::Option<*mut super::super::System::IO::OVERLAPPED>, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAProviderConfigChange ( lpnotificationhandle : *mut super::super::Foundation:: HANDLE , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); |
| WSAProviderConfigChange(lpnotificationhandle, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSAQuerySocketSecurity<P0>(socket: P0, securityquerytemplate: ::core::option::Option<*const SOCKET_SECURITY_QUERY_TEMPLATE>, securityquerytemplatelen: u32, securityqueryinfo: ::core::option::Option<*mut SOCKET_SECURITY_QUERY_INFO>, securityqueryinfolen: *mut u32, overlapped: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>, completionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "fwpuclnt.dll""system" 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 ); |
| WSAQuerySocketSecurity(socket.into_param().abi(), ::core::mem::transmute(securityquerytemplate.unwrap_or(::std::ptr::null())), securityquerytemplatelen, ::core::mem::transmute(securityqueryinfo.unwrap_or(::std::ptr::null_mut())), securityqueryinfolen, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null())), completionroutine) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSARecv<P0>(s: P0, lpbuffers: &[WSABUF], lpnumberofbytesrecvd: ::core::option::Option<*mut u32>, lpflags: *mut u32, lpoverlapped: ::core::option::Option<*mut super::super::System::IO::OVERLAPPED>, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" 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 ); |
| WSARecv(s.into_param().abi(), ::core::mem::transmute(lpbuffers.as_ptr()), lpbuffers.len() as _, ::core::mem::transmute(lpnumberofbytesrecvd.unwrap_or(::std::ptr::null_mut())), lpflags, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSARecvDisconnect<P0>(s: P0, lpinbounddisconnectdata: ::core::option::Option<*const WSABUF>) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSARecvDisconnect ( s : SOCKET , lpinbounddisconnectdata : *const WSABUF ) -> i32 ); |
| WSARecvDisconnect(s.into_param().abi(), ::core::mem::transmute(lpinbounddisconnectdata.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSARecvEx<P0>(s: P0, buf: &mut [u8], flags: *mut i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "mswsock.dll""system" fn WSARecvEx ( s : SOCKET , buf : :: windows::core::PSTR , len : i32 , flags : *mut i32 ) -> i32 ); |
| WSARecvEx(s.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _, flags) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSARecvFrom<P0>(s: P0, lpbuffers: &[WSABUF], lpnumberofbytesrecvd: ::core::option::Option<*mut u32>, lpflags: *mut u32, lpfrom: ::core::option::Option<*mut SOCKADDR>, lpfromlen: ::core::option::Option<*mut i32>, lpoverlapped: ::core::option::Option<*mut super::super::System::IO::OVERLAPPED>, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" 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 ); |
| WSARecvFrom(s.into_param().abi(), ::core::mem::transmute(lpbuffers.as_ptr()), lpbuffers.len() as _, ::core::mem::transmute(lpnumberofbytesrecvd.unwrap_or(::std::ptr::null_mut())), lpflags, ::core::mem::transmute(lpfrom.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpfromlen.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSARemoveServiceClass(lpserviceclassid: *const ::windows::core::GUID) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSARemoveServiceClass ( lpserviceclassid : *const :: windows::core::GUID ) -> i32 ); |
| WSARemoveServiceClass(lpserviceclassid) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAResetEvent<P0>(hevent: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAResetEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); |
| WSAResetEvent(hevent.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSARevertImpersonation() -> i32 { |
| ::windows::imp::link ! ( "fwpuclnt.dll""system" fn WSARevertImpersonation ( ) -> i32 ); |
| WSARevertImpersonation() |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSASend<P0>(s: P0, lpbuffers: &[WSABUF], lpnumberofbytessent: ::core::option::Option<*mut u32>, dwflags: u32, lpoverlapped: ::core::option::Option<*mut super::super::System::IO::OVERLAPPED>, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" 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 ); |
| WSASend(s.into_param().abi(), ::core::mem::transmute(lpbuffers.as_ptr()), lpbuffers.len() as _, ::core::mem::transmute(lpnumberofbytessent.unwrap_or(::std::ptr::null_mut())), dwflags, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSASendDisconnect<P0>(s: P0, lpoutbounddisconnectdata: ::core::option::Option<*const WSABUF>) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASendDisconnect ( s : SOCKET , lpoutbounddisconnectdata : *const WSABUF ) -> i32 ); |
| WSASendDisconnect(s.into_param().abi(), ::core::mem::transmute(lpoutbounddisconnectdata.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSASendMsg<P0>(handle: P0, lpmsg: *const WSAMSG, dwflags: u32, lpnumberofbytessent: ::core::option::Option<*mut u32>, lpoverlapped: ::core::option::Option<*mut super::super::System::IO::OVERLAPPED>, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASendMsg ( handle : SOCKET , lpmsg : *const WSAMSG , dwflags : u32 , lpnumberofbytessent : *mut u32 , lpoverlapped : *mut super::super::System::IO:: OVERLAPPED , lpcompletionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); |
| WSASendMsg(handle.into_param().abi(), lpmsg, dwflags, ::core::mem::transmute(lpnumberofbytessent.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSASendTo<P0>(s: P0, lpbuffers: &[WSABUF], lpnumberofbytessent: ::core::option::Option<*mut u32>, dwflags: u32, lpto: ::core::option::Option<*const SOCKADDR>, itolen: i32, lpoverlapped: ::core::option::Option<*mut super::super::System::IO::OVERLAPPED>, lpcompletionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" 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 ); |
| WSASendTo(s.into_param().abi(), ::core::mem::transmute(lpbuffers.as_ptr()), lpbuffers.len() as _, ::core::mem::transmute(lpnumberofbytessent.unwrap_or(::std::ptr::null_mut())), dwflags, ::core::mem::transmute(lpto.unwrap_or(::std::ptr::null())), itolen, ::core::mem::transmute(lpoverlapped.unwrap_or(::std::ptr::null_mut())), lpcompletionroutine) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSASetBlockingHook(lpblockfunc: super::super::Foundation::FARPROC) -> super::super::Foundation::FARPROC { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASetBlockingHook ( lpblockfunc : super::super::Foundation:: FARPROC ) -> super::super::Foundation:: FARPROC ); |
| WSASetBlockingHook(lpblockfunc) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSASetEvent<P0>(hevent: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASetEvent ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); |
| WSASetEvent(hevent.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSASetLastError(ierror: i32) { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASetLastError ( ierror : i32 ) -> ( ) ); |
| WSASetLastError(ierror) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(feature = "Win32_System_Com")] |
| #[inline] |
| pub unsafe fn WSASetServiceA(lpqsreginfo: *const WSAQUERYSETA, essoperation: WSAESETSERVICEOP, dwcontrolflags: u32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASetServiceA ( lpqsreginfo : *const WSAQUERYSETA , essoperation : WSAESETSERVICEOP , dwcontrolflags : u32 ) -> i32 ); |
| WSASetServiceA(lpqsreginfo, essoperation, dwcontrolflags) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(feature = "Win32_System_Com")] |
| #[inline] |
| pub unsafe fn WSASetServiceW(lpqsreginfo: *const WSAQUERYSETW, essoperation: WSAESETSERVICEOP, dwcontrolflags: u32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASetServiceW ( lpqsreginfo : *const WSAQUERYSETW , essoperation : WSAESETSERVICEOP , dwcontrolflags : u32 ) -> i32 ); |
| WSASetServiceW(lpqsreginfo, essoperation, dwcontrolflags) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSASetSocketPeerTargetName<P0>(socket: P0, peertargetname: *const SOCKET_PEER_TARGET_NAME, peertargetnamelen: u32, overlapped: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>, completionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "fwpuclnt.dll""system" fn WSASetSocketPeerTargetName ( socket : SOCKET , peertargetname : *const SOCKET_PEER_TARGET_NAME , peertargetnamelen : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED , completionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); |
| WSASetSocketPeerTargetName(socket.into_param().abi(), peertargetname, peertargetnamelen, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null())), completionroutine) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn WSASetSocketSecurity<P0>(socket: P0, securitysettings: ::core::option::Option<*const SOCKET_SECURITY_SETTINGS>, securitysettingslen: u32, overlapped: ::core::option::Option<*const super::super::System::IO::OVERLAPPED>, completionroutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "fwpuclnt.dll""system" fn WSASetSocketSecurity ( socket : SOCKET , securitysettings : *const SOCKET_SECURITY_SETTINGS , securitysettingslen : u32 , overlapped : *const super::super::System::IO:: OVERLAPPED , completionroutine : LPWSAOVERLAPPED_COMPLETION_ROUTINE ) -> i32 ); |
| WSASetSocketSecurity(socket.into_param().abi(), ::core::mem::transmute(securitysettings.unwrap_or(::std::ptr::null())), securitysettingslen, ::core::mem::transmute(overlapped.unwrap_or(::std::ptr::null())), completionroutine) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSASocketA(af: i32, r#type: i32, protocol: i32, lpprotocolinfo: ::core::option::Option<*const WSAPROTOCOL_INFOA>, g: u32, dwflags: u32) -> SOCKET { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASocketA ( af : i32 , r#type : i32 , protocol : i32 , lpprotocolinfo : *const WSAPROTOCOL_INFOA , g : u32 , dwflags : u32 ) -> SOCKET ); |
| WSASocketA(af, r#type, protocol, ::core::mem::transmute(lpprotocolinfo.unwrap_or(::std::ptr::null())), g, dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSASocketW(af: i32, r#type: i32, protocol: i32, lpprotocolinfo: ::core::option::Option<*const WSAPROTOCOL_INFOW>, g: u32, dwflags: u32) -> SOCKET { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSASocketW ( af : i32 , r#type : i32 , protocol : i32 , lpprotocolinfo : *const WSAPROTOCOL_INFOW , g : u32 , dwflags : u32 ) -> SOCKET ); |
| WSASocketW(af, r#type, protocol, ::core::mem::transmute(lpprotocolinfo.unwrap_or(::std::ptr::null())), g, dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAStartup(wversionrequested: u16, lpwsadata: *mut WSADATA) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAStartup ( wversionrequested : u16 , lpwsadata : *mut WSADATA ) -> i32 ); |
| WSAStartup(wversionrequested, lpwsadata) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAStringToAddressA<P0>(addressstring: P0, addressfamily: i32, lpprotocolinfo: ::core::option::Option<*const WSAPROTOCOL_INFOA>, lpaddress: *mut SOCKADDR, lpaddresslength: *mut i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAStringToAddressA ( addressstring : :: windows::core::PCSTR , addressfamily : i32 , lpprotocolinfo : *const WSAPROTOCOL_INFOA , lpaddress : *mut SOCKADDR , lpaddresslength : *mut i32 ) -> i32 ); |
| WSAStringToAddressA(addressstring.into_param().abi(), addressfamily, ::core::mem::transmute(lpprotocolinfo.unwrap_or(::std::ptr::null())), lpaddress, lpaddresslength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAStringToAddressW<P0>(addressstring: P0, addressfamily: i32, lpprotocolinfo: ::core::option::Option<*const WSAPROTOCOL_INFOW>, lpaddress: *mut SOCKADDR, lpaddresslength: *mut i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAStringToAddressW ( addressstring : :: windows::core::PCWSTR , addressfamily : i32 , lpprotocolinfo : *const WSAPROTOCOL_INFOW , lpaddress : *mut SOCKADDR , lpaddresslength : *mut i32 ) -> i32 ); |
| WSAStringToAddressW(addressstring.into_param().abi(), addressfamily, ::core::mem::transmute(lpprotocolinfo.unwrap_or(::std::ptr::null())), lpaddress, lpaddresslength) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAUnadvertiseProvider(puuidproviderid: *const ::windows::core::GUID) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAUnadvertiseProvider ( puuidproviderid : *const :: windows::core::GUID ) -> i32 ); |
| WSAUnadvertiseProvider(puuidproviderid) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSAUnhookBlockingHook() -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAUnhookBlockingHook ( ) -> i32 ); |
| WSAUnhookBlockingHook() |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSAWaitForMultipleEvents<P0, P1>(lphevents: &[super::super::Foundation::HANDLE], fwaitall: P0, dwtimeout: u32, falertable: P1) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSAWaitForMultipleEvents ( cevents : u32 , lphevents : *const super::super::Foundation:: HANDLE , fwaitall : super::super::Foundation:: BOOL , dwtimeout : u32 , falertable : super::super::Foundation:: BOOL ) -> u32 ); |
| WSAWaitForMultipleEvents(lphevents.len() as _, ::core::mem::transmute(lphevents.as_ptr()), fwaitall.into_param().abi(), dwtimeout, falertable.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSCDeinstallProvider(lpproviderid: *const ::windows::core::GUID, lperrno: *mut i32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCDeinstallProvider ( lpproviderid : *const :: windows::core::GUID , lperrno : *mut i32 ) -> i32 ); |
| WSCDeinstallProvider(lpproviderid, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[inline] |
| pub unsafe fn WSCDeinstallProvider32(lpproviderid: *const ::windows::core::GUID, lperrno: *mut i32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCDeinstallProvider32 ( lpproviderid : *const :: windows::core::GUID , lperrno : *mut i32 ) -> i32 ); |
| WSCDeinstallProvider32(lpproviderid, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSCEnableNSProvider<P0>(lpproviderid: *const ::windows::core::GUID, fenable: P0) -> i32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCEnableNSProvider ( lpproviderid : *const :: windows::core::GUID , fenable : super::super::Foundation:: BOOL ) -> i32 ); |
| WSCEnableNSProvider(lpproviderid, fenable.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSCEnableNSProvider32<P0>(lpproviderid: *const ::windows::core::GUID, fenable: P0) -> i32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCEnableNSProvider32 ( lpproviderid : *const :: windows::core::GUID , fenable : super::super::Foundation:: BOOL ) -> i32 ); |
| WSCEnableNSProvider32(lpproviderid, fenable.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn WSCEnumNameSpaceProviders32(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOW) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCEnumNameSpaceProviders32 ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOW ) -> i32 ); |
| WSCEnumNameSpaceProviders32(lpdwbufferlength, lpnspbuffer) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| #[inline] |
| pub unsafe fn WSCEnumNameSpaceProvidersEx32(lpdwbufferlength: *mut u32, lpnspbuffer: *mut WSANAMESPACE_INFOEXW) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCEnumNameSpaceProvidersEx32 ( lpdwbufferlength : *mut u32 , lpnspbuffer : *mut WSANAMESPACE_INFOEXW ) -> i32 ); |
| WSCEnumNameSpaceProvidersEx32(lpdwbufferlength, lpnspbuffer) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSCEnumProtocols(lpiprotocols: ::core::option::Option<*const i32>, lpprotocolbuffer: ::core::option::Option<*mut WSAPROTOCOL_INFOW>, lpdwbufferlength: *mut u32, lperrno: *mut i32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCEnumProtocols ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut WSAPROTOCOL_INFOW , lpdwbufferlength : *mut u32 , lperrno : *mut i32 ) -> i32 ); |
| WSCEnumProtocols(::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), ::core::mem::transmute(lpprotocolbuffer.unwrap_or(::std::ptr::null_mut())), lpdwbufferlength, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[inline] |
| pub unsafe fn WSCEnumProtocols32(lpiprotocols: ::core::option::Option<*const i32>, lpprotocolbuffer: *mut WSAPROTOCOL_INFOW, lpdwbufferlength: *mut u32, lperrno: *mut i32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCEnumProtocols32 ( lpiprotocols : *const i32 , lpprotocolbuffer : *mut WSAPROTOCOL_INFOW , lpdwbufferlength : *mut u32 , lperrno : *mut i32 ) -> i32 ); |
| WSCEnumProtocols32(::core::mem::transmute(lpiprotocols.unwrap_or(::std::ptr::null())), lpprotocolbuffer, lpdwbufferlength, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSCGetApplicationCategory(path: &[u16], extra: ::core::option::Option<&[u16]>, ppermittedlspcategories: *mut u32, lperrno: *mut i32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCGetApplicationCategory ( path : :: windows::core::PCWSTR , pathlength : u32 , extra : :: windows::core::PCWSTR , extralength : u32 , ppermittedlspcategories : *mut u32 , lperrno : *mut i32 ) -> i32 ); |
| WSCGetApplicationCategory(::core::mem::transmute(path.as_ptr()), path.len() as _, ::core::mem::transmute(extra.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extra.as_deref().map_or(0, |slice| slice.len() as _), ppermittedlspcategories, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSCGetProviderInfo(lpproviderid: *const ::windows::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: *mut u8, infosize: *mut usize, flags: u32, lperrno: *mut i32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCGetProviderInfo ( lpproviderid : *const :: windows::core::GUID , infotype : WSC_PROVIDER_INFO_TYPE , info : *mut u8 , infosize : *mut usize , flags : u32 , lperrno : *mut i32 ) -> i32 ); |
| WSCGetProviderInfo(lpproviderid, infotype, info, infosize, flags, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[inline] |
| pub unsafe fn WSCGetProviderInfo32(lpproviderid: *const ::windows::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: *mut u8, infosize: *mut usize, flags: u32, lperrno: *mut i32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCGetProviderInfo32 ( lpproviderid : *const :: windows::core::GUID , infotype : WSC_PROVIDER_INFO_TYPE , info : *mut u8 , infosize : *mut usize , flags : u32 , lperrno : *mut i32 ) -> i32 ); |
| WSCGetProviderInfo32(lpproviderid, infotype, info, infosize, flags, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSCGetProviderPath(lpproviderid: *const ::windows::core::GUID, lpszproviderdllpath: ::windows::core::PWSTR, lpproviderdllpathlen: *mut i32, lperrno: *mut i32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCGetProviderPath ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PWSTR , lpproviderdllpathlen : *mut i32 , lperrno : *mut i32 ) -> i32 ); |
| WSCGetProviderPath(lpproviderid, ::core::mem::transmute(lpszproviderdllpath), lpproviderdllpathlen, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[inline] |
| pub unsafe fn WSCGetProviderPath32(lpproviderid: *const ::windows::core::GUID, lpszproviderdllpath: ::windows::core::PWSTR, lpproviderdllpathlen: *mut i32, lperrno: *mut i32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCGetProviderPath32 ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PWSTR , lpproviderdllpathlen : *mut i32 , lperrno : *mut i32 ) -> i32 ); |
| WSCGetProviderPath32(lpproviderid, ::core::mem::transmute(lpszproviderdllpath), lpproviderdllpathlen, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSCInstallNameSpace<P0, P1>(lpszidentifier: P0, lpszpathname: P1, dwnamespace: u32, dwversion: u32, lpproviderid: *const ::windows::core::GUID) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCInstallNameSpace ( lpszidentifier : :: windows::core::PCWSTR , lpszpathname : :: windows::core::PCWSTR , dwnamespace : u32 , dwversion : u32 , lpproviderid : *const :: windows::core::GUID ) -> i32 ); |
| WSCInstallNameSpace(lpszidentifier.into_param().abi(), lpszpathname.into_param().abi(), dwnamespace, dwversion, lpproviderid) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[inline] |
| pub unsafe fn WSCInstallNameSpace32<P0, P1>(lpszidentifier: P0, lpszpathname: P1, dwnamespace: u32, dwversion: u32, lpproviderid: *const ::windows::core::GUID) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCInstallNameSpace32 ( lpszidentifier : :: windows::core::PCWSTR , lpszpathname : :: windows::core::PCWSTR , dwnamespace : u32 , dwversion : u32 , lpproviderid : *const :: windows::core::GUID ) -> i32 ); |
| WSCInstallNameSpace32(lpszidentifier.into_param().abi(), lpszpathname.into_param().abi(), dwnamespace, dwversion, lpproviderid) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(feature = "Win32_System_Com")] |
| #[inline] |
| pub unsafe fn WSCInstallNameSpaceEx<P0, P1>(lpszidentifier: P0, lpszpathname: P1, dwnamespace: u32, dwversion: u32, lpproviderid: *const ::windows::core::GUID, lpproviderspecific: *const super::super::System::Com::BLOB) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCInstallNameSpaceEx ( lpszidentifier : :: windows::core::PCWSTR , lpszpathname : :: windows::core::PCWSTR , dwnamespace : u32 , dwversion : u32 , lpproviderid : *const :: windows::core::GUID , lpproviderspecific : *const super::super::System::Com:: BLOB ) -> i32 ); |
| WSCInstallNameSpaceEx(lpszidentifier.into_param().abi(), lpszpathname.into_param().abi(), dwnamespace, dwversion, lpproviderid, lpproviderspecific) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[cfg(feature = "Win32_System_Com")] |
| #[inline] |
| pub unsafe fn WSCInstallNameSpaceEx32<P0, P1>(lpszidentifier: P0, lpszpathname: P1, dwnamespace: u32, dwversion: u32, lpproviderid: *const ::windows::core::GUID, lpproviderspecific: *const super::super::System::Com::BLOB) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCInstallNameSpaceEx32 ( lpszidentifier : :: windows::core::PCWSTR , lpszpathname : :: windows::core::PCWSTR , dwnamespace : u32 , dwversion : u32 , lpproviderid : *const :: windows::core::GUID , lpproviderspecific : *const super::super::System::Com:: BLOB ) -> i32 ); |
| WSCInstallNameSpaceEx32(lpszidentifier.into_param().abi(), lpszpathname.into_param().abi(), dwnamespace, dwversion, lpproviderid, lpproviderspecific) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSCInstallProvider<P0>(lpproviderid: *const ::windows::core::GUID, lpszproviderdllpath: P0, lpprotocolinfolist: &[WSAPROTOCOL_INFOW], lperrno: *mut i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCInstallProvider ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PCWSTR , lpprotocolinfolist : *const WSAPROTOCOL_INFOW , dwnumberofentries : u32 , lperrno : *mut i32 ) -> i32 ); |
| WSCInstallProvider(lpproviderid, lpszproviderdllpath.into_param().abi(), ::core::mem::transmute(lpprotocolinfolist.as_ptr()), lpprotocolinfolist.len() as _, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[inline] |
| pub unsafe fn WSCInstallProvider64_32<P0>(lpproviderid: *const ::windows::core::GUID, lpszproviderdllpath: P0, lpprotocolinfolist: &[WSAPROTOCOL_INFOW], lperrno: *mut i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCInstallProvider64_32 ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PCWSTR , lpprotocolinfolist : *const WSAPROTOCOL_INFOW , dwnumberofentries : u32 , lperrno : *mut i32 ) -> i32 ); |
| WSCInstallProvider64_32(lpproviderid, lpszproviderdllpath.into_param().abi(), ::core::mem::transmute(lpprotocolinfolist.as_ptr()), lpprotocolinfolist.len() as _, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[inline] |
| pub unsafe fn WSCInstallProviderAndChains64_32<P0, P1, P2>(lpproviderid: *const ::windows::core::GUID, lpszproviderdllpath: P0, lpszproviderdllpath32: P1, lpszlspname: P2, dwserviceflags: u32, lpprotocolinfolist: &mut [WSAPROTOCOL_INFOW], lpdwcatalogentryid: ::core::option::Option<*mut u32>, lperrno: *mut i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| P1: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| P2: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCInstallProviderAndChains64_32 ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PCWSTR , lpszproviderdllpath32 : :: windows::core::PCWSTR , lpszlspname : :: windows::core::PCWSTR , dwserviceflags : u32 , lpprotocolinfolist : *mut WSAPROTOCOL_INFOW , dwnumberofentries : u32 , lpdwcatalogentryid : *mut u32 , lperrno : *mut i32 ) -> i32 ); |
| WSCInstallProviderAndChains64_32(lpproviderid, lpszproviderdllpath.into_param().abi(), lpszproviderdllpath32.into_param().abi(), lpszlspname.into_param().abi(), dwserviceflags, ::core::mem::transmute(lpprotocolinfolist.as_ptr()), lpprotocolinfolist.len() as _, ::core::mem::transmute(lpdwcatalogentryid.unwrap_or(::std::ptr::null_mut())), lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSCSetApplicationCategory(path: &[u16], extra: ::core::option::Option<&[u16]>, permittedlspcategories: u32, pprevpermlspcat: ::core::option::Option<*mut u32>, lperrno: *mut i32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCSetApplicationCategory ( path : :: windows::core::PCWSTR , pathlength : u32 , extra : :: windows::core::PCWSTR , extralength : u32 , permittedlspcategories : u32 , pprevpermlspcat : *mut u32 , lperrno : *mut i32 ) -> i32 ); |
| WSCSetApplicationCategory(::core::mem::transmute(path.as_ptr()), path.len() as _, ::core::mem::transmute(extra.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), extra.as_deref().map_or(0, |slice| slice.len() as _), permittedlspcategories, ::core::mem::transmute(pprevpermlspcat.unwrap_or(::std::ptr::null_mut())), lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSCSetProviderInfo(lpproviderid: *const ::windows::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: &[u8], flags: u32, lperrno: *mut i32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCSetProviderInfo ( lpproviderid : *const :: windows::core::GUID , infotype : WSC_PROVIDER_INFO_TYPE , info : *const u8 , infosize : usize , flags : u32 , lperrno : *mut i32 ) -> i32 ); |
| WSCSetProviderInfo(lpproviderid, infotype, ::core::mem::transmute(info.as_ptr()), info.len() as _, flags, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[inline] |
| pub unsafe fn WSCSetProviderInfo32(lpproviderid: *const ::windows::core::GUID, infotype: WSC_PROVIDER_INFO_TYPE, info: &[u8], flags: u32, lperrno: *mut i32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCSetProviderInfo32 ( lpproviderid : *const :: windows::core::GUID , infotype : WSC_PROVIDER_INFO_TYPE , info : *const u8 , infosize : usize , flags : u32 , lperrno : *mut i32 ) -> i32 ); |
| WSCSetProviderInfo32(lpproviderid, infotype, ::core::mem::transmute(info.as_ptr()), info.len() as _, flags, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSCUnInstallNameSpace(lpproviderid: *const ::windows::core::GUID) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCUnInstallNameSpace ( lpproviderid : *const :: windows::core::GUID ) -> i32 ); |
| WSCUnInstallNameSpace(lpproviderid) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[inline] |
| pub unsafe fn WSCUnInstallNameSpace32(lpproviderid: *const ::windows::core::GUID) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCUnInstallNameSpace32 ( lpproviderid : *const :: windows::core::GUID ) -> i32 ); |
| WSCUnInstallNameSpace32(lpproviderid) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSCUpdateProvider<P0>(lpproviderid: *const ::windows::core::GUID, lpszproviderdllpath: P0, lpprotocolinfolist: &[WSAPROTOCOL_INFOW], lperrno: *mut i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCUpdateProvider ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PCWSTR , lpprotocolinfolist : *const WSAPROTOCOL_INFOW , dwnumberofentries : u32 , lperrno : *mut i32 ) -> i32 ); |
| WSCUpdateProvider(lpproviderid, lpszproviderdllpath.into_param().abi(), ::core::mem::transmute(lpprotocolinfolist.as_ptr()), lpprotocolinfolist.len() as _, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[inline] |
| pub unsafe fn WSCUpdateProvider32<P0>(lpproviderid: *const ::windows::core::GUID, lpszproviderdllpath: P0, lpprotocolinfolist: &[WSAPROTOCOL_INFOW], lperrno: *mut i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCUpdateProvider32 ( lpproviderid : *const :: windows::core::GUID , lpszproviderdllpath : :: windows::core::PCWSTR , lpprotocolinfolist : *const WSAPROTOCOL_INFOW , dwnumberofentries : u32 , lperrno : *mut i32 ) -> i32 ); |
| WSCUpdateProvider32(lpproviderid, lpszproviderdllpath.into_param().abi(), ::core::mem::transmute(lpprotocolinfolist.as_ptr()), lpprotocolinfolist.len() as _, lperrno) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSCWriteNameSpaceOrder(lpproviderid: *mut ::windows::core::GUID, dwnumberofentries: u32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCWriteNameSpaceOrder ( lpproviderid : *mut :: windows::core::GUID , dwnumberofentries : u32 ) -> i32 ); |
| WSCWriteNameSpaceOrder(lpproviderid, dwnumberofentries) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[inline] |
| pub unsafe fn WSCWriteNameSpaceOrder32(lpproviderid: *mut ::windows::core::GUID, dwnumberofentries: u32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCWriteNameSpaceOrder32 ( lpproviderid : *mut :: windows::core::GUID , dwnumberofentries : u32 ) -> i32 ); |
| WSCWriteNameSpaceOrder32(lpproviderid, dwnumberofentries) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn WSCWriteProviderOrder(lpwdcatalogentryid: *mut u32, dwnumberofentries: u32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCWriteProviderOrder ( lpwdcatalogentryid : *mut u32 , dwnumberofentries : u32 ) -> i32 ); |
| WSCWriteProviderOrder(lpwdcatalogentryid, dwnumberofentries) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| #[inline] |
| pub unsafe fn WSCWriteProviderOrder32(lpwdcatalogentryid: *mut u32, dwnumberofentries: u32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn WSCWriteProviderOrder32 ( lpwdcatalogentryid : *mut u32 , dwnumberofentries : u32 ) -> i32 ); |
| WSCWriteProviderOrder32(lpwdcatalogentryid, dwnumberofentries) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn __WSAFDIsSet<P0>(fd: P0, param1: *mut FD_SET) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn __WSAFDIsSet ( fd : SOCKET , param1 : *mut FD_SET ) -> i32 ); |
| __WSAFDIsSet(fd.into_param().abi(), param1) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn accept<P0>(s: P0, addr: ::core::option::Option<*mut SOCKADDR>, addrlen: ::core::option::Option<*mut i32>) -> SOCKET |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn accept ( s : SOCKET , addr : *mut SOCKADDR , addrlen : *mut i32 ) -> SOCKET ); |
| accept(s.into_param().abi(), ::core::mem::transmute(addr.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(addrlen.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn bind<P0>(s: P0, name: *const SOCKADDR, namelen: i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn bind ( s : SOCKET , name : *const SOCKADDR , namelen : i32 ) -> i32 ); |
| bind(s.into_param().abi(), name, namelen) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn closesocket<P0>(s: P0) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn closesocket ( s : SOCKET ) -> i32 ); |
| closesocket(s.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn connect<P0>(s: P0, name: *const SOCKADDR, namelen: i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn connect ( s : SOCKET , name : *const SOCKADDR , namelen : i32 ) -> i32 ); |
| connect(s.into_param().abi(), name, namelen) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn freeaddrinfo(paddrinfo: ::core::option::Option<*const ADDRINFOA>) { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn freeaddrinfo ( paddrinfo : *const ADDRINFOA ) -> ( ) ); |
| freeaddrinfo(::core::mem::transmute(paddrinfo.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn getaddrinfo<P0, P1>(pnodename: P0, pservicename: P1, phints: ::core::option::Option<*const ADDRINFOA>, ppresult: *mut *mut ADDRINFOA) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| P1: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn getaddrinfo ( pnodename : :: windows::core::PCSTR , pservicename : :: windows::core::PCSTR , phints : *const ADDRINFOA , ppresult : *mut *mut ADDRINFOA ) -> i32 ); |
| getaddrinfo(pnodename.into_param().abi(), pservicename.into_param().abi(), ::core::mem::transmute(phints.unwrap_or(::std::ptr::null())), ppresult) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn gethostbyaddr(addr: &[u8], r#type: i32) -> *mut HOSTENT { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn gethostbyaddr ( addr : :: windows::core::PCSTR , len : i32 , r#type : i32 ) -> *mut HOSTENT ); |
| gethostbyaddr(::core::mem::transmute(addr.as_ptr()), addr.len() as _, r#type) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn gethostbyname<P0>(name: P0) -> *mut HOSTENT |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn gethostbyname ( name : :: windows::core::PCSTR ) -> *mut HOSTENT ); |
| gethostbyname(name.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn gethostname(name: &mut [u8]) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn gethostname ( name : :: windows::core::PSTR , namelen : i32 ) -> i32 ); |
| gethostname(::core::mem::transmute(name.as_ptr()), name.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn getnameinfo(psockaddr: *const SOCKADDR, sockaddrlength: i32, pnodebuffer: ::core::option::Option<&mut [u8]>, pservicebuffer: ::core::option::Option<&mut [u8]>, flags: i32) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn getnameinfo ( psockaddr : *const SOCKADDR , sockaddrlength : i32 , pnodebuffer : :: windows::core::PSTR , nodebuffersize : u32 , pservicebuffer : :: windows::core::PSTR , servicebuffersize : u32 , flags : i32 ) -> i32 ); |
| getnameinfo(psockaddr, sockaddrlength, ::core::mem::transmute(pnodebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pnodebuffer.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(pservicebuffer.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), pservicebuffer.as_deref().map_or(0, |slice| slice.len() as _), flags) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn getpeername<P0>(s: P0, name: *mut SOCKADDR, namelen: *mut i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn getpeername ( s : SOCKET , name : *mut SOCKADDR , namelen : *mut i32 ) -> i32 ); |
| getpeername(s.into_param().abi(), name, namelen) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn getprotobyname<P0>(name: P0) -> *mut PROTOENT |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn getprotobyname ( name : :: windows::core::PCSTR ) -> *mut PROTOENT ); |
| getprotobyname(name.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn getprotobynumber(number: i32) -> *mut PROTOENT { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn getprotobynumber ( number : i32 ) -> *mut PROTOENT ); |
| getprotobynumber(number) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn getservbyname<P0, P1>(name: P0, proto: P1) -> *mut SERVENT |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| P1: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn getservbyname ( name : :: windows::core::PCSTR , proto : :: windows::core::PCSTR ) -> *mut SERVENT ); |
| getservbyname(name.into_param().abi(), proto.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn getservbyport<P0>(port: i32, proto: P0) -> *mut SERVENT |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn getservbyport ( port : i32 , proto : :: windows::core::PCSTR ) -> *mut SERVENT ); |
| getservbyport(port, proto.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn getsockname<P0>(s: P0, name: *mut SOCKADDR, namelen: *mut i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn getsockname ( s : SOCKET , name : *mut SOCKADDR , namelen : *mut i32 ) -> i32 ); |
| getsockname(s.into_param().abi(), name, namelen) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn getsockopt<P0>(s: P0, level: i32, optname: i32, optval: ::windows::core::PSTR, optlen: *mut i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn getsockopt ( s : SOCKET , level : i32 , optname : i32 , optval : :: windows::core::PSTR , optlen : *mut i32 ) -> i32 ); |
| getsockopt(s.into_param().abi(), level, optname, ::core::mem::transmute(optval), optlen) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn htonl(hostlong: u32) -> u32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn htonl ( hostlong : u32 ) -> u32 ); |
| htonl(hostlong) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn htons(hostshort: u16) -> u16 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn htons ( hostshort : u16 ) -> u16 ); |
| htons(hostshort) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn inet_addr<P0>(cp: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn inet_addr ( cp : :: windows::core::PCSTR ) -> u32 ); |
| inet_addr(cp.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn inet_ntoa(r#in: IN_ADDR) -> ::windows::core::PSTR { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn inet_ntoa ( r#in : IN_ADDR ) -> :: windows::core::PSTR ); |
| inet_ntoa(::core::mem::transmute(r#in)) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn inet_ntop(family: i32, paddr: *const ::core::ffi::c_void, pstringbuf: &mut [u8]) -> ::windows::core::PSTR { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn inet_ntop ( family : i32 , paddr : *const ::core::ffi::c_void , pstringbuf : :: windows::core::PSTR , stringbufsize : usize ) -> :: windows::core::PSTR ); |
| inet_ntop(family, paddr, ::core::mem::transmute(pstringbuf.as_ptr()), pstringbuf.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn inet_pton<P0>(family: i32, pszaddrstring: P0, paddrbuf: *mut ::core::ffi::c_void) -> i32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn inet_pton ( family : i32 , pszaddrstring : :: windows::core::PCSTR , paddrbuf : *mut ::core::ffi::c_void ) -> i32 ); |
| inet_pton(family, pszaddrstring.into_param().abi(), paddrbuf) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn ioctlsocket<P0>(s: P0, cmd: i32, argp: *mut u32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn ioctlsocket ( s : SOCKET , cmd : i32 , argp : *mut u32 ) -> i32 ); |
| ioctlsocket(s.into_param().abi(), cmd, argp) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn listen<P0>(s: P0, backlog: i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn listen ( s : SOCKET , backlog : i32 ) -> i32 ); |
| listen(s.into_param().abi(), backlog) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn ntohl(netlong: u32) -> u32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn ntohl ( netlong : u32 ) -> u32 ); |
| ntohl(netlong) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn ntohs(netshort: u16) -> u16 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn ntohs ( netshort : u16 ) -> u16 ); |
| ntohs(netshort) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn recv<P0>(s: P0, buf: &mut [u8], flags: SEND_RECV_FLAGS) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn recv ( s : SOCKET , buf : :: windows::core::PSTR , len : i32 , flags : SEND_RECV_FLAGS ) -> i32 ); |
| recv(s.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _, flags) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn recvfrom<P0>(s: P0, buf: &mut [u8], flags: i32, from: ::core::option::Option<*mut SOCKADDR>, fromlen: ::core::option::Option<*mut i32>) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn recvfrom ( s : SOCKET , buf : :: windows::core::PSTR , len : i32 , flags : i32 , from : *mut SOCKADDR , fromlen : *mut i32 ) -> i32 ); |
| recvfrom(s.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _, flags, ::core::mem::transmute(from.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(fromlen.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn select(nfds: i32, readfds: ::core::option::Option<*mut FD_SET>, writefds: ::core::option::Option<*mut FD_SET>, exceptfds: ::core::option::Option<*mut FD_SET>, timeout: ::core::option::Option<*const TIMEVAL>) -> i32 { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn select ( nfds : i32 , readfds : *mut FD_SET , writefds : *mut FD_SET , exceptfds : *mut FD_SET , timeout : *const TIMEVAL ) -> i32 ); |
| select(nfds, ::core::mem::transmute(readfds.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(writefds.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(exceptfds.unwrap_or(::std::ptr::null_mut())), ::core::mem::transmute(timeout.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn send<P0>(s: P0, buf: &[u8], flags: SEND_RECV_FLAGS) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn send ( s : SOCKET , buf : :: windows::core::PCSTR , len : i32 , flags : SEND_RECV_FLAGS ) -> i32 ); |
| send(s.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _, flags) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn sendto<P0>(s: P0, buf: &[u8], flags: i32, to: *const SOCKADDR, tolen: i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn sendto ( s : SOCKET , buf : :: windows::core::PCSTR , len : i32 , flags : i32 , to : *const SOCKADDR , tolen : i32 ) -> i32 ); |
| sendto(s.into_param().abi(), ::core::mem::transmute(buf.as_ptr()), buf.len() as _, flags, to, tolen) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn setsockopt<P0>(s: P0, level: i32, optname: i32, optval: ::core::option::Option<&[u8]>) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn setsockopt ( s : SOCKET , level : i32 , optname : i32 , optval : :: windows::core::PCSTR , optlen : i32 ) -> i32 ); |
| setsockopt(s.into_param().abi(), level, optname, ::core::mem::transmute(optval.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), optval.as_deref().map_or(0, |slice| slice.len() as _)) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn shutdown<P0>(s: P0, how: i32) -> i32 |
| where |
| P0: ::windows::core::IntoParam<SOCKET>, |
| { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn shutdown ( s : SOCKET , how : i32 ) -> i32 ); |
| shutdown(s.into_param().abi(), how) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[inline] |
| pub unsafe fn socket(af: i32, r#type: i32, protocol: i32) -> SOCKET { |
| ::windows::imp::link ! ( "ws2_32.dll""system" fn socket ( af : i32 , r#type : i32 , protocol : i32 ) -> SOCKET ); |
| socket(af, r#type, protocol) |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AAL5_MODE_MESSAGE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AAL5_MODE_STREAMING: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AAL5_SSCS_FRAME_RELAY: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AAL5_SSCS_NULL: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AAL5_SSCS_SSCOP_ASSURED: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AAL5_SSCS_SSCOP_NON_ASSURED: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ADDRINFOEX_VERSION_2: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ADDRINFOEX_VERSION_3: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ADDRINFOEX_VERSION_4: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ADDRINFOEX_VERSION_5: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ADDRINFOEX_VERSION_6: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_12844: u16 = 25u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_APPLETALK: u16 = 16u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_ATM: u16 = 22u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_BAN: u16 = 21u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_CCITT: u16 = 10u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_CHAOS: u16 = 5u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_CLUSTER: u16 = 24u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_DATAKIT: u16 = 9u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_DECnet: u16 = 12u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_DLI: u16 = 13u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_ECMA: u16 = 8u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_FIREFOX: u16 = 19u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_HYLINK: u16 = 15u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_HYPERV: u16 = 34u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_ICLFXBM: u16 = 31u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_IMPLINK: u16 = 3u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_IPX: u16 = 6u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_IRDA: u16 = 26u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_ISO: u16 = 7u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_LAT: u16 = 14u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_LINK: u16 = 33u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_MAX: u16 = 29u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_NETBIOS: u16 = 17u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_NETDES: u16 = 28u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_NS: u16 = 6u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_OSI: u16 = 7u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_PUP: u16 = 4u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_SNA: u16 = 11u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_TCNMESSAGE: u16 = 30u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_TCNPROCESS: u16 = 29u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_UNIX: u16 = 1u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_UNKNOWN1: u16 = 20u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_VOICEVIEW: u16 = 18u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_ADDRCONFIG: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_ALL: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_BYPASS_DNS_CACHE: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_CANONNAME: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_DISABLE_IDN_ENCODING: u32 = 524288u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_DNS_ONLY: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_DNS_RESPONSE_HOSTFILE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_DNS_RESPONSE_SECURE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_DNS_SERVER_TYPE_DOH: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_DNS_SERVER_TYPE_UDP: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_DNS_SERVER_UDP_FALLBACK: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_EXCLUSIVE_CUSTOM_SERVERS: u32 = 2097152u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_EXTENDED: u32 = 2147483648u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_FILESERVER: u32 = 262144u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_FORCE_CLEAR_TEXT: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_FQDN: u32 = 131072u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_NON_AUTHORITATIVE: u32 = 16384u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_NUMERICHOST: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_NUMERICSERV: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_PASSIVE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_REQUIRE_SECURE: u32 = 536870912u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_RESOLUTION_HANDLE: u32 = 1073741824u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_RETURN_PREFERRED_NAMES: u32 = 65536u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_RETURN_RESPONSE_FLAGS: u32 = 268435456u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_RETURN_TTL: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_SECURE: u32 = 32768u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_SECURE_WITH_FALLBACK: u32 = 1048576u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AI_V4MAPPED: u32 = 2048u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ASSOCIATE_NAMERES_CONTEXT: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x59a38b67_d4fe_46e1_ba3c_87ea74ca3049); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ATMPROTO_AAL1: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ATMPROTO_AAL2: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ATMPROTO_AAL34: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ATMPROTO_AAL5: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ATMPROTO_AALUSER: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ATM_ADDR_SIZE: u32 = 20u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ATM_AESA: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ATM_E164: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ATM_NSAP: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BASE_PROTOCOL: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BCOB_A: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BCOB_C: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BCOB_X: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BHLI_HighLayerProfile: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BHLI_ISO: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BHLI_UserSpecific: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BHLI_VendorSpecificAppId: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BIGENDIAN: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BITS_PER_BYTE: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L2_ELAPB: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L2_HDLC_ABM: u32 = 11u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L2_HDLC_ARM: u32 = 9u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L2_HDLC_NRM: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L2_ISO_1745: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L2_ISO_7776: u32 = 17u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L2_LLC: u32 = 12u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L2_MODE_EXT: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L2_MODE_NORMAL: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L2_Q921: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L2_Q922: u32 = 14u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L2_USER_SPECIFIED: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L2_X25L: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L2_X25M: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L2_X75: u32 = 13u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_IPI_IP: u32 = 204u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_IPI_SNAP: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_ISO_8208: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_ISO_TR9577: u32 = 11u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_MODE_EXT: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_MODE_NORMAL: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_PACKET_1024: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_PACKET_128: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_PACKET_16: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_PACKET_2048: u32 = 11u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_PACKET_256: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_PACKET_32: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_PACKET_4096: u32 = 12u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_PACKET_512: u32 = 9u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_PACKET_64: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_SIO_8473: u32 = 9u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_T70: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_USER_SPECIFIED: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_X223: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BLLI_L3_X25: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const BYTE_ORDER: u32 = 1234u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_AAL_PARAMETERS_UNSUPPORTED: u32 = 93u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_ACCESS_INFORMAION_DISCARDED: u32 = 43u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_BEARER_CAPABILITY_UNAUTHORIZED: u32 = 57u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_BEARER_CAPABILITY_UNAVAILABLE: u32 = 58u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_BEARER_CAPABILITY_UNIMPLEMENTED: u32 = 65u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_CALL_REJECTED: u32 = 21u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_CHANNEL_NONEXISTENT: u32 = 82u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_COND_PERMANENT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_COND_TRANSIENT: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_COND_UNKNOWN: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_DESTINATION_OUT_OF_ORDER: u32 = 27u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_INCOMPATIBLE_DESTINATION: u32 = 88u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_INCORRECT_MESSAGE_LENGTH: u32 = 104u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_INVALID_CALL_REFERENCE: u32 = 81u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_INVALID_ENDPOINT_REFERENCE: u32 = 89u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_INVALID_IE_CONTENTS: u32 = 100u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_INVALID_NUMBER_FORMAT: u32 = 28u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_INVALID_STATE_FOR_MESSAGE: u32 = 101u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_INVALID_TRANSIT_NETWORK_SELECTION: u32 = 91u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_LOC_BEYOND_INTERWORKING: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_LOC_INTERNATIONAL_NETWORK: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_LOC_PRIVATE_LOCAL: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_LOC_PRIVATE_REMOTE: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_LOC_PUBLIC_LOCAL: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_LOC_PUBLIC_REMOTE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_LOC_TRANSIT_NETWORK: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_LOC_USER: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_MANDATORY_IE_MISSING: u32 = 96u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_NA_ABNORMAL: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_NA_NORMAL: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_NETWORK_OUT_OF_ORDER: u32 = 38u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_NORMAL_CALL_CLEARING: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_NORMAL_UNSPECIFIED: u32 = 31u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_NO_ROUTE_TO_DESTINATION: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_NO_ROUTE_TO_TRANSIT_NETWORK: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_NO_USER_RESPONDING: u32 = 18u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_NO_VPI_VCI_AVAILABLE: u32 = 45u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_NUMBER_CHANGED: u32 = 22u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_OPTION_UNAVAILABLE: u32 = 63u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_PROTOCOL_ERROR: u32 = 111u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_PU_PROVIDER: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_PU_USER: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_QOS_UNAVAILABLE: u32 = 49u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_REASON_IE_INSUFFICIENT: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_REASON_IE_MISSING: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_REASON_USER: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_RECOVERY_ON_TIMEOUT: u32 = 102u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_RESOURCE_UNAVAILABLE: u32 = 47u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_STATUS_ENQUIRY_RESPONSE: u32 = 30u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_TEMPORARY_FAILURE: u32 = 41u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_TOO_MANY_PENDING_ADD_PARTY: u32 = 92u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_UNALLOCATED_NUMBER: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_UNIMPLEMENTED_IE: u32 = 99u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_UNIMPLEMENTED_MESSAGE_TYPE: u32 = 97u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_UNSUPPORTED_TRAFFIC_PARAMETERS: u32 = 73u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_USER_BUSY: u32 = 17u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_USER_CELL_RATE_UNAVAILABLE: u32 = 51u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_USER_REJECTS_CLIR: u32 = 23u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_VPI_VCI_UNACCEPTABLE: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CAUSE_VPI_VCI_UNAVAILABLE: u32 = 35u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CF_ACCEPT: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CF_DEFER: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CF_REJECT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CLIP_NOT: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CLIP_SUS: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const DE_REUSE_SOCKET: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const DL_ADDRESS_LENGTH_MAXIMUM: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const DL_HEADER_LENGTH_MAXIMUM: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ETHERNET_TYPE_802_1AD: u32 = 34984u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ETHERNET_TYPE_802_1Q: u32 = 33024u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ETHERNET_TYPE_ARP: u32 = 2054u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ETHERNET_TYPE_IPV4: u32 = 2048u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ETHERNET_TYPE_IPV6: u32 = 34525u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ETHERNET_TYPE_MINIMUM: u32 = 1536u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ETH_LENGTH_OF_HEADER: u32 = 14u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ETH_LENGTH_OF_SNAP_HEADER: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ETH_LENGTH_OF_VLAN_HEADER: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const EXT_LEN_UNIT: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_ACCEPT: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_ACCEPT_BIT: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_ADDRESS_LIST_CHANGE_BIT: u32 = 9u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_CLOSE: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_CLOSE_BIT: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_CONNECT: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_CONNECT_BIT: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_GROUP_QOS_BIT: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_MAX_EVENTS: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_OOB: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_OOB_BIT: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_QOS_BIT: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_READ: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_READ_BIT: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_ROUTING_INTERFACE_CHANGE_BIT: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_SETSIZE: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_WRITE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FD_WRITE_BIT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FIOASYNC: i32 = -2147195267i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FIONBIO: i32 = -2147195266i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FIONREAD: i32 = 1074030207i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FROM_PROTOCOL_INFO: i32 = -1i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const GAI_STRERROR_BUFFER_SIZE: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IAS_ATTRIB_INT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IAS_ATTRIB_NO_ATTRIB: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IAS_ATTRIB_NO_CLASS: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IAS_ATTRIB_OCTETSEQ: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IAS_ATTRIB_STR: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IAS_MAX_ATTRIBNAME: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IAS_MAX_CLASSNAME: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IAS_MAX_OCTET_STRING: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IAS_MAX_USER_STRING: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP6_DST_UNREACH_ADDR: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP6_DST_UNREACH_ADMIN: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP6_DST_UNREACH_BEYONDSCOPE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP6_DST_UNREACH_NOPORT: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP6_DST_UNREACH_NOROUTE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP6_PARAMPROB_HEADER: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP6_PARAMPROB_NEXTHEADER: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP6_PARAMPROB_OPTION: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP6_TIME_EXCEED_REASSEMBLY: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP6_TIME_EXCEED_TRANSIT: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMPV4_INVALID_PREFERENCE_LEVEL: u32 = 2147483648u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMPV6_ECHO_REQUEST_FLAG_REVERSE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IFF_BROADCAST: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IFF_LOOPBACK: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IFF_MULTICAST: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IFF_POINTTOPOINT: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IFF_UP: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IGMP_LEAVE_GROUP_TYPE: u32 = 23u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IGMP_QUERY_TYPE: u32 = 17u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IGMP_VERSION1_REPORT_TYPE: u32 = 18u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IGMP_VERSION2_REPORT_TYPE: u32 = 22u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IGMP_VERSION3_REPORT_TYPE: u32 = 34u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IMPLINK_HIGHEXPER: u32 = 158u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IMPLINK_IP: u32 = 155u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IMPLINK_LOWEXPER: u32 = 156u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN4ADDR_LINKLOCALPREFIX_LENGTH: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN4ADDR_LOOPBACK: u32 = 16777343u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN4ADDR_LOOPBACKPREFIX_LENGTH: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN4ADDR_MULTICASTPREFIX_LENGTH: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN6ADDR_6TO4PREFIX_LENGTH: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN6ADDR_LINKLOCALPREFIX_LENGTH: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN6ADDR_MULTICASTPREFIX_LENGTH: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN6ADDR_SOLICITEDNODEMULTICASTPREFIX_LENGTH: u32 = 104u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN6ADDR_TEREDOPREFIX_LENGTH: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN6ADDR_V4MAPPEDPREFIX_LENGTH: u32 = 96u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN6_EMBEDDEDV4_BITS_IN_BYTE: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN6_EMBEDDEDV4_UOCTET_POSITION: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const INADDR_LOOPBACK: u32 = 2130706433u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const INADDR_NONE: u32 = 4294967295u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const INCL_WINSOCK_API_PROTOTYPES: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const INCL_WINSOCK_API_TYPEDEFS: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const INET6_ADDRSTRLEN: u32 = 65u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const INET_ADDRSTRLEN: u32 = 22u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const INVALID_SOCKET: SOCKET = SOCKET(-1i32 as _); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN_CLASSA_HOST: u32 = 16777215u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN_CLASSA_MAX: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN_CLASSA_NET: u32 = 4278190080u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN_CLASSA_NSHIFT: u32 = 24u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN_CLASSB_HOST: u32 = 65535u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN_CLASSB_MAX: u32 = 65536u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN_CLASSB_NET: u32 = 4294901760u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN_CLASSB_NSHIFT: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN_CLASSC_HOST: u32 = 255u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN_CLASSC_NET: u32 = 4294967040u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN_CLASSC_NSHIFT: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN_CLASSD_HOST: u32 = 268435455u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN_CLASSD_NET: u32 = 4026531840u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IN_CLASSD_NSHIFT: u32 = 28u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IOCPARM_MASK: u32 = 127u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IOC_IN: u32 = 2147483648u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IOC_INOUT: u32 = 3221225472u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IOC_OUT: u32 = 1073741824u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IOC_PROTOCOL: u32 = 268435456u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IOC_UNIX: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IOC_VENDOR: u32 = 402653184u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IOC_VOID: u32 = 536870912u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IOC_WS2: u32 = 134217728u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP4_OFF_MASK: u32 = 65311u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP6F_MORE_FRAG: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP6F_OFF_MASK: u32 = 63743u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP6F_RESERVED_MASK: u32 = 1536u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP6OPT_MUTABLE: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP6OPT_TYPE_DISCARD: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP6OPT_TYPE_FORCEICMP: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP6OPT_TYPE_ICMP: u32 = 192u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP6OPT_TYPE_SKIP: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP6T_SO_ORIGINAL_DST: u32 = 12303u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_BIFFUDP: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_CHARGEN: u32 = 19u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_CMDSERVER: u32 = 514u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_DAYTIME: u32 = 13u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_DISCARD: u32 = 9u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_DYNAMIC_MAX: u32 = 65535u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_DYNAMIC_MIN: u32 = 49152u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_ECHO: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_EFSSERVER: u32 = 520u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_EPMAP: u32 = 135u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_EXECSERVER: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_FINGER: u32 = 79u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_FTP: u32 = 21u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_FTP_DATA: u32 = 20u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_HTTPS: u32 = 443u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_IMAP: u32 = 143u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_IMAP3: u32 = 220u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_LDAP: u32 = 389u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_LOGINSERVER: u32 = 513u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_MICROSOFT_DS: u32 = 445u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_MSP: u32 = 18u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_MTP: u32 = 57u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_NAMESERVER: u32 = 42u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_NETBIOS_DGM: u32 = 138u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_NETBIOS_NS: u32 = 137u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_NETBIOS_SSN: u32 = 139u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_NETSTAT: u32 = 15u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_NTP: u32 = 123u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_POP3: u32 = 110u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_QOTD: u32 = 17u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_REGISTERED_MAX: u32 = 49151u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_REGISTERED_MIN: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_RESERVED: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_RJE: u32 = 77u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_ROUTESERVER: u32 = 520u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_SMTP: u32 = 25u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_SNMP: u32 = 161u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_SNMP_TRAP: u32 = 162u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_SUPDUP: u32 = 95u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_SYSTAT: u32 = 11u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_TCPMUX: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_TELNET: u32 = 23u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_TFTP: u32 = 69u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_TIMESERVER: u32 = 37u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_TTYLINK: u32 = 87u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_WHOIS: u32 = 43u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPORT_WHOSERVER: u32 = 513u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV4_MAX_MINIMUM_MTU: u32 = 576u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV4_MINIMUM_MTU: u32 = 576u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV4_MIN_MINIMUM_MTU: u32 = 352u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV4_VERSION: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_ADD_IFLIST: i32 = 29i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_ADD_MEMBERSHIP: i32 = 12i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_CHECKSUM: i32 = 26i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_DEL_IFLIST: i32 = 30i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_DONTFRAG: i32 = 14i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_DROP_MEMBERSHIP: i32 = 13i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_ECN: i32 = 50i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_ECN_MASK: u32 = 12288u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_ECN_SHIFT: u32 = 12u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_FLOW_LABEL_MASK: u32 = 4294905600u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_FULL_TRAFFIC_CLASS_MASK: u32 = 61455u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_GET_IFLIST: i32 = 33i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_HDRINCL: i32 = 2i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_HOPLIMIT: i32 = 21i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_HOPOPTS: i32 = 1i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_IFLIST: i32 = 28i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_JOIN_GROUP: i32 = 12i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_LEAVE_GROUP: i32 = 13i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_MINIMUM_MTU: u32 = 1280u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_MTU: i32 = 72i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_MTU_DISCOVER: i32 = 71i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_MULTICAST_HOPS: i32 = 10i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_MULTICAST_IF: i32 = 9i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_MULTICAST_LOOP: i32 = 11i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_NRT_INTERFACE: i32 = 74i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_PKTINFO: i32 = 19i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_PKTINFO_EX: i32 = 51i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_PROTECTION_LEVEL: i32 = 23i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_RECVDSTADDR: i32 = 25i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_RECVECN: i32 = 50i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_RECVERR: i32 = 75i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_RECVIF: i32 = 24i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_RECVRTHDR: i32 = 38i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_RECVTCLASS: i32 = 40i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_RTHDR: i32 = 32i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_TCLASS: i32 = 39i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_TRAFFIC_CLASS_MASK: u32 = 49167u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_UNICAST_HOPS: i32 = 4i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_UNICAST_IF: i32 = 31i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_USER_MTU: i32 = 76i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_V6ONLY: i32 = 27i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_VERSION: u32 = 96u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_WFP_REDIRECT_CONTEXT: i32 = 70i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPV6_WFP_REDIRECT_RECORDS: i32 = 60i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_ADDRESS: i32 = 16391i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_ADDRESS_NOTIFY: i32 = 16396i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_DSTYPE: i32 = 16386i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_EXTENDED_ADDRESS: i32 = 16388i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_FILTERPTYPE: i32 = 16385i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_GETNETINFO: i32 = 16392i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_GETNETINFO_NORIP: i32 = 16393i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_IMMEDIATESPXACK: i32 = 16400i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_MAXSIZE: i32 = 16390i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_MAX_ADAPTER_NUM: i32 = 16397i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_PTYPE: i32 = 16384i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_RECEIVE_BROADCAST: i32 = 16399i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_RECVHDR: i32 = 16389i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_RERIPNETNUMBER: i32 = 16398i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_SPXGETCONNECTIONSTATUS: i32 = 16395i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPX_STOPFILTERPTYPE: i32 = 16387i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_ADD_IFLIST: i32 = 29i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_ADD_MEMBERSHIP: i32 = 12i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_ADD_SOURCE_MEMBERSHIP: i32 = 15i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_BLOCK_SOURCE: i32 = 17i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_DEFAULT_MULTICAST_LOOP: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_DEFAULT_MULTICAST_TTL: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_DEL_IFLIST: i32 = 30i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_DONTFRAGMENT: i32 = 14i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_DROP_MEMBERSHIP: i32 = 13i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_DROP_SOURCE_MEMBERSHIP: i32 = 16i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_ECN: i32 = 50i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_GET_IFLIST: i32 = 33i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_HDRINCL: i32 = 2i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_HOPLIMIT: i32 = 21i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_IFLIST: i32 = 28i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_MAX_MEMBERSHIPS: u32 = 20u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_MTU: i32 = 73i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_MTU_DISCOVER: i32 = 71i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_MULTICAST_IF: i32 = 9i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_MULTICAST_LOOP: i32 = 11i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_MULTICAST_TTL: i32 = 10i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_NRT_INTERFACE: i32 = 74i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_OPTIONS: i32 = 1i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_ORIGINAL_ARRIVAL_IF: i32 = 47i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_PKTINFO: i32 = 19i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_PKTINFO_EX: i32 = 51i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_PROTECTION_LEVEL: i32 = 23i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_RECEIVE_BROADCAST: i32 = 22i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_RECVDSTADDR: i32 = 25i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_RECVECN: i32 = 50i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_RECVERR: i32 = 75i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_RECVIF: i32 = 24i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_RECVRTHDR: i32 = 38i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_RECVTCLASS: i32 = 40i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_RECVTOS: i32 = 40i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_RECVTTL: i32 = 21i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_RTHDR: i32 = 32i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_TCLASS: i32 = 39i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_TOS: i32 = 3i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_TTL: i32 = 4i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_UNBLOCK_SOURCE: i32 = 18i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_UNICAST_IF: i32 = 31i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_UNSPECIFIED_HOP_LIMIT: i32 = -1i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_UNSPECIFIED_TYPE_OF_SERVICE: i32 = -1i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_UNSPECIFIED_USER_MTU: u32 = 4294967295u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_USER_MTU: i32 = 76i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_VER_MASK: u32 = 240u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_WFP_REDIRECT_CONTEXT: i32 = 70i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_WFP_REDIRECT_RECORDS: i32 = 60i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IRDA_PROTO_SOCK_STREAM: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IRLMP_9WIRE_MODE: i32 = 22i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IRLMP_DISCOVERY_MODE: i32 = 25i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IRLMP_ENUMDEVICES: i32 = 16i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IRLMP_EXCLUSIVE_MODE: i32 = 20i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IRLMP_IAS_QUERY: i32 = 18i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IRLMP_IAS_SET: i32 = 17i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IRLMP_IRLPT_MODE: i32 = 21i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IRLMP_PARAMETERS: i32 = 24i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IRLMP_SEND_PDU_LEN: i32 = 19i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IRLMP_SHARP_MODE: i32 = 32i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IRLMP_TINYTP_MODE: i32 = 23i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISOPROTO_CLNP: u32 = 31u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISOPROTO_CLTP: u32 = 30u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISOPROTO_ESIS: u32 = 34u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISOPROTO_INACT_NL: u32 = 33u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISOPROTO_INTRAISIS: u32 = 35u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISOPROTO_TP: u32 = 29u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISOPROTO_TP0: u32 = 25u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISOPROTO_TP1: u32 = 26u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISOPROTO_TP2: u32 = 27u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISOPROTO_TP3: u32 = 28u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISOPROTO_TP4: u32 = 29u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISOPROTO_X25: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISO_EXP_DATA_NUSE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISO_EXP_DATA_USE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISO_HIERARCHICAL: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISO_MAX_ADDR_LENGTH: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ISO_NON_HIERARCHICAL: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const JL_BOTH: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const JL_RECEIVER_ONLY: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const JL_SENDER_ONLY: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LAYERED_PROTOCOL: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LITTLEENDIAN: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_BAUD_115200: u32 = 115200u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_BAUD_1152K: u32 = 1152000u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_BAUD_1200: u32 = 1200u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_BAUD_16M: u32 = 16000000u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_BAUD_19200: u32 = 19200u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_BAUD_2400: u32 = 2400u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_BAUD_38400: u32 = 38400u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_BAUD_4M: u32 = 4000000u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_BAUD_57600: u32 = 57600u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_BAUD_576K: u32 = 576000u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_BAUD_9600: u32 = 9600u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_HB1_Computer: i32 = 4i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_HB1_Fax: i32 = 32i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_HB1_LANAccess: i32 = 64i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_HB1_Modem: i32 = 16i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_HB1_PDA_Palmtop: i32 = 2i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_HB1_PnP: i32 = 1i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_HB1_Printer: i32 = 8i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_HB2_FileServer: i32 = 2i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_HB2_Telephony: i32 = 1i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LM_HB_Extension: i32 = 128i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LOG2_BITS_PER_BYTE: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LSP_CRYPTO_COMPRESS: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LSP_FIREWALL: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LSP_INBOUND_MODIFY: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LSP_INSPECTOR: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LSP_LOCAL_CACHE: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LSP_OUTBOUND_MODIFY: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LSP_PROXY: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LSP_REDIRECTOR: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LSP_SYSTEM: u32 = 2147483648u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_ADDRCONFIG: u32 = 1048576u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_API_ANSI: u32 = 16777216u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_CONTAINERS: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_DEEP: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_DISABLE_IDN_ENCODING: u32 = 8388608u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_DNS_ONLY: u32 = 131072u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_DUAL_ADDR: u32 = 2097152u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_EXCLUSIVE_CUSTOM_SERVERS: u32 = 134217728u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_EXTENDED_QUERYSET: u32 = 33554432u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_FILESERVER: u32 = 4194304u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_FLUSHCACHE: u32 = 4096u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_FLUSHPREVIOUS: u32 = 8192u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_FORCE_CLEAR_TEXT: u32 = 1073741824u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_NEAREST: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_NOCONTAINERS: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_NON_AUTHORITATIVE: u32 = 16384u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_REQUIRE_SECURE: u32 = 268435456u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_RESOLUTION_HANDLE: u32 = 2147483648u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_RES_SERVICE: u32 = 32768u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_RETURN_ADDR: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_RETURN_ALIASES: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_RETURN_ALL: u32 = 4080u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_RETURN_BLOB: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_RETURN_COMMENT: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_RETURN_NAME: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_RETURN_PREFERRED_NAMES: u32 = 65536u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_RETURN_QUERY_STRING: u32 = 2048u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_RETURN_RESPONSE_FLAGS: u32 = 262144u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_RETURN_TTL: u32 = 536870912u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_RETURN_TYPE: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_RETURN_VERSION: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_SECURE: u32 = 32768u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LUP_SECURE_WITH_FALLBACK: u32 = 67108864u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LmCharSetASCII: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LmCharSetISO_8859_1: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LmCharSetISO_8859_2: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LmCharSetISO_8859_3: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LmCharSetISO_8859_4: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LmCharSetISO_8859_5: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LmCharSetISO_8859_6: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LmCharSetISO_8859_7: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LmCharSetISO_8859_8: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LmCharSetISO_8859_9: u32 = 9u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LmCharSetUNICODE: u32 = 255u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MAXGETHOSTSTRUCT: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MAX_IPV4_HLEN: u32 = 60u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MAX_IPV4_PACKET: u32 = 65535u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MAX_IPV6_PAYLOAD: u32 = 65535u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MAX_MCAST_TTL: u32 = 255u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MAX_PROTOCOL_CHAIN: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MAX_WINDOW_INCREMENT_PERCENTAGE: u32 = 25u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MCAST_BLOCK_SOURCE: u32 = 43u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MCAST_JOIN_GROUP: u32 = 41u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MCAST_JOIN_SOURCE_GROUP: u32 = 45u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MCAST_LEAVE_GROUP: u32 = 42u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MCAST_LEAVE_SOURCE_GROUP: u32 = 46u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MCAST_UNBLOCK_SOURCE: u32 = 44u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MSG_BCAST: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MSG_CTRUNC: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MSG_ERRQUEUE: u32 = 4096u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MSG_INTERRUPT: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MSG_MAXIOVLEN: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MSG_MCAST: u32 = 2048u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MSG_PARTIAL: u32 = 32768u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MSG_TRUNC: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_NA_FLAG_OVERRIDE: u32 = 536870912u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_NA_FLAG_ROUTER: u32 = 2147483648u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_NA_FLAG_SOLICITED: u32 = 1073741824u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_DNSSL_MIN_LEN: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_PI_FLAG_AUTO: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_PI_FLAG_ONLINK: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_PI_FLAG_ROUTE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_PI_FLAG_ROUTER_ADDR: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_PI_FLAG_SITE_PREFIX: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_RDNSS_MIN_LEN: u32 = 24u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_RI_FLAG_PREFERENCE: u32 = 24u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_RA_FLAG_HOME_AGENT: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_RA_FLAG_MANAGED: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_RA_FLAG_OTHER: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_RA_FLAG_PREFERENCE: u32 = 24u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NETBIOS_GROUP_NAME: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NETBIOS_NAME_LENGTH: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NETBIOS_TYPE_QUICK_GROUP: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NETBIOS_TYPE_QUICK_UNIQUE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NETBIOS_UNIQUE_NAME: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NI_DGRAM: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NI_MAXHOST: u32 = 1025u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NI_MAXSERV: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NI_NAMEREQD: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NI_NOFQDN: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NI_NUMERICHOST: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NI_NUMERICSERV: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_ALLUSERS_NETWORK: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_FRIENDLY_NAME: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_NAMESPACE_GUID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6642243a_3ba8_4aa6_baa5_2e0bd71fdd83); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_SERVICE_CLASS_GUID: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x0037e515_b5c9_4a43_bada_8b48a87ad239); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NSPROTO_IPX: u32 = 1000u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NSPROTO_SPX: u32 = 1256u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NSPROTO_SPXII: u32 = 1257u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NSTYPE_DYNAMIC: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NSTYPE_ENUMERABLE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NSTYPE_HIERARCHICAL: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NSTYPE_WORKGROUP: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_ALL: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_DEFAULT: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_DHCP: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_DNS: u32 = 12u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_EMAIL: u32 = 37u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_LOCALNAME: u32 = 19u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_MS: u32 = 30u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_NBP: u32 = 20u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_NDS: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_NETBT: u32 = 13u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_NETDES: u32 = 60u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_NIS: u32 = 41u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_NISPLUS: u32 = 42u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_NLA: u32 = 15u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_NTDS: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_PEER_BROWSE: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_SAP: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_SLP: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_STDA: u32 = 31u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_TCPIP_HOSTS: u32 = 11u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_TCPIP_LOCAL: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_VNS: u32 = 50u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_WINS: u32 = 14u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_WRQ: u32 = 50u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NS_X500: u32 = 40u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PFL_HIDDEN: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PFL_MATCHES_PROTOCOL_ZERO: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PFL_MULTIPLE_PROTO_ENTRIES: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PFL_NETWORKDIRECT_PROVIDER: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PFL_RECOMMENDED_PROTO_ENTRY: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_APPLETALK: u16 = 16u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_ATM: u16 = 22u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_BAN: u16 = 21u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_CCITT: u16 = 10u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_CHAOS: u16 = 5u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_DATAKIT: u16 = 9u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_DECnet: u16 = 12u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_DLI: u16 = 13u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_ECMA: u16 = 8u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_FIREFOX: u16 = 19u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_HYLINK: u16 = 15u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_IMPLINK: u16 = 3u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_IPX: u16 = 6u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_IRDA: u16 = 26u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_ISO: u16 = 7u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_LAT: u16 = 14u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_MAX: u16 = 29u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_NS: u16 = 6u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_OSI: u16 = 7u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_PUP: u16 = 4u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_SNA: u16 = 11u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_UNIX: u16 = 1u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_UNKNOWN1: u16 = 20u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PF_VOICEVIEW: u16 = 18u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PI_ALLOWED: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PI_NUMBER_NOT_AVAILABLE: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PI_RESTRICTED: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const POLLERR: u16 = 1u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const POLLHUP: u16 = 2u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const POLLIN: u16 = 768u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const POLLNVAL: u16 = 4u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const POLLOUT: u16 = 16u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const POLLPRI: u16 = 1024u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const POLLRDBAND: u16 = 512u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const POLLRDNORM: u16 = 256u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const POLLWRBAND: u16 = 32u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const POLLWRNORM: u16 = 16u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROP_ADDRESSES: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROP_ALL: u32 = 2147483648u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROP_COMMENT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROP_DISPLAY_HINT: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROP_LOCALE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROP_MACHINE: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROP_SD: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROP_START_TIME: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROP_VERSION: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTECTION_LEVEL_DEFAULT: u32 = 20u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTECTION_LEVEL_EDGERESTRICTED: u32 = 20u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTECTION_LEVEL_RESTRICTED: u32 = 30u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTECTION_LEVEL_UNRESTRICTED: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PVD_CONFIG: i32 = 12289i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const QOS_CLASS0: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const QOS_CLASS1: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const QOS_CLASS2: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const QOS_CLASS3: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const QOS_CLASS4: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const REAL_TIME_NOTIFICATION_CAPABILITY: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6b59819a_5cae_492d_a901_2a3c2c50164f); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const REAL_TIME_NOTIFICATION_CAPABILITY_EX: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x6843da03_154a_4616_a508_44371295f96b); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RESULT_IS_ADDED: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RESULT_IS_ALIAS: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RESULT_IS_CHANGED: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RESULT_IS_DELETED: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RES_FIND_MULTIPLE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RES_FLUSH_CACHE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RES_SERVICE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RES_SOFT_SEARCH: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RES_UNUSED_1: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RIO_CORRUPT_CQ: u32 = 4294967295u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RIO_MAX_CQ_SIZE: u32 = 134217728u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RIO_MSG_COMMIT_ONLY: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RIO_MSG_DEFER: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RIO_MSG_DONT_NOTIFY: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RIO_MSG_WAITALL: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RM_ADD_RECEIVE_IF: i32 = 1008i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RM_DEL_RECEIVE_IF: i32 = 1009i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RM_FLUSHCACHE: i32 = 1003i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RM_HIGH_SPEED_INTRANET_OPT: i32 = 1014i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RM_LATEJOIN: i32 = 1006i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RM_OPTIONSBASE: i32 = 1000i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RM_RATE_WINDOW_SIZE: i32 = 1001i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RM_RECEIVER_STATISTICS: i32 = 1013i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RM_SENDER_STATISTICS: i32 = 1005i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RM_SENDER_WINDOW_ADVANCE_METHOD: i32 = 1004i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RM_SEND_WINDOW_ADV_RATE: i32 = 1010i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RM_SET_MCAST_TTL: i32 = 1012i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RM_SET_MESSAGE_BOUNDARY: i32 = 1002i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RM_SET_SEND_IF: i32 = 1007i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RM_USE_FEC: i32 = 1011i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SAP_FIELD_ABSENT: u32 = 4294967294u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SAP_FIELD_ANY: u32 = 4294967295u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SAP_FIELD_ANY_AESA_REST: u32 = 4294967291u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SAP_FIELD_ANY_AESA_SEL: u32 = 4294967290u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SD_BOTH: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SD_RECEIVE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SD_SEND: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SECURITY_PROTOCOL_NONE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SENDER_DEFAULT_LATE_JOINER_PERCENTAGE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SENDER_DEFAULT_RATE_KBITS_PER_SEC: u32 = 56u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SENDER_DEFAULT_WINDOW_ADV_PERCENTAGE: u32 = 15u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SENDER_MAX_LATE_JOINER_PERCENTAGE: u32 = 75u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_ADDRESS_FLAG_RPC_CN: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_ADDRESS_FLAG_RPC_DG: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_ADDRESS_FLAG_RPC_NB: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_FLAG_DEFER: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_FLAG_HARD: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_LOCAL: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_MULTIPLE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_RESOURCE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_SERVICE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_CONN: ::windows::core::PCWSTR = ::windows::w!("ConnectionOriented"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_CONNA: ::windows::core::PCSTR = ::windows::s!("ConnectionOriented"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_CONNW: ::windows::core::PCWSTR = ::windows::w!("ConnectionOriented"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_IPXPORTA: ::windows::core::PCSTR = ::windows::s!("IpxSocket"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_IPXPORTW: ::windows::core::PCWSTR = ::windows::w!("IpxSocket"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_OBJECTID: ::windows::core::PCWSTR = ::windows::w!("ObjectId"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_OBJECTIDA: ::windows::core::PCSTR = ::windows::s!("ObjectId"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_OBJECTIDW: ::windows::core::PCWSTR = ::windows::w!("ObjectId"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_SAPID: ::windows::core::PCWSTR = ::windows::w!("SapId"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_SAPIDA: ::windows::core::PCSTR = ::windows::s!("SapId"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_SAPIDW: ::windows::core::PCWSTR = ::windows::w!("SapId"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_TCPPORT: ::windows::core::PCWSTR = ::windows::w!("TcpPort"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_TCPPORTA: ::windows::core::PCSTR = ::windows::s!("TcpPort"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_TCPPORTW: ::windows::core::PCWSTR = ::windows::w!("TcpPort"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_UDPPORT: ::windows::core::PCWSTR = ::windows::w!("UdpPort"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_UDPPORTA: ::windows::core::PCSTR = ::windows::s!("UdpPort"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_TYPE_VALUE_UDPPORTW: ::windows::core::PCWSTR = ::windows::w!("UdpPort"); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SET_SERVICE_PARTIAL_SUCCESS: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SG_CONSTRAINED_GROUP: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SG_UNCONSTRAINED_GROUP: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIOCATMARK: i32 = 1074033415i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIOCGHIWAT: i32 = 1074033409i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIOCGLOWAT: i32 = 1074033411i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIOCSHIWAT: i32 = -2147192064i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIOCSLOWAT: i32 = -2147192062i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_ABSORB_RTRALERT: u32 = 2550136837u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_ACQUIRE_PORT_RESERVATION: u32 = 2550136932u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_ADDRESS_LIST_CHANGE: u32 = 671088663u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_ADDRESS_LIST_QUERY: u32 = 1207959574u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_ADDRESS_LIST_SORT: u32 = 3355443225u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_AF_UNIX_GETPEERPID: u32 = 1476395264u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_AF_UNIX_SETBINDPARENTPATH: u32 = 2550137089u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_AF_UNIX_SETCONNPARENTPATH: u32 = 2550137090u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_APPLY_TRANSPORT_SETTING: u32 = 2550136851u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_ASSOCIATE_HANDLE: u32 = 2281701377u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_ASSOCIATE_PORT_RESERVATION: u32 = 2550136934u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_ASSOCIATE_PVC: u32 = 2417360899u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_BASE_HANDLE: u32 = 1207959586u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_BSP_HANDLE: u32 = 1207959579u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_BSP_HANDLE_POLL: u32 = 1207959581u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_BSP_HANDLE_SELECT: u32 = 1207959580u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_CPU_AFFINITY: u32 = 2550136853u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_DELETE_PEER_TARGET_NAME: u32 = 2550137035u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_ENABLE_CIRCULAR_QUEUEING: u32 = 671088642u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_EXT_POLL: u32 = 3355443231u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_EXT_SELECT: u32 = 3355443230u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_EXT_SENDMSG: u32 = 3355443232u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_FIND_ROUTE: u32 = 1207959555u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_FLUSH: u32 = 671088644u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_GET_ATM_ADDRESS: u32 = 3491102722u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_GET_ATM_CONNECTION_ID: u32 = 1343619076u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_GET_BROADCAST_ADDRESS: u32 = 1207959557u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_GET_EXTENSION_FUNCTION_POINTER: u32 = 3355443206u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_GET_GROUP_QOS: u32 = 3355443208u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_GET_MULTIPLE_EXTENSION_FUNCTION_POINTER: u32 = 3355443236u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_GET_NUMBER_OF_ATM_DEVICES: u32 = 1343619073u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_GET_QOS: u32 = 3355443207u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_GET_TX_TIMESTAMP: u32 = 2550137066u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_INDEX_ADD_MCAST: u32 = 2550136842u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_INDEX_BIND: u32 = 2550136840u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_INDEX_DEL_MCAST: u32 = 2550136843u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_INDEX_MCASTIF: u32 = 2550136841u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_KEEPALIVE_VALS: u32 = 2550136836u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_LIMIT_BROADCASTS: u32 = 2550136839u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_LOOPBACK_FAST_PATH: u32 = 2550136848u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_MULTICAST_SCOPE: u32 = 2281701386u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_MULTIPOINT_LOOPBACK: u32 = 2281701385u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_NSP_NOTIFY_CHANGE: u32 = 2281701401u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_PRIORITY_HINT: u32 = 2550136856u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_QUERY_RSS_PROCESSOR_INFO: u32 = 1207959589u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_QUERY_RSS_SCALABILITY_INFO: u32 = 1476395218u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_QUERY_SECURITY: u32 = 3623878857u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_QUERY_TARGET_PNP_HANDLE: u32 = 1207959576u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_QUERY_TRANSPORT_SETTING: u32 = 2550136852u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_QUERY_WFP_ALE_ENDPOINT_HANDLE: u32 = 1476395213u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_QUERY_WFP_CONNECTION_REDIRECT_CONTEXT: u32 = 2550137053u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_QUERY_WFP_CONNECTION_REDIRECT_RECORDS: u32 = 2550137052u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_RCVALL: u32 = 2550136833u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_RCVALL_IF: u32 = 2550136846u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_RCVALL_IGMPMCAST: u32 = 2550136835u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_RCVALL_MCAST: u32 = 2550136834u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_RCVALL_MCAST_IF: u32 = 2550136845u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_RELEASE_PORT_RESERVATION: u32 = 2550136933u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_RESERVED_1: u32 = 2281701402u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_RESERVED_2: u32 = 2281701409u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_ROUTING_INTERFACE_CHANGE: u32 = 2281701397u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_ROUTING_INTERFACE_QUERY: u32 = 3355443220u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_SET_COMPATIBILITY_MODE: u32 = 2550137132u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_SET_GROUP_QOS: u32 = 2281701388u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_SET_PEER_TARGET_NAME: u32 = 2550137034u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_SET_PRIORITY_HINT: u32 = 2550136856u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_SET_QOS: u32 = 2281701387u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_SET_SECURITY: u32 = 2550137032u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_SET_WFP_CONNECTION_REDIRECT_RECORDS: u32 = 2550137054u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_SOCKET_CLOSE_NOTIFY: u32 = 2550136845u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_SOCKET_USAGE_NOTIFICATION: u32 = 2550137036u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_TCP_INFO: u32 = 3623878695u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_TCP_INITIAL_RTO: u32 = 2550136849u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_TCP_SET_ACK_FREQUENCY: u32 = 2550136855u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_TCP_SET_ICW: u32 = 2550136854u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_TIMESTAMPING: u32 = 2550137067u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_TRANSLATE_HANDLE: u32 = 3355443213u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_UCAST_IF: u32 = 2550136838u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_UDP_CONNRESET: u32 = 2550136844u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIO_UDP_NETRESET: u32 = 2550136847u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIZEOF_IP_OPT_ROUTERALERT: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIZEOF_IP_OPT_ROUTING_HEADER: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIZEOF_IP_OPT_SECURITY: u32 = 11u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIZEOF_IP_OPT_STREAMIDENTIFIER: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SIZEOF_IP_OPT_TIMESTAMP_HEADER: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SI_NETWORK: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SI_USER_FAILED: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SI_USER_NOT_SCREENED: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SI_USER_PASSED: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SNAP_CONTROL: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SNAP_DSAP: u32 = 170u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SNAP_OUI: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SNAP_SSAP: u32 = 170u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_DEFAULT2_QM_POLICY: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xaec2ef9c_3a4d_4d3e_8842_239942e39a47); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_ERROR: i32 = -1i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_INFO_CONNECTION_ENCRYPTED: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_INFO_CONNECTION_IMPERSONATED: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_INFO_CONNECTION_SECURED: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_QUERY_IPSEC2_ABORT_CONNECTION_ON_FIELD_CHANGE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_QUERY_IPSEC2_FIELD_MASK_MM_SA_ID: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_QUERY_IPSEC2_FIELD_MASK_QM_SA_ID: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_SETTINGS_ALLOW_INSECURE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_SETTINGS_GUARANTEE_ENCRYPTION: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_SETTINGS_IPSEC_ALLOW_FIRST_INBOUND_PKT_UNENCRYPTED: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_SETTINGS_IPSEC_OPTIONAL_PEER_NAME_VERIFICATION: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_SETTINGS_IPSEC_PEER_NAME_IS_RAW_FORMAT: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_SETTINGS_IPSEC_SKIP_FILTER_INSTANTIATION: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_DGRAM: u16 = 2u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_EVENT_ERR: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_EVENT_HANGUP: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_EVENT_IN: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_EVENT_OUT: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_EVENT_REMOVE: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_OP_DISABLE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_OP_ENABLE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_OP_NONE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_OP_REMOVE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_REGISTER_EVENT_HANGUP: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_REGISTER_EVENT_IN: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_REGISTER_EVENT_NONE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_REGISTER_EVENT_OUT: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_TRIGGER_EDGE: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_TRIGGER_LEVEL: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_TRIGGER_ONESHOT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_NOTIFY_TRIGGER_PERSISTENT: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_RAW: u16 = 3u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_RDM: u16 = 4u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_SEQPACKET: u16 = 5u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCK_STREAM: u16 = 1u16; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOL_IRLMP: i32 = 255i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOL_SOCKET: i32 = 65535i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOMAXCONN: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_ACCEPTCONN: i32 = 2i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_BROADCAST: i32 = 32i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_BSP_STATE: i32 = 4105i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_COMPARTMENT_ID: u32 = 12292u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_CONDITIONAL_ACCEPT: i32 = 12290i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_CONNDATA: i32 = 28672i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_CONNDATALEN: i32 = 28676i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_CONNECT_TIME: i32 = 28684i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_CONNOPT: i32 = 28673i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_CONNOPTLEN: i32 = 28677i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_DEBUG: i32 = 1i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_DISCDATA: i32 = 28674i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_DISCDATALEN: i32 = 28678i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_DISCOPT: i32 = 28675i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_DISCOPTLEN: i32 = 28679i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_DONTROUTE: i32 = 16i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_ERROR: i32 = 4103i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_GROUP_ID: i32 = 8193i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_GROUP_PRIORITY: i32 = 8194i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_KEEPALIVE: i32 = 8i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_LINGER: i32 = 128i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_MAXDG: i32 = 28681i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_MAXPATHDG: i32 = 28682i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_MAX_MSG_SIZE: i32 = 8195i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_OOBINLINE: i32 = 256i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_OPENTYPE: i32 = 28680i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_ORIGINAL_DST: u32 = 12303u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_PAUSE_ACCEPT: u32 = 12291u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_PORT_SCALABILITY: i32 = 12294i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_PROTOCOL_INFO: i32 = 8197i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_PROTOCOL_INFOA: i32 = 8196i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_PROTOCOL_INFOW: i32 = 8197i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_RANDOMIZE_PORT: i32 = 12293i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_RCVBUF: i32 = 4098i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_RCVLOWAT: i32 = 4100i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_RCVTIMEO: i32 = 4102i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_REUSEADDR: i32 = 4i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_REUSE_MULTICASTPORT: i32 = 12296i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_REUSE_UNICASTPORT: i32 = 12295i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_SNDBUF: i32 = 4097i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_SNDLOWAT: i32 = 4099i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_SNDTIMEO: i32 = 4101i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_SYNCHRONOUS_ALERT: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_SYNCHRONOUS_NONALERT: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_TIMESTAMP: u32 = 12298u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_TIMESTAMP_ID: u32 = 12299u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_TYPE: i32 = 4104i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_UPDATE_ACCEPT_CONTEXT: i32 = 28683i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_UPDATE_CONNECT_CONTEXT: i32 = 28688i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SO_USELOOPBACK: i32 = 64i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_ATMARK: i32 = 8i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_BSDURGENT: i32 = 28672i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_CONGESTION_ALGORITHM: i32 = 12i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_DELAY_FIN_ACK: i32 = 13i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_EXPEDITED_1122: i32 = 2i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_FAIL_CONNECT_ON_ICMP_ERROR: i32 = 18i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_FASTOPEN: i32 = 15i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_ICMP_ERROR_INFO: i32 = 19i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_INITIAL_RTO_DEFAULT_MAX_SYN_RETRANSMISSIONS: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_INITIAL_RTO_DEFAULT_RTT: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_KEEPALIVE: i32 = 3i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_KEEPCNT: i32 = 16i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_KEEPIDLE: i32 = 3i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_KEEPINTVL: i32 = 17i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_MAXRT: i32 = 5i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_MAXRTMS: i32 = 14i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_MAXSEG: i32 = 4i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_NODELAY: i32 = 1i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_NOSYNRETRIES: i32 = 9i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_NOURG: i32 = 7i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_OFFLOAD_NOT_PREFERRED: i32 = 1i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_OFFLOAD_NO_PREFERENCE: i32 = 0i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_OFFLOAD_PREFERENCE: i32 = 11i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_OFFLOAD_PREFERRED: i32 = 2i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_STDURG: i32 = 6i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_TIMESTAMPS: i32 = 10i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TF_DISCONNECT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TF_REUSE_SOCKET: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TF_USE_DEFAULT_WORKER: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TF_USE_KERNEL_APC: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TF_USE_SYSTEM_THREAD: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TF_WRITE_BEHIND: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_ACK: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_CWR: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_ECE: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_FIN: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_NETDEV: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_OPT_EOL: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_OPT_FASTOPEN: u32 = 34u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_OPT_MSS: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_OPT_NOP: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_OPT_SACK: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_OPT_SACK_PERMITTED: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_OPT_TS: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_OPT_WS: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_PSH: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_RST: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_SYN: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_TAPI: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TH_URG: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TIMESTAMPING_FLAG_RX: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TIMESTAMPING_FLAG_TX: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TNS_PLAN_CARRIER_ID_CODE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TNS_TYPE_NATIONAL: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TP_DISCONNECT: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TP_ELEMENT_EOP: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TP_ELEMENT_FILE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TP_ELEMENT_MEMORY: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TP_REUSE_SOCKET: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TP_USE_DEFAULT_WORKER: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TP_USE_KERNEL_APC: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TP_USE_SYSTEM_THREAD: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TR_END_TO_END: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TR_NOIND: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TR_NO_END_TO_END: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TT_CBR: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TT_NOIND: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TT_VBR: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const UDP_CHECKSUM_COVERAGE: i32 = 20i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const UDP_COALESCED_INFO: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const UDP_NOCHECKSUM: i32 = 1i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const UDP_RECV_MAX_COALESCED_SIZE: i32 = 3i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const UDP_SEND_MSG_SIZE: i32 = 2i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const UNIX_PATH_MAX: u32 = 108u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const UP_P2MP: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const UP_P2P: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const VNSPROTO_IPC: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const VNSPROTO_RELIABLE_IPC: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const VNSPROTO_SPP: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WCE_AF_IRDA: u32 = 22u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WCE_PF_IRDA: u32 = 22u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WINDOWS_AF_IRDA: u32 = 26u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WINDOWS_PF_IRDA: u32 = 26u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSADESCRIPTION_LEN: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAID_ACCEPTEX: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb5367df1_cbac_11cf_95ca_00805f48a192); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAID_CONNECTEX: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x25a207b9_ddf3_4660_8ee9_76e58c74063e); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAID_DISCONNECTEX: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x7fda2e11_8630_436f_a031_f536a6eec157); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAID_GETACCEPTEXSOCKADDRS: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb5367df2_cbac_11cf_95ca_00805f48a192); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAID_TRANSMITFILE: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xb5367df0_cbac_11cf_95ca_00805f48a192); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAID_TRANSMITPACKETS: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xd9689da0_1f90_11d3_9971_00c04f68c876); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAID_WSAPOLL: ::windows::core::GUID = ::windows::core::GUID::from_u128(0x18c76f85_dc66_4964_972e_23c27238312b); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAID_WSARECVMSG: ::windows::core::GUID = ::windows::core::GUID::from_u128(0xf689d7c8_6f1f_436b_8a53_e54fe351c322); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAPROTOCOL_LEN: u32 = 255u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSASYS_STATUS_LEN: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_FLAG_ACCESS_SYSTEM_SECURITY: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_FLAG_MULTIPOINT_C_LEAF: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_FLAG_MULTIPOINT_C_ROOT: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_FLAG_MULTIPOINT_D_LEAF: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_FLAG_MULTIPOINT_D_ROOT: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_FLAG_NO_HANDLE_INHERIT: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_FLAG_OVERLAPPED: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_FLAG_REGISTERED_IO: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_INFINITE: u32 = 4294967295u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_MAXIMUM_WAIT_EVENTS: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_WAIT_FAILED: u32 = 4294967295u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_WAIT_TIMEOUT: u32 = 258u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSK_SO_BASE: u32 = 16384u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSPDESCRIPTION_LEN: u32 = 255u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSS_OPERATION_IN_PROGRESS: i32 = 259i32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_CONNECTIONLESS: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_CONNECT_DATA: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_DISCONNECT_DATA: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_EXPEDITED_DATA: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_GRACEFUL_CLOSE: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_GUARANTEED_DELIVERY: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_GUARANTEED_ORDER: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_IFS_HANDLES: u32 = 131072u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_INTERRUPT: u32 = 16384u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_MESSAGE_ORIENTED: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_MULTIPOINT_CONTROL_PLANE: u32 = 2048u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_MULTIPOINT_DATA_PLANE: u32 = 4096u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_PARTIAL_MESSAGE: u32 = 262144u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_PSEUDO_STREAM: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_QOS_SUPPORTED: u32 = 8192u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_SAN_SUPPORT_SDP: u32 = 524288u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_SUPPORT_BROADCAST: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_SUPPORT_MULTIPOINT: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_UNI_RECV: u32 = 65536u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP1_UNI_SEND: u32 = 32768u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP_BANDWIDTH_ALLOCATION: u32 = 2048u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP_CONNECTIONLESS: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP_CONNECT_DATA: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP_DISCONNECT_DATA: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP_ENCRYPTS: u32 = 8192u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP_EXPEDITED_DATA: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP_FRAGMENTATION: u32 = 4096u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP_GRACEFUL_CLOSE: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP_GUARANTEED_DELIVERY: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP_GUARANTEED_ORDER: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP_MESSAGE_ORIENTED: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP_PSEUDO_STREAM: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP_SUPPORTS_BROADCAST: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const XP_SUPPORTS_MULTICAST: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const _BIG_ENDIAN: u32 = 4321u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const _LITTLE_ENDIAN: u32 = 1234u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const _PDP_ENDIAN: u32 = 3412u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const _SS_MAXSIZE: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct AAL_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AALTYPE_5: AAL_TYPE = AAL_TYPE(5i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AALTYPE_USER: AAL_TYPE = AAL_TYPE(16i32); |
| impl ::core::marker::Copy for AAL_TYPE {} |
| impl ::core::clone::Clone for AAL_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for AAL_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for AAL_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for AAL_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("AAL_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct ADDRESS_FAMILY(pub u16); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_INET: ADDRESS_FAMILY = ADDRESS_FAMILY(2u16); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_INET6: ADDRESS_FAMILY = ADDRESS_FAMILY(23u16); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const AF_UNSPEC: ADDRESS_FAMILY = ADDRESS_FAMILY(0u16); |
| impl ::core::marker::Copy for ADDRESS_FAMILY {} |
| impl ::core::clone::Clone for ADDRESS_FAMILY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for ADDRESS_FAMILY { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for ADDRESS_FAMILY { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for ADDRESS_FAMILY { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ADDRESS_FAMILY").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct ARP_HARDWARE_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ARP_HW_ENET: ARP_HARDWARE_TYPE = ARP_HARDWARE_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ARP_HW_802: ARP_HARDWARE_TYPE = ARP_HARDWARE_TYPE(6i32); |
| impl ::core::marker::Copy for ARP_HARDWARE_TYPE {} |
| impl ::core::clone::Clone for ARP_HARDWARE_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for ARP_HARDWARE_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for ARP_HARDWARE_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for ARP_HARDWARE_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ARP_HARDWARE_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct ARP_OPCODE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ARP_REQUEST: ARP_OPCODE = ARP_OPCODE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ARP_RESPONSE: ARP_OPCODE = ARP_OPCODE(2i32); |
| impl ::core::marker::Copy for ARP_OPCODE {} |
| impl ::core::clone::Clone for ARP_OPCODE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for ARP_OPCODE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for ARP_OPCODE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for ARP_OPCODE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ARP_OPCODE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct CONTROL_CHANNEL_TRIGGER_STATUS(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CONTROL_CHANNEL_TRIGGER_STATUS_INVALID: CONTROL_CHANNEL_TRIGGER_STATUS = CONTROL_CHANNEL_TRIGGER_STATUS(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CONTROL_CHANNEL_TRIGGER_STATUS_SOFTWARE_SLOT_ALLOCATED: CONTROL_CHANNEL_TRIGGER_STATUS = CONTROL_CHANNEL_TRIGGER_STATUS(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CONTROL_CHANNEL_TRIGGER_STATUS_HARDWARE_SLOT_ALLOCATED: CONTROL_CHANNEL_TRIGGER_STATUS = CONTROL_CHANNEL_TRIGGER_STATUS(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CONTROL_CHANNEL_TRIGGER_STATUS_POLICY_ERROR: CONTROL_CHANNEL_TRIGGER_STATUS = CONTROL_CHANNEL_TRIGGER_STATUS(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CONTROL_CHANNEL_TRIGGER_STATUS_SYSTEM_ERROR: CONTROL_CHANNEL_TRIGGER_STATUS = CONTROL_CHANNEL_TRIGGER_STATUS(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CONTROL_CHANNEL_TRIGGER_STATUS_TRANSPORT_DISCONNECTED: CONTROL_CHANNEL_TRIGGER_STATUS = CONTROL_CHANNEL_TRIGGER_STATUS(5i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const CONTROL_CHANNEL_TRIGGER_STATUS_SERVICE_UNAVAILABLE: CONTROL_CHANNEL_TRIGGER_STATUS = CONTROL_CHANNEL_TRIGGER_STATUS(6i32); |
| impl ::core::marker::Copy for CONTROL_CHANNEL_TRIGGER_STATUS {} |
| impl ::core::clone::Clone for CONTROL_CHANNEL_TRIGGER_STATUS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for CONTROL_CHANNEL_TRIGGER_STATUS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for CONTROL_CHANNEL_TRIGGER_STATUS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for CONTROL_CHANNEL_TRIGGER_STATUS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("CONTROL_CHANNEL_TRIGGER_STATUS").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct FALLBACK_INDEX(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FallbackIndexTcpFastopen: FALLBACK_INDEX = FALLBACK_INDEX(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const FallbackIndexMax: FALLBACK_INDEX = FALLBACK_INDEX(1i32); |
| impl ::core::marker::Copy for FALLBACK_INDEX {} |
| impl ::core::clone::Clone for FALLBACK_INDEX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for FALLBACK_INDEX { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for FALLBACK_INDEX { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for FALLBACK_INDEX { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("FALLBACK_INDEX").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct ICMP4_TIME_EXCEED_CODE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_TIME_EXCEED_TRANSIT: ICMP4_TIME_EXCEED_CODE = ICMP4_TIME_EXCEED_CODE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_TIME_EXCEED_REASSEMBLY: ICMP4_TIME_EXCEED_CODE = ICMP4_TIME_EXCEED_CODE(1i32); |
| impl ::core::marker::Copy for ICMP4_TIME_EXCEED_CODE {} |
| impl ::core::clone::Clone for ICMP4_TIME_EXCEED_CODE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for ICMP4_TIME_EXCEED_CODE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for ICMP4_TIME_EXCEED_CODE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for ICMP4_TIME_EXCEED_CODE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ICMP4_TIME_EXCEED_CODE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct ICMP4_UNREACH_CODE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_UNREACH_NET: ICMP4_UNREACH_CODE = ICMP4_UNREACH_CODE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_UNREACH_HOST: ICMP4_UNREACH_CODE = ICMP4_UNREACH_CODE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_UNREACH_PROTOCOL: ICMP4_UNREACH_CODE = ICMP4_UNREACH_CODE(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_UNREACH_PORT: ICMP4_UNREACH_CODE = ICMP4_UNREACH_CODE(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_UNREACH_FRAG_NEEDED: ICMP4_UNREACH_CODE = ICMP4_UNREACH_CODE(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_UNREACH_SOURCEROUTE_FAILED: ICMP4_UNREACH_CODE = ICMP4_UNREACH_CODE(5i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_UNREACH_NET_UNKNOWN: ICMP4_UNREACH_CODE = ICMP4_UNREACH_CODE(6i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_UNREACH_HOST_UNKNOWN: ICMP4_UNREACH_CODE = ICMP4_UNREACH_CODE(7i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_UNREACH_ISOLATED: ICMP4_UNREACH_CODE = ICMP4_UNREACH_CODE(8i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_UNREACH_NET_ADMIN: ICMP4_UNREACH_CODE = ICMP4_UNREACH_CODE(9i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_UNREACH_HOST_ADMIN: ICMP4_UNREACH_CODE = ICMP4_UNREACH_CODE(10i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_UNREACH_NET_TOS: ICMP4_UNREACH_CODE = ICMP4_UNREACH_CODE(11i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_UNREACH_HOST_TOS: ICMP4_UNREACH_CODE = ICMP4_UNREACH_CODE(12i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ICMP4_UNREACH_ADMIN: ICMP4_UNREACH_CODE = ICMP4_UNREACH_CODE(13i32); |
| impl ::core::marker::Copy for ICMP4_UNREACH_CODE {} |
| impl ::core::clone::Clone for ICMP4_UNREACH_CODE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for ICMP4_UNREACH_CODE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for ICMP4_UNREACH_CODE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for ICMP4_UNREACH_CODE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ICMP4_UNREACH_CODE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct IGMP_MAX_RESP_CODE_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IGMP_MAX_RESP_CODE_TYPE_NORMAL: IGMP_MAX_RESP_CODE_TYPE = IGMP_MAX_RESP_CODE_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IGMP_MAX_RESP_CODE_TYPE_FLOAT: IGMP_MAX_RESP_CODE_TYPE = IGMP_MAX_RESP_CODE_TYPE(1i32); |
| impl ::core::marker::Copy for IGMP_MAX_RESP_CODE_TYPE {} |
| impl ::core::clone::Clone for IGMP_MAX_RESP_CODE_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for IGMP_MAX_RESP_CODE_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for IGMP_MAX_RESP_CODE_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for IGMP_MAX_RESP_CODE_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("IGMP_MAX_RESP_CODE_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct IPPROTO(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_HOPOPTS: IPPROTO = IPPROTO(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_ICMP: IPPROTO = IPPROTO(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_IGMP: IPPROTO = IPPROTO(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_GGP: IPPROTO = IPPROTO(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_IPV4: IPPROTO = IPPROTO(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_ST: IPPROTO = IPPROTO(5i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_TCP: IPPROTO = IPPROTO(6i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_CBT: IPPROTO = IPPROTO(7i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_EGP: IPPROTO = IPPROTO(8i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_IGP: IPPROTO = IPPROTO(9i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_PUP: IPPROTO = IPPROTO(12i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_UDP: IPPROTO = IPPROTO(17i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_IDP: IPPROTO = IPPROTO(22i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_RDP: IPPROTO = IPPROTO(27i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_IPV6: IPPROTO = IPPROTO(41i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_ROUTING: IPPROTO = IPPROTO(43i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_FRAGMENT: IPPROTO = IPPROTO(44i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_ESP: IPPROTO = IPPROTO(50i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_AH: IPPROTO = IPPROTO(51i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_ICMPV6: IPPROTO = IPPROTO(58i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_NONE: IPPROTO = IPPROTO(59i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_DSTOPTS: IPPROTO = IPPROTO(60i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_ND: IPPROTO = IPPROTO(77i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_ICLFXBM: IPPROTO = IPPROTO(78i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_PIM: IPPROTO = IPPROTO(103i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_PGM: IPPROTO = IPPROTO(113i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_L2TP: IPPROTO = IPPROTO(115i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_SCTP: IPPROTO = IPPROTO(132i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_RAW: IPPROTO = IPPROTO(255i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_MAX: IPPROTO = IPPROTO(256i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_RESERVED_RAW: IPPROTO = IPPROTO(257i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_RESERVED_IPSEC: IPPROTO = IPPROTO(258i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_RESERVED_IPSECOFFLOAD: IPPROTO = IPPROTO(259i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_RESERVED_WNV: IPPROTO = IPPROTO(260i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_RESERVED_MAX: IPPROTO = IPPROTO(261i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_IP: IPPROTO = IPPROTO(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IPPROTO_RM: IPPROTO = IPPROTO(113i32); |
| impl ::core::marker::Copy for IPPROTO {} |
| impl ::core::clone::Clone for IPPROTO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for IPPROTO { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for IPPROTO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for IPPROTO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("IPPROTO").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct IPV4_OPTION_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_OPT_EOL: IPV4_OPTION_TYPE = IPV4_OPTION_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_OPT_NOP: IPV4_OPTION_TYPE = IPV4_OPTION_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_OPT_SECURITY: IPV4_OPTION_TYPE = IPV4_OPTION_TYPE(130i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_OPT_LSRR: IPV4_OPTION_TYPE = IPV4_OPTION_TYPE(131i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_OPT_TS: IPV4_OPTION_TYPE = IPV4_OPTION_TYPE(68i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_OPT_RR: IPV4_OPTION_TYPE = IPV4_OPTION_TYPE(7i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_OPT_SSRR: IPV4_OPTION_TYPE = IPV4_OPTION_TYPE(137i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_OPT_SID: IPV4_OPTION_TYPE = IPV4_OPTION_TYPE(136i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_OPT_ROUTER_ALERT: IPV4_OPTION_TYPE = IPV4_OPTION_TYPE(148i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_OPT_MULTIDEST: IPV4_OPTION_TYPE = IPV4_OPTION_TYPE(149i32); |
| impl ::core::marker::Copy for IPV4_OPTION_TYPE {} |
| impl ::core::clone::Clone for IPV4_OPTION_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for IPV4_OPTION_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for IPV4_OPTION_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for IPV4_OPTION_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("IPV4_OPTION_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct IPV6_OPTION_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP6OPT_PAD1: IPV6_OPTION_TYPE = IPV6_OPTION_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP6OPT_PADN: IPV6_OPTION_TYPE = IPV6_OPTION_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP6OPT_TUNNEL_LIMIT: IPV6_OPTION_TYPE = IPV6_OPTION_TYPE(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP6OPT_ROUTER_ALERT: IPV6_OPTION_TYPE = IPV6_OPTION_TYPE(5i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP6OPT_JUMBO: IPV6_OPTION_TYPE = IPV6_OPTION_TYPE(194i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP6OPT_NSAP_ADDR: IPV6_OPTION_TYPE = IPV6_OPTION_TYPE(195i32); |
| impl ::core::marker::Copy for IPV6_OPTION_TYPE {} |
| impl ::core::clone::Clone for IPV6_OPTION_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for IPV6_OPTION_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_OPTION_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for IPV6_OPTION_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("IPV6_OPTION_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct IP_OPTION_TIMESTAMP_FLAGS(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_OPTION_TIMESTAMP_ONLY: IP_OPTION_TIMESTAMP_FLAGS = IP_OPTION_TIMESTAMP_FLAGS(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_OPTION_TIMESTAMP_ADDRESS: IP_OPTION_TIMESTAMP_FLAGS = IP_OPTION_TIMESTAMP_FLAGS(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_OPTION_TIMESTAMP_SPECIFIC_ADDRESS: IP_OPTION_TIMESTAMP_FLAGS = IP_OPTION_TIMESTAMP_FLAGS(3i32); |
| impl ::core::marker::Copy for IP_OPTION_TIMESTAMP_FLAGS {} |
| impl ::core::clone::Clone for IP_OPTION_TIMESTAMP_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for IP_OPTION_TIMESTAMP_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for IP_OPTION_TIMESTAMP_FLAGS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for IP_OPTION_TIMESTAMP_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("IP_OPTION_TIMESTAMP_FLAGS").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct MLD_MAX_RESP_CODE_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MLD_MAX_RESP_CODE_TYPE_NORMAL: MLD_MAX_RESP_CODE_TYPE = MLD_MAX_RESP_CODE_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MLD_MAX_RESP_CODE_TYPE_FLOAT: MLD_MAX_RESP_CODE_TYPE = MLD_MAX_RESP_CODE_TYPE(1i32); |
| impl ::core::marker::Copy for MLD_MAX_RESP_CODE_TYPE {} |
| impl ::core::clone::Clone for MLD_MAX_RESP_CODE_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for MLD_MAX_RESP_CODE_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for MLD_MAX_RESP_CODE_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for MLD_MAX_RESP_CODE_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("MLD_MAX_RESP_CODE_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct MULTICAST_MODE_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MCAST_INCLUDE: MULTICAST_MODE_TYPE = MULTICAST_MODE_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MCAST_EXCLUDE: MULTICAST_MODE_TYPE = MULTICAST_MODE_TYPE(1i32); |
| impl ::core::marker::Copy for MULTICAST_MODE_TYPE {} |
| impl ::core::clone::Clone for MULTICAST_MODE_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for MULTICAST_MODE_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for MULTICAST_MODE_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for MULTICAST_MODE_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("MULTICAST_MODE_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NAPI_PROVIDER_LEVEL(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ProviderLevel_None: NAPI_PROVIDER_LEVEL = NAPI_PROVIDER_LEVEL(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ProviderLevel_Secondary: NAPI_PROVIDER_LEVEL = NAPI_PROVIDER_LEVEL(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ProviderLevel_Primary: NAPI_PROVIDER_LEVEL = NAPI_PROVIDER_LEVEL(2i32); |
| impl ::core::marker::Copy for NAPI_PROVIDER_LEVEL {} |
| impl ::core::clone::Clone for NAPI_PROVIDER_LEVEL { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NAPI_PROVIDER_LEVEL { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NAPI_PROVIDER_LEVEL { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NAPI_PROVIDER_LEVEL { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NAPI_PROVIDER_LEVEL").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NAPI_PROVIDER_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ProviderType_Application: NAPI_PROVIDER_TYPE = NAPI_PROVIDER_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ProviderType_Service: NAPI_PROVIDER_TYPE = NAPI_PROVIDER_TYPE(2i32); |
| impl ::core::marker::Copy for NAPI_PROVIDER_TYPE {} |
| impl ::core::clone::Clone for NAPI_PROVIDER_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NAPI_PROVIDER_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NAPI_PROVIDER_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NAPI_PROVIDER_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NAPI_PROVIDER_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct ND_OPTION_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_SOURCE_LINKADDR: ND_OPTION_TYPE = ND_OPTION_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_TARGET_LINKADDR: ND_OPTION_TYPE = ND_OPTION_TYPE(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_PREFIX_INFORMATION: ND_OPTION_TYPE = ND_OPTION_TYPE(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_REDIRECTED_HEADER: ND_OPTION_TYPE = ND_OPTION_TYPE(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_MTU: ND_OPTION_TYPE = ND_OPTION_TYPE(5i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_NBMA_SHORTCUT_LIMIT: ND_OPTION_TYPE = ND_OPTION_TYPE(6i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_ADVERTISEMENT_INTERVAL: ND_OPTION_TYPE = ND_OPTION_TYPE(7i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_HOME_AGENT_INFORMATION: ND_OPTION_TYPE = ND_OPTION_TYPE(8i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_SOURCE_ADDR_LIST: ND_OPTION_TYPE = ND_OPTION_TYPE(9i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_TARGET_ADDR_LIST: ND_OPTION_TYPE = ND_OPTION_TYPE(10i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_ROUTE_INFO: ND_OPTION_TYPE = ND_OPTION_TYPE(24i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_RDNSS: ND_OPTION_TYPE = ND_OPTION_TYPE(25i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ND_OPT_DNSSL: ND_OPTION_TYPE = ND_OPTION_TYPE(31i32); |
| impl ::core::marker::Copy for ND_OPTION_TYPE {} |
| impl ::core::clone::Clone for ND_OPTION_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for ND_OPTION_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for ND_OPTION_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for ND_OPTION_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ND_OPTION_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NLA_BLOB_DATA_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_RAW_DATA: NLA_BLOB_DATA_TYPE = NLA_BLOB_DATA_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_INTERFACE: NLA_BLOB_DATA_TYPE = NLA_BLOB_DATA_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_802_1X_LOCATION: NLA_BLOB_DATA_TYPE = NLA_BLOB_DATA_TYPE(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_CONNECTIVITY: NLA_BLOB_DATA_TYPE = NLA_BLOB_DATA_TYPE(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_ICS: NLA_BLOB_DATA_TYPE = NLA_BLOB_DATA_TYPE(4i32); |
| impl ::core::marker::Copy for NLA_BLOB_DATA_TYPE {} |
| impl ::core::clone::Clone for NLA_BLOB_DATA_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NLA_BLOB_DATA_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NLA_BLOB_DATA_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NLA_BLOB_DATA_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NLA_BLOB_DATA_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NLA_CONNECTIVITY_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_NETWORK_AD_HOC: NLA_CONNECTIVITY_TYPE = NLA_CONNECTIVITY_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_NETWORK_MANAGED: NLA_CONNECTIVITY_TYPE = NLA_CONNECTIVITY_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_NETWORK_UNMANAGED: NLA_CONNECTIVITY_TYPE = NLA_CONNECTIVITY_TYPE(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_NETWORK_UNKNOWN: NLA_CONNECTIVITY_TYPE = NLA_CONNECTIVITY_TYPE(3i32); |
| impl ::core::marker::Copy for NLA_CONNECTIVITY_TYPE {} |
| impl ::core::clone::Clone for NLA_CONNECTIVITY_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NLA_CONNECTIVITY_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NLA_CONNECTIVITY_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NLA_CONNECTIVITY_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NLA_CONNECTIVITY_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NLA_INTERNET(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_INTERNET_UNKNOWN: NLA_INTERNET = NLA_INTERNET(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_INTERNET_NO: NLA_INTERNET = NLA_INTERNET(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NLA_INTERNET_YES: NLA_INTERNET = NLA_INTERNET(2i32); |
| impl ::core::marker::Copy for NLA_INTERNET {} |
| impl ::core::clone::Clone for NLA_INTERNET { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NLA_INTERNET { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NLA_INTERNET { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NLA_INTERNET { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NLA_INTERNET").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NL_ADDRESS_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlatUnspecified: NL_ADDRESS_TYPE = NL_ADDRESS_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlatUnicast: NL_ADDRESS_TYPE = NL_ADDRESS_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlatAnycast: NL_ADDRESS_TYPE = NL_ADDRESS_TYPE(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlatMulticast: NL_ADDRESS_TYPE = NL_ADDRESS_TYPE(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlatBroadcast: NL_ADDRESS_TYPE = NL_ADDRESS_TYPE(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlatInvalid: NL_ADDRESS_TYPE = NL_ADDRESS_TYPE(5i32); |
| impl ::core::marker::Copy for NL_ADDRESS_TYPE {} |
| impl ::core::clone::Clone for NL_ADDRESS_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NL_ADDRESS_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NL_ADDRESS_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NL_ADDRESS_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NL_ADDRESS_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NL_BANDWIDTH_FLAG(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlbwDisabled: NL_BANDWIDTH_FLAG = NL_BANDWIDTH_FLAG(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlbwEnabled: NL_BANDWIDTH_FLAG = NL_BANDWIDTH_FLAG(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlbwUnchanged: NL_BANDWIDTH_FLAG = NL_BANDWIDTH_FLAG(-1i32); |
| impl ::core::marker::Copy for NL_BANDWIDTH_FLAG {} |
| impl ::core::clone::Clone for NL_BANDWIDTH_FLAG { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NL_BANDWIDTH_FLAG { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NL_BANDWIDTH_FLAG { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NL_BANDWIDTH_FLAG { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NL_BANDWIDTH_FLAG").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NL_DAD_STATE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NldsInvalid: NL_DAD_STATE = NL_DAD_STATE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NldsTentative: NL_DAD_STATE = NL_DAD_STATE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NldsDuplicate: NL_DAD_STATE = NL_DAD_STATE(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NldsDeprecated: NL_DAD_STATE = NL_DAD_STATE(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NldsPreferred: NL_DAD_STATE = NL_DAD_STATE(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpDadStateInvalid: NL_DAD_STATE = NL_DAD_STATE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpDadStateTentative: NL_DAD_STATE = NL_DAD_STATE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpDadStateDuplicate: NL_DAD_STATE = NL_DAD_STATE(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpDadStateDeprecated: NL_DAD_STATE = NL_DAD_STATE(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpDadStatePreferred: NL_DAD_STATE = NL_DAD_STATE(4i32); |
| impl ::core::marker::Copy for NL_DAD_STATE {} |
| impl ::core::clone::Clone for NL_DAD_STATE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NL_DAD_STATE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NL_DAD_STATE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NL_DAD_STATE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NL_DAD_STATE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NL_INTERFACE_NETWORK_CATEGORY_STATE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlincCategoryUnknown: NL_INTERFACE_NETWORK_CATEGORY_STATE = NL_INTERFACE_NETWORK_CATEGORY_STATE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlincPublic: NL_INTERFACE_NETWORK_CATEGORY_STATE = NL_INTERFACE_NETWORK_CATEGORY_STATE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlincPrivate: NL_INTERFACE_NETWORK_CATEGORY_STATE = NL_INTERFACE_NETWORK_CATEGORY_STATE(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlincDomainAuthenticated: NL_INTERFACE_NETWORK_CATEGORY_STATE = NL_INTERFACE_NETWORK_CATEGORY_STATE(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlincCategoryStateMax: NL_INTERFACE_NETWORK_CATEGORY_STATE = NL_INTERFACE_NETWORK_CATEGORY_STATE(4i32); |
| impl ::core::marker::Copy for NL_INTERFACE_NETWORK_CATEGORY_STATE {} |
| impl ::core::clone::Clone for NL_INTERFACE_NETWORK_CATEGORY_STATE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NL_INTERFACE_NETWORK_CATEGORY_STATE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NL_INTERFACE_NETWORK_CATEGORY_STATE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NL_INTERFACE_NETWORK_CATEGORY_STATE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NL_INTERFACE_NETWORK_CATEGORY_STATE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NL_LINK_LOCAL_ADDRESS_BEHAVIOR(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LinkLocalAlwaysOff: NL_LINK_LOCAL_ADDRESS_BEHAVIOR = NL_LINK_LOCAL_ADDRESS_BEHAVIOR(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LinkLocalDelayed: NL_LINK_LOCAL_ADDRESS_BEHAVIOR = NL_LINK_LOCAL_ADDRESS_BEHAVIOR(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LinkLocalAlwaysOn: NL_LINK_LOCAL_ADDRESS_BEHAVIOR = NL_LINK_LOCAL_ADDRESS_BEHAVIOR(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const LinkLocalUnchanged: NL_LINK_LOCAL_ADDRESS_BEHAVIOR = NL_LINK_LOCAL_ADDRESS_BEHAVIOR(-1i32); |
| impl ::core::marker::Copy for NL_LINK_LOCAL_ADDRESS_BEHAVIOR {} |
| impl ::core::clone::Clone for NL_LINK_LOCAL_ADDRESS_BEHAVIOR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NL_LINK_LOCAL_ADDRESS_BEHAVIOR { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NL_LINK_LOCAL_ADDRESS_BEHAVIOR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NL_LINK_LOCAL_ADDRESS_BEHAVIOR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NL_LINK_LOCAL_ADDRESS_BEHAVIOR").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NL_NEIGHBOR_STATE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlnsUnreachable: NL_NEIGHBOR_STATE = NL_NEIGHBOR_STATE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlnsIncomplete: NL_NEIGHBOR_STATE = NL_NEIGHBOR_STATE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlnsProbe: NL_NEIGHBOR_STATE = NL_NEIGHBOR_STATE(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlnsDelay: NL_NEIGHBOR_STATE = NL_NEIGHBOR_STATE(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlnsStale: NL_NEIGHBOR_STATE = NL_NEIGHBOR_STATE(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlnsReachable: NL_NEIGHBOR_STATE = NL_NEIGHBOR_STATE(5i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlnsPermanent: NL_NEIGHBOR_STATE = NL_NEIGHBOR_STATE(6i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlnsMaximum: NL_NEIGHBOR_STATE = NL_NEIGHBOR_STATE(7i32); |
| impl ::core::marker::Copy for NL_NEIGHBOR_STATE {} |
| impl ::core::clone::Clone for NL_NEIGHBOR_STATE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NL_NEIGHBOR_STATE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NL_NEIGHBOR_STATE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NL_NEIGHBOR_STATE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NL_NEIGHBOR_STATE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NL_NETWORK_CATEGORY(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NetworkCategoryPublic: NL_NETWORK_CATEGORY = NL_NETWORK_CATEGORY(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NetworkCategoryPrivate: NL_NETWORK_CATEGORY = NL_NETWORK_CATEGORY(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NetworkCategoryDomainAuthenticated: NL_NETWORK_CATEGORY = NL_NETWORK_CATEGORY(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NetworkCategoryUnchanged: NL_NETWORK_CATEGORY = NL_NETWORK_CATEGORY(-1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NetworkCategoryUnknown: NL_NETWORK_CATEGORY = NL_NETWORK_CATEGORY(-1i32); |
| impl ::core::marker::Copy for NL_NETWORK_CATEGORY {} |
| impl ::core::clone::Clone for NL_NETWORK_CATEGORY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NL_NETWORK_CATEGORY { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NL_NETWORK_CATEGORY { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NL_NETWORK_CATEGORY { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NL_NETWORK_CATEGORY").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NL_NETWORK_CONNECTIVITY_COST_HINT(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NetworkConnectivityCostHintUnknown: NL_NETWORK_CONNECTIVITY_COST_HINT = NL_NETWORK_CONNECTIVITY_COST_HINT(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NetworkConnectivityCostHintUnrestricted: NL_NETWORK_CONNECTIVITY_COST_HINT = NL_NETWORK_CONNECTIVITY_COST_HINT(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NetworkConnectivityCostHintFixed: NL_NETWORK_CONNECTIVITY_COST_HINT = NL_NETWORK_CONNECTIVITY_COST_HINT(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NetworkConnectivityCostHintVariable: NL_NETWORK_CONNECTIVITY_COST_HINT = NL_NETWORK_CONNECTIVITY_COST_HINT(3i32); |
| impl ::core::marker::Copy for NL_NETWORK_CONNECTIVITY_COST_HINT {} |
| impl ::core::clone::Clone for NL_NETWORK_CONNECTIVITY_COST_HINT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NL_NETWORK_CONNECTIVITY_COST_HINT { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NL_NETWORK_CONNECTIVITY_COST_HINT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NL_NETWORK_CONNECTIVITY_COST_HINT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NL_NETWORK_CONNECTIVITY_COST_HINT").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NL_NETWORK_CONNECTIVITY_LEVEL_HINT(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NetworkConnectivityLevelHintUnknown: NL_NETWORK_CONNECTIVITY_LEVEL_HINT = NL_NETWORK_CONNECTIVITY_LEVEL_HINT(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NetworkConnectivityLevelHintNone: NL_NETWORK_CONNECTIVITY_LEVEL_HINT = NL_NETWORK_CONNECTIVITY_LEVEL_HINT(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NetworkConnectivityLevelHintLocalAccess: NL_NETWORK_CONNECTIVITY_LEVEL_HINT = NL_NETWORK_CONNECTIVITY_LEVEL_HINT(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NetworkConnectivityLevelHintInternetAccess: NL_NETWORK_CONNECTIVITY_LEVEL_HINT = NL_NETWORK_CONNECTIVITY_LEVEL_HINT(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NetworkConnectivityLevelHintConstrainedInternetAccess: NL_NETWORK_CONNECTIVITY_LEVEL_HINT = NL_NETWORK_CONNECTIVITY_LEVEL_HINT(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NetworkConnectivityLevelHintHidden: NL_NETWORK_CONNECTIVITY_LEVEL_HINT = NL_NETWORK_CONNECTIVITY_LEVEL_HINT(5i32); |
| impl ::core::marker::Copy for NL_NETWORK_CONNECTIVITY_LEVEL_HINT {} |
| impl ::core::clone::Clone for NL_NETWORK_CONNECTIVITY_LEVEL_HINT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NL_NETWORK_CONNECTIVITY_LEVEL_HINT { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NL_NETWORK_CONNECTIVITY_LEVEL_HINT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NL_NETWORK_CONNECTIVITY_LEVEL_HINT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NL_NETWORK_CONNECTIVITY_LEVEL_HINT").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NL_PREFIX_ORIGIN(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpPrefixOriginOther: NL_PREFIX_ORIGIN = NL_PREFIX_ORIGIN(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpPrefixOriginManual: NL_PREFIX_ORIGIN = NL_PREFIX_ORIGIN(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpPrefixOriginWellKnown: NL_PREFIX_ORIGIN = NL_PREFIX_ORIGIN(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpPrefixOriginDhcp: NL_PREFIX_ORIGIN = NL_PREFIX_ORIGIN(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpPrefixOriginRouterAdvertisement: NL_PREFIX_ORIGIN = NL_PREFIX_ORIGIN(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpPrefixOriginUnchanged: NL_PREFIX_ORIGIN = NL_PREFIX_ORIGIN(16i32); |
| impl ::core::marker::Copy for NL_PREFIX_ORIGIN {} |
| impl ::core::clone::Clone for NL_PREFIX_ORIGIN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NL_PREFIX_ORIGIN { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NL_PREFIX_ORIGIN { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NL_PREFIX_ORIGIN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NL_PREFIX_ORIGIN").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NL_ROUTER_DISCOVERY_BEHAVIOR(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouterDiscoveryDisabled: NL_ROUTER_DISCOVERY_BEHAVIOR = NL_ROUTER_DISCOVERY_BEHAVIOR(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouterDiscoveryEnabled: NL_ROUTER_DISCOVERY_BEHAVIOR = NL_ROUTER_DISCOVERY_BEHAVIOR(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouterDiscoveryDhcp: NL_ROUTER_DISCOVERY_BEHAVIOR = NL_ROUTER_DISCOVERY_BEHAVIOR(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouterDiscoveryUnchanged: NL_ROUTER_DISCOVERY_BEHAVIOR = NL_ROUTER_DISCOVERY_BEHAVIOR(-1i32); |
| impl ::core::marker::Copy for NL_ROUTER_DISCOVERY_BEHAVIOR {} |
| impl ::core::clone::Clone for NL_ROUTER_DISCOVERY_BEHAVIOR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NL_ROUTER_DISCOVERY_BEHAVIOR { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NL_ROUTER_DISCOVERY_BEHAVIOR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NL_ROUTER_DISCOVERY_BEHAVIOR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NL_ROUTER_DISCOVERY_BEHAVIOR").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NL_ROUTE_ORIGIN(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlroManual: NL_ROUTE_ORIGIN = NL_ROUTE_ORIGIN(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlroWellKnown: NL_ROUTE_ORIGIN = NL_ROUTE_ORIGIN(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlroDHCP: NL_ROUTE_ORIGIN = NL_ROUTE_ORIGIN(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlroRouterAdvertisement: NL_ROUTE_ORIGIN = NL_ROUTE_ORIGIN(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const Nlro6to4: NL_ROUTE_ORIGIN = NL_ROUTE_ORIGIN(4i32); |
| impl ::core::marker::Copy for NL_ROUTE_ORIGIN {} |
| impl ::core::clone::Clone for NL_ROUTE_ORIGIN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NL_ROUTE_ORIGIN { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NL_ROUTE_ORIGIN { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NL_ROUTE_ORIGIN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NL_ROUTE_ORIGIN").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NL_ROUTE_PROTOCOL(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolOther: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolLocal: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolNetMgmt: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolIcmp: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolEgp: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(5i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolGgp: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(6i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolHello: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(7i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolRip: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(8i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolIsIs: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(9i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolEsIs: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(10i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolCisco: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(11i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolBbn: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(12i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolOspf: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(13i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolBgp: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(14i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolIdpr: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(15i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolEigrp: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(16i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolDvmrp: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(17i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolRpl: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(18i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RouteProtocolDhcp: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(19i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_OTHER: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_OTHER: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_LOCAL: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_LOCAL: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_NETMGMT: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_NETMGMT: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_ICMP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_ICMP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_EGP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(5i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_EGP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(5i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_GGP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(6i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_GGP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(6i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_HELLO: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(7i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_HELLO: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(7i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_RIP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(8i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_RIP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(8i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_IS_IS: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(9i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_IS_IS: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(9i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_ES_IS: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(10i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_ES_IS: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(10i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_CISCO: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(11i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_CISCO: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(11i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_BBN: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(12i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_BBN: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(12i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_OSPF: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(13i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_OSPF: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(13i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_BGP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(14i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_BGP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(14i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_IDPR: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(15i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_IDPR: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(15i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_EIGRP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(16i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_EIGRP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(16i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_DVMRP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(17i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_DVMRP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(17i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_RPL: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(18i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_RPL: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(18i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_DHCP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(19i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_DHCP: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(19i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_NT_AUTOSTATIC: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(10002i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_NT_AUTOSTATIC: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(10002i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_NT_STATIC: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(10006i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_NT_STATIC: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(10006i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIB_IPPROTO_NT_STATIC_NON_DOD: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(10007i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const PROTO_IP_NT_STATIC_NON_DOD: NL_ROUTE_PROTOCOL = NL_ROUTE_PROTOCOL(10007i32); |
| impl ::core::marker::Copy for NL_ROUTE_PROTOCOL {} |
| impl ::core::clone::Clone for NL_ROUTE_PROTOCOL { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NL_ROUTE_PROTOCOL { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NL_ROUTE_PROTOCOL { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NL_ROUTE_PROTOCOL { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NL_ROUTE_PROTOCOL").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NL_SUFFIX_ORIGIN(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlsoOther: NL_SUFFIX_ORIGIN = NL_SUFFIX_ORIGIN(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlsoManual: NL_SUFFIX_ORIGIN = NL_SUFFIX_ORIGIN(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlsoWellKnown: NL_SUFFIX_ORIGIN = NL_SUFFIX_ORIGIN(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlsoDhcp: NL_SUFFIX_ORIGIN = NL_SUFFIX_ORIGIN(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlsoLinkLayerAddress: NL_SUFFIX_ORIGIN = NL_SUFFIX_ORIGIN(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NlsoRandom: NL_SUFFIX_ORIGIN = NL_SUFFIX_ORIGIN(5i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpSuffixOriginOther: NL_SUFFIX_ORIGIN = NL_SUFFIX_ORIGIN(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpSuffixOriginManual: NL_SUFFIX_ORIGIN = NL_SUFFIX_ORIGIN(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpSuffixOriginWellKnown: NL_SUFFIX_ORIGIN = NL_SUFFIX_ORIGIN(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpSuffixOriginDhcp: NL_SUFFIX_ORIGIN = NL_SUFFIX_ORIGIN(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpSuffixOriginLinkLayerAddress: NL_SUFFIX_ORIGIN = NL_SUFFIX_ORIGIN(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpSuffixOriginRandom: NL_SUFFIX_ORIGIN = NL_SUFFIX_ORIGIN(5i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IpSuffixOriginUnchanged: NL_SUFFIX_ORIGIN = NL_SUFFIX_ORIGIN(16i32); |
| impl ::core::marker::Copy for NL_SUFFIX_ORIGIN {} |
| impl ::core::clone::Clone for NL_SUFFIX_ORIGIN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NL_SUFFIX_ORIGIN { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NL_SUFFIX_ORIGIN { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NL_SUFFIX_ORIGIN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NL_SUFFIX_ORIGIN").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NPI_MODULEID_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIT_GUID: NPI_MODULEID_TYPE = NPI_MODULEID_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MIT_IF_LUID: NPI_MODULEID_TYPE = NPI_MODULEID_TYPE(2i32); |
| impl ::core::marker::Copy for NPI_MODULEID_TYPE {} |
| impl ::core::clone::Clone for NPI_MODULEID_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NPI_MODULEID_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NPI_MODULEID_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NPI_MODULEID_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NPI_MODULEID_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PMTUD_STATE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_PMTUDISC_NOT_SET: PMTUD_STATE = PMTUD_STATE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_PMTUDISC_DO: PMTUD_STATE = PMTUD_STATE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_PMTUDISC_DONT: PMTUD_STATE = PMTUD_STATE(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_PMTUDISC_PROBE: PMTUD_STATE = PMTUD_STATE(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IP_PMTUDISC_MAX: PMTUD_STATE = PMTUD_STATE(4i32); |
| impl ::core::marker::Copy for PMTUD_STATE {} |
| impl ::core::clone::Clone for PMTUD_STATE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PMTUD_STATE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for PMTUD_STATE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for PMTUD_STATE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PMTUD_STATE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct Q2931_IE_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IE_AALParameters: Q2931_IE_TYPE = Q2931_IE_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IE_TrafficDescriptor: Q2931_IE_TYPE = Q2931_IE_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IE_BroadbandBearerCapability: Q2931_IE_TYPE = Q2931_IE_TYPE(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IE_BHLI: Q2931_IE_TYPE = Q2931_IE_TYPE(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IE_BLLI: Q2931_IE_TYPE = Q2931_IE_TYPE(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IE_CalledPartyNumber: Q2931_IE_TYPE = Q2931_IE_TYPE(5i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IE_CalledPartySubaddress: Q2931_IE_TYPE = Q2931_IE_TYPE(6i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IE_CallingPartyNumber: Q2931_IE_TYPE = Q2931_IE_TYPE(7i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IE_CallingPartySubaddress: Q2931_IE_TYPE = Q2931_IE_TYPE(8i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IE_Cause: Q2931_IE_TYPE = Q2931_IE_TYPE(9i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IE_QOSClass: Q2931_IE_TYPE = Q2931_IE_TYPE(10i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const IE_TransitNetworkSelection: Q2931_IE_TYPE = Q2931_IE_TYPE(11i32); |
| impl ::core::marker::Copy for Q2931_IE_TYPE {} |
| impl ::core::clone::Clone for Q2931_IE_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for Q2931_IE_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for Q2931_IE_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for Q2931_IE_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("Q2931_IE_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct RCVALL_VALUE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RCVALL_OFF: RCVALL_VALUE = RCVALL_VALUE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RCVALL_ON: RCVALL_VALUE = RCVALL_VALUE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RCVALL_SOCKETLEVELONLY: RCVALL_VALUE = RCVALL_VALUE(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RCVALL_IPLEVEL: RCVALL_VALUE = RCVALL_VALUE(3i32); |
| impl ::core::marker::Copy for RCVALL_VALUE {} |
| impl ::core::clone::Clone for RCVALL_VALUE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for RCVALL_VALUE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for RCVALL_VALUE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for RCVALL_VALUE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("RCVALL_VALUE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct RESOURCE_DISPLAY_TYPE(pub u32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RESOURCEDISPLAYTYPE_DOMAIN: RESOURCE_DISPLAY_TYPE = RESOURCE_DISPLAY_TYPE(1u32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RESOURCEDISPLAYTYPE_FILE: RESOURCE_DISPLAY_TYPE = RESOURCE_DISPLAY_TYPE(4u32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RESOURCEDISPLAYTYPE_GENERIC: RESOURCE_DISPLAY_TYPE = RESOURCE_DISPLAY_TYPE(0u32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RESOURCEDISPLAYTYPE_GROUP: RESOURCE_DISPLAY_TYPE = RESOURCE_DISPLAY_TYPE(5u32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RESOURCEDISPLAYTYPE_SERVER: RESOURCE_DISPLAY_TYPE = RESOURCE_DISPLAY_TYPE(2u32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RESOURCEDISPLAYTYPE_SHARE: RESOURCE_DISPLAY_TYPE = RESOURCE_DISPLAY_TYPE(3u32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RESOURCEDISPLAYTYPE_TREE: RESOURCE_DISPLAY_TYPE = RESOURCE_DISPLAY_TYPE(10u32); |
| impl ::core::marker::Copy for RESOURCE_DISPLAY_TYPE {} |
| impl ::core::clone::Clone for RESOURCE_DISPLAY_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for RESOURCE_DISPLAY_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for RESOURCE_DISPLAY_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for RESOURCE_DISPLAY_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("RESOURCE_DISPLAY_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct RIO_NOTIFICATION_COMPLETION_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RIO_EVENT_COMPLETION: RIO_NOTIFICATION_COMPLETION_TYPE = RIO_NOTIFICATION_COMPLETION_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RIO_IOCP_COMPLETION: RIO_NOTIFICATION_COMPLETION_TYPE = RIO_NOTIFICATION_COMPLETION_TYPE(2i32); |
| impl ::core::marker::Copy for RIO_NOTIFICATION_COMPLETION_TYPE {} |
| impl ::core::clone::Clone for RIO_NOTIFICATION_COMPLETION_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for RIO_NOTIFICATION_COMPLETION_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for RIO_NOTIFICATION_COMPLETION_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for RIO_NOTIFICATION_COMPLETION_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("RIO_NOTIFICATION_COMPLETION_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SCOPE_LEVEL(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ScopeLevelInterface: SCOPE_LEVEL = SCOPE_LEVEL(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ScopeLevelLink: SCOPE_LEVEL = SCOPE_LEVEL(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ScopeLevelSubnet: SCOPE_LEVEL = SCOPE_LEVEL(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ScopeLevelAdmin: SCOPE_LEVEL = SCOPE_LEVEL(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ScopeLevelSite: SCOPE_LEVEL = SCOPE_LEVEL(5i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ScopeLevelOrganization: SCOPE_LEVEL = SCOPE_LEVEL(8i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ScopeLevelGlobal: SCOPE_LEVEL = SCOPE_LEVEL(14i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ScopeLevelCount: SCOPE_LEVEL = SCOPE_LEVEL(16i32); |
| impl ::core::marker::Copy for SCOPE_LEVEL {} |
| impl ::core::clone::Clone for SCOPE_LEVEL { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SCOPE_LEVEL { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for SCOPE_LEVEL { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for SCOPE_LEVEL { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SCOPE_LEVEL").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SEND_RECV_FLAGS(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MSG_OOB: SEND_RECV_FLAGS = SEND_RECV_FLAGS(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MSG_PEEK: SEND_RECV_FLAGS = SEND_RECV_FLAGS(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MSG_DONTROUTE: SEND_RECV_FLAGS = SEND_RECV_FLAGS(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MSG_WAITALL: SEND_RECV_FLAGS = SEND_RECV_FLAGS(8i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const MSG_PUSH_IMMEDIATE: SEND_RECV_FLAGS = SEND_RECV_FLAGS(32i32); |
| impl ::core::marker::Copy for SEND_RECV_FLAGS {} |
| impl ::core::clone::Clone for SEND_RECV_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SEND_RECV_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for SEND_RECV_FLAGS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for SEND_RECV_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SEND_RECV_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl SEND_RECV_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for SEND_RECV_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for SEND_RECV_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for SEND_RECV_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for SEND_RECV_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for SEND_RECV_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SET_SERVICE_OPERATION(pub u32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_REGISTER: SET_SERVICE_OPERATION = SET_SERVICE_OPERATION(1u32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_DEREGISTER: SET_SERVICE_OPERATION = SET_SERVICE_OPERATION(2u32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_FLUSH: SET_SERVICE_OPERATION = SET_SERVICE_OPERATION(3u32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_ADD_TYPE: SET_SERVICE_OPERATION = SET_SERVICE_OPERATION(4u32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SERVICE_DELETE_TYPE: SET_SERVICE_OPERATION = SET_SERVICE_OPERATION(5u32); |
| impl ::core::marker::Copy for SET_SERVICE_OPERATION {} |
| impl ::core::clone::Clone for SET_SERVICE_OPERATION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SET_SERVICE_OPERATION { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for SET_SERVICE_OPERATION { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for SET_SERVICE_OPERATION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SET_SERVICE_OPERATION").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SOCKET_PRIORITY_HINT(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SocketPriorityHintVeryLow: SOCKET_PRIORITY_HINT = SOCKET_PRIORITY_HINT(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SocketPriorityHintLow: SOCKET_PRIORITY_HINT = SOCKET_PRIORITY_HINT(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SocketPriorityHintNormal: SOCKET_PRIORITY_HINT = SOCKET_PRIORITY_HINT(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SocketMaximumPriorityHintType: SOCKET_PRIORITY_HINT = SOCKET_PRIORITY_HINT(3i32); |
| impl ::core::marker::Copy for SOCKET_PRIORITY_HINT {} |
| impl ::core::clone::Clone for SOCKET_PRIORITY_HINT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SOCKET_PRIORITY_HINT { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKET_PRIORITY_HINT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for SOCKET_PRIORITY_HINT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SOCKET_PRIORITY_HINT").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SOCKET_SECURITY_PROTOCOL(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_SECURITY_PROTOCOL_DEFAULT: SOCKET_SECURITY_PROTOCOL = SOCKET_SECURITY_PROTOCOL(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_SECURITY_PROTOCOL_IPSEC: SOCKET_SECURITY_PROTOCOL = SOCKET_SECURITY_PROTOCOL(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_SECURITY_PROTOCOL_IPSEC2: SOCKET_SECURITY_PROTOCOL = SOCKET_SECURITY_PROTOCOL(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SOCKET_SECURITY_PROTOCOL_INVALID: SOCKET_SECURITY_PROTOCOL = SOCKET_SECURITY_PROTOCOL(3i32); |
| impl ::core::marker::Copy for SOCKET_SECURITY_PROTOCOL {} |
| impl ::core::clone::Clone for SOCKET_SECURITY_PROTOCOL { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SOCKET_SECURITY_PROTOCOL { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKET_SECURITY_PROTOCOL { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for SOCKET_SECURITY_PROTOCOL { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SOCKET_SECURITY_PROTOCOL").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SOCKET_USAGE_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const SYSTEM_CRITICAL_SOCKET: SOCKET_USAGE_TYPE = SOCKET_USAGE_TYPE(1i32); |
| impl ::core::marker::Copy for SOCKET_USAGE_TYPE {} |
| impl ::core::clone::Clone for SOCKET_USAGE_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for SOCKET_USAGE_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKET_USAGE_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for SOCKET_USAGE_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SOCKET_USAGE_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct TCPSTATE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCPSTATE_CLOSED: TCPSTATE = TCPSTATE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCPSTATE_LISTEN: TCPSTATE = TCPSTATE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCPSTATE_SYN_SENT: TCPSTATE = TCPSTATE(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCPSTATE_SYN_RCVD: TCPSTATE = TCPSTATE(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCPSTATE_ESTABLISHED: TCPSTATE = TCPSTATE(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCPSTATE_FIN_WAIT_1: TCPSTATE = TCPSTATE(5i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCPSTATE_FIN_WAIT_2: TCPSTATE = TCPSTATE(6i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCPSTATE_CLOSE_WAIT: TCPSTATE = TCPSTATE(7i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCPSTATE_CLOSING: TCPSTATE = TCPSTATE(8i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCPSTATE_LAST_ACK: TCPSTATE = TCPSTATE(9i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCPSTATE_TIME_WAIT: TCPSTATE = TCPSTATE(10i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCPSTATE_MAX: TCPSTATE = TCPSTATE(11i32); |
| impl ::core::marker::Copy for TCPSTATE {} |
| impl ::core::clone::Clone for TCPSTATE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for TCPSTATE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for TCPSTATE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for TCPSTATE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("TCPSTATE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct TCP_ICW_LEVEL(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_ICW_LEVEL_DEFAULT: TCP_ICW_LEVEL = TCP_ICW_LEVEL(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_ICW_LEVEL_HIGH: TCP_ICW_LEVEL = TCP_ICW_LEVEL(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_ICW_LEVEL_VERY_HIGH: TCP_ICW_LEVEL = TCP_ICW_LEVEL(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_ICW_LEVEL_AGGRESSIVE: TCP_ICW_LEVEL = TCP_ICW_LEVEL(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_ICW_LEVEL_EXPERIMENTAL: TCP_ICW_LEVEL = TCP_ICW_LEVEL(4i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_ICW_LEVEL_COMPAT: TCP_ICW_LEVEL = TCP_ICW_LEVEL(254i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TCP_ICW_LEVEL_MAX: TCP_ICW_LEVEL = TCP_ICW_LEVEL(255i32); |
| impl ::core::marker::Copy for TCP_ICW_LEVEL {} |
| impl ::core::clone::Clone for TCP_ICW_LEVEL { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for TCP_ICW_LEVEL { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_ICW_LEVEL { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for TCP_ICW_LEVEL { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("TCP_ICW_LEVEL").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct TUNNEL_SUB_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TUNNEL_SUB_TYPE_NONE: TUNNEL_SUB_TYPE = TUNNEL_SUB_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TUNNEL_SUB_TYPE_CP: TUNNEL_SUB_TYPE = TUNNEL_SUB_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TUNNEL_SUB_TYPE_IPTLS: TUNNEL_SUB_TYPE = TUNNEL_SUB_TYPE(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const TUNNEL_SUB_TYPE_HA: TUNNEL_SUB_TYPE = TUNNEL_SUB_TYPE(3i32); |
| impl ::core::marker::Copy for TUNNEL_SUB_TYPE {} |
| impl ::core::clone::Clone for TUNNEL_SUB_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for TUNNEL_SUB_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for TUNNEL_SUB_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for TUNNEL_SUB_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("TUNNEL_SUB_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct WSACOMPLETIONTYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NSP_NOTIFY_IMMEDIATELY: WSACOMPLETIONTYPE = WSACOMPLETIONTYPE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NSP_NOTIFY_HWND: WSACOMPLETIONTYPE = WSACOMPLETIONTYPE(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NSP_NOTIFY_EVENT: WSACOMPLETIONTYPE = WSACOMPLETIONTYPE(2i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NSP_NOTIFY_PORT: WSACOMPLETIONTYPE = WSACOMPLETIONTYPE(3i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const NSP_NOTIFY_APC: WSACOMPLETIONTYPE = WSACOMPLETIONTYPE(4i32); |
| impl ::core::marker::Copy for WSACOMPLETIONTYPE {} |
| impl ::core::clone::Clone for WSACOMPLETIONTYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for WSACOMPLETIONTYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for WSACOMPLETIONTYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for WSACOMPLETIONTYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("WSACOMPLETIONTYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct WSAECOMPARATOR(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const COMP_EQUAL: WSAECOMPARATOR = WSAECOMPARATOR(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const COMP_NOTLESS: WSAECOMPARATOR = WSAECOMPARATOR(1i32); |
| impl ::core::marker::Copy for WSAECOMPARATOR {} |
| impl ::core::clone::Clone for WSAECOMPARATOR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for WSAECOMPARATOR { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for WSAECOMPARATOR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for WSAECOMPARATOR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("WSAECOMPARATOR").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct WSAESETSERVICEOP(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RNRSERVICE_REGISTER: WSAESETSERVICEOP = WSAESETSERVICEOP(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RNRSERVICE_DEREGISTER: WSAESETSERVICEOP = WSAESETSERVICEOP(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const RNRSERVICE_DELETE: WSAESETSERVICEOP = WSAESETSERVICEOP(2i32); |
| impl ::core::marker::Copy for WSAESETSERVICEOP {} |
| impl ::core::clone::Clone for WSAESETSERVICEOP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for WSAESETSERVICEOP { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for WSAESETSERVICEOP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for WSAESETSERVICEOP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("WSAESETSERVICEOP").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct WSA_COMPATIBILITY_BEHAVIOR_ID(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WsaBehaviorAll: WSA_COMPATIBILITY_BEHAVIOR_ID = WSA_COMPATIBILITY_BEHAVIOR_ID(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WsaBehaviorReceiveBuffering: WSA_COMPATIBILITY_BEHAVIOR_ID = WSA_COMPATIBILITY_BEHAVIOR_ID(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WsaBehaviorAutoTuning: WSA_COMPATIBILITY_BEHAVIOR_ID = WSA_COMPATIBILITY_BEHAVIOR_ID(2i32); |
| impl ::core::marker::Copy for WSA_COMPATIBILITY_BEHAVIOR_ID {} |
| impl ::core::clone::Clone for WSA_COMPATIBILITY_BEHAVIOR_ID { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for WSA_COMPATIBILITY_BEHAVIOR_ID { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for WSA_COMPATIBILITY_BEHAVIOR_ID { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for WSA_COMPATIBILITY_BEHAVIOR_ID { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("WSA_COMPATIBILITY_BEHAVIOR_ID").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct WSA_ERROR(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_IO_PENDING: WSA_ERROR = WSA_ERROR(997i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_IO_INCOMPLETE: WSA_ERROR = WSA_ERROR(996i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_INVALID_HANDLE: WSA_ERROR = WSA_ERROR(6i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_INVALID_PARAMETER: WSA_ERROR = WSA_ERROR(87i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_NOT_ENOUGH_MEMORY: WSA_ERROR = WSA_ERROR(8i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_OPERATION_ABORTED: WSA_ERROR = WSA_ERROR(995i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_WAIT_EVENT_0: WSA_ERROR = WSA_ERROR(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_WAIT_IO_COMPLETION: WSA_ERROR = WSA_ERROR(192i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSABASEERR: WSA_ERROR = WSA_ERROR(10000i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEINTR: WSA_ERROR = WSA_ERROR(10004i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEBADF: WSA_ERROR = WSA_ERROR(10009i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEACCES: WSA_ERROR = WSA_ERROR(10013i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEFAULT: WSA_ERROR = WSA_ERROR(10014i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEINVAL: WSA_ERROR = WSA_ERROR(10022i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEMFILE: WSA_ERROR = WSA_ERROR(10024i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEWOULDBLOCK: WSA_ERROR = WSA_ERROR(10035i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEINPROGRESS: WSA_ERROR = WSA_ERROR(10036i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEALREADY: WSA_ERROR = WSA_ERROR(10037i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAENOTSOCK: WSA_ERROR = WSA_ERROR(10038i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEDESTADDRREQ: WSA_ERROR = WSA_ERROR(10039i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEMSGSIZE: WSA_ERROR = WSA_ERROR(10040i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEPROTOTYPE: WSA_ERROR = WSA_ERROR(10041i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAENOPROTOOPT: WSA_ERROR = WSA_ERROR(10042i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEPROTONOSUPPORT: WSA_ERROR = WSA_ERROR(10043i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAESOCKTNOSUPPORT: WSA_ERROR = WSA_ERROR(10044i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEOPNOTSUPP: WSA_ERROR = WSA_ERROR(10045i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEPFNOSUPPORT: WSA_ERROR = WSA_ERROR(10046i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEAFNOSUPPORT: WSA_ERROR = WSA_ERROR(10047i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEADDRINUSE: WSA_ERROR = WSA_ERROR(10048i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEADDRNOTAVAIL: WSA_ERROR = WSA_ERROR(10049i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAENETDOWN: WSA_ERROR = WSA_ERROR(10050i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAENETUNREACH: WSA_ERROR = WSA_ERROR(10051i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAENETRESET: WSA_ERROR = WSA_ERROR(10052i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAECONNABORTED: WSA_ERROR = WSA_ERROR(10053i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAECONNRESET: WSA_ERROR = WSA_ERROR(10054i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAENOBUFS: WSA_ERROR = WSA_ERROR(10055i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEISCONN: WSA_ERROR = WSA_ERROR(10056i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAENOTCONN: WSA_ERROR = WSA_ERROR(10057i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAESHUTDOWN: WSA_ERROR = WSA_ERROR(10058i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAETOOMANYREFS: WSA_ERROR = WSA_ERROR(10059i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAETIMEDOUT: WSA_ERROR = WSA_ERROR(10060i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAECONNREFUSED: WSA_ERROR = WSA_ERROR(10061i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAELOOP: WSA_ERROR = WSA_ERROR(10062i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAENAMETOOLONG: WSA_ERROR = WSA_ERROR(10063i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEHOSTDOWN: WSA_ERROR = WSA_ERROR(10064i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEHOSTUNREACH: WSA_ERROR = WSA_ERROR(10065i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAENOTEMPTY: WSA_ERROR = WSA_ERROR(10066i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEPROCLIM: WSA_ERROR = WSA_ERROR(10067i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEUSERS: WSA_ERROR = WSA_ERROR(10068i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEDQUOT: WSA_ERROR = WSA_ERROR(10069i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAESTALE: WSA_ERROR = WSA_ERROR(10070i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEREMOTE: WSA_ERROR = WSA_ERROR(10071i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSASYSNOTREADY: WSA_ERROR = WSA_ERROR(10091i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAVERNOTSUPPORTED: WSA_ERROR = WSA_ERROR(10092i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSANOTINITIALISED: WSA_ERROR = WSA_ERROR(10093i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEDISCON: WSA_ERROR = WSA_ERROR(10101i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAENOMORE: WSA_ERROR = WSA_ERROR(10102i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAECANCELLED: WSA_ERROR = WSA_ERROR(10103i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEINVALIDPROCTABLE: WSA_ERROR = WSA_ERROR(10104i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEINVALIDPROVIDER: WSA_ERROR = WSA_ERROR(10105i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEPROVIDERFAILEDINIT: WSA_ERROR = WSA_ERROR(10106i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSASYSCALLFAILURE: WSA_ERROR = WSA_ERROR(10107i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSASERVICE_NOT_FOUND: WSA_ERROR = WSA_ERROR(10108i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSATYPE_NOT_FOUND: WSA_ERROR = WSA_ERROR(10109i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_E_NO_MORE: WSA_ERROR = WSA_ERROR(10110i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_E_CANCELLED: WSA_ERROR = WSA_ERROR(10111i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAEREFUSED: WSA_ERROR = WSA_ERROR(10112i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSAHOST_NOT_FOUND: WSA_ERROR = WSA_ERROR(11001i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSATRY_AGAIN: WSA_ERROR = WSA_ERROR(11002i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSANO_RECOVERY: WSA_ERROR = WSA_ERROR(11003i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSANO_DATA: WSA_ERROR = WSA_ERROR(11004i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_RECEIVERS: WSA_ERROR = WSA_ERROR(11005i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_SENDERS: WSA_ERROR = WSA_ERROR(11006i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_NO_SENDERS: WSA_ERROR = WSA_ERROR(11007i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_NO_RECEIVERS: WSA_ERROR = WSA_ERROR(11008i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_REQUEST_CONFIRMED: WSA_ERROR = WSA_ERROR(11009i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_ADMISSION_FAILURE: WSA_ERROR = WSA_ERROR(11010i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_POLICY_FAILURE: WSA_ERROR = WSA_ERROR(11011i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_BAD_STYLE: WSA_ERROR = WSA_ERROR(11012i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_BAD_OBJECT: WSA_ERROR = WSA_ERROR(11013i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_TRAFFIC_CTRL_ERROR: WSA_ERROR = WSA_ERROR(11014i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_GENERIC_ERROR: WSA_ERROR = WSA_ERROR(11015i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_ESERVICETYPE: WSA_ERROR = WSA_ERROR(11016i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_EFLOWSPEC: WSA_ERROR = WSA_ERROR(11017i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_EPROVSPECBUF: WSA_ERROR = WSA_ERROR(11018i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_EFILTERSTYLE: WSA_ERROR = WSA_ERROR(11019i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_EFILTERTYPE: WSA_ERROR = WSA_ERROR(11020i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_EFILTERCOUNT: WSA_ERROR = WSA_ERROR(11021i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_EOBJLENGTH: WSA_ERROR = WSA_ERROR(11022i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_EFLOWCOUNT: WSA_ERROR = WSA_ERROR(11023i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_EUNKOWNPSOBJ: WSA_ERROR = WSA_ERROR(11024i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_EPOLICYOBJ: WSA_ERROR = WSA_ERROR(11025i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_EFLOWDESC: WSA_ERROR = WSA_ERROR(11026i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_EPSFLOWSPEC: WSA_ERROR = WSA_ERROR(11027i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_EPSFILTERSPEC: WSA_ERROR = WSA_ERROR(11028i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_ESDMODEOBJ: WSA_ERROR = WSA_ERROR(11029i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_ESHAPERATEOBJ: WSA_ERROR = WSA_ERROR(11030i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_QOS_RESERVED_PETYPE: WSA_ERROR = WSA_ERROR(11031i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_SECURE_HOST_NOT_FOUND: WSA_ERROR = WSA_ERROR(11032i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const WSA_IPSEC_NAME_POLICY_ERROR: WSA_ERROR = WSA_ERROR(11033i32); |
| impl ::core::marker::Copy for WSA_ERROR {} |
| impl ::core::clone::Clone for WSA_ERROR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for WSA_ERROR { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for WSA_ERROR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for WSA_ERROR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("WSA_ERROR").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct WSC_PROVIDER_INFO_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ProviderInfoLspCategories: WSC_PROVIDER_INFO_TYPE = WSC_PROVIDER_INFO_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const ProviderInfoAudit: WSC_PROVIDER_INFO_TYPE = WSC_PROVIDER_INFO_TYPE(1i32); |
| impl ::core::marker::Copy for WSC_PROVIDER_INFO_TYPE {} |
| impl ::core::clone::Clone for WSC_PROVIDER_INFO_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for WSC_PROVIDER_INFO_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for WSC_PROVIDER_INFO_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for WSC_PROVIDER_INFO_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("WSC_PROVIDER_INFO_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct eWINDOW_ADVANCE_METHOD(pub i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const E_WINDOW_ADVANCE_BY_TIME: eWINDOW_ADVANCE_METHOD = eWINDOW_ADVANCE_METHOD(1i32); |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub const E_WINDOW_USE_AS_DATA_CACHE: eWINDOW_ADVANCE_METHOD = eWINDOW_ADVANCE_METHOD(2i32); |
| impl ::core::marker::Copy for eWINDOW_ADVANCE_METHOD {} |
| impl ::core::clone::Clone for eWINDOW_ADVANCE_METHOD { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for eWINDOW_ADVANCE_METHOD { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for eWINDOW_ADVANCE_METHOD { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for eWINDOW_ADVANCE_METHOD { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("eWINDOW_ADVANCE_METHOD").field(&self.0).finish() |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct AAL5_PARAMETERS { |
| pub ForwardMaxCPCSSDUSize: u32, |
| pub BackwardMaxCPCSSDUSize: u32, |
| pub Mode: u8, |
| pub SSCSType: u8, |
| } |
| impl ::core::marker::Copy for AAL5_PARAMETERS {} |
| impl ::core::clone::Clone for AAL5_PARAMETERS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for AAL5_PARAMETERS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("AAL5_PARAMETERS").field("ForwardMaxCPCSSDUSize", &self.ForwardMaxCPCSSDUSize).field("BackwardMaxCPCSSDUSize", &self.BackwardMaxCPCSSDUSize).field("Mode", &self.Mode).field("SSCSType", &self.SSCSType).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for AAL5_PARAMETERS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for AAL5_PARAMETERS { |
| fn eq(&self, other: &Self) -> bool { |
| self.ForwardMaxCPCSSDUSize == other.ForwardMaxCPCSSDUSize && self.BackwardMaxCPCSSDUSize == other.BackwardMaxCPCSSDUSize && self.Mode == other.Mode && self.SSCSType == other.SSCSType |
| } |
| } |
| impl ::core::cmp::Eq for AAL5_PARAMETERS {} |
| impl ::core::default::Default for AAL5_PARAMETERS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct AALUSER_PARAMETERS { |
| pub UserDefined: u32, |
| } |
| impl ::core::marker::Copy for AALUSER_PARAMETERS {} |
| impl ::core::clone::Clone for AALUSER_PARAMETERS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for AALUSER_PARAMETERS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("AALUSER_PARAMETERS").field("UserDefined", &self.UserDefined).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for AALUSER_PARAMETERS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for AALUSER_PARAMETERS { |
| fn eq(&self, other: &Self) -> bool { |
| self.UserDefined == other.UserDefined |
| } |
| } |
| impl ::core::cmp::Eq for AALUSER_PARAMETERS {} |
| impl ::core::default::Default for AALUSER_PARAMETERS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct AAL_PARAMETERS_IE { |
| pub AALType: AAL_TYPE, |
| pub AALSpecificParameters: AAL_PARAMETERS_IE_0, |
| } |
| impl ::core::marker::Copy for AAL_PARAMETERS_IE {} |
| impl ::core::clone::Clone for AAL_PARAMETERS_IE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for AAL_PARAMETERS_IE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for AAL_PARAMETERS_IE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union AAL_PARAMETERS_IE_0 { |
| pub AAL5Parameters: AAL5_PARAMETERS, |
| pub AALUserParameters: AALUSER_PARAMETERS, |
| } |
| impl ::core::marker::Copy for AAL_PARAMETERS_IE_0 {} |
| impl ::core::clone::Clone for AAL_PARAMETERS_IE_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for AAL_PARAMETERS_IE_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for AAL_PARAMETERS_IE_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ADDRINFOA { |
| pub ai_flags: i32, |
| pub ai_family: i32, |
| pub ai_socktype: i32, |
| pub ai_protocol: i32, |
| pub ai_addrlen: usize, |
| pub ai_canonname: ::windows::core::PSTR, |
| pub ai_addr: *mut SOCKADDR, |
| pub ai_next: *mut ADDRINFOA, |
| } |
| impl ::core::marker::Copy for ADDRINFOA {} |
| impl ::core::clone::Clone for ADDRINFOA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ADDRINFOA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ADDRINFOA").field("ai_flags", &self.ai_flags).field("ai_family", &self.ai_family).field("ai_socktype", &self.ai_socktype).field("ai_protocol", &self.ai_protocol).field("ai_addrlen", &self.ai_addrlen).field("ai_canonname", &self.ai_canonname).field("ai_addr", &self.ai_addr).field("ai_next", &self.ai_next).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ADDRINFOA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ADDRINFOA { |
| fn eq(&self, other: &Self) -> bool { |
| self.ai_flags == other.ai_flags && self.ai_family == other.ai_family && self.ai_socktype == other.ai_socktype && self.ai_protocol == other.ai_protocol && self.ai_addrlen == other.ai_addrlen && self.ai_canonname == other.ai_canonname && self.ai_addr == other.ai_addr && self.ai_next == other.ai_next |
| } |
| } |
| impl ::core::cmp::Eq for ADDRINFOA {} |
| impl ::core::default::Default for ADDRINFOA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ADDRINFOEX2A { |
| pub ai_flags: i32, |
| pub ai_family: i32, |
| pub ai_socktype: i32, |
| pub ai_protocol: i32, |
| pub ai_addrlen: usize, |
| pub ai_canonname: ::windows::core::PSTR, |
| pub ai_addr: *mut SOCKADDR, |
| pub ai_blob: *mut ::core::ffi::c_void, |
| pub ai_bloblen: usize, |
| pub ai_provider: *mut ::windows::core::GUID, |
| pub ai_next: *mut ADDRINFOEX2A, |
| pub ai_version: i32, |
| pub ai_fqdn: ::windows::core::PSTR, |
| } |
| impl ::core::marker::Copy for ADDRINFOEX2A {} |
| impl ::core::clone::Clone for ADDRINFOEX2A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ADDRINFOEX2A { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ADDRINFOEX2A") |
| .field("ai_flags", &self.ai_flags) |
| .field("ai_family", &self.ai_family) |
| .field("ai_socktype", &self.ai_socktype) |
| .field("ai_protocol", &self.ai_protocol) |
| .field("ai_addrlen", &self.ai_addrlen) |
| .field("ai_canonname", &self.ai_canonname) |
| .field("ai_addr", &self.ai_addr) |
| .field("ai_blob", &self.ai_blob) |
| .field("ai_bloblen", &self.ai_bloblen) |
| .field("ai_provider", &self.ai_provider) |
| .field("ai_next", &self.ai_next) |
| .field("ai_version", &self.ai_version) |
| .field("ai_fqdn", &self.ai_fqdn) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ADDRINFOEX2A { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ADDRINFOEX2A { |
| fn eq(&self, other: &Self) -> bool { |
| self.ai_flags == other.ai_flags && self.ai_family == other.ai_family && self.ai_socktype == other.ai_socktype && self.ai_protocol == other.ai_protocol && self.ai_addrlen == other.ai_addrlen && self.ai_canonname == other.ai_canonname && self.ai_addr == other.ai_addr && self.ai_blob == other.ai_blob && self.ai_bloblen == other.ai_bloblen && self.ai_provider == other.ai_provider && self.ai_next == other.ai_next && self.ai_version == other.ai_version && self.ai_fqdn == other.ai_fqdn |
| } |
| } |
| impl ::core::cmp::Eq for ADDRINFOEX2A {} |
| impl ::core::default::Default for ADDRINFOEX2A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ADDRINFOEX2W { |
| pub ai_flags: i32, |
| pub ai_family: i32, |
| pub ai_socktype: i32, |
| pub ai_protocol: i32, |
| pub ai_addrlen: usize, |
| pub ai_canonname: ::windows::core::PWSTR, |
| pub ai_addr: *mut SOCKADDR, |
| pub ai_blob: *mut ::core::ffi::c_void, |
| pub ai_bloblen: usize, |
| pub ai_provider: *mut ::windows::core::GUID, |
| pub ai_next: *mut ADDRINFOEX2W, |
| pub ai_version: i32, |
| pub ai_fqdn: ::windows::core::PWSTR, |
| } |
| impl ::core::marker::Copy for ADDRINFOEX2W {} |
| impl ::core::clone::Clone for ADDRINFOEX2W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ADDRINFOEX2W { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ADDRINFOEX2W") |
| .field("ai_flags", &self.ai_flags) |
| .field("ai_family", &self.ai_family) |
| .field("ai_socktype", &self.ai_socktype) |
| .field("ai_protocol", &self.ai_protocol) |
| .field("ai_addrlen", &self.ai_addrlen) |
| .field("ai_canonname", &self.ai_canonname) |
| .field("ai_addr", &self.ai_addr) |
| .field("ai_blob", &self.ai_blob) |
| .field("ai_bloblen", &self.ai_bloblen) |
| .field("ai_provider", &self.ai_provider) |
| .field("ai_next", &self.ai_next) |
| .field("ai_version", &self.ai_version) |
| .field("ai_fqdn", &self.ai_fqdn) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ADDRINFOEX2W { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ADDRINFOEX2W { |
| fn eq(&self, other: &Self) -> bool { |
| self.ai_flags == other.ai_flags && self.ai_family == other.ai_family && self.ai_socktype == other.ai_socktype && self.ai_protocol == other.ai_protocol && self.ai_addrlen == other.ai_addrlen && self.ai_canonname == other.ai_canonname && self.ai_addr == other.ai_addr && self.ai_blob == other.ai_blob && self.ai_bloblen == other.ai_bloblen && self.ai_provider == other.ai_provider && self.ai_next == other.ai_next && self.ai_version == other.ai_version && self.ai_fqdn == other.ai_fqdn |
| } |
| } |
| impl ::core::cmp::Eq for ADDRINFOEX2W {} |
| impl ::core::default::Default for ADDRINFOEX2W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ADDRINFOEX3 { |
| pub ai_flags: i32, |
| pub ai_family: i32, |
| pub ai_socktype: i32, |
| pub ai_protocol: i32, |
| pub ai_addrlen: usize, |
| pub ai_canonname: ::windows::core::PWSTR, |
| pub ai_addr: *mut SOCKADDR, |
| pub ai_blob: *mut ::core::ffi::c_void, |
| pub ai_bloblen: usize, |
| pub ai_provider: *mut ::windows::core::GUID, |
| pub ai_next: *mut ADDRINFOEX3, |
| pub ai_version: i32, |
| pub ai_fqdn: ::windows::core::PWSTR, |
| pub ai_interfaceindex: i32, |
| } |
| impl ::core::marker::Copy for ADDRINFOEX3 {} |
| impl ::core::clone::Clone for ADDRINFOEX3 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ADDRINFOEX3 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ADDRINFOEX3") |
| .field("ai_flags", &self.ai_flags) |
| .field("ai_family", &self.ai_family) |
| .field("ai_socktype", &self.ai_socktype) |
| .field("ai_protocol", &self.ai_protocol) |
| .field("ai_addrlen", &self.ai_addrlen) |
| .field("ai_canonname", &self.ai_canonname) |
| .field("ai_addr", &self.ai_addr) |
| .field("ai_blob", &self.ai_blob) |
| .field("ai_bloblen", &self.ai_bloblen) |
| .field("ai_provider", &self.ai_provider) |
| .field("ai_next", &self.ai_next) |
| .field("ai_version", &self.ai_version) |
| .field("ai_fqdn", &self.ai_fqdn) |
| .field("ai_interfaceindex", &self.ai_interfaceindex) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ADDRINFOEX3 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ADDRINFOEX3 { |
| fn eq(&self, other: &Self) -> bool { |
| self.ai_flags == other.ai_flags && self.ai_family == other.ai_family && self.ai_socktype == other.ai_socktype && self.ai_protocol == other.ai_protocol && self.ai_addrlen == other.ai_addrlen && self.ai_canonname == other.ai_canonname && self.ai_addr == other.ai_addr && self.ai_blob == other.ai_blob && self.ai_bloblen == other.ai_bloblen && self.ai_provider == other.ai_provider && self.ai_next == other.ai_next && self.ai_version == other.ai_version && self.ai_fqdn == other.ai_fqdn && self.ai_interfaceindex == other.ai_interfaceindex |
| } |
| } |
| impl ::core::cmp::Eq for ADDRINFOEX3 {} |
| impl ::core::default::Default for ADDRINFOEX3 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct ADDRINFOEX4 { |
| pub ai_flags: i32, |
| pub ai_family: i32, |
| pub ai_socktype: i32, |
| pub ai_protocol: i32, |
| pub ai_addrlen: usize, |
| pub ai_canonname: ::windows::core::PWSTR, |
| pub ai_addr: *mut SOCKADDR, |
| pub ai_blob: *mut ::core::ffi::c_void, |
| pub ai_bloblen: usize, |
| pub ai_provider: *mut ::windows::core::GUID, |
| pub ai_next: *mut ADDRINFOEX4, |
| pub ai_version: i32, |
| pub ai_fqdn: ::windows::core::PWSTR, |
| pub ai_interfaceindex: i32, |
| pub ai_resolutionhandle: super::super::Foundation::HANDLE, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for ADDRINFOEX4 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for ADDRINFOEX4 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for ADDRINFOEX4 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ADDRINFOEX4") |
| .field("ai_flags", &self.ai_flags) |
| .field("ai_family", &self.ai_family) |
| .field("ai_socktype", &self.ai_socktype) |
| .field("ai_protocol", &self.ai_protocol) |
| .field("ai_addrlen", &self.ai_addrlen) |
| .field("ai_canonname", &self.ai_canonname) |
| .field("ai_addr", &self.ai_addr) |
| .field("ai_blob", &self.ai_blob) |
| .field("ai_bloblen", &self.ai_bloblen) |
| .field("ai_provider", &self.ai_provider) |
| .field("ai_next", &self.ai_next) |
| .field("ai_version", &self.ai_version) |
| .field("ai_fqdn", &self.ai_fqdn) |
| .field("ai_interfaceindex", &self.ai_interfaceindex) |
| .field("ai_resolutionhandle", &self.ai_resolutionhandle) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for ADDRINFOEX4 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for ADDRINFOEX4 { |
| fn eq(&self, other: &Self) -> bool { |
| self.ai_flags == other.ai_flags && self.ai_family == other.ai_family && self.ai_socktype == other.ai_socktype && self.ai_protocol == other.ai_protocol && self.ai_addrlen == other.ai_addrlen && self.ai_canonname == other.ai_canonname && self.ai_addr == other.ai_addr && self.ai_blob == other.ai_blob && self.ai_bloblen == other.ai_bloblen && self.ai_provider == other.ai_provider && self.ai_next == other.ai_next && self.ai_version == other.ai_version && self.ai_fqdn == other.ai_fqdn && self.ai_interfaceindex == other.ai_interfaceindex && self.ai_resolutionhandle == other.ai_resolutionhandle |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for ADDRINFOEX4 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for ADDRINFOEX4 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct ADDRINFOEX5 { |
| pub ai_flags: i32, |
| pub ai_family: i32, |
| pub ai_socktype: i32, |
| pub ai_protocol: i32, |
| pub ai_addrlen: usize, |
| pub ai_canonname: ::windows::core::PWSTR, |
| pub ai_addr: *mut SOCKADDR, |
| pub ai_blob: *mut ::core::ffi::c_void, |
| pub ai_bloblen: usize, |
| pub ai_provider: *mut ::windows::core::GUID, |
| pub ai_next: *mut ADDRINFOEX5, |
| pub ai_version: i32, |
| pub ai_fqdn: ::windows::core::PWSTR, |
| pub ai_interfaceindex: i32, |
| pub ai_resolutionhandle: super::super::Foundation::HANDLE, |
| pub ai_ttl: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for ADDRINFOEX5 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for ADDRINFOEX5 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for ADDRINFOEX5 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ADDRINFOEX5") |
| .field("ai_flags", &self.ai_flags) |
| .field("ai_family", &self.ai_family) |
| .field("ai_socktype", &self.ai_socktype) |
| .field("ai_protocol", &self.ai_protocol) |
| .field("ai_addrlen", &self.ai_addrlen) |
| .field("ai_canonname", &self.ai_canonname) |
| .field("ai_addr", &self.ai_addr) |
| .field("ai_blob", &self.ai_blob) |
| .field("ai_bloblen", &self.ai_bloblen) |
| .field("ai_provider", &self.ai_provider) |
| .field("ai_next", &self.ai_next) |
| .field("ai_version", &self.ai_version) |
| .field("ai_fqdn", &self.ai_fqdn) |
| .field("ai_interfaceindex", &self.ai_interfaceindex) |
| .field("ai_resolutionhandle", &self.ai_resolutionhandle) |
| .field("ai_ttl", &self.ai_ttl) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for ADDRINFOEX5 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for ADDRINFOEX5 { |
| fn eq(&self, other: &Self) -> bool { |
| self.ai_flags == other.ai_flags && self.ai_family == other.ai_family && self.ai_socktype == other.ai_socktype && self.ai_protocol == other.ai_protocol && self.ai_addrlen == other.ai_addrlen && self.ai_canonname == other.ai_canonname && self.ai_addr == other.ai_addr && self.ai_blob == other.ai_blob && self.ai_bloblen == other.ai_bloblen && self.ai_provider == other.ai_provider && self.ai_next == other.ai_next && self.ai_version == other.ai_version && self.ai_fqdn == other.ai_fqdn && self.ai_interfaceindex == other.ai_interfaceindex && self.ai_resolutionhandle == other.ai_resolutionhandle && self.ai_ttl == other.ai_ttl |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for ADDRINFOEX5 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for ADDRINFOEX5 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct ADDRINFOEX6 { |
| pub ai_flags: i32, |
| pub ai_family: i32, |
| pub ai_socktype: i32, |
| pub ai_protocol: i32, |
| pub ai_addrlen: usize, |
| pub ai_canonname: ::windows::core::PWSTR, |
| pub ai_addr: *mut SOCKADDR, |
| pub ai_blob: *mut ::core::ffi::c_void, |
| pub ai_bloblen: usize, |
| pub ai_provider: *mut ::windows::core::GUID, |
| pub ai_next: *mut ADDRINFOEX5, |
| pub ai_version: i32, |
| pub ai_fqdn: ::windows::core::PWSTR, |
| pub ai_interfaceindex: i32, |
| pub ai_resolutionhandle: super::super::Foundation::HANDLE, |
| pub ai_ttl: u32, |
| pub ai_numservers: u32, |
| pub ai_servers: *mut ADDRINFO_DNS_SERVER, |
| pub ai_responseflags: u64, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for ADDRINFOEX6 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for ADDRINFOEX6 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for ADDRINFOEX6 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ADDRINFOEX6") |
| .field("ai_flags", &self.ai_flags) |
| .field("ai_family", &self.ai_family) |
| .field("ai_socktype", &self.ai_socktype) |
| .field("ai_protocol", &self.ai_protocol) |
| .field("ai_addrlen", &self.ai_addrlen) |
| .field("ai_canonname", &self.ai_canonname) |
| .field("ai_addr", &self.ai_addr) |
| .field("ai_blob", &self.ai_blob) |
| .field("ai_bloblen", &self.ai_bloblen) |
| .field("ai_provider", &self.ai_provider) |
| .field("ai_next", &self.ai_next) |
| .field("ai_version", &self.ai_version) |
| .field("ai_fqdn", &self.ai_fqdn) |
| .field("ai_interfaceindex", &self.ai_interfaceindex) |
| .field("ai_resolutionhandle", &self.ai_resolutionhandle) |
| .field("ai_ttl", &self.ai_ttl) |
| .field("ai_numservers", &self.ai_numservers) |
| .field("ai_servers", &self.ai_servers) |
| .field("ai_responseflags", &self.ai_responseflags) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for ADDRINFOEX6 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for ADDRINFOEX6 { |
| fn eq(&self, other: &Self) -> bool { |
| self.ai_flags == other.ai_flags && self.ai_family == other.ai_family && self.ai_socktype == other.ai_socktype && self.ai_protocol == other.ai_protocol && self.ai_addrlen == other.ai_addrlen && self.ai_canonname == other.ai_canonname && self.ai_addr == other.ai_addr && self.ai_blob == other.ai_blob && self.ai_bloblen == other.ai_bloblen && self.ai_provider == other.ai_provider && self.ai_next == other.ai_next && self.ai_version == other.ai_version && self.ai_fqdn == other.ai_fqdn && self.ai_interfaceindex == other.ai_interfaceindex && self.ai_resolutionhandle == other.ai_resolutionhandle && self.ai_ttl == other.ai_ttl && self.ai_numservers == other.ai_numservers && self.ai_servers == other.ai_servers && self.ai_responseflags == other.ai_responseflags |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for ADDRINFOEX6 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for ADDRINFOEX6 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ADDRINFOEXA { |
| pub ai_flags: i32, |
| pub ai_family: i32, |
| pub ai_socktype: i32, |
| pub ai_protocol: i32, |
| pub ai_addrlen: usize, |
| pub ai_canonname: ::windows::core::PSTR, |
| pub ai_addr: *mut SOCKADDR, |
| pub ai_blob: *mut ::core::ffi::c_void, |
| pub ai_bloblen: usize, |
| pub ai_provider: *mut ::windows::core::GUID, |
| pub ai_next: *mut ADDRINFOEXA, |
| } |
| impl ::core::marker::Copy for ADDRINFOEXA {} |
| impl ::core::clone::Clone for ADDRINFOEXA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ADDRINFOEXA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ADDRINFOEXA").field("ai_flags", &self.ai_flags).field("ai_family", &self.ai_family).field("ai_socktype", &self.ai_socktype).field("ai_protocol", &self.ai_protocol).field("ai_addrlen", &self.ai_addrlen).field("ai_canonname", &self.ai_canonname).field("ai_addr", &self.ai_addr).field("ai_blob", &self.ai_blob).field("ai_bloblen", &self.ai_bloblen).field("ai_provider", &self.ai_provider).field("ai_next", &self.ai_next).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ADDRINFOEXA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ADDRINFOEXA { |
| fn eq(&self, other: &Self) -> bool { |
| self.ai_flags == other.ai_flags && self.ai_family == other.ai_family && self.ai_socktype == other.ai_socktype && self.ai_protocol == other.ai_protocol && self.ai_addrlen == other.ai_addrlen && self.ai_canonname == other.ai_canonname && self.ai_addr == other.ai_addr && self.ai_blob == other.ai_blob && self.ai_bloblen == other.ai_bloblen && self.ai_provider == other.ai_provider && self.ai_next == other.ai_next |
| } |
| } |
| impl ::core::cmp::Eq for ADDRINFOEXA {} |
| impl ::core::default::Default for ADDRINFOEXA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ADDRINFOEXW { |
| pub ai_flags: i32, |
| pub ai_family: i32, |
| pub ai_socktype: i32, |
| pub ai_protocol: i32, |
| pub ai_addrlen: usize, |
| pub ai_canonname: ::windows::core::PWSTR, |
| pub ai_addr: *mut SOCKADDR, |
| pub ai_blob: *mut ::core::ffi::c_void, |
| pub ai_bloblen: usize, |
| pub ai_provider: *mut ::windows::core::GUID, |
| pub ai_next: *mut ADDRINFOEXW, |
| } |
| impl ::core::marker::Copy for ADDRINFOEXW {} |
| impl ::core::clone::Clone for ADDRINFOEXW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ADDRINFOEXW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ADDRINFOEXW").field("ai_flags", &self.ai_flags).field("ai_family", &self.ai_family).field("ai_socktype", &self.ai_socktype).field("ai_protocol", &self.ai_protocol).field("ai_addrlen", &self.ai_addrlen).field("ai_canonname", &self.ai_canonname).field("ai_addr", &self.ai_addr).field("ai_blob", &self.ai_blob).field("ai_bloblen", &self.ai_bloblen).field("ai_provider", &self.ai_provider).field("ai_next", &self.ai_next).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ADDRINFOEXW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ADDRINFOEXW { |
| fn eq(&self, other: &Self) -> bool { |
| self.ai_flags == other.ai_flags && self.ai_family == other.ai_family && self.ai_socktype == other.ai_socktype && self.ai_protocol == other.ai_protocol && self.ai_addrlen == other.ai_addrlen && self.ai_canonname == other.ai_canonname && self.ai_addr == other.ai_addr && self.ai_blob == other.ai_blob && self.ai_bloblen == other.ai_bloblen && self.ai_provider == other.ai_provider && self.ai_next == other.ai_next |
| } |
| } |
| impl ::core::cmp::Eq for ADDRINFOEXW {} |
| impl ::core::default::Default for ADDRINFOEXW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ADDRINFOW { |
| pub ai_flags: i32, |
| pub ai_family: i32, |
| pub ai_socktype: i32, |
| pub ai_protocol: i32, |
| pub ai_addrlen: usize, |
| pub ai_canonname: ::windows::core::PWSTR, |
| pub ai_addr: *mut SOCKADDR, |
| pub ai_next: *mut ADDRINFOW, |
| } |
| impl ::core::marker::Copy for ADDRINFOW {} |
| impl ::core::clone::Clone for ADDRINFOW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ADDRINFOW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ADDRINFOW").field("ai_flags", &self.ai_flags).field("ai_family", &self.ai_family).field("ai_socktype", &self.ai_socktype).field("ai_protocol", &self.ai_protocol).field("ai_addrlen", &self.ai_addrlen).field("ai_canonname", &self.ai_canonname).field("ai_addr", &self.ai_addr).field("ai_next", &self.ai_next).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ADDRINFOW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ADDRINFOW { |
| fn eq(&self, other: &Self) -> bool { |
| self.ai_flags == other.ai_flags && self.ai_family == other.ai_family && self.ai_socktype == other.ai_socktype && self.ai_protocol == other.ai_protocol && self.ai_addrlen == other.ai_addrlen && self.ai_canonname == other.ai_canonname && self.ai_addr == other.ai_addr && self.ai_next == other.ai_next |
| } |
| } |
| impl ::core::cmp::Eq for ADDRINFOW {} |
| impl ::core::default::Default for ADDRINFOW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ADDRINFO_DNS_SERVER { |
| pub ai_servertype: u32, |
| pub ai_flags: u64, |
| pub ai_addrlen: u32, |
| pub ai_addr: *mut SOCKADDR, |
| pub Anonymous: ADDRINFO_DNS_SERVER_0, |
| } |
| impl ::core::marker::Copy for ADDRINFO_DNS_SERVER {} |
| impl ::core::clone::Clone for ADDRINFO_DNS_SERVER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ADDRINFO_DNS_SERVER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ADDRINFO_DNS_SERVER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union ADDRINFO_DNS_SERVER_0 { |
| pub ai_template: ::windows::core::PWSTR, |
| } |
| impl ::core::marker::Copy for ADDRINFO_DNS_SERVER_0 {} |
| impl ::core::clone::Clone for ADDRINFO_DNS_SERVER_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ADDRINFO_DNS_SERVER_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ADDRINFO_DNS_SERVER_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct AFPROTOCOLS { |
| pub iAddressFamily: i32, |
| pub iProtocol: i32, |
| } |
| impl ::core::marker::Copy for AFPROTOCOLS {} |
| impl ::core::clone::Clone for AFPROTOCOLS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for AFPROTOCOLS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("AFPROTOCOLS").field("iAddressFamily", &self.iAddressFamily).field("iProtocol", &self.iProtocol).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for AFPROTOCOLS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for AFPROTOCOLS { |
| fn eq(&self, other: &Self) -> bool { |
| self.iAddressFamily == other.iAddressFamily && self.iProtocol == other.iProtocol |
| } |
| } |
| impl ::core::cmp::Eq for AFPROTOCOLS {} |
| impl ::core::default::Default for AFPROTOCOLS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ARP_HEADER { |
| pub HardwareAddressSpace: u16, |
| pub ProtocolAddressSpace: u16, |
| pub HardwareAddressLength: u8, |
| pub ProtocolAddressLength: u8, |
| pub Opcode: u16, |
| pub SenderHardwareAddress: [u8; 1], |
| } |
| impl ::core::marker::Copy for ARP_HEADER {} |
| impl ::core::clone::Clone for ARP_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ARP_HEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ARP_HEADER").field("HardwareAddressSpace", &self.HardwareAddressSpace).field("ProtocolAddressSpace", &self.ProtocolAddressSpace).field("HardwareAddressLength", &self.HardwareAddressLength).field("ProtocolAddressLength", &self.ProtocolAddressLength).field("Opcode", &self.Opcode).field("SenderHardwareAddress", &self.SenderHardwareAddress).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ARP_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ARP_HEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.HardwareAddressSpace == other.HardwareAddressSpace && self.ProtocolAddressSpace == other.ProtocolAddressSpace && self.HardwareAddressLength == other.HardwareAddressLength && self.ProtocolAddressLength == other.ProtocolAddressLength && self.Opcode == other.Opcode && self.SenderHardwareAddress == other.SenderHardwareAddress |
| } |
| } |
| impl ::core::cmp::Eq for ARP_HEADER {} |
| impl ::core::default::Default for ARP_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ASSOCIATE_NAMERES_CONTEXT_INPUT { |
| pub TransportSettingId: TRANSPORT_SETTING_ID, |
| pub Handle: u64, |
| } |
| impl ::core::marker::Copy for ASSOCIATE_NAMERES_CONTEXT_INPUT {} |
| impl ::core::clone::Clone for ASSOCIATE_NAMERES_CONTEXT_INPUT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ASSOCIATE_NAMERES_CONTEXT_INPUT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ASSOCIATE_NAMERES_CONTEXT_INPUT").field("TransportSettingId", &self.TransportSettingId).field("Handle", &self.Handle).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ASSOCIATE_NAMERES_CONTEXT_INPUT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ASSOCIATE_NAMERES_CONTEXT_INPUT { |
| fn eq(&self, other: &Self) -> bool { |
| self.TransportSettingId == other.TransportSettingId && self.Handle == other.Handle |
| } |
| } |
| impl ::core::cmp::Eq for ASSOCIATE_NAMERES_CONTEXT_INPUT {} |
| impl ::core::default::Default for ASSOCIATE_NAMERES_CONTEXT_INPUT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ATM_ADDRESS { |
| pub AddressType: u32, |
| pub NumofDigits: u32, |
| pub Addr: [u8; 20], |
| } |
| impl ::core::marker::Copy for ATM_ADDRESS {} |
| impl ::core::clone::Clone for ATM_ADDRESS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ATM_ADDRESS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ATM_ADDRESS").field("AddressType", &self.AddressType).field("NumofDigits", &self.NumofDigits).field("Addr", &self.Addr).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ATM_ADDRESS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ATM_ADDRESS { |
| fn eq(&self, other: &Self) -> bool { |
| self.AddressType == other.AddressType && self.NumofDigits == other.NumofDigits && self.Addr == other.Addr |
| } |
| } |
| impl ::core::cmp::Eq for ATM_ADDRESS {} |
| impl ::core::default::Default for ATM_ADDRESS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ATM_BHLI { |
| pub HighLayerInfoType: u32, |
| pub HighLayerInfoLength: u32, |
| pub HighLayerInfo: [u8; 8], |
| } |
| impl ::core::marker::Copy for ATM_BHLI {} |
| impl ::core::clone::Clone for ATM_BHLI { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ATM_BHLI { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ATM_BHLI").field("HighLayerInfoType", &self.HighLayerInfoType).field("HighLayerInfoLength", &self.HighLayerInfoLength).field("HighLayerInfo", &self.HighLayerInfo).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ATM_BHLI { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ATM_BHLI { |
| fn eq(&self, other: &Self) -> bool { |
| self.HighLayerInfoType == other.HighLayerInfoType && self.HighLayerInfoLength == other.HighLayerInfoLength && self.HighLayerInfo == other.HighLayerInfo |
| } |
| } |
| impl ::core::cmp::Eq for ATM_BHLI {} |
| impl ::core::default::Default for ATM_BHLI { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ATM_BLLI { |
| pub Layer2Protocol: u32, |
| pub Layer2UserSpecifiedProtocol: u32, |
| pub Layer3Protocol: u32, |
| pub Layer3UserSpecifiedProtocol: u32, |
| pub Layer3IPI: u32, |
| pub SnapID: [u8; 5], |
| } |
| impl ::core::marker::Copy for ATM_BLLI {} |
| impl ::core::clone::Clone for ATM_BLLI { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ATM_BLLI { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ATM_BLLI").field("Layer2Protocol", &self.Layer2Protocol).field("Layer2UserSpecifiedProtocol", &self.Layer2UserSpecifiedProtocol).field("Layer3Protocol", &self.Layer3Protocol).field("Layer3UserSpecifiedProtocol", &self.Layer3UserSpecifiedProtocol).field("Layer3IPI", &self.Layer3IPI).field("SnapID", &self.SnapID).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ATM_BLLI { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ATM_BLLI { |
| fn eq(&self, other: &Self) -> bool { |
| self.Layer2Protocol == other.Layer2Protocol && self.Layer2UserSpecifiedProtocol == other.Layer2UserSpecifiedProtocol && self.Layer3Protocol == other.Layer3Protocol && self.Layer3UserSpecifiedProtocol == other.Layer3UserSpecifiedProtocol && self.Layer3IPI == other.Layer3IPI && self.SnapID == other.SnapID |
| } |
| } |
| impl ::core::cmp::Eq for ATM_BLLI {} |
| impl ::core::default::Default for ATM_BLLI { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ATM_BLLI_IE { |
| pub Layer2Protocol: u32, |
| pub Layer2Mode: u8, |
| pub Layer2WindowSize: u8, |
| pub Layer2UserSpecifiedProtocol: u32, |
| pub Layer3Protocol: u32, |
| pub Layer3Mode: u8, |
| pub Layer3DefaultPacketSize: u8, |
| pub Layer3PacketWindowSize: u8, |
| pub Layer3UserSpecifiedProtocol: u32, |
| pub Layer3IPI: u32, |
| pub SnapID: [u8; 5], |
| } |
| impl ::core::marker::Copy for ATM_BLLI_IE {} |
| impl ::core::clone::Clone for ATM_BLLI_IE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ATM_BLLI_IE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ATM_BLLI_IE") |
| .field("Layer2Protocol", &self.Layer2Protocol) |
| .field("Layer2Mode", &self.Layer2Mode) |
| .field("Layer2WindowSize", &self.Layer2WindowSize) |
| .field("Layer2UserSpecifiedProtocol", &self.Layer2UserSpecifiedProtocol) |
| .field("Layer3Protocol", &self.Layer3Protocol) |
| .field("Layer3Mode", &self.Layer3Mode) |
| .field("Layer3DefaultPacketSize", &self.Layer3DefaultPacketSize) |
| .field("Layer3PacketWindowSize", &self.Layer3PacketWindowSize) |
| .field("Layer3UserSpecifiedProtocol", &self.Layer3UserSpecifiedProtocol) |
| .field("Layer3IPI", &self.Layer3IPI) |
| .field("SnapID", &self.SnapID) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ATM_BLLI_IE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ATM_BLLI_IE { |
| fn eq(&self, other: &Self) -> bool { |
| self.Layer2Protocol == other.Layer2Protocol && self.Layer2Mode == other.Layer2Mode && self.Layer2WindowSize == other.Layer2WindowSize && self.Layer2UserSpecifiedProtocol == other.Layer2UserSpecifiedProtocol && self.Layer3Protocol == other.Layer3Protocol && self.Layer3Mode == other.Layer3Mode && self.Layer3DefaultPacketSize == other.Layer3DefaultPacketSize && self.Layer3PacketWindowSize == other.Layer3PacketWindowSize && self.Layer3UserSpecifiedProtocol == other.Layer3UserSpecifiedProtocol && self.Layer3IPI == other.Layer3IPI && self.SnapID == other.SnapID |
| } |
| } |
| impl ::core::cmp::Eq for ATM_BLLI_IE {} |
| impl ::core::default::Default for ATM_BLLI_IE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ATM_BROADBAND_BEARER_CAPABILITY_IE { |
| pub BearerClass: u8, |
| pub TrafficType: u8, |
| pub TimingRequirements: u8, |
| pub ClippingSusceptability: u8, |
| pub UserPlaneConnectionConfig: u8, |
| } |
| impl ::core::marker::Copy for ATM_BROADBAND_BEARER_CAPABILITY_IE {} |
| impl ::core::clone::Clone for ATM_BROADBAND_BEARER_CAPABILITY_IE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ATM_BROADBAND_BEARER_CAPABILITY_IE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ATM_BROADBAND_BEARER_CAPABILITY_IE").field("BearerClass", &self.BearerClass).field("TrafficType", &self.TrafficType).field("TimingRequirements", &self.TimingRequirements).field("ClippingSusceptability", &self.ClippingSusceptability).field("UserPlaneConnectionConfig", &self.UserPlaneConnectionConfig).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ATM_BROADBAND_BEARER_CAPABILITY_IE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ATM_BROADBAND_BEARER_CAPABILITY_IE { |
| fn eq(&self, other: &Self) -> bool { |
| self.BearerClass == other.BearerClass && self.TrafficType == other.TrafficType && self.TimingRequirements == other.TimingRequirements && self.ClippingSusceptability == other.ClippingSusceptability && self.UserPlaneConnectionConfig == other.UserPlaneConnectionConfig |
| } |
| } |
| impl ::core::cmp::Eq for ATM_BROADBAND_BEARER_CAPABILITY_IE {} |
| impl ::core::default::Default for ATM_BROADBAND_BEARER_CAPABILITY_IE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ATM_CALLING_PARTY_NUMBER_IE { |
| pub ATM_Number: ATM_ADDRESS, |
| pub Presentation_Indication: u8, |
| pub Screening_Indicator: u8, |
| } |
| impl ::core::marker::Copy for ATM_CALLING_PARTY_NUMBER_IE {} |
| impl ::core::clone::Clone for ATM_CALLING_PARTY_NUMBER_IE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ATM_CALLING_PARTY_NUMBER_IE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ATM_CALLING_PARTY_NUMBER_IE").field("ATM_Number", &self.ATM_Number).field("Presentation_Indication", &self.Presentation_Indication).field("Screening_Indicator", &self.Screening_Indicator).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ATM_CALLING_PARTY_NUMBER_IE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ATM_CALLING_PARTY_NUMBER_IE { |
| fn eq(&self, other: &Self) -> bool { |
| self.ATM_Number == other.ATM_Number && self.Presentation_Indication == other.Presentation_Indication && self.Screening_Indicator == other.Screening_Indicator |
| } |
| } |
| impl ::core::cmp::Eq for ATM_CALLING_PARTY_NUMBER_IE {} |
| impl ::core::default::Default for ATM_CALLING_PARTY_NUMBER_IE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ATM_CAUSE_IE { |
| pub Location: u8, |
| pub Cause: u8, |
| pub DiagnosticsLength: u8, |
| pub Diagnostics: [u8; 4], |
| } |
| impl ::core::marker::Copy for ATM_CAUSE_IE {} |
| impl ::core::clone::Clone for ATM_CAUSE_IE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ATM_CAUSE_IE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ATM_CAUSE_IE").field("Location", &self.Location).field("Cause", &self.Cause).field("DiagnosticsLength", &self.DiagnosticsLength).field("Diagnostics", &self.Diagnostics).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ATM_CAUSE_IE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ATM_CAUSE_IE { |
| fn eq(&self, other: &Self) -> bool { |
| self.Location == other.Location && self.Cause == other.Cause && self.DiagnosticsLength == other.DiagnosticsLength && self.Diagnostics == other.Diagnostics |
| } |
| } |
| impl ::core::cmp::Eq for ATM_CAUSE_IE {} |
| impl ::core::default::Default for ATM_CAUSE_IE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ATM_CONNECTION_ID { |
| pub DeviceNumber: u32, |
| pub VPI: u32, |
| pub VCI: u32, |
| } |
| impl ::core::marker::Copy for ATM_CONNECTION_ID {} |
| impl ::core::clone::Clone for ATM_CONNECTION_ID { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ATM_CONNECTION_ID { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ATM_CONNECTION_ID").field("DeviceNumber", &self.DeviceNumber).field("VPI", &self.VPI).field("VCI", &self.VCI).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ATM_CONNECTION_ID { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ATM_CONNECTION_ID { |
| fn eq(&self, other: &Self) -> bool { |
| self.DeviceNumber == other.DeviceNumber && self.VPI == other.VPI && self.VCI == other.VCI |
| } |
| } |
| impl ::core::cmp::Eq for ATM_CONNECTION_ID {} |
| impl ::core::default::Default for ATM_CONNECTION_ID { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(4))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ATM_PVC_PARAMS { |
| pub PvcConnectionId: ATM_CONNECTION_ID, |
| pub PvcQos: QOS, |
| } |
| impl ::core::marker::Copy for ATM_PVC_PARAMS {} |
| impl ::core::clone::Clone for ATM_PVC_PARAMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ATM_PVC_PARAMS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ATM_PVC_PARAMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ATM_QOS_CLASS_IE { |
| pub QOSClassForward: u8, |
| pub QOSClassBackward: u8, |
| } |
| impl ::core::marker::Copy for ATM_QOS_CLASS_IE {} |
| impl ::core::clone::Clone for ATM_QOS_CLASS_IE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ATM_QOS_CLASS_IE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ATM_QOS_CLASS_IE").field("QOSClassForward", &self.QOSClassForward).field("QOSClassBackward", &self.QOSClassBackward).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ATM_QOS_CLASS_IE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ATM_QOS_CLASS_IE { |
| fn eq(&self, other: &Self) -> bool { |
| self.QOSClassForward == other.QOSClassForward && self.QOSClassBackward == other.QOSClassBackward |
| } |
| } |
| impl ::core::cmp::Eq for ATM_QOS_CLASS_IE {} |
| impl ::core::default::Default for ATM_QOS_CLASS_IE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct ATM_TD { |
| pub PeakCellRate_CLP0: u32, |
| pub PeakCellRate_CLP01: u32, |
| pub SustainableCellRate_CLP0: u32, |
| pub SustainableCellRate_CLP01: u32, |
| pub MaxBurstSize_CLP0: u32, |
| pub MaxBurstSize_CLP01: u32, |
| pub Tagging: super::super::Foundation::BOOL, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for ATM_TD {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for ATM_TD { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for ATM_TD { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ATM_TD").field("PeakCellRate_CLP0", &self.PeakCellRate_CLP0).field("PeakCellRate_CLP01", &self.PeakCellRate_CLP01).field("SustainableCellRate_CLP0", &self.SustainableCellRate_CLP0).field("SustainableCellRate_CLP01", &self.SustainableCellRate_CLP01).field("MaxBurstSize_CLP0", &self.MaxBurstSize_CLP0).field("MaxBurstSize_CLP01", &self.MaxBurstSize_CLP01).field("Tagging", &self.Tagging).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for ATM_TD { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for ATM_TD { |
| fn eq(&self, other: &Self) -> bool { |
| self.PeakCellRate_CLP0 == other.PeakCellRate_CLP0 && self.PeakCellRate_CLP01 == other.PeakCellRate_CLP01 && self.SustainableCellRate_CLP0 == other.SustainableCellRate_CLP0 && self.SustainableCellRate_CLP01 == other.SustainableCellRate_CLP01 && self.MaxBurstSize_CLP0 == other.MaxBurstSize_CLP0 && self.MaxBurstSize_CLP01 == other.MaxBurstSize_CLP01 && self.Tagging == other.Tagging |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for ATM_TD {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for ATM_TD { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct ATM_TRAFFIC_DESCRIPTOR_IE { |
| pub Forward: ATM_TD, |
| pub Backward: ATM_TD, |
| pub BestEffort: super::super::Foundation::BOOL, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for ATM_TRAFFIC_DESCRIPTOR_IE {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for ATM_TRAFFIC_DESCRIPTOR_IE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for ATM_TRAFFIC_DESCRIPTOR_IE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ATM_TRAFFIC_DESCRIPTOR_IE").field("Forward", &self.Forward).field("Backward", &self.Backward).field("BestEffort", &self.BestEffort).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for ATM_TRAFFIC_DESCRIPTOR_IE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for ATM_TRAFFIC_DESCRIPTOR_IE { |
| fn eq(&self, other: &Self) -> bool { |
| self.Forward == other.Forward && self.Backward == other.Backward && self.BestEffort == other.BestEffort |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for ATM_TRAFFIC_DESCRIPTOR_IE {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for ATM_TRAFFIC_DESCRIPTOR_IE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ATM_TRANSIT_NETWORK_SELECTION_IE { |
| pub TypeOfNetworkId: u8, |
| pub NetworkIdPlan: u8, |
| pub NetworkIdLength: u8, |
| pub NetworkId: [u8; 1], |
| } |
| impl ::core::marker::Copy for ATM_TRANSIT_NETWORK_SELECTION_IE {} |
| impl ::core::clone::Clone for ATM_TRANSIT_NETWORK_SELECTION_IE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ATM_TRANSIT_NETWORK_SELECTION_IE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ATM_TRANSIT_NETWORK_SELECTION_IE").field("TypeOfNetworkId", &self.TypeOfNetworkId).field("NetworkIdPlan", &self.NetworkIdPlan).field("NetworkIdLength", &self.NetworkIdLength).field("NetworkId", &self.NetworkId).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ATM_TRANSIT_NETWORK_SELECTION_IE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ATM_TRANSIT_NETWORK_SELECTION_IE { |
| fn eq(&self, other: &Self) -> bool { |
| self.TypeOfNetworkId == other.TypeOfNetworkId && self.NetworkIdPlan == other.NetworkIdPlan && self.NetworkIdLength == other.NetworkIdLength && self.NetworkId == other.NetworkId |
| } |
| } |
| impl ::core::cmp::Eq for ATM_TRANSIT_NETWORK_SELECTION_IE {} |
| impl ::core::default::Default for ATM_TRANSIT_NETWORK_SELECTION_IE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct CMSGHDR { |
| pub cmsg_len: usize, |
| pub cmsg_level: i32, |
| pub cmsg_type: i32, |
| } |
| impl ::core::marker::Copy for CMSGHDR {} |
| impl ::core::clone::Clone for CMSGHDR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for CMSGHDR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("CMSGHDR").field("cmsg_len", &self.cmsg_len).field("cmsg_level", &self.cmsg_level).field("cmsg_type", &self.cmsg_type).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for CMSGHDR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for CMSGHDR { |
| fn eq(&self, other: &Self) -> bool { |
| self.cmsg_len == other.cmsg_len && self.cmsg_level == other.cmsg_level && self.cmsg_type == other.cmsg_type |
| } |
| } |
| impl ::core::cmp::Eq for CMSGHDR {} |
| impl ::core::default::Default for CMSGHDR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct CSADDR_INFO { |
| pub LocalAddr: SOCKET_ADDRESS, |
| pub RemoteAddr: SOCKET_ADDRESS, |
| pub iSocketType: i32, |
| pub iProtocol: i32, |
| } |
| impl ::core::marker::Copy for CSADDR_INFO {} |
| impl ::core::clone::Clone for CSADDR_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for CSADDR_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("CSADDR_INFO").field("LocalAddr", &self.LocalAddr).field("RemoteAddr", &self.RemoteAddr).field("iSocketType", &self.iSocketType).field("iProtocol", &self.iProtocol).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for CSADDR_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for CSADDR_INFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.LocalAddr == other.LocalAddr && self.RemoteAddr == other.RemoteAddr && self.iSocketType == other.iSocketType && self.iProtocol == other.iProtocol |
| } |
| } |
| impl ::core::cmp::Eq for CSADDR_INFO {} |
| impl ::core::default::Default for CSADDR_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union DL_EI48 { |
| pub Byte: [u8; 3], |
| } |
| impl ::core::marker::Copy for DL_EI48 {} |
| impl ::core::clone::Clone for DL_EI48 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DL_EI48 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DL_EI48 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union DL_EI64 { |
| pub Byte: [u8; 5], |
| } |
| impl ::core::marker::Copy for DL_EI64 {} |
| impl ::core::clone::Clone for DL_EI64 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DL_EI64 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DL_EI64 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union DL_EUI48 { |
| pub Byte: [u8; 6], |
| pub Anonymous: DL_EUI48_0, |
| } |
| impl ::core::marker::Copy for DL_EUI48 {} |
| impl ::core::clone::Clone for DL_EUI48 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DL_EUI48 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DL_EUI48 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct DL_EUI48_0 { |
| pub Oui: DL_OUI, |
| pub Ei48: DL_EI48, |
| } |
| impl ::core::marker::Copy for DL_EUI48_0 {} |
| impl ::core::clone::Clone for DL_EUI48_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DL_EUI48_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DL_EUI48_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union DL_EUI64 { |
| pub Byte: [u8; 8], |
| pub Value: u64, |
| pub Anonymous: DL_EUI64_0, |
| } |
| impl ::core::marker::Copy for DL_EUI64 {} |
| impl ::core::clone::Clone for DL_EUI64 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DL_EUI64 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DL_EUI64 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct DL_EUI64_0 { |
| pub Oui: DL_OUI, |
| pub Anonymous: DL_EUI64_0_0, |
| } |
| impl ::core::marker::Copy for DL_EUI64_0 {} |
| impl ::core::clone::Clone for DL_EUI64_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DL_EUI64_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DL_EUI64_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union DL_EUI64_0_0 { |
| pub Ei64: DL_EI64, |
| pub Anonymous: DL_EUI64_0_0_0, |
| } |
| impl ::core::marker::Copy for DL_EUI64_0_0 {} |
| impl ::core::clone::Clone for DL_EUI64_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DL_EUI64_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DL_EUI64_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct DL_EUI64_0_0_0 { |
| pub Type: u8, |
| pub Tse: u8, |
| pub Ei48: DL_EI48, |
| } |
| impl ::core::marker::Copy for DL_EUI64_0_0_0 {} |
| impl ::core::clone::Clone for DL_EUI64_0_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DL_EUI64_0_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DL_EUI64_0_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union DL_OUI { |
| pub Byte: [u8; 3], |
| pub Anonymous: DL_OUI_0, |
| } |
| impl ::core::marker::Copy for DL_OUI {} |
| impl ::core::clone::Clone for DL_OUI { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DL_OUI { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DL_OUI { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct DL_OUI_0 { |
| pub _bitfield: u8, |
| } |
| impl ::core::marker::Copy for DL_OUI_0 {} |
| impl ::core::clone::Clone for DL_OUI_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for DL_OUI_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DL_OUI_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for DL_OUI_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for DL_OUI_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for DL_OUI_0 {} |
| impl ::core::default::Default for DL_OUI_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct DL_TEREDO_ADDRESS { |
| pub Reserved: [u8; 6], |
| pub Anonymous: DL_TEREDO_ADDRESS_0, |
| } |
| impl ::core::marker::Copy for DL_TEREDO_ADDRESS {} |
| impl ::core::clone::Clone for DL_TEREDO_ADDRESS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DL_TEREDO_ADDRESS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DL_TEREDO_ADDRESS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union DL_TEREDO_ADDRESS_0 { |
| pub Eui64: DL_EUI64, |
| pub Anonymous: DL_TEREDO_ADDRESS_0_0, |
| } |
| impl ::core::marker::Copy for DL_TEREDO_ADDRESS_0 {} |
| impl ::core::clone::Clone for DL_TEREDO_ADDRESS_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DL_TEREDO_ADDRESS_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DL_TEREDO_ADDRESS_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct DL_TEREDO_ADDRESS_0_0 { |
| pub Flags: u16, |
| pub MappedPort: u16, |
| pub MappedAddress: IN_ADDR, |
| } |
| impl ::core::marker::Copy for DL_TEREDO_ADDRESS_0_0 {} |
| impl ::core::clone::Clone for DL_TEREDO_ADDRESS_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DL_TEREDO_ADDRESS_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DL_TEREDO_ADDRESS_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct DL_TEREDO_ADDRESS_PRV { |
| pub Reserved: [u8; 6], |
| pub Anonymous: DL_TEREDO_ADDRESS_PRV_0, |
| } |
| impl ::core::marker::Copy for DL_TEREDO_ADDRESS_PRV {} |
| impl ::core::clone::Clone for DL_TEREDO_ADDRESS_PRV { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DL_TEREDO_ADDRESS_PRV { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DL_TEREDO_ADDRESS_PRV { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union DL_TEREDO_ADDRESS_PRV_0 { |
| pub Eui64: DL_EUI64, |
| pub Anonymous: DL_TEREDO_ADDRESS_PRV_0_0, |
| } |
| impl ::core::marker::Copy for DL_TEREDO_ADDRESS_PRV_0 {} |
| impl ::core::clone::Clone for DL_TEREDO_ADDRESS_PRV_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DL_TEREDO_ADDRESS_PRV_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DL_TEREDO_ADDRESS_PRV_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct DL_TEREDO_ADDRESS_PRV_0_0 { |
| pub Flags: u16, |
| pub MappedPort: u16, |
| pub MappedAddress: IN_ADDR, |
| pub LocalAddress: IN_ADDR, |
| pub InterfaceIndex: u32, |
| pub LocalPort: u16, |
| pub DlDestination: DL_EUI48, |
| } |
| impl ::core::marker::Copy for DL_TEREDO_ADDRESS_PRV_0_0 {} |
| impl ::core::clone::Clone for DL_TEREDO_ADDRESS_PRV_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DL_TEREDO_ADDRESS_PRV_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DL_TEREDO_ADDRESS_PRV_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Kernel\"`*"] |
| #[cfg(feature = "Win32_System_Kernel")] |
| pub struct DL_TUNNEL_ADDRESS { |
| pub CompartmentId: super::super::System::Kernel::COMPARTMENT_ID, |
| pub ScopeId: SCOPE_ID, |
| pub IpAddress: [u8; 1], |
| } |
| #[cfg(feature = "Win32_System_Kernel")] |
| impl ::core::marker::Copy for DL_TUNNEL_ADDRESS {} |
| #[cfg(feature = "Win32_System_Kernel")] |
| impl ::core::clone::Clone for DL_TUNNEL_ADDRESS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_System_Kernel")] |
| impl ::windows::core::TypeKind for DL_TUNNEL_ADDRESS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_System_Kernel")] |
| impl ::core::default::Default for DL_TUNNEL_ADDRESS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ETHERNET_HEADER { |
| pub Destination: DL_EUI48, |
| pub Source: DL_EUI48, |
| pub Anonymous: ETHERNET_HEADER_0, |
| } |
| impl ::core::marker::Copy for ETHERNET_HEADER {} |
| impl ::core::clone::Clone for ETHERNET_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ETHERNET_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ETHERNET_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union ETHERNET_HEADER_0 { |
| pub Type: u16, |
| pub Length: u16, |
| } |
| impl ::core::marker::Copy for ETHERNET_HEADER_0 {} |
| impl ::core::clone::Clone for ETHERNET_HEADER_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ETHERNET_HEADER_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ETHERNET_HEADER_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct FD_SET { |
| pub fd_count: u32, |
| pub fd_array: [SOCKET; 64], |
| } |
| impl ::core::marker::Copy for FD_SET {} |
| impl ::core::clone::Clone for FD_SET { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for FD_SET { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("FD_SET").field("fd_count", &self.fd_count).field("fd_array", &self.fd_array).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for FD_SET { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for FD_SET { |
| fn eq(&self, other: &Self) -> bool { |
| self.fd_count == other.fd_count && self.fd_array == other.fd_array |
| } |
| } |
| impl ::core::cmp::Eq for FD_SET {} |
| impl ::core::default::Default for FD_SET { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct FLOWSPEC { |
| pub TokenRate: u32, |
| pub TokenBucketSize: u32, |
| pub PeakBandwidth: u32, |
| pub Latency: u32, |
| pub DelayVariation: u32, |
| pub ServiceType: u32, |
| pub MaxSduSize: u32, |
| pub MinimumPolicedSize: u32, |
| } |
| impl ::core::marker::Copy for FLOWSPEC {} |
| impl ::core::clone::Clone for FLOWSPEC { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for FLOWSPEC { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("FLOWSPEC").field("TokenRate", &self.TokenRate).field("TokenBucketSize", &self.TokenBucketSize).field("PeakBandwidth", &self.PeakBandwidth).field("Latency", &self.Latency).field("DelayVariation", &self.DelayVariation).field("ServiceType", &self.ServiceType).field("MaxSduSize", &self.MaxSduSize).field("MinimumPolicedSize", &self.MinimumPolicedSize).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for FLOWSPEC { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for FLOWSPEC { |
| fn eq(&self, other: &Self) -> bool { |
| self.TokenRate == other.TokenRate && self.TokenBucketSize == other.TokenBucketSize && self.PeakBandwidth == other.PeakBandwidth && self.Latency == other.Latency && self.DelayVariation == other.DelayVariation && self.ServiceType == other.ServiceType && self.MaxSduSize == other.MaxSduSize && self.MinimumPolicedSize == other.MinimumPolicedSize |
| } |
| } |
| impl ::core::cmp::Eq for FLOWSPEC {} |
| impl ::core::default::Default for FLOWSPEC { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct GROUP_FILTER { |
| pub gf_interface: u32, |
| pub gf_group: SOCKADDR_STORAGE, |
| pub gf_fmode: MULTICAST_MODE_TYPE, |
| pub gf_numsrc: u32, |
| pub gf_slist: [SOCKADDR_STORAGE; 1], |
| } |
| impl ::core::marker::Copy for GROUP_FILTER {} |
| impl ::core::clone::Clone for GROUP_FILTER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for GROUP_FILTER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("GROUP_FILTER").field("gf_interface", &self.gf_interface).field("gf_group", &self.gf_group).field("gf_fmode", &self.gf_fmode).field("gf_numsrc", &self.gf_numsrc).field("gf_slist", &self.gf_slist).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for GROUP_FILTER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for GROUP_FILTER { |
| fn eq(&self, other: &Self) -> bool { |
| self.gf_interface == other.gf_interface && self.gf_group == other.gf_group && self.gf_fmode == other.gf_fmode && self.gf_numsrc == other.gf_numsrc && self.gf_slist == other.gf_slist |
| } |
| } |
| impl ::core::cmp::Eq for GROUP_FILTER {} |
| impl ::core::default::Default for GROUP_FILTER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct GROUP_REQ { |
| pub gr_interface: u32, |
| pub gr_group: SOCKADDR_STORAGE, |
| } |
| impl ::core::marker::Copy for GROUP_REQ {} |
| impl ::core::clone::Clone for GROUP_REQ { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for GROUP_REQ { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("GROUP_REQ").field("gr_interface", &self.gr_interface).field("gr_group", &self.gr_group).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for GROUP_REQ { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for GROUP_REQ { |
| fn eq(&self, other: &Self) -> bool { |
| self.gr_interface == other.gr_interface && self.gr_group == other.gr_group |
| } |
| } |
| impl ::core::cmp::Eq for GROUP_REQ {} |
| impl ::core::default::Default for GROUP_REQ { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct GROUP_SOURCE_REQ { |
| pub gsr_interface: u32, |
| pub gsr_group: SOCKADDR_STORAGE, |
| pub gsr_source: SOCKADDR_STORAGE, |
| } |
| impl ::core::marker::Copy for GROUP_SOURCE_REQ {} |
| impl ::core::clone::Clone for GROUP_SOURCE_REQ { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for GROUP_SOURCE_REQ { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("GROUP_SOURCE_REQ").field("gsr_interface", &self.gsr_interface).field("gsr_group", &self.gsr_group).field("gsr_source", &self.gsr_source).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for GROUP_SOURCE_REQ { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for GROUP_SOURCE_REQ { |
| fn eq(&self, other: &Self) -> bool { |
| self.gsr_interface == other.gsr_interface && self.gsr_group == other.gsr_group && self.gsr_source == other.gsr_source |
| } |
| } |
| impl ::core::cmp::Eq for GROUP_SOURCE_REQ {} |
| impl ::core::default::Default for GROUP_SOURCE_REQ { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct HOSTENT { |
| pub h_name: ::windows::core::PSTR, |
| pub h_aliases: *mut *mut i8, |
| pub h_addrtype: i16, |
| pub h_length: i16, |
| pub h_addr_list: *mut *mut i8, |
| } |
| impl ::core::marker::Copy for HOSTENT {} |
| impl ::core::clone::Clone for HOSTENT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for HOSTENT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("HOSTENT").field("h_name", &self.h_name).field("h_aliases", &self.h_aliases).field("h_addrtype", &self.h_addrtype).field("h_length", &self.h_length).field("h_addr_list", &self.h_addr_list).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for HOSTENT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for HOSTENT { |
| fn eq(&self, other: &Self) -> bool { |
| self.h_name == other.h_name && self.h_aliases == other.h_aliases && self.h_addrtype == other.h_addrtype && self.h_length == other.h_length && self.h_addr_list == other.h_addr_list |
| } |
| } |
| impl ::core::cmp::Eq for HOSTENT {} |
| impl ::core::default::Default for HOSTENT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HWSAEVENT(pub isize); |
| impl HWSAEVENT { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for HWSAEVENT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for HWSAEVENT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for HWSAEVENT {} |
| impl ::core::fmt::Debug for HWSAEVENT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HWSAEVENT").field(&self.0).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for HWSAEVENT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ICMPV4_ADDRESS_MASK_MESSAGE { |
| pub Header: ICMP_MESSAGE, |
| pub AddressMask: u32, |
| } |
| impl ::core::marker::Copy for ICMPV4_ADDRESS_MASK_MESSAGE {} |
| impl ::core::clone::Clone for ICMPV4_ADDRESS_MASK_MESSAGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ICMPV4_ADDRESS_MASK_MESSAGE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ICMPV4_ADDRESS_MASK_MESSAGE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ICMPV4_ROUTER_ADVERT_ENTRY { |
| pub RouterAdvertAddr: IN_ADDR, |
| pub PreferenceLevel: i32, |
| } |
| impl ::core::marker::Copy for ICMPV4_ROUTER_ADVERT_ENTRY {} |
| impl ::core::clone::Clone for ICMPV4_ROUTER_ADVERT_ENTRY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ICMPV4_ROUTER_ADVERT_ENTRY { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ICMPV4_ROUTER_ADVERT_ENTRY { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ICMPV4_ROUTER_ADVERT_HEADER { |
| pub RaHeader: ICMP_MESSAGE, |
| } |
| impl ::core::marker::Copy for ICMPV4_ROUTER_ADVERT_HEADER {} |
| impl ::core::clone::Clone for ICMPV4_ROUTER_ADVERT_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ICMPV4_ROUTER_ADVERT_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ICMPV4_ROUTER_ADVERT_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ICMPV4_ROUTER_SOLICIT { |
| pub RsHeader: ICMP_MESSAGE, |
| } |
| impl ::core::marker::Copy for ICMPV4_ROUTER_SOLICIT {} |
| impl ::core::clone::Clone for ICMPV4_ROUTER_SOLICIT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ICMPV4_ROUTER_SOLICIT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ICMPV4_ROUTER_SOLICIT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ICMPV4_TIMESTAMP_MESSAGE { |
| pub Header: ICMP_MESSAGE, |
| pub OriginateTimestamp: u32, |
| pub ReceiveTimestamp: u32, |
| pub TransmitTimestamp: u32, |
| } |
| impl ::core::marker::Copy for ICMPV4_TIMESTAMP_MESSAGE {} |
| impl ::core::clone::Clone for ICMPV4_TIMESTAMP_MESSAGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ICMPV4_TIMESTAMP_MESSAGE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ICMPV4_TIMESTAMP_MESSAGE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ICMP_ERROR_INFO { |
| pub srcaddress: SOCKADDR_INET, |
| pub protocol: IPPROTO, |
| pub r#type: u8, |
| pub code: u8, |
| } |
| impl ::core::marker::Copy for ICMP_ERROR_INFO {} |
| impl ::core::clone::Clone for ICMP_ERROR_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ICMP_ERROR_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ICMP_ERROR_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ICMP_HEADER { |
| pub Type: u8, |
| pub Code: u8, |
| pub Checksum: u16, |
| } |
| impl ::core::marker::Copy for ICMP_HEADER {} |
| impl ::core::clone::Clone for ICMP_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ICMP_HEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ICMP_HEADER").field("Type", &self.Type).field("Code", &self.Code).field("Checksum", &self.Checksum).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ICMP_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ICMP_HEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.Type == other.Type && self.Code == other.Code && self.Checksum == other.Checksum |
| } |
| } |
| impl ::core::cmp::Eq for ICMP_HEADER {} |
| impl ::core::default::Default for ICMP_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ICMP_MESSAGE { |
| pub Header: ICMP_HEADER, |
| pub Data: ICMP_MESSAGE_0, |
| } |
| impl ::core::marker::Copy for ICMP_MESSAGE {} |
| impl ::core::clone::Clone for ICMP_MESSAGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ICMP_MESSAGE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ICMP_MESSAGE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union ICMP_MESSAGE_0 { |
| pub Data32: [u32; 1], |
| pub Data16: [u16; 2], |
| pub Data8: [u8; 4], |
| } |
| impl ::core::marker::Copy for ICMP_MESSAGE_0 {} |
| impl ::core::clone::Clone for ICMP_MESSAGE_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ICMP_MESSAGE_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ICMP_MESSAGE_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IGMPV3_QUERY_HEADER { |
| pub Type: u8, |
| pub Anonymous1: IGMPV3_QUERY_HEADER_0, |
| pub Checksum: u16, |
| pub MulticastAddress: IN_ADDR, |
| pub _bitfield: u8, |
| pub Anonymous2: IGMPV3_QUERY_HEADER_1, |
| pub SourceCount: u16, |
| } |
| impl ::core::marker::Copy for IGMPV3_QUERY_HEADER {} |
| impl ::core::clone::Clone for IGMPV3_QUERY_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IGMPV3_QUERY_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IGMPV3_QUERY_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union IGMPV3_QUERY_HEADER_0 { |
| pub MaxRespCode: u8, |
| pub Anonymous: IGMPV3_QUERY_HEADER_0_0, |
| } |
| impl ::core::marker::Copy for IGMPV3_QUERY_HEADER_0 {} |
| impl ::core::clone::Clone for IGMPV3_QUERY_HEADER_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IGMPV3_QUERY_HEADER_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IGMPV3_QUERY_HEADER_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IGMPV3_QUERY_HEADER_0_0 { |
| pub _bitfield: u8, |
| } |
| impl ::core::marker::Copy for IGMPV3_QUERY_HEADER_0_0 {} |
| impl ::core::clone::Clone for IGMPV3_QUERY_HEADER_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IGMPV3_QUERY_HEADER_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IGMPV3_QUERY_HEADER_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IGMPV3_QUERY_HEADER_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IGMPV3_QUERY_HEADER_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for IGMPV3_QUERY_HEADER_0_0 {} |
| impl ::core::default::Default for IGMPV3_QUERY_HEADER_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union IGMPV3_QUERY_HEADER_1 { |
| pub QueriersQueryInterfaceCode: u8, |
| pub Anonymous: IGMPV3_QUERY_HEADER_1_0, |
| } |
| impl ::core::marker::Copy for IGMPV3_QUERY_HEADER_1 {} |
| impl ::core::clone::Clone for IGMPV3_QUERY_HEADER_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IGMPV3_QUERY_HEADER_1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IGMPV3_QUERY_HEADER_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IGMPV3_QUERY_HEADER_1_0 { |
| pub _bitfield: u8, |
| } |
| impl ::core::marker::Copy for IGMPV3_QUERY_HEADER_1_0 {} |
| impl ::core::clone::Clone for IGMPV3_QUERY_HEADER_1_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IGMPV3_QUERY_HEADER_1_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IGMPV3_QUERY_HEADER_1_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IGMPV3_QUERY_HEADER_1_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IGMPV3_QUERY_HEADER_1_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for IGMPV3_QUERY_HEADER_1_0 {} |
| impl ::core::default::Default for IGMPV3_QUERY_HEADER_1_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IGMPV3_REPORT_HEADER { |
| pub Type: u8, |
| pub Reserved: u8, |
| pub Checksum: u16, |
| pub Reserved2: u16, |
| pub RecordCount: u16, |
| } |
| impl ::core::marker::Copy for IGMPV3_REPORT_HEADER {} |
| impl ::core::clone::Clone for IGMPV3_REPORT_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IGMPV3_REPORT_HEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IGMPV3_REPORT_HEADER").field("Type", &self.Type).field("Reserved", &self.Reserved).field("Checksum", &self.Checksum).field("Reserved2", &self.Reserved2).field("RecordCount", &self.RecordCount).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IGMPV3_REPORT_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IGMPV3_REPORT_HEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.Type == other.Type && self.Reserved == other.Reserved && self.Checksum == other.Checksum && self.Reserved2 == other.Reserved2 && self.RecordCount == other.RecordCount |
| } |
| } |
| impl ::core::cmp::Eq for IGMPV3_REPORT_HEADER {} |
| impl ::core::default::Default for IGMPV3_REPORT_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IGMPV3_REPORT_RECORD_HEADER { |
| pub Type: u8, |
| pub AuxillaryDataLength: u8, |
| pub SourceCount: u16, |
| pub MulticastAddress: IN_ADDR, |
| } |
| impl ::core::marker::Copy for IGMPV3_REPORT_RECORD_HEADER {} |
| impl ::core::clone::Clone for IGMPV3_REPORT_RECORD_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IGMPV3_REPORT_RECORD_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IGMPV3_REPORT_RECORD_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IGMP_HEADER { |
| pub Anonymous1: IGMP_HEADER_0, |
| pub Anonymous2: IGMP_HEADER_1, |
| pub Checksum: u16, |
| pub MulticastAddress: IN_ADDR, |
| } |
| impl ::core::marker::Copy for IGMP_HEADER {} |
| impl ::core::clone::Clone for IGMP_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IGMP_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IGMP_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union IGMP_HEADER_0 { |
| pub Anonymous: IGMP_HEADER_0_0, |
| pub VersionType: u8, |
| } |
| impl ::core::marker::Copy for IGMP_HEADER_0 {} |
| impl ::core::clone::Clone for IGMP_HEADER_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IGMP_HEADER_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IGMP_HEADER_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IGMP_HEADER_0_0 { |
| pub _bitfield: u8, |
| } |
| impl ::core::marker::Copy for IGMP_HEADER_0_0 {} |
| impl ::core::clone::Clone for IGMP_HEADER_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IGMP_HEADER_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IGMP_HEADER_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IGMP_HEADER_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IGMP_HEADER_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for IGMP_HEADER_0_0 {} |
| impl ::core::default::Default for IGMP_HEADER_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union IGMP_HEADER_1 { |
| pub Reserved: u8, |
| pub MaxRespTime: u8, |
| pub Code: u8, |
| } |
| impl ::core::marker::Copy for IGMP_HEADER_1 {} |
| impl ::core::clone::Clone for IGMP_HEADER_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IGMP_HEADER_1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IGMP_HEADER_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IN6_ADDR { |
| pub u: IN6_ADDR_0, |
| } |
| impl ::core::marker::Copy for IN6_ADDR {} |
| impl ::core::clone::Clone for IN6_ADDR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IN6_ADDR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IN6_ADDR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union IN6_ADDR_0 { |
| pub Byte: [u8; 16], |
| pub Word: [u16; 8], |
| } |
| impl ::core::marker::Copy for IN6_ADDR_0 {} |
| impl ::core::clone::Clone for IN6_ADDR_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IN6_ADDR_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IN6_ADDR_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IN6_PKTINFO { |
| pub ipi6_addr: IN6_ADDR, |
| pub ipi6_ifindex: u32, |
| } |
| impl ::core::marker::Copy for IN6_PKTINFO {} |
| impl ::core::clone::Clone for IN6_PKTINFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IN6_PKTINFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IN6_PKTINFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IN6_PKTINFO_EX { |
| pub pkt_info: IN6_PKTINFO, |
| pub scope_id: SCOPE_ID, |
| } |
| impl ::core::marker::Copy for IN6_PKTINFO_EX {} |
| impl ::core::clone::Clone for IN6_PKTINFO_EX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IN6_PKTINFO_EX { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IN6_PKTINFO_EX { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct INET_PORT_RANGE { |
| pub StartPort: u16, |
| pub NumberOfPorts: u16, |
| } |
| impl ::core::marker::Copy for INET_PORT_RANGE {} |
| impl ::core::clone::Clone for INET_PORT_RANGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for INET_PORT_RANGE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("INET_PORT_RANGE").field("StartPort", &self.StartPort).field("NumberOfPorts", &self.NumberOfPorts).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for INET_PORT_RANGE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for INET_PORT_RANGE { |
| fn eq(&self, other: &Self) -> bool { |
| self.StartPort == other.StartPort && self.NumberOfPorts == other.NumberOfPorts |
| } |
| } |
| impl ::core::cmp::Eq for INET_PORT_RANGE {} |
| impl ::core::default::Default for INET_PORT_RANGE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct INET_PORT_RESERVATION_INFORMATION { |
| pub OwningPid: u32, |
| } |
| impl ::core::marker::Copy for INET_PORT_RESERVATION_INFORMATION {} |
| impl ::core::clone::Clone for INET_PORT_RESERVATION_INFORMATION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for INET_PORT_RESERVATION_INFORMATION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("INET_PORT_RESERVATION_INFORMATION").field("OwningPid", &self.OwningPid).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for INET_PORT_RESERVATION_INFORMATION { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for INET_PORT_RESERVATION_INFORMATION { |
| fn eq(&self, other: &Self) -> bool { |
| self.OwningPid == other.OwningPid |
| } |
| } |
| impl ::core::cmp::Eq for INET_PORT_RESERVATION_INFORMATION {} |
| impl ::core::default::Default for INET_PORT_RESERVATION_INFORMATION { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct INET_PORT_RESERVATION_INSTANCE { |
| pub Reservation: INET_PORT_RANGE, |
| pub Token: INET_PORT_RESERVATION_TOKEN, |
| } |
| impl ::core::marker::Copy for INET_PORT_RESERVATION_INSTANCE {} |
| impl ::core::clone::Clone for INET_PORT_RESERVATION_INSTANCE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for INET_PORT_RESERVATION_INSTANCE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("INET_PORT_RESERVATION_INSTANCE").field("Reservation", &self.Reservation).field("Token", &self.Token).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for INET_PORT_RESERVATION_INSTANCE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for INET_PORT_RESERVATION_INSTANCE { |
| fn eq(&self, other: &Self) -> bool { |
| self.Reservation == other.Reservation && self.Token == other.Token |
| } |
| } |
| impl ::core::cmp::Eq for INET_PORT_RESERVATION_INSTANCE {} |
| impl ::core::default::Default for INET_PORT_RESERVATION_INSTANCE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct INET_PORT_RESERVATION_TOKEN { |
| pub Token: u64, |
| } |
| impl ::core::marker::Copy for INET_PORT_RESERVATION_TOKEN {} |
| impl ::core::clone::Clone for INET_PORT_RESERVATION_TOKEN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for INET_PORT_RESERVATION_TOKEN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("INET_PORT_RESERVATION_TOKEN").field("Token", &self.Token).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for INET_PORT_RESERVATION_TOKEN { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for INET_PORT_RESERVATION_TOKEN { |
| fn eq(&self, other: &Self) -> bool { |
| self.Token == other.Token |
| } |
| } |
| impl ::core::cmp::Eq for INET_PORT_RESERVATION_TOKEN {} |
| impl ::core::default::Default for INET_PORT_RESERVATION_TOKEN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct INTERFACE_INFO { |
| pub iiFlags: u32, |
| pub iiAddress: sockaddr_gen, |
| pub iiBroadcastAddress: sockaddr_gen, |
| pub iiNetmask: sockaddr_gen, |
| } |
| impl ::core::marker::Copy for INTERFACE_INFO {} |
| impl ::core::clone::Clone for INTERFACE_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for INTERFACE_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for INTERFACE_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct INTERFACE_INFO_EX { |
| pub iiFlags: u32, |
| pub iiAddress: SOCKET_ADDRESS, |
| pub iiBroadcastAddress: SOCKET_ADDRESS, |
| pub iiNetmask: SOCKET_ADDRESS, |
| } |
| impl ::core::marker::Copy for INTERFACE_INFO_EX {} |
| impl ::core::clone::Clone for INTERFACE_INFO_EX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for INTERFACE_INFO_EX { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("INTERFACE_INFO_EX").field("iiFlags", &self.iiFlags).field("iiAddress", &self.iiAddress).field("iiBroadcastAddress", &self.iiBroadcastAddress).field("iiNetmask", &self.iiNetmask).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for INTERFACE_INFO_EX { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for INTERFACE_INFO_EX { |
| fn eq(&self, other: &Self) -> bool { |
| self.iiFlags == other.iiFlags && self.iiAddress == other.iiAddress && self.iiBroadcastAddress == other.iiBroadcastAddress && self.iiNetmask == other.iiNetmask |
| } |
| } |
| impl ::core::cmp::Eq for INTERFACE_INFO_EX {} |
| impl ::core::default::Default for INTERFACE_INFO_EX { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IN_ADDR { |
| pub S_un: IN_ADDR_0, |
| } |
| impl ::core::marker::Copy for IN_ADDR {} |
| impl ::core::clone::Clone for IN_ADDR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IN_ADDR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IN_ADDR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union IN_ADDR_0 { |
| pub S_un_b: IN_ADDR_0_0, |
| pub S_un_w: IN_ADDR_0_1, |
| pub S_addr: u32, |
| } |
| impl ::core::marker::Copy for IN_ADDR_0 {} |
| impl ::core::clone::Clone for IN_ADDR_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IN_ADDR_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IN_ADDR_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IN_ADDR_0_0 { |
| pub s_b1: u8, |
| pub s_b2: u8, |
| pub s_b3: u8, |
| pub s_b4: u8, |
| } |
| impl ::core::marker::Copy for IN_ADDR_0_0 {} |
| impl ::core::clone::Clone for IN_ADDR_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IN_ADDR_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IN_ADDR_0_0").field("s_b1", &self.s_b1).field("s_b2", &self.s_b2).field("s_b3", &self.s_b3).field("s_b4", &self.s_b4).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IN_ADDR_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IN_ADDR_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.s_b1 == other.s_b1 && self.s_b2 == other.s_b2 && self.s_b3 == other.s_b3 && self.s_b4 == other.s_b4 |
| } |
| } |
| impl ::core::cmp::Eq for IN_ADDR_0_0 {} |
| impl ::core::default::Default for IN_ADDR_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IN_ADDR_0_1 { |
| pub s_w1: u16, |
| pub s_w2: u16, |
| } |
| impl ::core::marker::Copy for IN_ADDR_0_1 {} |
| impl ::core::clone::Clone for IN_ADDR_0_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IN_ADDR_0_1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IN_ADDR_0_1").field("s_w1", &self.s_w1).field("s_w2", &self.s_w2).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IN_ADDR_0_1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IN_ADDR_0_1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.s_w1 == other.s_w1 && self.s_w2 == other.s_w2 |
| } |
| } |
| impl ::core::cmp::Eq for IN_ADDR_0_1 {} |
| impl ::core::default::Default for IN_ADDR_0_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IN_PKTINFO { |
| pub ipi_addr: IN_ADDR, |
| pub ipi_ifindex: u32, |
| } |
| impl ::core::marker::Copy for IN_PKTINFO {} |
| impl ::core::clone::Clone for IN_PKTINFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IN_PKTINFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IN_PKTINFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IN_PKTINFO_EX { |
| pub pkt_info: IN_PKTINFO, |
| pub scope_id: SCOPE_ID, |
| } |
| impl ::core::marker::Copy for IN_PKTINFO_EX {} |
| impl ::core::clone::Clone for IN_PKTINFO_EX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IN_PKTINFO_EX { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IN_PKTINFO_EX { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IN_RECVERR { |
| pub protocol: IPPROTO, |
| pub info: u32, |
| pub r#type: u8, |
| pub code: u8, |
| } |
| impl ::core::marker::Copy for IN_RECVERR {} |
| impl ::core::clone::Clone for IN_RECVERR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IN_RECVERR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IN_RECVERR").field("protocol", &self.protocol).field("info", &self.info).field("type", &self.r#type).field("code", &self.code).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IN_RECVERR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IN_RECVERR { |
| fn eq(&self, other: &Self) -> bool { |
| self.protocol == other.protocol && self.info == other.info && self.r#type == other.r#type && self.code == other.code |
| } |
| } |
| impl ::core::cmp::Eq for IN_RECVERR {} |
| impl ::core::default::Default for IN_RECVERR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPTLS_METADATA { |
| pub SequenceNumber: u64, |
| } |
| impl ::core::marker::Copy for IPTLS_METADATA {} |
| impl ::core::clone::Clone for IPTLS_METADATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPTLS_METADATA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPTLS_METADATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV4_HEADER { |
| pub Anonymous1: IPV4_HEADER_0, |
| pub Anonymous2: IPV4_HEADER_1, |
| pub TotalLength: u16, |
| pub Identification: u16, |
| pub Anonymous3: IPV4_HEADER_2, |
| pub TimeToLive: u8, |
| pub Protocol: u8, |
| pub HeaderChecksum: u16, |
| pub SourceAddress: IN_ADDR, |
| pub DestinationAddress: IN_ADDR, |
| } |
| impl ::core::marker::Copy for IPV4_HEADER {} |
| impl ::core::clone::Clone for IPV4_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV4_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV4_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union IPV4_HEADER_0 { |
| pub VersionAndHeaderLength: u8, |
| pub Anonymous: IPV4_HEADER_0_0, |
| } |
| impl ::core::marker::Copy for IPV4_HEADER_0 {} |
| impl ::core::clone::Clone for IPV4_HEADER_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV4_HEADER_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV4_HEADER_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV4_HEADER_0_0 { |
| pub _bitfield: u8, |
| } |
| impl ::core::marker::Copy for IPV4_HEADER_0_0 {} |
| impl ::core::clone::Clone for IPV4_HEADER_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPV4_HEADER_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPV4_HEADER_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPV4_HEADER_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPV4_HEADER_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for IPV4_HEADER_0_0 {} |
| impl ::core::default::Default for IPV4_HEADER_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union IPV4_HEADER_1 { |
| pub TypeOfServiceAndEcnField: u8, |
| pub Anonymous: IPV4_HEADER_1_0, |
| } |
| impl ::core::marker::Copy for IPV4_HEADER_1 {} |
| impl ::core::clone::Clone for IPV4_HEADER_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV4_HEADER_1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV4_HEADER_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV4_HEADER_1_0 { |
| pub _bitfield: u8, |
| } |
| impl ::core::marker::Copy for IPV4_HEADER_1_0 {} |
| impl ::core::clone::Clone for IPV4_HEADER_1_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPV4_HEADER_1_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPV4_HEADER_1_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPV4_HEADER_1_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPV4_HEADER_1_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for IPV4_HEADER_1_0 {} |
| impl ::core::default::Default for IPV4_HEADER_1_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union IPV4_HEADER_2 { |
| pub FlagsAndOffset: u16, |
| pub Anonymous: IPV4_HEADER_2_0, |
| } |
| impl ::core::marker::Copy for IPV4_HEADER_2 {} |
| impl ::core::clone::Clone for IPV4_HEADER_2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV4_HEADER_2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV4_HEADER_2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV4_HEADER_2_0 { |
| pub _bitfield: u16, |
| } |
| impl ::core::marker::Copy for IPV4_HEADER_2_0 {} |
| impl ::core::clone::Clone for IPV4_HEADER_2_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPV4_HEADER_2_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPV4_HEADER_2_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPV4_HEADER_2_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPV4_HEADER_2_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for IPV4_HEADER_2_0 {} |
| impl ::core::default::Default for IPV4_HEADER_2_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV4_OPTION_HEADER { |
| pub Anonymous: IPV4_OPTION_HEADER_0, |
| pub OptionLength: u8, |
| } |
| impl ::core::marker::Copy for IPV4_OPTION_HEADER {} |
| impl ::core::clone::Clone for IPV4_OPTION_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV4_OPTION_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV4_OPTION_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union IPV4_OPTION_HEADER_0 { |
| pub OptionType: u8, |
| pub Anonymous: IPV4_OPTION_HEADER_0_0, |
| } |
| impl ::core::marker::Copy for IPV4_OPTION_HEADER_0 {} |
| impl ::core::clone::Clone for IPV4_OPTION_HEADER_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV4_OPTION_HEADER_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV4_OPTION_HEADER_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV4_OPTION_HEADER_0_0 { |
| pub _bitfield: u8, |
| } |
| impl ::core::marker::Copy for IPV4_OPTION_HEADER_0_0 {} |
| impl ::core::clone::Clone for IPV4_OPTION_HEADER_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPV4_OPTION_HEADER_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPV4_OPTION_HEADER_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPV4_OPTION_HEADER_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPV4_OPTION_HEADER_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for IPV4_OPTION_HEADER_0_0 {} |
| impl ::core::default::Default for IPV4_OPTION_HEADER_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV4_ROUTING_HEADER { |
| pub OptionHeader: IPV4_OPTION_HEADER, |
| pub Pointer: u8, |
| } |
| impl ::core::marker::Copy for IPV4_ROUTING_HEADER {} |
| impl ::core::clone::Clone for IPV4_ROUTING_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV4_ROUTING_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV4_ROUTING_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV4_TIMESTAMP_OPTION { |
| pub OptionHeader: IPV4_OPTION_HEADER, |
| pub Pointer: u8, |
| pub Anonymous: IPV4_TIMESTAMP_OPTION_0, |
| } |
| impl ::core::marker::Copy for IPV4_TIMESTAMP_OPTION {} |
| impl ::core::clone::Clone for IPV4_TIMESTAMP_OPTION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV4_TIMESTAMP_OPTION { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV4_TIMESTAMP_OPTION { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union IPV4_TIMESTAMP_OPTION_0 { |
| pub FlagsOverflow: u8, |
| pub Anonymous: IPV4_TIMESTAMP_OPTION_0_0, |
| } |
| impl ::core::marker::Copy for IPV4_TIMESTAMP_OPTION_0 {} |
| impl ::core::clone::Clone for IPV4_TIMESTAMP_OPTION_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV4_TIMESTAMP_OPTION_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV4_TIMESTAMP_OPTION_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV4_TIMESTAMP_OPTION_0_0 { |
| pub _bitfield: u8, |
| } |
| impl ::core::marker::Copy for IPV4_TIMESTAMP_OPTION_0_0 {} |
| impl ::core::clone::Clone for IPV4_TIMESTAMP_OPTION_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPV4_TIMESTAMP_OPTION_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPV4_TIMESTAMP_OPTION_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPV4_TIMESTAMP_OPTION_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPV4_TIMESTAMP_OPTION_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for IPV4_TIMESTAMP_OPTION_0_0 {} |
| impl ::core::default::Default for IPV4_TIMESTAMP_OPTION_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV6_EXTENSION_HEADER { |
| pub NextHeader: u8, |
| pub Length: u8, |
| } |
| impl ::core::marker::Copy for IPV6_EXTENSION_HEADER {} |
| impl ::core::clone::Clone for IPV6_EXTENSION_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPV6_EXTENSION_HEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPV6_EXTENSION_HEADER").field("NextHeader", &self.NextHeader).field("Length", &self.Length).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_EXTENSION_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPV6_EXTENSION_HEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.NextHeader == other.NextHeader && self.Length == other.Length |
| } |
| } |
| impl ::core::cmp::Eq for IPV6_EXTENSION_HEADER {} |
| impl ::core::default::Default for IPV6_EXTENSION_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV6_FRAGMENT_HEADER { |
| pub NextHeader: u8, |
| pub Reserved: u8, |
| pub Anonymous: IPV6_FRAGMENT_HEADER_0, |
| pub Id: u32, |
| } |
| impl ::core::marker::Copy for IPV6_FRAGMENT_HEADER {} |
| impl ::core::clone::Clone for IPV6_FRAGMENT_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_FRAGMENT_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV6_FRAGMENT_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union IPV6_FRAGMENT_HEADER_0 { |
| pub Anonymous: IPV6_FRAGMENT_HEADER_0_0, |
| pub OffsetAndFlags: u16, |
| } |
| impl ::core::marker::Copy for IPV6_FRAGMENT_HEADER_0 {} |
| impl ::core::clone::Clone for IPV6_FRAGMENT_HEADER_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_FRAGMENT_HEADER_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV6_FRAGMENT_HEADER_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV6_FRAGMENT_HEADER_0_0 { |
| pub _bitfield: u16, |
| } |
| impl ::core::marker::Copy for IPV6_FRAGMENT_HEADER_0_0 {} |
| impl ::core::clone::Clone for IPV6_FRAGMENT_HEADER_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPV6_FRAGMENT_HEADER_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPV6_FRAGMENT_HEADER_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_FRAGMENT_HEADER_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPV6_FRAGMENT_HEADER_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for IPV6_FRAGMENT_HEADER_0_0 {} |
| impl ::core::default::Default for IPV6_FRAGMENT_HEADER_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV6_HEADER { |
| pub Anonymous: IPV6_HEADER_0, |
| pub PayloadLength: u16, |
| pub NextHeader: u8, |
| pub HopLimit: u8, |
| pub SourceAddress: IN6_ADDR, |
| pub DestinationAddress: IN6_ADDR, |
| } |
| impl ::core::marker::Copy for IPV6_HEADER {} |
| impl ::core::clone::Clone for IPV6_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV6_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union IPV6_HEADER_0 { |
| pub VersionClassFlow: u32, |
| pub Anonymous: IPV6_HEADER_0_0, |
| } |
| impl ::core::marker::Copy for IPV6_HEADER_0 {} |
| impl ::core::clone::Clone for IPV6_HEADER_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_HEADER_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV6_HEADER_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV6_HEADER_0_0 { |
| pub _bitfield: u32, |
| } |
| impl ::core::marker::Copy for IPV6_HEADER_0_0 {} |
| impl ::core::clone::Clone for IPV6_HEADER_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPV6_HEADER_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPV6_HEADER_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_HEADER_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPV6_HEADER_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for IPV6_HEADER_0_0 {} |
| impl ::core::default::Default for IPV6_HEADER_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV6_MREQ { |
| pub ipv6mr_multiaddr: IN6_ADDR, |
| pub ipv6mr_interface: u32, |
| } |
| impl ::core::marker::Copy for IPV6_MREQ {} |
| impl ::core::clone::Clone for IPV6_MREQ { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_MREQ { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV6_MREQ { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS { |
| pub Anonymous: IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS_0, |
| pub Value: u32, |
| } |
| impl ::core::marker::Copy for IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS {} |
| impl ::core::clone::Clone for IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS_0 { |
| pub _bitfield: u8, |
| pub Reserved2: [u8; 3], |
| } |
| impl ::core::marker::Copy for IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS_0 {} |
| impl ::core::clone::Clone for IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS_0").field("_bitfield", &self._bitfield).field("Reserved2", &self.Reserved2).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield && self.Reserved2 == other.Reserved2 |
| } |
| } |
| impl ::core::cmp::Eq for IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS_0 {} |
| impl ::core::default::Default for IPV6_NEIGHBOR_ADVERTISEMENT_FLAGS_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV6_OPTION_HEADER { |
| pub Type: u8, |
| pub DataLength: u8, |
| } |
| impl ::core::marker::Copy for IPV6_OPTION_HEADER {} |
| impl ::core::clone::Clone for IPV6_OPTION_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPV6_OPTION_HEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPV6_OPTION_HEADER").field("Type", &self.Type).field("DataLength", &self.DataLength).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_OPTION_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPV6_OPTION_HEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.Type == other.Type && self.DataLength == other.DataLength |
| } |
| } |
| impl ::core::cmp::Eq for IPV6_OPTION_HEADER {} |
| impl ::core::default::Default for IPV6_OPTION_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV6_OPTION_JUMBOGRAM { |
| pub Header: IPV6_OPTION_HEADER, |
| pub JumbogramLength: [u8; 4], |
| } |
| impl ::core::marker::Copy for IPV6_OPTION_JUMBOGRAM {} |
| impl ::core::clone::Clone for IPV6_OPTION_JUMBOGRAM { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPV6_OPTION_JUMBOGRAM { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPV6_OPTION_JUMBOGRAM").field("Header", &self.Header).field("JumbogramLength", &self.JumbogramLength).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_OPTION_JUMBOGRAM { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPV6_OPTION_JUMBOGRAM { |
| fn eq(&self, other: &Self) -> bool { |
| self.Header == other.Header && self.JumbogramLength == other.JumbogramLength |
| } |
| } |
| impl ::core::cmp::Eq for IPV6_OPTION_JUMBOGRAM {} |
| impl ::core::default::Default for IPV6_OPTION_JUMBOGRAM { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV6_OPTION_ROUTER_ALERT { |
| pub Header: IPV6_OPTION_HEADER, |
| pub Value: [u8; 2], |
| } |
| impl ::core::marker::Copy for IPV6_OPTION_ROUTER_ALERT {} |
| impl ::core::clone::Clone for IPV6_OPTION_ROUTER_ALERT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPV6_OPTION_ROUTER_ALERT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPV6_OPTION_ROUTER_ALERT").field("Header", &self.Header).field("Value", &self.Value).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_OPTION_ROUTER_ALERT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPV6_OPTION_ROUTER_ALERT { |
| fn eq(&self, other: &Self) -> bool { |
| self.Header == other.Header && self.Value == other.Value |
| } |
| } |
| impl ::core::cmp::Eq for IPV6_OPTION_ROUTER_ALERT {} |
| impl ::core::default::Default for IPV6_OPTION_ROUTER_ALERT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union IPV6_ROUTER_ADVERTISEMENT_FLAGS { |
| pub Anonymous: IPV6_ROUTER_ADVERTISEMENT_FLAGS_0, |
| pub Value: u8, |
| } |
| impl ::core::marker::Copy for IPV6_ROUTER_ADVERTISEMENT_FLAGS {} |
| impl ::core::clone::Clone for IPV6_ROUTER_ADVERTISEMENT_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_ROUTER_ADVERTISEMENT_FLAGS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV6_ROUTER_ADVERTISEMENT_FLAGS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV6_ROUTER_ADVERTISEMENT_FLAGS_0 { |
| pub _bitfield: u8, |
| } |
| impl ::core::marker::Copy for IPV6_ROUTER_ADVERTISEMENT_FLAGS_0 {} |
| impl ::core::clone::Clone for IPV6_ROUTER_ADVERTISEMENT_FLAGS_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPV6_ROUTER_ADVERTISEMENT_FLAGS_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPV6_ROUTER_ADVERTISEMENT_FLAGS_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_ROUTER_ADVERTISEMENT_FLAGS_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPV6_ROUTER_ADVERTISEMENT_FLAGS_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for IPV6_ROUTER_ADVERTISEMENT_FLAGS_0 {} |
| impl ::core::default::Default for IPV6_ROUTER_ADVERTISEMENT_FLAGS_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPV6_ROUTING_HEADER { |
| pub NextHeader: u8, |
| pub Length: u8, |
| pub RoutingType: u8, |
| pub SegmentsLeft: u8, |
| pub Reserved: [u8; 4], |
| } |
| impl ::core::marker::Copy for IPV6_ROUTING_HEADER {} |
| impl ::core::clone::Clone for IPV6_ROUTING_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPV6_ROUTING_HEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPV6_ROUTING_HEADER").field("NextHeader", &self.NextHeader).field("Length", &self.Length).field("RoutingType", &self.RoutingType).field("SegmentsLeft", &self.SegmentsLeft).field("Reserved", &self.Reserved).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_ROUTING_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPV6_ROUTING_HEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.NextHeader == other.NextHeader && self.Length == other.Length && self.RoutingType == other.RoutingType && self.SegmentsLeft == other.SegmentsLeft && self.Reserved == other.Reserved |
| } |
| } |
| impl ::core::cmp::Eq for IPV6_ROUTING_HEADER {} |
| impl ::core::default::Default for IPV6_ROUTING_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct IPX_ADDRESS_DATA { |
| pub adapternum: i32, |
| pub netnum: [u8; 4], |
| pub nodenum: [u8; 6], |
| pub wan: super::super::Foundation::BOOLEAN, |
| pub status: super::super::Foundation::BOOLEAN, |
| pub maxpkt: i32, |
| pub linkspeed: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for IPX_ADDRESS_DATA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for IPX_ADDRESS_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for IPX_ADDRESS_DATA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPX_ADDRESS_DATA").field("adapternum", &self.adapternum).field("netnum", &self.netnum).field("nodenum", &self.nodenum).field("wan", &self.wan).field("status", &self.status).field("maxpkt", &self.maxpkt).field("linkspeed", &self.linkspeed).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for IPX_ADDRESS_DATA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for IPX_ADDRESS_DATA { |
| fn eq(&self, other: &Self) -> bool { |
| self.adapternum == other.adapternum && self.netnum == other.netnum && self.nodenum == other.nodenum && self.wan == other.wan && self.status == other.status && self.maxpkt == other.maxpkt && self.linkspeed == other.linkspeed |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for IPX_ADDRESS_DATA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for IPX_ADDRESS_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPX_NETNUM_DATA { |
| pub netnum: [u8; 4], |
| pub hopcount: u16, |
| pub netdelay: u16, |
| pub cardnum: i32, |
| pub router: [u8; 6], |
| } |
| impl ::core::marker::Copy for IPX_NETNUM_DATA {} |
| impl ::core::clone::Clone for IPX_NETNUM_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPX_NETNUM_DATA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPX_NETNUM_DATA").field("netnum", &self.netnum).field("hopcount", &self.hopcount).field("netdelay", &self.netdelay).field("cardnum", &self.cardnum).field("router", &self.router).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPX_NETNUM_DATA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPX_NETNUM_DATA { |
| fn eq(&self, other: &Self) -> bool { |
| self.netnum == other.netnum && self.hopcount == other.hopcount && self.netdelay == other.netdelay && self.cardnum == other.cardnum && self.router == other.router |
| } |
| } |
| impl ::core::cmp::Eq for IPX_NETNUM_DATA {} |
| impl ::core::default::Default for IPX_NETNUM_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IPX_SPXCONNSTATUS_DATA { |
| pub ConnectionState: u8, |
| pub WatchDogActive: u8, |
| pub LocalConnectionId: u16, |
| pub RemoteConnectionId: u16, |
| pub LocalSequenceNumber: u16, |
| pub LocalAckNumber: u16, |
| pub LocalAllocNumber: u16, |
| pub RemoteAckNumber: u16, |
| pub RemoteAllocNumber: u16, |
| pub LocalSocket: u16, |
| pub ImmediateAddress: [u8; 6], |
| pub RemoteNetwork: [u8; 4], |
| pub RemoteNode: [u8; 6], |
| pub RemoteSocket: u16, |
| pub RetransmissionCount: u16, |
| pub EstimatedRoundTripDelay: u16, |
| pub RetransmittedPackets: u16, |
| pub SuppressedPacket: u16, |
| } |
| impl ::core::marker::Copy for IPX_SPXCONNSTATUS_DATA {} |
| impl ::core::clone::Clone for IPX_SPXCONNSTATUS_DATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IPX_SPXCONNSTATUS_DATA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IPX_SPXCONNSTATUS_DATA") |
| .field("ConnectionState", &self.ConnectionState) |
| .field("WatchDogActive", &self.WatchDogActive) |
| .field("LocalConnectionId", &self.LocalConnectionId) |
| .field("RemoteConnectionId", &self.RemoteConnectionId) |
| .field("LocalSequenceNumber", &self.LocalSequenceNumber) |
| .field("LocalAckNumber", &self.LocalAckNumber) |
| .field("LocalAllocNumber", &self.LocalAllocNumber) |
| .field("RemoteAckNumber", &self.RemoteAckNumber) |
| .field("RemoteAllocNumber", &self.RemoteAllocNumber) |
| .field("LocalSocket", &self.LocalSocket) |
| .field("ImmediateAddress", &self.ImmediateAddress) |
| .field("RemoteNetwork", &self.RemoteNetwork) |
| .field("RemoteNode", &self.RemoteNode) |
| .field("RemoteSocket", &self.RemoteSocket) |
| .field("RetransmissionCount", &self.RetransmissionCount) |
| .field("EstimatedRoundTripDelay", &self.EstimatedRoundTripDelay) |
| .field("RetransmittedPackets", &self.RetransmittedPackets) |
| .field("SuppressedPacket", &self.SuppressedPacket) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IPX_SPXCONNSTATUS_DATA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IPX_SPXCONNSTATUS_DATA { |
| fn eq(&self, other: &Self) -> bool { |
| self.ConnectionState == other.ConnectionState |
| && self.WatchDogActive == other.WatchDogActive |
| && self.LocalConnectionId == other.LocalConnectionId |
| && self.RemoteConnectionId == other.RemoteConnectionId |
| && self.LocalSequenceNumber == other.LocalSequenceNumber |
| && self.LocalAckNumber == other.LocalAckNumber |
| && self.LocalAllocNumber == other.LocalAllocNumber |
| && self.RemoteAckNumber == other.RemoteAckNumber |
| && self.RemoteAllocNumber == other.RemoteAllocNumber |
| && self.LocalSocket == other.LocalSocket |
| && self.ImmediateAddress == other.ImmediateAddress |
| && self.RemoteNetwork == other.RemoteNetwork |
| && self.RemoteNode == other.RemoteNode |
| && self.RemoteSocket == other.RemoteSocket |
| && self.RetransmissionCount == other.RetransmissionCount |
| && self.EstimatedRoundTripDelay == other.EstimatedRoundTripDelay |
| && self.RetransmittedPackets == other.RetransmittedPackets |
| && self.SuppressedPacket == other.SuppressedPacket |
| } |
| } |
| impl ::core::cmp::Eq for IPX_SPXCONNSTATUS_DATA {} |
| impl ::core::default::Default for IPX_SPXCONNSTATUS_DATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IP_MREQ { |
| pub imr_multiaddr: IN_ADDR, |
| pub imr_interface: IN_ADDR, |
| } |
| impl ::core::marker::Copy for IP_MREQ {} |
| impl ::core::clone::Clone for IP_MREQ { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IP_MREQ { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IP_MREQ { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IP_MREQ_SOURCE { |
| pub imr_multiaddr: IN_ADDR, |
| pub imr_sourceaddr: IN_ADDR, |
| pub imr_interface: IN_ADDR, |
| } |
| impl ::core::marker::Copy for IP_MREQ_SOURCE {} |
| impl ::core::clone::Clone for IP_MREQ_SOURCE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IP_MREQ_SOURCE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IP_MREQ_SOURCE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct IP_MSFILTER { |
| pub imsf_multiaddr: IN_ADDR, |
| pub imsf_interface: IN_ADDR, |
| pub imsf_fmode: MULTICAST_MODE_TYPE, |
| pub imsf_numsrc: u32, |
| pub imsf_slist: [IN_ADDR; 1], |
| } |
| impl ::core::marker::Copy for IP_MSFILTER {} |
| impl ::core::clone::Clone for IP_MSFILTER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IP_MSFILTER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IP_MSFILTER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct LINGER { |
| pub l_onoff: u16, |
| pub l_linger: u16, |
| } |
| impl ::core::marker::Copy for LINGER {} |
| impl ::core::clone::Clone for LINGER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for LINGER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("LINGER").field("l_onoff", &self.l_onoff).field("l_linger", &self.l_linger).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for LINGER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for LINGER { |
| fn eq(&self, other: &Self) -> bool { |
| self.l_onoff == other.l_onoff && self.l_linger == other.l_linger |
| } |
| } |
| impl ::core::cmp::Eq for LINGER {} |
| impl ::core::default::Default for LINGER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct LM_IRPARMS { |
| pub nTXDataBytes: u32, |
| pub nRXDataBytes: u32, |
| pub nBaudRate: u32, |
| pub thresholdTime: u32, |
| pub discTime: u32, |
| pub nMSLinkTurn: u16, |
| pub nTXPackets: u8, |
| pub nRXPackets: u8, |
| } |
| impl ::core::marker::Copy for LM_IRPARMS {} |
| impl ::core::clone::Clone for LM_IRPARMS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for LM_IRPARMS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("LM_IRPARMS").field("nTXDataBytes", &self.nTXDataBytes).field("nRXDataBytes", &self.nRXDataBytes).field("nBaudRate", &self.nBaudRate).field("thresholdTime", &self.thresholdTime).field("discTime", &self.discTime).field("nMSLinkTurn", &self.nMSLinkTurn).field("nTXPackets", &self.nTXPackets).field("nRXPackets", &self.nRXPackets).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for LM_IRPARMS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for LM_IRPARMS { |
| fn eq(&self, other: &Self) -> bool { |
| self.nTXDataBytes == other.nTXDataBytes && self.nRXDataBytes == other.nRXDataBytes && self.nBaudRate == other.nBaudRate && self.thresholdTime == other.thresholdTime && self.discTime == other.discTime && self.nMSLinkTurn == other.nMSLinkTurn && self.nTXPackets == other.nTXPackets && self.nRXPackets == other.nRXPackets |
| } |
| } |
| impl ::core::cmp::Eq for LM_IRPARMS {} |
| impl ::core::default::Default for LM_IRPARMS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct MLDV2_QUERY_HEADER { |
| pub IcmpHeader: ICMP_HEADER, |
| pub Anonymous1: MLDV2_QUERY_HEADER_0, |
| pub Reserved: u16, |
| pub MulticastAddress: IN6_ADDR, |
| pub _bitfield: u8, |
| pub Anonymous2: MLDV2_QUERY_HEADER_1, |
| pub SourceCount: u16, |
| } |
| impl ::core::marker::Copy for MLDV2_QUERY_HEADER {} |
| impl ::core::clone::Clone for MLDV2_QUERY_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MLDV2_QUERY_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MLDV2_QUERY_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union MLDV2_QUERY_HEADER_0 { |
| pub MaxRespCode: u16, |
| pub Anonymous: MLDV2_QUERY_HEADER_0_0, |
| } |
| impl ::core::marker::Copy for MLDV2_QUERY_HEADER_0 {} |
| impl ::core::clone::Clone for MLDV2_QUERY_HEADER_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MLDV2_QUERY_HEADER_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MLDV2_QUERY_HEADER_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct MLDV2_QUERY_HEADER_0_0 { |
| pub _bitfield: u16, |
| } |
| impl ::core::marker::Copy for MLDV2_QUERY_HEADER_0_0 {} |
| impl ::core::clone::Clone for MLDV2_QUERY_HEADER_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MLDV2_QUERY_HEADER_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MLDV2_QUERY_HEADER_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MLDV2_QUERY_HEADER_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MLDV2_QUERY_HEADER_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for MLDV2_QUERY_HEADER_0_0 {} |
| impl ::core::default::Default for MLDV2_QUERY_HEADER_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union MLDV2_QUERY_HEADER_1 { |
| pub QueriersQueryInterfaceCode: u8, |
| pub Anonymous: MLDV2_QUERY_HEADER_1_0, |
| } |
| impl ::core::marker::Copy for MLDV2_QUERY_HEADER_1 {} |
| impl ::core::clone::Clone for MLDV2_QUERY_HEADER_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MLDV2_QUERY_HEADER_1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MLDV2_QUERY_HEADER_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct MLDV2_QUERY_HEADER_1_0 { |
| pub _bitfield: u8, |
| } |
| impl ::core::marker::Copy for MLDV2_QUERY_HEADER_1_0 {} |
| impl ::core::clone::Clone for MLDV2_QUERY_HEADER_1_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MLDV2_QUERY_HEADER_1_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MLDV2_QUERY_HEADER_1_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MLDV2_QUERY_HEADER_1_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MLDV2_QUERY_HEADER_1_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for MLDV2_QUERY_HEADER_1_0 {} |
| impl ::core::default::Default for MLDV2_QUERY_HEADER_1_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct MLDV2_REPORT_HEADER { |
| pub IcmpHeader: ICMP_HEADER, |
| pub Reserved: u16, |
| pub RecordCount: u16, |
| } |
| impl ::core::marker::Copy for MLDV2_REPORT_HEADER {} |
| impl ::core::clone::Clone for MLDV2_REPORT_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MLDV2_REPORT_HEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MLDV2_REPORT_HEADER").field("IcmpHeader", &self.IcmpHeader).field("Reserved", &self.Reserved).field("RecordCount", &self.RecordCount).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MLDV2_REPORT_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MLDV2_REPORT_HEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.IcmpHeader == other.IcmpHeader && self.Reserved == other.Reserved && self.RecordCount == other.RecordCount |
| } |
| } |
| impl ::core::cmp::Eq for MLDV2_REPORT_HEADER {} |
| impl ::core::default::Default for MLDV2_REPORT_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct MLDV2_REPORT_RECORD_HEADER { |
| pub Type: u8, |
| pub AuxillaryDataLength: u8, |
| pub SourceCount: u16, |
| pub MulticastAddress: IN6_ADDR, |
| } |
| impl ::core::marker::Copy for MLDV2_REPORT_RECORD_HEADER {} |
| impl ::core::clone::Clone for MLDV2_REPORT_RECORD_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MLDV2_REPORT_RECORD_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MLDV2_REPORT_RECORD_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct MLD_HEADER { |
| pub IcmpHeader: ICMP_HEADER, |
| pub MaxRespTime: u16, |
| pub Reserved: u16, |
| pub MulticastAddress: IN6_ADDR, |
| } |
| impl ::core::marker::Copy for MLD_HEADER {} |
| impl ::core::clone::Clone for MLD_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MLD_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MLD_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct NAPI_DOMAIN_DESCRIPTION_BLOB { |
| pub AuthLevel: u32, |
| pub cchDomainName: u32, |
| pub OffsetNextDomainDescription: u32, |
| pub OffsetThisDomainName: u32, |
| } |
| impl ::core::marker::Copy for NAPI_DOMAIN_DESCRIPTION_BLOB {} |
| impl ::core::clone::Clone for NAPI_DOMAIN_DESCRIPTION_BLOB { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for NAPI_DOMAIN_DESCRIPTION_BLOB { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NAPI_DOMAIN_DESCRIPTION_BLOB").field("AuthLevel", &self.AuthLevel).field("cchDomainName", &self.cchDomainName).field("OffsetNextDomainDescription", &self.OffsetNextDomainDescription).field("OffsetThisDomainName", &self.OffsetThisDomainName).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for NAPI_DOMAIN_DESCRIPTION_BLOB { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for NAPI_DOMAIN_DESCRIPTION_BLOB { |
| fn eq(&self, other: &Self) -> bool { |
| self.AuthLevel == other.AuthLevel && self.cchDomainName == other.cchDomainName && self.OffsetNextDomainDescription == other.OffsetNextDomainDescription && self.OffsetThisDomainName == other.OffsetThisDomainName |
| } |
| } |
| impl ::core::cmp::Eq for NAPI_DOMAIN_DESCRIPTION_BLOB {} |
| impl ::core::default::Default for NAPI_DOMAIN_DESCRIPTION_BLOB { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct NAPI_PROVIDER_INSTALLATION_BLOB { |
| pub dwVersion: u32, |
| pub dwProviderType: u32, |
| pub fSupportsWildCard: u32, |
| pub cDomains: u32, |
| pub OffsetFirstDomain: u32, |
| } |
| impl ::core::marker::Copy for NAPI_PROVIDER_INSTALLATION_BLOB {} |
| impl ::core::clone::Clone for NAPI_PROVIDER_INSTALLATION_BLOB { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for NAPI_PROVIDER_INSTALLATION_BLOB { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NAPI_PROVIDER_INSTALLATION_BLOB").field("dwVersion", &self.dwVersion).field("dwProviderType", &self.dwProviderType).field("fSupportsWildCard", &self.fSupportsWildCard).field("cDomains", &self.cDomains).field("OffsetFirstDomain", &self.OffsetFirstDomain).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for NAPI_PROVIDER_INSTALLATION_BLOB { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for NAPI_PROVIDER_INSTALLATION_BLOB { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwVersion == other.dwVersion && self.dwProviderType == other.dwProviderType && self.fSupportsWildCard == other.fSupportsWildCard && self.cDomains == other.cDomains && self.OffsetFirstDomain == other.OffsetFirstDomain |
| } |
| } |
| impl ::core::cmp::Eq for NAPI_PROVIDER_INSTALLATION_BLOB {} |
| impl ::core::default::Default for NAPI_PROVIDER_INSTALLATION_BLOB { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ND_NEIGHBOR_ADVERT_HEADER { |
| pub nd_na_hdr: ICMP_MESSAGE, |
| pub nd_na_target: IN6_ADDR, |
| } |
| impl ::core::marker::Copy for ND_NEIGHBOR_ADVERT_HEADER {} |
| impl ::core::clone::Clone for ND_NEIGHBOR_ADVERT_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ND_NEIGHBOR_ADVERT_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ND_NEIGHBOR_ADVERT_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ND_NEIGHBOR_SOLICIT_HEADER { |
| pub nd_ns_hdr: ICMP_MESSAGE, |
| pub nd_ns_target: IN6_ADDR, |
| } |
| impl ::core::marker::Copy for ND_NEIGHBOR_SOLICIT_HEADER {} |
| impl ::core::clone::Clone for ND_NEIGHBOR_SOLICIT_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ND_NEIGHBOR_SOLICIT_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ND_NEIGHBOR_SOLICIT_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ND_OPTION_DNSSL { |
| pub nd_opt_dnssl_type: u8, |
| pub nd_opt_dnssl_len: u8, |
| pub nd_opt_dnssl_reserved: u16, |
| pub nd_opt_dnssl_lifetime: u32, |
| } |
| impl ::core::marker::Copy for ND_OPTION_DNSSL {} |
| impl ::core::clone::Clone for ND_OPTION_DNSSL { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ND_OPTION_DNSSL { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ND_OPTION_DNSSL").field("nd_opt_dnssl_type", &self.nd_opt_dnssl_type).field("nd_opt_dnssl_len", &self.nd_opt_dnssl_len).field("nd_opt_dnssl_reserved", &self.nd_opt_dnssl_reserved).field("nd_opt_dnssl_lifetime", &self.nd_opt_dnssl_lifetime).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ND_OPTION_DNSSL { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ND_OPTION_DNSSL { |
| fn eq(&self, other: &Self) -> bool { |
| self.nd_opt_dnssl_type == other.nd_opt_dnssl_type && self.nd_opt_dnssl_len == other.nd_opt_dnssl_len && self.nd_opt_dnssl_reserved == other.nd_opt_dnssl_reserved && self.nd_opt_dnssl_lifetime == other.nd_opt_dnssl_lifetime |
| } |
| } |
| impl ::core::cmp::Eq for ND_OPTION_DNSSL {} |
| impl ::core::default::Default for ND_OPTION_DNSSL { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ND_OPTION_HDR { |
| pub nd_opt_type: u8, |
| pub nd_opt_len: u8, |
| } |
| impl ::core::marker::Copy for ND_OPTION_HDR {} |
| impl ::core::clone::Clone for ND_OPTION_HDR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ND_OPTION_HDR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ND_OPTION_HDR").field("nd_opt_type", &self.nd_opt_type).field("nd_opt_len", &self.nd_opt_len).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ND_OPTION_HDR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ND_OPTION_HDR { |
| fn eq(&self, other: &Self) -> bool { |
| self.nd_opt_type == other.nd_opt_type && self.nd_opt_len == other.nd_opt_len |
| } |
| } |
| impl ::core::cmp::Eq for ND_OPTION_HDR {} |
| impl ::core::default::Default for ND_OPTION_HDR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ND_OPTION_MTU { |
| pub nd_opt_mtu_type: u8, |
| pub nd_opt_mtu_len: u8, |
| pub nd_opt_mtu_reserved: u16, |
| pub nd_opt_mtu_mtu: u32, |
| } |
| impl ::core::marker::Copy for ND_OPTION_MTU {} |
| impl ::core::clone::Clone for ND_OPTION_MTU { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ND_OPTION_MTU { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ND_OPTION_MTU").field("nd_opt_mtu_type", &self.nd_opt_mtu_type).field("nd_opt_mtu_len", &self.nd_opt_mtu_len).field("nd_opt_mtu_reserved", &self.nd_opt_mtu_reserved).field("nd_opt_mtu_mtu", &self.nd_opt_mtu_mtu).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ND_OPTION_MTU { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ND_OPTION_MTU { |
| fn eq(&self, other: &Self) -> bool { |
| self.nd_opt_mtu_type == other.nd_opt_mtu_type && self.nd_opt_mtu_len == other.nd_opt_mtu_len && self.nd_opt_mtu_reserved == other.nd_opt_mtu_reserved && self.nd_opt_mtu_mtu == other.nd_opt_mtu_mtu |
| } |
| } |
| impl ::core::cmp::Eq for ND_OPTION_MTU {} |
| impl ::core::default::Default for ND_OPTION_MTU { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ND_OPTION_PREFIX_INFO { |
| pub nd_opt_pi_type: u8, |
| pub nd_opt_pi_len: u8, |
| pub nd_opt_pi_prefix_len: u8, |
| pub Anonymous1: ND_OPTION_PREFIX_INFO_0, |
| pub nd_opt_pi_valid_time: u32, |
| pub nd_opt_pi_preferred_time: u32, |
| pub Anonymous2: ND_OPTION_PREFIX_INFO_1, |
| pub nd_opt_pi_prefix: IN6_ADDR, |
| } |
| impl ::core::marker::Copy for ND_OPTION_PREFIX_INFO {} |
| impl ::core::clone::Clone for ND_OPTION_PREFIX_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ND_OPTION_PREFIX_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ND_OPTION_PREFIX_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union ND_OPTION_PREFIX_INFO_0 { |
| pub nd_opt_pi_flags_reserved: u8, |
| pub Flags: ND_OPTION_PREFIX_INFO_0_0, |
| } |
| impl ::core::marker::Copy for ND_OPTION_PREFIX_INFO_0 {} |
| impl ::core::clone::Clone for ND_OPTION_PREFIX_INFO_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ND_OPTION_PREFIX_INFO_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ND_OPTION_PREFIX_INFO_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ND_OPTION_PREFIX_INFO_0_0 { |
| pub _bitfield: u8, |
| } |
| impl ::core::marker::Copy for ND_OPTION_PREFIX_INFO_0_0 {} |
| impl ::core::clone::Clone for ND_OPTION_PREFIX_INFO_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ND_OPTION_PREFIX_INFO_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ND_OPTION_PREFIX_INFO_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ND_OPTION_PREFIX_INFO_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ND_OPTION_PREFIX_INFO_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for ND_OPTION_PREFIX_INFO_0_0 {} |
| impl ::core::default::Default for ND_OPTION_PREFIX_INFO_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union ND_OPTION_PREFIX_INFO_1 { |
| pub nd_opt_pi_reserved2: u32, |
| pub Anonymous: ND_OPTION_PREFIX_INFO_1_0, |
| } |
| impl ::core::marker::Copy for ND_OPTION_PREFIX_INFO_1 {} |
| impl ::core::clone::Clone for ND_OPTION_PREFIX_INFO_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ND_OPTION_PREFIX_INFO_1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ND_OPTION_PREFIX_INFO_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ND_OPTION_PREFIX_INFO_1_0 { |
| pub nd_opt_pi_reserved3: [u8; 3], |
| pub nd_opt_pi_site_prefix_len: u8, |
| } |
| impl ::core::marker::Copy for ND_OPTION_PREFIX_INFO_1_0 {} |
| impl ::core::clone::Clone for ND_OPTION_PREFIX_INFO_1_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ND_OPTION_PREFIX_INFO_1_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ND_OPTION_PREFIX_INFO_1_0").field("nd_opt_pi_reserved3", &self.nd_opt_pi_reserved3).field("nd_opt_pi_site_prefix_len", &self.nd_opt_pi_site_prefix_len).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ND_OPTION_PREFIX_INFO_1_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ND_OPTION_PREFIX_INFO_1_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.nd_opt_pi_reserved3 == other.nd_opt_pi_reserved3 && self.nd_opt_pi_site_prefix_len == other.nd_opt_pi_site_prefix_len |
| } |
| } |
| impl ::core::cmp::Eq for ND_OPTION_PREFIX_INFO_1_0 {} |
| impl ::core::default::Default for ND_OPTION_PREFIX_INFO_1_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ND_OPTION_RDNSS { |
| pub nd_opt_rdnss_type: u8, |
| pub nd_opt_rdnss_len: u8, |
| pub nd_opt_rdnss_reserved: u16, |
| pub nd_opt_rdnss_lifetime: u32, |
| } |
| impl ::core::marker::Copy for ND_OPTION_RDNSS {} |
| impl ::core::clone::Clone for ND_OPTION_RDNSS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ND_OPTION_RDNSS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ND_OPTION_RDNSS").field("nd_opt_rdnss_type", &self.nd_opt_rdnss_type).field("nd_opt_rdnss_len", &self.nd_opt_rdnss_len).field("nd_opt_rdnss_reserved", &self.nd_opt_rdnss_reserved).field("nd_opt_rdnss_lifetime", &self.nd_opt_rdnss_lifetime).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ND_OPTION_RDNSS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ND_OPTION_RDNSS { |
| fn eq(&self, other: &Self) -> bool { |
| self.nd_opt_rdnss_type == other.nd_opt_rdnss_type && self.nd_opt_rdnss_len == other.nd_opt_rdnss_len && self.nd_opt_rdnss_reserved == other.nd_opt_rdnss_reserved && self.nd_opt_rdnss_lifetime == other.nd_opt_rdnss_lifetime |
| } |
| } |
| impl ::core::cmp::Eq for ND_OPTION_RDNSS {} |
| impl ::core::default::Default for ND_OPTION_RDNSS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ND_OPTION_RD_HDR { |
| pub nd_opt_rh_type: u8, |
| pub nd_opt_rh_len: u8, |
| pub nd_opt_rh_reserved1: u16, |
| pub nd_opt_rh_reserved2: u32, |
| } |
| impl ::core::marker::Copy for ND_OPTION_RD_HDR {} |
| impl ::core::clone::Clone for ND_OPTION_RD_HDR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ND_OPTION_RD_HDR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ND_OPTION_RD_HDR").field("nd_opt_rh_type", &self.nd_opt_rh_type).field("nd_opt_rh_len", &self.nd_opt_rh_len).field("nd_opt_rh_reserved1", &self.nd_opt_rh_reserved1).field("nd_opt_rh_reserved2", &self.nd_opt_rh_reserved2).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ND_OPTION_RD_HDR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ND_OPTION_RD_HDR { |
| fn eq(&self, other: &Self) -> bool { |
| self.nd_opt_rh_type == other.nd_opt_rh_type && self.nd_opt_rh_len == other.nd_opt_rh_len && self.nd_opt_rh_reserved1 == other.nd_opt_rh_reserved1 && self.nd_opt_rh_reserved2 == other.nd_opt_rh_reserved2 |
| } |
| } |
| impl ::core::cmp::Eq for ND_OPTION_RD_HDR {} |
| impl ::core::default::Default for ND_OPTION_RD_HDR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ND_OPTION_ROUTE_INFO { |
| pub nd_opt_ri_type: u8, |
| pub nd_opt_ri_len: u8, |
| pub nd_opt_ri_prefix_len: u8, |
| pub Anonymous: ND_OPTION_ROUTE_INFO_0, |
| pub nd_opt_ri_route_lifetime: u32, |
| pub nd_opt_ri_prefix: IN6_ADDR, |
| } |
| impl ::core::marker::Copy for ND_OPTION_ROUTE_INFO {} |
| impl ::core::clone::Clone for ND_OPTION_ROUTE_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ND_OPTION_ROUTE_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ND_OPTION_ROUTE_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union ND_OPTION_ROUTE_INFO_0 { |
| pub nd_opt_ri_flags_reserved: u8, |
| pub Flags: ND_OPTION_ROUTE_INFO_0_0, |
| } |
| impl ::core::marker::Copy for ND_OPTION_ROUTE_INFO_0 {} |
| impl ::core::clone::Clone for ND_OPTION_ROUTE_INFO_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ND_OPTION_ROUTE_INFO_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ND_OPTION_ROUTE_INFO_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ND_OPTION_ROUTE_INFO_0_0 { |
| pub _bitfield: u8, |
| } |
| impl ::core::marker::Copy for ND_OPTION_ROUTE_INFO_0_0 {} |
| impl ::core::clone::Clone for ND_OPTION_ROUTE_INFO_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ND_OPTION_ROUTE_INFO_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ND_OPTION_ROUTE_INFO_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ND_OPTION_ROUTE_INFO_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ND_OPTION_ROUTE_INFO_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for ND_OPTION_ROUTE_INFO_0_0 {} |
| impl ::core::default::Default for ND_OPTION_ROUTE_INFO_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ND_REDIRECT_HEADER { |
| pub nd_rd_hdr: ICMP_MESSAGE, |
| pub nd_rd_target: IN6_ADDR, |
| pub nd_rd_dst: IN6_ADDR, |
| } |
| impl ::core::marker::Copy for ND_REDIRECT_HEADER {} |
| impl ::core::clone::Clone for ND_REDIRECT_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ND_REDIRECT_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ND_REDIRECT_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ND_ROUTER_ADVERT_HEADER { |
| pub nd_ra_hdr: ICMP_MESSAGE, |
| pub nd_ra_reachable: u32, |
| pub nd_ra_retransmit: u32, |
| } |
| impl ::core::marker::Copy for ND_ROUTER_ADVERT_HEADER {} |
| impl ::core::clone::Clone for ND_ROUTER_ADVERT_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ND_ROUTER_ADVERT_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ND_ROUTER_ADVERT_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct ND_ROUTER_SOLICIT_HEADER { |
| pub nd_rs_hdr: ICMP_MESSAGE, |
| } |
| impl ::core::marker::Copy for ND_ROUTER_SOLICIT_HEADER {} |
| impl ::core::clone::Clone for ND_ROUTER_SOLICIT_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ND_ROUTER_SOLICIT_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ND_ROUTER_SOLICIT_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct NETRESOURCE2A { |
| pub dwScope: u32, |
| pub dwType: u32, |
| pub dwUsage: u32, |
| pub dwDisplayType: u32, |
| pub lpLocalName: ::windows::core::PSTR, |
| pub lpRemoteName: ::windows::core::PSTR, |
| pub lpComment: ::windows::core::PSTR, |
| pub ns_info: NS_INFOA, |
| pub ServiceType: ::windows::core::GUID, |
| pub dwProtocols: u32, |
| pub lpiProtocols: *mut i32, |
| } |
| impl ::core::marker::Copy for NETRESOURCE2A {} |
| impl ::core::clone::Clone for NETRESOURCE2A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for NETRESOURCE2A { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NETRESOURCE2A").field("dwScope", &self.dwScope).field("dwType", &self.dwType).field("dwUsage", &self.dwUsage).field("dwDisplayType", &self.dwDisplayType).field("lpLocalName", &self.lpLocalName).field("lpRemoteName", &self.lpRemoteName).field("lpComment", &self.lpComment).field("ns_info", &self.ns_info).field("ServiceType", &self.ServiceType).field("dwProtocols", &self.dwProtocols).field("lpiProtocols", &self.lpiProtocols).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for NETRESOURCE2A { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for NETRESOURCE2A { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwScope == other.dwScope && self.dwType == other.dwType && self.dwUsage == other.dwUsage && self.dwDisplayType == other.dwDisplayType && self.lpLocalName == other.lpLocalName && self.lpRemoteName == other.lpRemoteName && self.lpComment == other.lpComment && self.ns_info == other.ns_info && self.ServiceType == other.ServiceType && self.dwProtocols == other.dwProtocols && self.lpiProtocols == other.lpiProtocols |
| } |
| } |
| impl ::core::cmp::Eq for NETRESOURCE2A {} |
| impl ::core::default::Default for NETRESOURCE2A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct NETRESOURCE2W { |
| pub dwScope: u32, |
| pub dwType: u32, |
| pub dwUsage: u32, |
| pub dwDisplayType: u32, |
| pub lpLocalName: ::windows::core::PWSTR, |
| pub lpRemoteName: ::windows::core::PWSTR, |
| pub lpComment: ::windows::core::PWSTR, |
| pub ns_info: NS_INFOA, |
| pub ServiceType: ::windows::core::GUID, |
| pub dwProtocols: u32, |
| pub lpiProtocols: *mut i32, |
| } |
| impl ::core::marker::Copy for NETRESOURCE2W {} |
| impl ::core::clone::Clone for NETRESOURCE2W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for NETRESOURCE2W { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NETRESOURCE2W").field("dwScope", &self.dwScope).field("dwType", &self.dwType).field("dwUsage", &self.dwUsage).field("dwDisplayType", &self.dwDisplayType).field("lpLocalName", &self.lpLocalName).field("lpRemoteName", &self.lpRemoteName).field("lpComment", &self.lpComment).field("ns_info", &self.ns_info).field("ServiceType", &self.ServiceType).field("dwProtocols", &self.dwProtocols).field("lpiProtocols", &self.lpiProtocols).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for NETRESOURCE2W { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for NETRESOURCE2W { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwScope == other.dwScope && self.dwType == other.dwType && self.dwUsage == other.dwUsage && self.dwDisplayType == other.dwDisplayType && self.lpLocalName == other.lpLocalName && self.lpRemoteName == other.lpRemoteName && self.lpComment == other.lpComment && self.ns_info == other.ns_info && self.ServiceType == other.ServiceType && self.dwProtocols == other.dwProtocols && self.lpiProtocols == other.lpiProtocols |
| } |
| } |
| impl ::core::cmp::Eq for NETRESOURCE2W {} |
| impl ::core::default::Default for NETRESOURCE2W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct NLA_BLOB { |
| pub header: NLA_BLOB_1, |
| pub data: NLA_BLOB_0, |
| } |
| impl ::core::marker::Copy for NLA_BLOB {} |
| impl ::core::clone::Clone for NLA_BLOB { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for NLA_BLOB { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for NLA_BLOB { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union NLA_BLOB_0 { |
| pub rawData: [u8; 1], |
| pub interfaceData: NLA_BLOB_0_2, |
| pub locationData: NLA_BLOB_0_3, |
| pub connectivity: NLA_BLOB_0_1, |
| pub ICS: NLA_BLOB_0_0, |
| } |
| impl ::core::marker::Copy for NLA_BLOB_0 {} |
| impl ::core::clone::Clone for NLA_BLOB_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for NLA_BLOB_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for NLA_BLOB_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct NLA_BLOB_0_0 { |
| pub remote: NLA_BLOB_0_0_0, |
| } |
| impl ::core::marker::Copy for NLA_BLOB_0_0 {} |
| impl ::core::clone::Clone for NLA_BLOB_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for NLA_BLOB_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NLA_BLOB_0_0").field("remote", &self.remote).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for NLA_BLOB_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for NLA_BLOB_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.remote == other.remote |
| } |
| } |
| impl ::core::cmp::Eq for NLA_BLOB_0_0 {} |
| impl ::core::default::Default for NLA_BLOB_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct NLA_BLOB_0_0_0 { |
| pub speed: u32, |
| pub r#type: u32, |
| pub state: u32, |
| pub machineName: [u16; 256], |
| pub sharedAdapterName: [u16; 256], |
| } |
| impl ::core::marker::Copy for NLA_BLOB_0_0_0 {} |
| impl ::core::clone::Clone for NLA_BLOB_0_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for NLA_BLOB_0_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NLA_BLOB_0_0_0").field("speed", &self.speed).field("type", &self.r#type).field("state", &self.state).field("machineName", &self.machineName).field("sharedAdapterName", &self.sharedAdapterName).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for NLA_BLOB_0_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for NLA_BLOB_0_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.speed == other.speed && self.r#type == other.r#type && self.state == other.state && self.machineName == other.machineName && self.sharedAdapterName == other.sharedAdapterName |
| } |
| } |
| impl ::core::cmp::Eq for NLA_BLOB_0_0_0 {} |
| impl ::core::default::Default for NLA_BLOB_0_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct NLA_BLOB_0_1 { |
| pub r#type: NLA_CONNECTIVITY_TYPE, |
| pub internet: NLA_INTERNET, |
| } |
| impl ::core::marker::Copy for NLA_BLOB_0_1 {} |
| impl ::core::clone::Clone for NLA_BLOB_0_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for NLA_BLOB_0_1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NLA_BLOB_0_1").field("type", &self.r#type).field("internet", &self.internet).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for NLA_BLOB_0_1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for NLA_BLOB_0_1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.r#type == other.r#type && self.internet == other.internet |
| } |
| } |
| impl ::core::cmp::Eq for NLA_BLOB_0_1 {} |
| impl ::core::default::Default for NLA_BLOB_0_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct NLA_BLOB_0_2 { |
| pub dwType: u32, |
| pub dwSpeed: u32, |
| pub adapterName: [u8; 1], |
| } |
| impl ::core::marker::Copy for NLA_BLOB_0_2 {} |
| impl ::core::clone::Clone for NLA_BLOB_0_2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for NLA_BLOB_0_2 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NLA_BLOB_0_2").field("dwType", &self.dwType).field("dwSpeed", &self.dwSpeed).field("adapterName", &self.adapterName).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for NLA_BLOB_0_2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for NLA_BLOB_0_2 { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwType == other.dwType && self.dwSpeed == other.dwSpeed && self.adapterName == other.adapterName |
| } |
| } |
| impl ::core::cmp::Eq for NLA_BLOB_0_2 {} |
| impl ::core::default::Default for NLA_BLOB_0_2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct NLA_BLOB_0_3 { |
| pub information: [u8; 1], |
| } |
| impl ::core::marker::Copy for NLA_BLOB_0_3 {} |
| impl ::core::clone::Clone for NLA_BLOB_0_3 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for NLA_BLOB_0_3 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NLA_BLOB_0_3").field("information", &self.information).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for NLA_BLOB_0_3 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for NLA_BLOB_0_3 { |
| fn eq(&self, other: &Self) -> bool { |
| self.information == other.information |
| } |
| } |
| impl ::core::cmp::Eq for NLA_BLOB_0_3 {} |
| impl ::core::default::Default for NLA_BLOB_0_3 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct NLA_BLOB_1 { |
| pub r#type: NLA_BLOB_DATA_TYPE, |
| pub dwSize: u32, |
| pub nextOffset: u32, |
| } |
| impl ::core::marker::Copy for NLA_BLOB_1 {} |
| impl ::core::clone::Clone for NLA_BLOB_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for NLA_BLOB_1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NLA_BLOB_1").field("type", &self.r#type).field("dwSize", &self.dwSize).field("nextOffset", &self.nextOffset).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for NLA_BLOB_1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for NLA_BLOB_1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.r#type == other.r#type && self.dwSize == other.dwSize && self.nextOffset == other.nextOffset |
| } |
| } |
| impl ::core::cmp::Eq for NLA_BLOB_1 {} |
| impl ::core::default::Default for NLA_BLOB_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct NL_BANDWIDTH_INFORMATION { |
| pub Bandwidth: u64, |
| pub Instability: u64, |
| pub BandwidthPeaked: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for NL_BANDWIDTH_INFORMATION {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for NL_BANDWIDTH_INFORMATION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for NL_BANDWIDTH_INFORMATION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NL_BANDWIDTH_INFORMATION").field("Bandwidth", &self.Bandwidth).field("Instability", &self.Instability).field("BandwidthPeaked", &self.BandwidthPeaked).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for NL_BANDWIDTH_INFORMATION { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for NL_BANDWIDTH_INFORMATION { |
| fn eq(&self, other: &Self) -> bool { |
| self.Bandwidth == other.Bandwidth && self.Instability == other.Instability && self.BandwidthPeaked == other.BandwidthPeaked |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for NL_BANDWIDTH_INFORMATION {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for NL_BANDWIDTH_INFORMATION { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct NL_INTERFACE_OFFLOAD_ROD { |
| pub _bitfield: u8, |
| } |
| impl ::core::marker::Copy for NL_INTERFACE_OFFLOAD_ROD {} |
| impl ::core::clone::Clone for NL_INTERFACE_OFFLOAD_ROD { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for NL_INTERFACE_OFFLOAD_ROD { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NL_INTERFACE_OFFLOAD_ROD").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for NL_INTERFACE_OFFLOAD_ROD { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for NL_INTERFACE_OFFLOAD_ROD { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for NL_INTERFACE_OFFLOAD_ROD {} |
| impl ::core::default::Default for NL_INTERFACE_OFFLOAD_ROD { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct NL_NETWORK_CONNECTIVITY_HINT { |
| pub ConnectivityLevel: NL_NETWORK_CONNECTIVITY_LEVEL_HINT, |
| pub ConnectivityCost: NL_NETWORK_CONNECTIVITY_COST_HINT, |
| pub ApproachingDataLimit: super::super::Foundation::BOOLEAN, |
| pub OverDataLimit: super::super::Foundation::BOOLEAN, |
| pub Roaming: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for NL_NETWORK_CONNECTIVITY_HINT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for NL_NETWORK_CONNECTIVITY_HINT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for NL_NETWORK_CONNECTIVITY_HINT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NL_NETWORK_CONNECTIVITY_HINT").field("ConnectivityLevel", &self.ConnectivityLevel).field("ConnectivityCost", &self.ConnectivityCost).field("ApproachingDataLimit", &self.ApproachingDataLimit).field("OverDataLimit", &self.OverDataLimit).field("Roaming", &self.Roaming).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for NL_NETWORK_CONNECTIVITY_HINT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for NL_NETWORK_CONNECTIVITY_HINT { |
| fn eq(&self, other: &Self) -> bool { |
| self.ConnectivityLevel == other.ConnectivityLevel && self.ConnectivityCost == other.ConnectivityCost && self.ApproachingDataLimit == other.ApproachingDataLimit && self.OverDataLimit == other.OverDataLimit && self.Roaming == other.Roaming |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for NL_NETWORK_CONNECTIVITY_HINT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for NL_NETWORK_CONNECTIVITY_HINT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct NL_PATH_BANDWIDTH_ROD { |
| pub Bandwidth: u64, |
| pub Instability: u64, |
| pub BandwidthPeaked: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for NL_PATH_BANDWIDTH_ROD {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for NL_PATH_BANDWIDTH_ROD { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for NL_PATH_BANDWIDTH_ROD { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NL_PATH_BANDWIDTH_ROD").field("Bandwidth", &self.Bandwidth).field("Instability", &self.Instability).field("BandwidthPeaked", &self.BandwidthPeaked).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for NL_PATH_BANDWIDTH_ROD { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for NL_PATH_BANDWIDTH_ROD { |
| fn eq(&self, other: &Self) -> bool { |
| self.Bandwidth == other.Bandwidth && self.Instability == other.Instability && self.BandwidthPeaked == other.BandwidthPeaked |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for NL_PATH_BANDWIDTH_ROD {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for NL_PATH_BANDWIDTH_ROD { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct NPI_MODULEID { |
| pub Length: u16, |
| pub Type: NPI_MODULEID_TYPE, |
| pub Anonymous: NPI_MODULEID_0, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for NPI_MODULEID {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for NPI_MODULEID { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for NPI_MODULEID { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for NPI_MODULEID { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub union NPI_MODULEID_0 { |
| pub Guid: ::windows::core::GUID, |
| pub IfLuid: super::super::Foundation::LUID, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for NPI_MODULEID_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for NPI_MODULEID_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for NPI_MODULEID_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for NPI_MODULEID_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| pub struct NSPV2_ROUTINE { |
| pub cbSize: u32, |
| pub dwMajorVersion: u32, |
| pub dwMinorVersion: u32, |
| pub NSPv2Startup: LPNSPV2STARTUP, |
| pub NSPv2Cleanup: LPNSPV2CLEANUP, |
| pub NSPv2LookupServiceBegin: LPNSPV2LOOKUPSERVICEBEGIN, |
| pub NSPv2LookupServiceNextEx: LPNSPV2LOOKUPSERVICENEXTEX, |
| pub NSPv2LookupServiceEnd: LPNSPV2LOOKUPSERVICEEND, |
| pub NSPv2SetServiceEx: LPNSPV2SETSERVICEEX, |
| pub NSPv2ClientSessionRundown: LPNSPV2CLIENTSESSIONRUNDOWN, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::marker::Copy for NSPV2_ROUTINE {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::clone::Clone for NSPV2_ROUTINE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::fmt::Debug for NSPV2_ROUTINE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NSPV2_ROUTINE").field("cbSize", &self.cbSize).field("dwMajorVersion", &self.dwMajorVersion).field("dwMinorVersion", &self.dwMinorVersion).finish() |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::windows::core::TypeKind for NSPV2_ROUTINE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::default::Default for NSPV2_ROUTINE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] |
| pub struct NSP_ROUTINE { |
| pub cbSize: u32, |
| pub dwMajorVersion: u32, |
| pub dwMinorVersion: u32, |
| pub NSPCleanup: LPNSPCLEANUP, |
| pub NSPLookupServiceBegin: LPNSPLOOKUPSERVICEBEGIN, |
| pub NSPLookupServiceNext: LPNSPLOOKUPSERVICENEXT, |
| pub NSPLookupServiceEnd: LPNSPLOOKUPSERVICEEND, |
| pub NSPSetService: LPNSPSETSERVICE, |
| pub NSPInstallServiceClass: LPNSPINSTALLSERVICECLASS, |
| pub NSPRemoveServiceClass: LPNSPREMOVESERVICECLASS, |
| pub NSPGetServiceClassInfo: LPNSPGETSERVICECLASSINFO, |
| pub NSPIoctl: LPNSPIOCTL, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] |
| impl ::core::marker::Copy for NSP_ROUTINE {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] |
| impl ::core::clone::Clone for NSP_ROUTINE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] |
| impl ::core::fmt::Debug for NSP_ROUTINE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NSP_ROUTINE").field("cbSize", &self.cbSize).field("dwMajorVersion", &self.dwMajorVersion).field("dwMinorVersion", &self.dwMinorVersion).finish() |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] |
| impl ::windows::core::TypeKind for NSP_ROUTINE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] |
| impl ::core::default::Default for NSP_ROUTINE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct NS_INFOA { |
| pub dwNameSpace: u32, |
| pub dwNameSpaceFlags: u32, |
| pub lpNameSpace: ::windows::core::PSTR, |
| } |
| impl ::core::marker::Copy for NS_INFOA {} |
| impl ::core::clone::Clone for NS_INFOA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for NS_INFOA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NS_INFOA").field("dwNameSpace", &self.dwNameSpace).field("dwNameSpaceFlags", &self.dwNameSpaceFlags).field("lpNameSpace", &self.lpNameSpace).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for NS_INFOA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for NS_INFOA { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNameSpace == other.dwNameSpace && self.dwNameSpaceFlags == other.dwNameSpaceFlags && self.lpNameSpace == other.lpNameSpace |
| } |
| } |
| impl ::core::cmp::Eq for NS_INFOA {} |
| impl ::core::default::Default for NS_INFOA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct NS_INFOW { |
| pub dwNameSpace: u32, |
| pub dwNameSpaceFlags: u32, |
| pub lpNameSpace: ::windows::core::PWSTR, |
| } |
| impl ::core::marker::Copy for NS_INFOW {} |
| impl ::core::clone::Clone for NS_INFOW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for NS_INFOW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NS_INFOW").field("dwNameSpace", &self.dwNameSpace).field("dwNameSpaceFlags", &self.dwNameSpaceFlags).field("lpNameSpace", &self.lpNameSpace).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for NS_INFOW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for NS_INFOW { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNameSpace == other.dwNameSpace && self.dwNameSpaceFlags == other.dwNameSpaceFlags && self.lpNameSpace == other.lpNameSpace |
| } |
| } |
| impl ::core::cmp::Eq for NS_INFOW {} |
| impl ::core::default::Default for NS_INFOW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(feature = "Win32_System_Com")] |
| pub struct NS_SERVICE_INFOA { |
| pub dwNameSpace: u32, |
| pub ServiceInfo: SERVICE_INFOA, |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::marker::Copy for NS_SERVICE_INFOA {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::clone::Clone for NS_SERVICE_INFOA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::fmt::Debug for NS_SERVICE_INFOA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NS_SERVICE_INFOA").field("dwNameSpace", &self.dwNameSpace).field("ServiceInfo", &self.ServiceInfo).finish() |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::windows::core::TypeKind for NS_SERVICE_INFOA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::PartialEq for NS_SERVICE_INFOA { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNameSpace == other.dwNameSpace && self.ServiceInfo == other.ServiceInfo |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::Eq for NS_SERVICE_INFOA {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::default::Default for NS_SERVICE_INFOA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(feature = "Win32_System_Com")] |
| pub struct NS_SERVICE_INFOW { |
| pub dwNameSpace: u32, |
| pub ServiceInfo: SERVICE_INFOW, |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::marker::Copy for NS_SERVICE_INFOW {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::clone::Clone for NS_SERVICE_INFOW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::fmt::Debug for NS_SERVICE_INFOW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("NS_SERVICE_INFOW").field("dwNameSpace", &self.dwNameSpace).field("ServiceInfo", &self.ServiceInfo).finish() |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::windows::core::TypeKind for NS_SERVICE_INFOW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::PartialEq for NS_SERVICE_INFOW { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNameSpace == other.dwNameSpace && self.ServiceInfo == other.ServiceInfo |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::Eq for NS_SERVICE_INFOW {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::default::Default for NS_SERVICE_INFOW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct PRIORITY_STATUS { |
| pub Sender: SOCKET_PRIORITY_HINT, |
| pub Receiver: SOCKET_PRIORITY_HINT, |
| } |
| impl ::core::marker::Copy for PRIORITY_STATUS {} |
| impl ::core::clone::Clone for PRIORITY_STATUS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for PRIORITY_STATUS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("PRIORITY_STATUS").field("Sender", &self.Sender).field("Receiver", &self.Receiver).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for PRIORITY_STATUS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for PRIORITY_STATUS { |
| fn eq(&self, other: &Self) -> bool { |
| self.Sender == other.Sender && self.Receiver == other.Receiver |
| } |
| } |
| impl ::core::cmp::Eq for PRIORITY_STATUS {} |
| impl ::core::default::Default for PRIORITY_STATUS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct PROTOCOL_INFOA { |
| pub dwServiceFlags: u32, |
| pub iAddressFamily: i32, |
| pub iMaxSockAddr: i32, |
| pub iMinSockAddr: i32, |
| pub iSocketType: i32, |
| pub iProtocol: i32, |
| pub dwMessageSize: u32, |
| pub lpProtocol: ::windows::core::PSTR, |
| } |
| impl ::core::marker::Copy for PROTOCOL_INFOA {} |
| impl ::core::clone::Clone for PROTOCOL_INFOA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for PROTOCOL_INFOA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("PROTOCOL_INFOA").field("dwServiceFlags", &self.dwServiceFlags).field("iAddressFamily", &self.iAddressFamily).field("iMaxSockAddr", &self.iMaxSockAddr).field("iMinSockAddr", &self.iMinSockAddr).field("iSocketType", &self.iSocketType).field("iProtocol", &self.iProtocol).field("dwMessageSize", &self.dwMessageSize).field("lpProtocol", &self.lpProtocol).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for PROTOCOL_INFOA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for PROTOCOL_INFOA { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwServiceFlags == other.dwServiceFlags && self.iAddressFamily == other.iAddressFamily && self.iMaxSockAddr == other.iMaxSockAddr && self.iMinSockAddr == other.iMinSockAddr && self.iSocketType == other.iSocketType && self.iProtocol == other.iProtocol && self.dwMessageSize == other.dwMessageSize && self.lpProtocol == other.lpProtocol |
| } |
| } |
| impl ::core::cmp::Eq for PROTOCOL_INFOA {} |
| impl ::core::default::Default for PROTOCOL_INFOA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct PROTOCOL_INFOW { |
| pub dwServiceFlags: u32, |
| pub iAddressFamily: i32, |
| pub iMaxSockAddr: i32, |
| pub iMinSockAddr: i32, |
| pub iSocketType: i32, |
| pub iProtocol: i32, |
| pub dwMessageSize: u32, |
| pub lpProtocol: ::windows::core::PWSTR, |
| } |
| impl ::core::marker::Copy for PROTOCOL_INFOW {} |
| impl ::core::clone::Clone for PROTOCOL_INFOW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for PROTOCOL_INFOW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("PROTOCOL_INFOW").field("dwServiceFlags", &self.dwServiceFlags).field("iAddressFamily", &self.iAddressFamily).field("iMaxSockAddr", &self.iMaxSockAddr).field("iMinSockAddr", &self.iMinSockAddr).field("iSocketType", &self.iSocketType).field("iProtocol", &self.iProtocol).field("dwMessageSize", &self.dwMessageSize).field("lpProtocol", &self.lpProtocol).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for PROTOCOL_INFOW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for PROTOCOL_INFOW { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwServiceFlags == other.dwServiceFlags && self.iAddressFamily == other.iAddressFamily && self.iMaxSockAddr == other.iMaxSockAddr && self.iMinSockAddr == other.iMinSockAddr && self.iSocketType == other.iSocketType && self.iProtocol == other.iProtocol && self.dwMessageSize == other.dwMessageSize && self.lpProtocol == other.lpProtocol |
| } |
| } |
| impl ::core::cmp::Eq for PROTOCOL_INFOW {} |
| impl ::core::default::Default for PROTOCOL_INFOW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct PROTOENT { |
| pub p_name: ::windows::core::PSTR, |
| pub p_aliases: *mut *mut i8, |
| pub p_proto: i16, |
| } |
| impl ::core::marker::Copy for PROTOENT {} |
| impl ::core::clone::Clone for PROTOENT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for PROTOENT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("PROTOENT").field("p_name", &self.p_name).field("p_aliases", &self.p_aliases).field("p_proto", &self.p_proto).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for PROTOENT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for PROTOENT { |
| fn eq(&self, other: &Self) -> bool { |
| self.p_name == other.p_name && self.p_aliases == other.p_aliases && self.p_proto == other.p_proto |
| } |
| } |
| impl ::core::cmp::Eq for PROTOENT {} |
| impl ::core::default::Default for PROTOENT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct Q2931_IE { |
| pub IEType: Q2931_IE_TYPE, |
| pub IELength: u32, |
| pub IE: [u8; 1], |
| } |
| impl ::core::marker::Copy for Q2931_IE {} |
| impl ::core::clone::Clone for Q2931_IE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for Q2931_IE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("Q2931_IE").field("IEType", &self.IEType).field("IELength", &self.IELength).field("IE", &self.IE).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for Q2931_IE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for Q2931_IE { |
| fn eq(&self, other: &Self) -> bool { |
| self.IEType == other.IEType && self.IELength == other.IELength && self.IE == other.IE |
| } |
| } |
| impl ::core::cmp::Eq for Q2931_IE {} |
| impl ::core::default::Default for Q2931_IE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct QOS { |
| pub SendingFlowspec: FLOWSPEC, |
| pub ReceivingFlowspec: FLOWSPEC, |
| pub ProviderSpecific: WSABUF, |
| } |
| impl ::core::marker::Copy for QOS {} |
| impl ::core::clone::Clone for QOS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for QOS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("QOS").field("SendingFlowspec", &self.SendingFlowspec).field("ReceivingFlowspec", &self.ReceivingFlowspec).field("ProviderSpecific", &self.ProviderSpecific).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for QOS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for QOS { |
| fn eq(&self, other: &Self) -> bool { |
| self.SendingFlowspec == other.SendingFlowspec && self.ReceivingFlowspec == other.ReceivingFlowspec && self.ProviderSpecific == other.ProviderSpecific |
| } |
| } |
| impl ::core::cmp::Eq for QOS {} |
| impl ::core::default::Default for QOS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct RCVALL_IF { |
| pub Mode: RCVALL_VALUE, |
| pub Interface: u32, |
| } |
| impl ::core::marker::Copy for RCVALL_IF {} |
| impl ::core::clone::Clone for RCVALL_IF { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for RCVALL_IF { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RCVALL_IF").field("Mode", &self.Mode).field("Interface", &self.Interface).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for RCVALL_IF { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for RCVALL_IF { |
| fn eq(&self, other: &Self) -> bool { |
| self.Mode == other.Mode && self.Interface == other.Interface |
| } |
| } |
| impl ::core::cmp::Eq for RCVALL_IF {} |
| impl ::core::default::Default for RCVALL_IF { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct REAL_TIME_NOTIFICATION_SETTING_INPUT { |
| pub TransportSettingId: TRANSPORT_SETTING_ID, |
| pub BrokerEventGuid: ::windows::core::GUID, |
| } |
| impl ::core::marker::Copy for REAL_TIME_NOTIFICATION_SETTING_INPUT {} |
| impl ::core::clone::Clone for REAL_TIME_NOTIFICATION_SETTING_INPUT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for REAL_TIME_NOTIFICATION_SETTING_INPUT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("REAL_TIME_NOTIFICATION_SETTING_INPUT").field("TransportSettingId", &self.TransportSettingId).field("BrokerEventGuid", &self.BrokerEventGuid).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for REAL_TIME_NOTIFICATION_SETTING_INPUT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for REAL_TIME_NOTIFICATION_SETTING_INPUT { |
| fn eq(&self, other: &Self) -> bool { |
| self.TransportSettingId == other.TransportSettingId && self.BrokerEventGuid == other.BrokerEventGuid |
| } |
| } |
| impl ::core::cmp::Eq for REAL_TIME_NOTIFICATION_SETTING_INPUT {} |
| impl ::core::default::Default for REAL_TIME_NOTIFICATION_SETTING_INPUT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct REAL_TIME_NOTIFICATION_SETTING_INPUT_EX { |
| pub TransportSettingId: TRANSPORT_SETTING_ID, |
| pub BrokerEventGuid: ::windows::core::GUID, |
| pub Unmark: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for REAL_TIME_NOTIFICATION_SETTING_INPUT_EX {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for REAL_TIME_NOTIFICATION_SETTING_INPUT_EX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for REAL_TIME_NOTIFICATION_SETTING_INPUT_EX { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("REAL_TIME_NOTIFICATION_SETTING_INPUT_EX").field("TransportSettingId", &self.TransportSettingId).field("BrokerEventGuid", &self.BrokerEventGuid).field("Unmark", &self.Unmark).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for REAL_TIME_NOTIFICATION_SETTING_INPUT_EX { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for REAL_TIME_NOTIFICATION_SETTING_INPUT_EX { |
| fn eq(&self, other: &Self) -> bool { |
| self.TransportSettingId == other.TransportSettingId && self.BrokerEventGuid == other.BrokerEventGuid && self.Unmark == other.Unmark |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for REAL_TIME_NOTIFICATION_SETTING_INPUT_EX {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for REAL_TIME_NOTIFICATION_SETTING_INPUT_EX { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct REAL_TIME_NOTIFICATION_SETTING_OUTPUT { |
| pub ChannelStatus: CONTROL_CHANNEL_TRIGGER_STATUS, |
| } |
| impl ::core::marker::Copy for REAL_TIME_NOTIFICATION_SETTING_OUTPUT {} |
| impl ::core::clone::Clone for REAL_TIME_NOTIFICATION_SETTING_OUTPUT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for REAL_TIME_NOTIFICATION_SETTING_OUTPUT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("REAL_TIME_NOTIFICATION_SETTING_OUTPUT").field("ChannelStatus", &self.ChannelStatus).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for REAL_TIME_NOTIFICATION_SETTING_OUTPUT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for REAL_TIME_NOTIFICATION_SETTING_OUTPUT { |
| fn eq(&self, other: &Self) -> bool { |
| self.ChannelStatus == other.ChannelStatus |
| } |
| } |
| impl ::core::cmp::Eq for REAL_TIME_NOTIFICATION_SETTING_OUTPUT {} |
| impl ::core::default::Default for REAL_TIME_NOTIFICATION_SETTING_OUTPUT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct RIORESULT { |
| pub Status: i32, |
| pub BytesTransferred: u32, |
| pub SocketContext: u64, |
| pub RequestContext: u64, |
| } |
| impl ::core::marker::Copy for RIORESULT {} |
| impl ::core::clone::Clone for RIORESULT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for RIORESULT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RIORESULT").field("Status", &self.Status).field("BytesTransferred", &self.BytesTransferred).field("SocketContext", &self.SocketContext).field("RequestContext", &self.RequestContext).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for RIORESULT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for RIORESULT { |
| fn eq(&self, other: &Self) -> bool { |
| self.Status == other.Status && self.BytesTransferred == other.BytesTransferred && self.SocketContext == other.SocketContext && self.RequestContext == other.RequestContext |
| } |
| } |
| impl ::core::cmp::Eq for RIORESULT {} |
| impl ::core::default::Default for RIORESULT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct RIO_BUF { |
| pub BufferId: *mut RIO_BUFFERID_t, |
| pub Offset: u32, |
| pub Length: u32, |
| } |
| impl ::core::marker::Copy for RIO_BUF {} |
| impl ::core::clone::Clone for RIO_BUF { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for RIO_BUF { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RIO_BUF").field("BufferId", &self.BufferId).field("Offset", &self.Offset).field("Length", &self.Length).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for RIO_BUF { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for RIO_BUF { |
| fn eq(&self, other: &Self) -> bool { |
| self.BufferId == other.BufferId && self.Offset == other.Offset && self.Length == other.Length |
| } |
| } |
| impl ::core::cmp::Eq for RIO_BUF {} |
| impl ::core::default::Default for RIO_BUF { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct RIO_BUFFERID_t(pub u8); |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct RIO_CMSG_BUFFER { |
| pub TotalLength: u32, |
| } |
| impl ::core::marker::Copy for RIO_CMSG_BUFFER {} |
| impl ::core::clone::Clone for RIO_CMSG_BUFFER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for RIO_CMSG_BUFFER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RIO_CMSG_BUFFER").field("TotalLength", &self.TotalLength).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for RIO_CMSG_BUFFER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for RIO_CMSG_BUFFER { |
| fn eq(&self, other: &Self) -> bool { |
| self.TotalLength == other.TotalLength |
| } |
| } |
| impl ::core::cmp::Eq for RIO_CMSG_BUFFER {} |
| impl ::core::default::Default for RIO_CMSG_BUFFER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct RIO_CQ_t(pub u8); |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct RIO_EXTENSION_FUNCTION_TABLE { |
| pub cbSize: u32, |
| pub RIOReceive: LPFN_RIORECEIVE, |
| pub RIOReceiveEx: LPFN_RIORECEIVEEX, |
| pub RIOSend: LPFN_RIOSEND, |
| pub RIOSendEx: LPFN_RIOSENDEX, |
| pub RIOCloseCompletionQueue: LPFN_RIOCLOSECOMPLETIONQUEUE, |
| pub RIOCreateCompletionQueue: LPFN_RIOCREATECOMPLETIONQUEUE, |
| pub RIOCreateRequestQueue: LPFN_RIOCREATEREQUESTQUEUE, |
| pub RIODequeueCompletion: LPFN_RIODEQUEUECOMPLETION, |
| pub RIODeregisterBuffer: LPFN_RIODEREGISTERBUFFER, |
| pub RIONotify: LPFN_RIONOTIFY, |
| pub RIORegisterBuffer: LPFN_RIOREGISTERBUFFER, |
| pub RIOResizeCompletionQueue: LPFN_RIORESIZECOMPLETIONQUEUE, |
| pub RIOResizeRequestQueue: LPFN_RIORESIZEREQUESTQUEUE, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for RIO_EXTENSION_FUNCTION_TABLE {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for RIO_EXTENSION_FUNCTION_TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for RIO_EXTENSION_FUNCTION_TABLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RIO_EXTENSION_FUNCTION_TABLE").field("cbSize", &self.cbSize).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for RIO_EXTENSION_FUNCTION_TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for RIO_EXTENSION_FUNCTION_TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct RIO_NOTIFICATION_COMPLETION { |
| pub Type: RIO_NOTIFICATION_COMPLETION_TYPE, |
| pub Anonymous: RIO_NOTIFICATION_COMPLETION_0, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for RIO_NOTIFICATION_COMPLETION {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for RIO_NOTIFICATION_COMPLETION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for RIO_NOTIFICATION_COMPLETION { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for RIO_NOTIFICATION_COMPLETION { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub union RIO_NOTIFICATION_COMPLETION_0 { |
| pub Event: RIO_NOTIFICATION_COMPLETION_0_0, |
| pub Iocp: RIO_NOTIFICATION_COMPLETION_0_1, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for RIO_NOTIFICATION_COMPLETION_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for RIO_NOTIFICATION_COMPLETION_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for RIO_NOTIFICATION_COMPLETION_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for RIO_NOTIFICATION_COMPLETION_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct RIO_NOTIFICATION_COMPLETION_0_0 { |
| pub EventHandle: super::super::Foundation::HANDLE, |
| pub NotifyReset: super::super::Foundation::BOOL, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for RIO_NOTIFICATION_COMPLETION_0_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for RIO_NOTIFICATION_COMPLETION_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for RIO_NOTIFICATION_COMPLETION_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RIO_NOTIFICATION_COMPLETION_0_0").field("EventHandle", &self.EventHandle).field("NotifyReset", &self.NotifyReset).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for RIO_NOTIFICATION_COMPLETION_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for RIO_NOTIFICATION_COMPLETION_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.EventHandle == other.EventHandle && self.NotifyReset == other.NotifyReset |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for RIO_NOTIFICATION_COMPLETION_0_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for RIO_NOTIFICATION_COMPLETION_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct RIO_NOTIFICATION_COMPLETION_0_1 { |
| pub IocpHandle: super::super::Foundation::HANDLE, |
| pub CompletionKey: *mut ::core::ffi::c_void, |
| pub Overlapped: *mut ::core::ffi::c_void, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for RIO_NOTIFICATION_COMPLETION_0_1 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for RIO_NOTIFICATION_COMPLETION_0_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for RIO_NOTIFICATION_COMPLETION_0_1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RIO_NOTIFICATION_COMPLETION_0_1").field("IocpHandle", &self.IocpHandle).field("CompletionKey", &self.CompletionKey).field("Overlapped", &self.Overlapped).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for RIO_NOTIFICATION_COMPLETION_0_1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for RIO_NOTIFICATION_COMPLETION_0_1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.IocpHandle == other.IocpHandle && self.CompletionKey == other.CompletionKey && self.Overlapped == other.Overlapped |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for RIO_NOTIFICATION_COMPLETION_0_1 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for RIO_NOTIFICATION_COMPLETION_0_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| pub struct RIO_RQ_t(pub u8); |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct RM_FEC_INFO { |
| pub FECBlockSize: u16, |
| pub FECProActivePackets: u16, |
| pub FECGroupSize: u8, |
| pub fFECOnDemandParityEnabled: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for RM_FEC_INFO {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for RM_FEC_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for RM_FEC_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RM_FEC_INFO").field("FECBlockSize", &self.FECBlockSize).field("FECProActivePackets", &self.FECProActivePackets).field("FECGroupSize", &self.FECGroupSize).field("fFECOnDemandParityEnabled", &self.fFECOnDemandParityEnabled).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for RM_FEC_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for RM_FEC_INFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.FECBlockSize == other.FECBlockSize && self.FECProActivePackets == other.FECProActivePackets && self.FECGroupSize == other.FECGroupSize && self.fFECOnDemandParityEnabled == other.fFECOnDemandParityEnabled |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for RM_FEC_INFO {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for RM_FEC_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct RM_RECEIVER_STATS { |
| pub NumODataPacketsReceived: u64, |
| pub NumRDataPacketsReceived: u64, |
| pub NumDuplicateDataPackets: u64, |
| pub DataBytesReceived: u64, |
| pub TotalBytesReceived: u64, |
| pub RateKBitsPerSecOverall: u64, |
| pub RateKBitsPerSecLast: u64, |
| pub TrailingEdgeSeqId: u64, |
| pub LeadingEdgeSeqId: u64, |
| pub AverageSequencesInWindow: u64, |
| pub MinSequencesInWindow: u64, |
| pub MaxSequencesInWindow: u64, |
| pub FirstNakSequenceNumber: u64, |
| pub NumPendingNaks: u64, |
| pub NumOutstandingNaks: u64, |
| pub NumDataPacketsBuffered: u64, |
| pub TotalSelectiveNaksSent: u64, |
| pub TotalParityNaksSent: u64, |
| } |
| impl ::core::marker::Copy for RM_RECEIVER_STATS {} |
| impl ::core::clone::Clone for RM_RECEIVER_STATS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for RM_RECEIVER_STATS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RM_RECEIVER_STATS") |
| .field("NumODataPacketsReceived", &self.NumODataPacketsReceived) |
| .field("NumRDataPacketsReceived", &self.NumRDataPacketsReceived) |
| .field("NumDuplicateDataPackets", &self.NumDuplicateDataPackets) |
| .field("DataBytesReceived", &self.DataBytesReceived) |
| .field("TotalBytesReceived", &self.TotalBytesReceived) |
| .field("RateKBitsPerSecOverall", &self.RateKBitsPerSecOverall) |
| .field("RateKBitsPerSecLast", &self.RateKBitsPerSecLast) |
| .field("TrailingEdgeSeqId", &self.TrailingEdgeSeqId) |
| .field("LeadingEdgeSeqId", &self.LeadingEdgeSeqId) |
| .field("AverageSequencesInWindow", &self.AverageSequencesInWindow) |
| .field("MinSequencesInWindow", &self.MinSequencesInWindow) |
| .field("MaxSequencesInWindow", &self.MaxSequencesInWindow) |
| .field("FirstNakSequenceNumber", &self.FirstNakSequenceNumber) |
| .field("NumPendingNaks", &self.NumPendingNaks) |
| .field("NumOutstandingNaks", &self.NumOutstandingNaks) |
| .field("NumDataPacketsBuffered", &self.NumDataPacketsBuffered) |
| .field("TotalSelectiveNaksSent", &self.TotalSelectiveNaksSent) |
| .field("TotalParityNaksSent", &self.TotalParityNaksSent) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for RM_RECEIVER_STATS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for RM_RECEIVER_STATS { |
| fn eq(&self, other: &Self) -> bool { |
| self.NumODataPacketsReceived == other.NumODataPacketsReceived |
| && self.NumRDataPacketsReceived == other.NumRDataPacketsReceived |
| && self.NumDuplicateDataPackets == other.NumDuplicateDataPackets |
| && self.DataBytesReceived == other.DataBytesReceived |
| && self.TotalBytesReceived == other.TotalBytesReceived |
| && self.RateKBitsPerSecOverall == other.RateKBitsPerSecOverall |
| && self.RateKBitsPerSecLast == other.RateKBitsPerSecLast |
| && self.TrailingEdgeSeqId == other.TrailingEdgeSeqId |
| && self.LeadingEdgeSeqId == other.LeadingEdgeSeqId |
| && self.AverageSequencesInWindow == other.AverageSequencesInWindow |
| && self.MinSequencesInWindow == other.MinSequencesInWindow |
| && self.MaxSequencesInWindow == other.MaxSequencesInWindow |
| && self.FirstNakSequenceNumber == other.FirstNakSequenceNumber |
| && self.NumPendingNaks == other.NumPendingNaks |
| && self.NumOutstandingNaks == other.NumOutstandingNaks |
| && self.NumDataPacketsBuffered == other.NumDataPacketsBuffered |
| && self.TotalSelectiveNaksSent == other.TotalSelectiveNaksSent |
| && self.TotalParityNaksSent == other.TotalParityNaksSent |
| } |
| } |
| impl ::core::cmp::Eq for RM_RECEIVER_STATS {} |
| impl ::core::default::Default for RM_RECEIVER_STATS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct RM_SENDER_STATS { |
| pub DataBytesSent: u64, |
| pub TotalBytesSent: u64, |
| pub NaksReceived: u64, |
| pub NaksReceivedTooLate: u64, |
| pub NumOutstandingNaks: u64, |
| pub NumNaksAfterRData: u64, |
| pub RepairPacketsSent: u64, |
| pub BufferSpaceAvailable: u64, |
| pub TrailingEdgeSeqId: u64, |
| pub LeadingEdgeSeqId: u64, |
| pub RateKBitsPerSecOverall: u64, |
| pub RateKBitsPerSecLast: u64, |
| pub TotalODataPacketsSent: u64, |
| } |
| impl ::core::marker::Copy for RM_SENDER_STATS {} |
| impl ::core::clone::Clone for RM_SENDER_STATS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for RM_SENDER_STATS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RM_SENDER_STATS") |
| .field("DataBytesSent", &self.DataBytesSent) |
| .field("TotalBytesSent", &self.TotalBytesSent) |
| .field("NaksReceived", &self.NaksReceived) |
| .field("NaksReceivedTooLate", &self.NaksReceivedTooLate) |
| .field("NumOutstandingNaks", &self.NumOutstandingNaks) |
| .field("NumNaksAfterRData", &self.NumNaksAfterRData) |
| .field("RepairPacketsSent", &self.RepairPacketsSent) |
| .field("BufferSpaceAvailable", &self.BufferSpaceAvailable) |
| .field("TrailingEdgeSeqId", &self.TrailingEdgeSeqId) |
| .field("LeadingEdgeSeqId", &self.LeadingEdgeSeqId) |
| .field("RateKBitsPerSecOverall", &self.RateKBitsPerSecOverall) |
| .field("RateKBitsPerSecLast", &self.RateKBitsPerSecLast) |
| .field("TotalODataPacketsSent", &self.TotalODataPacketsSent) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for RM_SENDER_STATS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for RM_SENDER_STATS { |
| fn eq(&self, other: &Self) -> bool { |
| self.DataBytesSent == other.DataBytesSent && self.TotalBytesSent == other.TotalBytesSent && self.NaksReceived == other.NaksReceived && self.NaksReceivedTooLate == other.NaksReceivedTooLate && self.NumOutstandingNaks == other.NumOutstandingNaks && self.NumNaksAfterRData == other.NumNaksAfterRData && self.RepairPacketsSent == other.RepairPacketsSent && self.BufferSpaceAvailable == other.BufferSpaceAvailable && self.TrailingEdgeSeqId == other.TrailingEdgeSeqId && self.LeadingEdgeSeqId == other.LeadingEdgeSeqId && self.RateKBitsPerSecOverall == other.RateKBitsPerSecOverall && self.RateKBitsPerSecLast == other.RateKBitsPerSecLast && self.TotalODataPacketsSent == other.TotalODataPacketsSent |
| } |
| } |
| impl ::core::cmp::Eq for RM_SENDER_STATS {} |
| impl ::core::default::Default for RM_SENDER_STATS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct RM_SEND_WINDOW { |
| pub RateKbitsPerSec: u32, |
| pub WindowSizeInMSecs: u32, |
| pub WindowSizeInBytes: u32, |
| } |
| impl ::core::marker::Copy for RM_SEND_WINDOW {} |
| impl ::core::clone::Clone for RM_SEND_WINDOW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for RM_SEND_WINDOW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RM_SEND_WINDOW").field("RateKbitsPerSec", &self.RateKbitsPerSec).field("WindowSizeInMSecs", &self.WindowSizeInMSecs).field("WindowSizeInBytes", &self.WindowSizeInBytes).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for RM_SEND_WINDOW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for RM_SEND_WINDOW { |
| fn eq(&self, other: &Self) -> bool { |
| self.RateKbitsPerSec == other.RateKbitsPerSec && self.WindowSizeInMSecs == other.WindowSizeInMSecs && self.WindowSizeInBytes == other.WindowSizeInBytes |
| } |
| } |
| impl ::core::cmp::Eq for RM_SEND_WINDOW {} |
| impl ::core::default::Default for RM_SEND_WINDOW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct RSS_SCALABILITY_INFO { |
| pub RssEnabled: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for RSS_SCALABILITY_INFO {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for RSS_SCALABILITY_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for RSS_SCALABILITY_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("RSS_SCALABILITY_INFO").field("RssEnabled", &self.RssEnabled).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for RSS_SCALABILITY_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for RSS_SCALABILITY_INFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.RssEnabled == other.RssEnabled |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for RSS_SCALABILITY_INFO {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for RSS_SCALABILITY_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SCOPE_ID { |
| pub Anonymous: SCOPE_ID_0, |
| } |
| impl ::core::marker::Copy for SCOPE_ID {} |
| impl ::core::clone::Clone for SCOPE_ID { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for SCOPE_ID { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for SCOPE_ID { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union SCOPE_ID_0 { |
| pub Anonymous: SCOPE_ID_0_0, |
| pub Value: u32, |
| } |
| impl ::core::marker::Copy for SCOPE_ID_0 {} |
| impl ::core::clone::Clone for SCOPE_ID_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for SCOPE_ID_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for SCOPE_ID_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SCOPE_ID_0_0 { |
| pub _bitfield: u32, |
| } |
| impl ::core::marker::Copy for SCOPE_ID_0_0 {} |
| impl ::core::clone::Clone for SCOPE_ID_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SCOPE_ID_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SCOPE_ID_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SCOPE_ID_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SCOPE_ID_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for SCOPE_ID_0_0 {} |
| impl ::core::default::Default for SCOPE_ID_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct SERVENT { |
| pub s_name: ::windows::core::PSTR, |
| pub s_aliases: *mut *mut i8, |
| pub s_proto: ::windows::core::PSTR, |
| pub s_port: i16, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for SERVENT {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for SERVENT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::fmt::Debug for SERVENT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SERVENT").field("s_name", &self.s_name).field("s_aliases", &self.s_aliases).field("s_proto", &self.s_proto).field("s_port", &self.s_port).finish() |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows::core::TypeKind for SERVENT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::cmp::PartialEq for SERVENT { |
| fn eq(&self, other: &Self) -> bool { |
| self.s_name == other.s_name && self.s_aliases == other.s_aliases && self.s_proto == other.s_proto && self.s_port == other.s_port |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::cmp::Eq for SERVENT {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for SERVENT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(target_arch = "x86")] |
| pub struct SERVENT { |
| pub s_name: ::windows::core::PSTR, |
| pub s_aliases: *mut *mut i8, |
| pub s_port: i16, |
| pub s_proto: ::windows::core::PSTR, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for SERVENT {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for SERVENT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::fmt::Debug for SERVENT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SERVENT").field("s_name", &self.s_name).field("s_aliases", &self.s_aliases).field("s_port", &self.s_port).field("s_proto", &self.s_proto).finish() |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows::core::TypeKind for SERVENT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::cmp::PartialEq for SERVENT { |
| fn eq(&self, other: &Self) -> bool { |
| self.s_name == other.s_name && self.s_aliases == other.s_aliases && self.s_port == other.s_port && self.s_proto == other.s_proto |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::cmp::Eq for SERVENT {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for SERVENT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SERVICE_ADDRESS { |
| pub dwAddressType: u32, |
| pub dwAddressFlags: u32, |
| pub dwAddressLength: u32, |
| pub dwPrincipalLength: u32, |
| pub lpAddress: *mut u8, |
| pub lpPrincipal: *mut u8, |
| } |
| impl ::core::marker::Copy for SERVICE_ADDRESS {} |
| impl ::core::clone::Clone for SERVICE_ADDRESS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SERVICE_ADDRESS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SERVICE_ADDRESS").field("dwAddressType", &self.dwAddressType).field("dwAddressFlags", &self.dwAddressFlags).field("dwAddressLength", &self.dwAddressLength).field("dwPrincipalLength", &self.dwPrincipalLength).field("lpAddress", &self.lpAddress).field("lpPrincipal", &self.lpPrincipal).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SERVICE_ADDRESS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SERVICE_ADDRESS { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwAddressType == other.dwAddressType && self.dwAddressFlags == other.dwAddressFlags && self.dwAddressLength == other.dwAddressLength && self.dwPrincipalLength == other.dwPrincipalLength && self.lpAddress == other.lpAddress && self.lpPrincipal == other.lpPrincipal |
| } |
| } |
| impl ::core::cmp::Eq for SERVICE_ADDRESS {} |
| impl ::core::default::Default for SERVICE_ADDRESS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SERVICE_ADDRESSES { |
| pub dwAddressCount: u32, |
| pub Addresses: [SERVICE_ADDRESS; 1], |
| } |
| impl ::core::marker::Copy for SERVICE_ADDRESSES {} |
| impl ::core::clone::Clone for SERVICE_ADDRESSES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SERVICE_ADDRESSES { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SERVICE_ADDRESSES").field("dwAddressCount", &self.dwAddressCount).field("Addresses", &self.Addresses).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SERVICE_ADDRESSES { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SERVICE_ADDRESSES { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwAddressCount == other.dwAddressCount && self.Addresses == other.Addresses |
| } |
| } |
| impl ::core::cmp::Eq for SERVICE_ADDRESSES {} |
| impl ::core::default::Default for SERVICE_ADDRESSES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct SERVICE_ASYNC_INFO { |
| pub lpServiceCallbackProc: LPSERVICE_CALLBACK_PROC, |
| pub lParam: super::super::Foundation::LPARAM, |
| pub hAsyncTaskHandle: super::super::Foundation::HANDLE, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for SERVICE_ASYNC_INFO {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for SERVICE_ASYNC_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for SERVICE_ASYNC_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SERVICE_ASYNC_INFO").field("lParam", &self.lParam).field("hAsyncTaskHandle", &self.hAsyncTaskHandle).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for SERVICE_ASYNC_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for SERVICE_ASYNC_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(feature = "Win32_System_Com")] |
| pub struct SERVICE_INFOA { |
| pub lpServiceType: *mut ::windows::core::GUID, |
| pub lpServiceName: ::windows::core::PSTR, |
| pub lpComment: ::windows::core::PSTR, |
| pub lpLocale: ::windows::core::PSTR, |
| pub dwDisplayHint: RESOURCE_DISPLAY_TYPE, |
| pub dwVersion: u32, |
| pub dwTime: u32, |
| pub lpMachineName: ::windows::core::PSTR, |
| pub lpServiceAddress: *mut SERVICE_ADDRESSES, |
| pub ServiceSpecificInfo: super::super::System::Com::BLOB, |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::marker::Copy for SERVICE_INFOA {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::clone::Clone for SERVICE_INFOA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::fmt::Debug for SERVICE_INFOA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SERVICE_INFOA").field("lpServiceType", &self.lpServiceType).field("lpServiceName", &self.lpServiceName).field("lpComment", &self.lpComment).field("lpLocale", &self.lpLocale).field("dwDisplayHint", &self.dwDisplayHint).field("dwVersion", &self.dwVersion).field("dwTime", &self.dwTime).field("lpMachineName", &self.lpMachineName).field("lpServiceAddress", &self.lpServiceAddress).field("ServiceSpecificInfo", &self.ServiceSpecificInfo).finish() |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::windows::core::TypeKind for SERVICE_INFOA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::PartialEq for SERVICE_INFOA { |
| fn eq(&self, other: &Self) -> bool { |
| self.lpServiceType == other.lpServiceType && self.lpServiceName == other.lpServiceName && self.lpComment == other.lpComment && self.lpLocale == other.lpLocale && self.dwDisplayHint == other.dwDisplayHint && self.dwVersion == other.dwVersion && self.dwTime == other.dwTime && self.lpMachineName == other.lpMachineName && self.lpServiceAddress == other.lpServiceAddress && self.ServiceSpecificInfo == other.ServiceSpecificInfo |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::Eq for SERVICE_INFOA {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::default::Default for SERVICE_INFOA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(feature = "Win32_System_Com")] |
| pub struct SERVICE_INFOW { |
| pub lpServiceType: *mut ::windows::core::GUID, |
| pub lpServiceName: ::windows::core::PWSTR, |
| pub lpComment: ::windows::core::PWSTR, |
| pub lpLocale: ::windows::core::PWSTR, |
| pub dwDisplayHint: RESOURCE_DISPLAY_TYPE, |
| pub dwVersion: u32, |
| pub dwTime: u32, |
| pub lpMachineName: ::windows::core::PWSTR, |
| pub lpServiceAddress: *mut SERVICE_ADDRESSES, |
| pub ServiceSpecificInfo: super::super::System::Com::BLOB, |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::marker::Copy for SERVICE_INFOW {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::clone::Clone for SERVICE_INFOW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::fmt::Debug for SERVICE_INFOW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SERVICE_INFOW").field("lpServiceType", &self.lpServiceType).field("lpServiceName", &self.lpServiceName).field("lpComment", &self.lpComment).field("lpLocale", &self.lpLocale).field("dwDisplayHint", &self.dwDisplayHint).field("dwVersion", &self.dwVersion).field("dwTime", &self.dwTime).field("lpMachineName", &self.lpMachineName).field("lpServiceAddress", &self.lpServiceAddress).field("ServiceSpecificInfo", &self.ServiceSpecificInfo).finish() |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::windows::core::TypeKind for SERVICE_INFOW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::PartialEq for SERVICE_INFOW { |
| fn eq(&self, other: &Self) -> bool { |
| self.lpServiceType == other.lpServiceType && self.lpServiceName == other.lpServiceName && self.lpComment == other.lpComment && self.lpLocale == other.lpLocale && self.dwDisplayHint == other.dwDisplayHint && self.dwVersion == other.dwVersion && self.dwTime == other.dwTime && self.lpMachineName == other.lpMachineName && self.lpServiceAddress == other.lpServiceAddress && self.ServiceSpecificInfo == other.ServiceSpecificInfo |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::Eq for SERVICE_INFOW {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::default::Default for SERVICE_INFOW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SERVICE_TYPE_INFO { |
| pub dwTypeNameOffset: u32, |
| pub dwValueCount: u32, |
| pub Values: [SERVICE_TYPE_VALUE; 1], |
| } |
| impl ::core::marker::Copy for SERVICE_TYPE_INFO {} |
| impl ::core::clone::Clone for SERVICE_TYPE_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SERVICE_TYPE_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SERVICE_TYPE_INFO").field("dwTypeNameOffset", &self.dwTypeNameOffset).field("dwValueCount", &self.dwValueCount).field("Values", &self.Values).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SERVICE_TYPE_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SERVICE_TYPE_INFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwTypeNameOffset == other.dwTypeNameOffset && self.dwValueCount == other.dwValueCount && self.Values == other.Values |
| } |
| } |
| impl ::core::cmp::Eq for SERVICE_TYPE_INFO {} |
| impl ::core::default::Default for SERVICE_TYPE_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SERVICE_TYPE_INFO_ABSA { |
| pub lpTypeName: ::windows::core::PSTR, |
| pub dwValueCount: u32, |
| pub Values: [SERVICE_TYPE_VALUE_ABSA; 1], |
| } |
| impl ::core::marker::Copy for SERVICE_TYPE_INFO_ABSA {} |
| impl ::core::clone::Clone for SERVICE_TYPE_INFO_ABSA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SERVICE_TYPE_INFO_ABSA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SERVICE_TYPE_INFO_ABSA").field("lpTypeName", &self.lpTypeName).field("dwValueCount", &self.dwValueCount).field("Values", &self.Values).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SERVICE_TYPE_INFO_ABSA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SERVICE_TYPE_INFO_ABSA { |
| fn eq(&self, other: &Self) -> bool { |
| self.lpTypeName == other.lpTypeName && self.dwValueCount == other.dwValueCount && self.Values == other.Values |
| } |
| } |
| impl ::core::cmp::Eq for SERVICE_TYPE_INFO_ABSA {} |
| impl ::core::default::Default for SERVICE_TYPE_INFO_ABSA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SERVICE_TYPE_INFO_ABSW { |
| pub lpTypeName: ::windows::core::PWSTR, |
| pub dwValueCount: u32, |
| pub Values: [SERVICE_TYPE_VALUE_ABSW; 1], |
| } |
| impl ::core::marker::Copy for SERVICE_TYPE_INFO_ABSW {} |
| impl ::core::clone::Clone for SERVICE_TYPE_INFO_ABSW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SERVICE_TYPE_INFO_ABSW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SERVICE_TYPE_INFO_ABSW").field("lpTypeName", &self.lpTypeName).field("dwValueCount", &self.dwValueCount).field("Values", &self.Values).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SERVICE_TYPE_INFO_ABSW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SERVICE_TYPE_INFO_ABSW { |
| fn eq(&self, other: &Self) -> bool { |
| self.lpTypeName == other.lpTypeName && self.dwValueCount == other.dwValueCount && self.Values == other.Values |
| } |
| } |
| impl ::core::cmp::Eq for SERVICE_TYPE_INFO_ABSW {} |
| impl ::core::default::Default for SERVICE_TYPE_INFO_ABSW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SERVICE_TYPE_VALUE { |
| pub dwNameSpace: u32, |
| pub dwValueType: u32, |
| pub dwValueSize: u32, |
| pub dwValueNameOffset: u32, |
| pub dwValueOffset: u32, |
| } |
| impl ::core::marker::Copy for SERVICE_TYPE_VALUE {} |
| impl ::core::clone::Clone for SERVICE_TYPE_VALUE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SERVICE_TYPE_VALUE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SERVICE_TYPE_VALUE").field("dwNameSpace", &self.dwNameSpace).field("dwValueType", &self.dwValueType).field("dwValueSize", &self.dwValueSize).field("dwValueNameOffset", &self.dwValueNameOffset).field("dwValueOffset", &self.dwValueOffset).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SERVICE_TYPE_VALUE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SERVICE_TYPE_VALUE { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNameSpace == other.dwNameSpace && self.dwValueType == other.dwValueType && self.dwValueSize == other.dwValueSize && self.dwValueNameOffset == other.dwValueNameOffset && self.dwValueOffset == other.dwValueOffset |
| } |
| } |
| impl ::core::cmp::Eq for SERVICE_TYPE_VALUE {} |
| impl ::core::default::Default for SERVICE_TYPE_VALUE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SERVICE_TYPE_VALUE_ABSA { |
| pub dwNameSpace: u32, |
| pub dwValueType: u32, |
| pub dwValueSize: u32, |
| pub lpValueName: ::windows::core::PSTR, |
| pub lpValue: *mut ::core::ffi::c_void, |
| } |
| impl ::core::marker::Copy for SERVICE_TYPE_VALUE_ABSA {} |
| impl ::core::clone::Clone for SERVICE_TYPE_VALUE_ABSA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SERVICE_TYPE_VALUE_ABSA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SERVICE_TYPE_VALUE_ABSA").field("dwNameSpace", &self.dwNameSpace).field("dwValueType", &self.dwValueType).field("dwValueSize", &self.dwValueSize).field("lpValueName", &self.lpValueName).field("lpValue", &self.lpValue).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SERVICE_TYPE_VALUE_ABSA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SERVICE_TYPE_VALUE_ABSA { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNameSpace == other.dwNameSpace && self.dwValueType == other.dwValueType && self.dwValueSize == other.dwValueSize && self.lpValueName == other.lpValueName && self.lpValue == other.lpValue |
| } |
| } |
| impl ::core::cmp::Eq for SERVICE_TYPE_VALUE_ABSA {} |
| impl ::core::default::Default for SERVICE_TYPE_VALUE_ABSA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SERVICE_TYPE_VALUE_ABSW { |
| pub dwNameSpace: u32, |
| pub dwValueType: u32, |
| pub dwValueSize: u32, |
| pub lpValueName: ::windows::core::PWSTR, |
| pub lpValue: *mut ::core::ffi::c_void, |
| } |
| impl ::core::marker::Copy for SERVICE_TYPE_VALUE_ABSW {} |
| impl ::core::clone::Clone for SERVICE_TYPE_VALUE_ABSW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SERVICE_TYPE_VALUE_ABSW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SERVICE_TYPE_VALUE_ABSW").field("dwNameSpace", &self.dwNameSpace).field("dwValueType", &self.dwValueType).field("dwValueSize", &self.dwValueSize).field("lpValueName", &self.lpValueName).field("lpValue", &self.lpValue).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SERVICE_TYPE_VALUE_ABSW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SERVICE_TYPE_VALUE_ABSW { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNameSpace == other.dwNameSpace && self.dwValueType == other.dwValueType && self.dwValueSize == other.dwValueSize && self.lpValueName == other.lpValueName && self.lpValue == other.lpValue |
| } |
| } |
| impl ::core::cmp::Eq for SERVICE_TYPE_VALUE_ABSW {} |
| impl ::core::default::Default for SERVICE_TYPE_VALUE_ABSW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SNAP_HEADER { |
| pub Dsap: u8, |
| pub Ssap: u8, |
| pub Control: u8, |
| pub Oui: [u8; 3], |
| pub Type: u16, |
| } |
| impl ::core::marker::Copy for SNAP_HEADER {} |
| impl ::core::clone::Clone for SNAP_HEADER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SNAP_HEADER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SNAP_HEADER").field("Dsap", &self.Dsap).field("Ssap", &self.Ssap).field("Control", &self.Control).field("Oui", &self.Oui).field("Type", &self.Type).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SNAP_HEADER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SNAP_HEADER { |
| fn eq(&self, other: &Self) -> bool { |
| self.Dsap == other.Dsap && self.Ssap == other.Ssap && self.Control == other.Control && self.Oui == other.Oui && self.Type == other.Type |
| } |
| } |
| impl ::core::cmp::Eq for SNAP_HEADER {} |
| impl ::core::default::Default for SNAP_HEADER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKADDR { |
| pub sa_family: ADDRESS_FAMILY, |
| pub sa_data: [u8; 14], |
| } |
| impl ::core::marker::Copy for SOCKADDR {} |
| impl ::core::clone::Clone for SOCKADDR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKADDR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKADDR").field("sa_family", &self.sa_family).field("sa_data", &self.sa_data).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKADDR { |
| fn eq(&self, other: &Self) -> bool { |
| self.sa_family == other.sa_family && self.sa_data == other.sa_data |
| } |
| } |
| impl ::core::cmp::Eq for SOCKADDR {} |
| impl ::core::default::Default for SOCKADDR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKADDR_ATM { |
| pub satm_family: u16, |
| pub satm_number: ATM_ADDRESS, |
| pub satm_blli: ATM_BLLI, |
| pub satm_bhli: ATM_BHLI, |
| } |
| impl ::core::marker::Copy for SOCKADDR_ATM {} |
| impl ::core::clone::Clone for SOCKADDR_ATM { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKADDR_ATM { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKADDR_ATM").field("satm_family", &self.satm_family).field("satm_number", &self.satm_number).field("satm_blli", &self.satm_blli).field("satm_bhli", &self.satm_bhli).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_ATM { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKADDR_ATM { |
| fn eq(&self, other: &Self) -> bool { |
| self.satm_family == other.satm_family && self.satm_number == other.satm_number && self.satm_blli == other.satm_blli && self.satm_bhli == other.satm_bhli |
| } |
| } |
| impl ::core::cmp::Eq for SOCKADDR_ATM {} |
| impl ::core::default::Default for SOCKADDR_ATM { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKADDR_DL { |
| pub sdl_family: ADDRESS_FAMILY, |
| pub sdl_data: [u8; 8], |
| pub sdl_zero: [u8; 4], |
| } |
| impl ::core::marker::Copy for SOCKADDR_DL {} |
| impl ::core::clone::Clone for SOCKADDR_DL { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKADDR_DL { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKADDR_DL").field("sdl_family", &self.sdl_family).field("sdl_data", &self.sdl_data).field("sdl_zero", &self.sdl_zero).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_DL { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKADDR_DL { |
| fn eq(&self, other: &Self) -> bool { |
| self.sdl_family == other.sdl_family && self.sdl_data == other.sdl_data && self.sdl_zero == other.sdl_zero |
| } |
| } |
| impl ::core::cmp::Eq for SOCKADDR_DL {} |
| impl ::core::default::Default for SOCKADDR_DL { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKADDR_IN { |
| pub sin_family: ADDRESS_FAMILY, |
| pub sin_port: u16, |
| pub sin_addr: IN_ADDR, |
| pub sin_zero: [u8; 8], |
| } |
| impl ::core::marker::Copy for SOCKADDR_IN {} |
| impl ::core::clone::Clone for SOCKADDR_IN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_IN { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for SOCKADDR_IN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKADDR_IN6 { |
| pub sin6_family: ADDRESS_FAMILY, |
| pub sin6_port: u16, |
| pub sin6_flowinfo: u32, |
| pub sin6_addr: IN6_ADDR, |
| pub Anonymous: SOCKADDR_IN6_0, |
| } |
| impl ::core::marker::Copy for SOCKADDR_IN6 {} |
| impl ::core::clone::Clone for SOCKADDR_IN6 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_IN6 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for SOCKADDR_IN6 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union SOCKADDR_IN6_0 { |
| pub sin6_scope_id: u32, |
| pub sin6_scope_struct: SCOPE_ID, |
| } |
| impl ::core::marker::Copy for SOCKADDR_IN6_0 {} |
| impl ::core::clone::Clone for SOCKADDR_IN6_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_IN6_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for SOCKADDR_IN6_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKADDR_IN6_PAIR { |
| pub SourceAddress: *mut SOCKADDR_IN6, |
| pub DestinationAddress: *mut SOCKADDR_IN6, |
| } |
| impl ::core::marker::Copy for SOCKADDR_IN6_PAIR {} |
| impl ::core::clone::Clone for SOCKADDR_IN6_PAIR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKADDR_IN6_PAIR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKADDR_IN6_PAIR").field("SourceAddress", &self.SourceAddress).field("DestinationAddress", &self.DestinationAddress).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_IN6_PAIR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKADDR_IN6_PAIR { |
| fn eq(&self, other: &Self) -> bool { |
| self.SourceAddress == other.SourceAddress && self.DestinationAddress == other.DestinationAddress |
| } |
| } |
| impl ::core::cmp::Eq for SOCKADDR_IN6_PAIR {} |
| impl ::core::default::Default for SOCKADDR_IN6_PAIR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKADDR_IN6_W2KSP1 { |
| pub sin6_family: i16, |
| pub sin6_port: u16, |
| pub sin6_flowinfo: u32, |
| pub sin6_addr: IN6_ADDR, |
| pub sin6_scope_id: u32, |
| } |
| impl ::core::marker::Copy for SOCKADDR_IN6_W2KSP1 {} |
| impl ::core::clone::Clone for SOCKADDR_IN6_W2KSP1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_IN6_W2KSP1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for SOCKADDR_IN6_W2KSP1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union SOCKADDR_INET { |
| pub Ipv4: SOCKADDR_IN, |
| pub Ipv6: SOCKADDR_IN6, |
| pub si_family: ADDRESS_FAMILY, |
| } |
| impl ::core::marker::Copy for SOCKADDR_INET {} |
| impl ::core::clone::Clone for SOCKADDR_INET { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_INET { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for SOCKADDR_INET { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKADDR_IPX { |
| pub sa_family: i16, |
| pub sa_netnum: [u8; 4], |
| pub sa_nodenum: [u8; 6], |
| pub sa_socket: u16, |
| } |
| impl ::core::marker::Copy for SOCKADDR_IPX {} |
| impl ::core::clone::Clone for SOCKADDR_IPX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKADDR_IPX { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKADDR_IPX").field("sa_family", &self.sa_family).field("sa_netnum", &self.sa_netnum).field("sa_nodenum", &self.sa_nodenum).field("sa_socket", &self.sa_socket).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_IPX { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKADDR_IPX { |
| fn eq(&self, other: &Self) -> bool { |
| self.sa_family == other.sa_family && self.sa_netnum == other.sa_netnum && self.sa_nodenum == other.sa_nodenum && self.sa_socket == other.sa_socket |
| } |
| } |
| impl ::core::cmp::Eq for SOCKADDR_IPX {} |
| impl ::core::default::Default for SOCKADDR_IPX { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKADDR_IRDA { |
| pub irdaAddressFamily: u16, |
| pub irdaDeviceID: [u8; 4], |
| pub irdaServiceName: [u8; 25], |
| } |
| impl ::core::marker::Copy for SOCKADDR_IRDA {} |
| impl ::core::clone::Clone for SOCKADDR_IRDA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKADDR_IRDA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKADDR_IRDA").field("irdaAddressFamily", &self.irdaAddressFamily).field("irdaDeviceID", &self.irdaDeviceID).field("irdaServiceName", &self.irdaServiceName).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_IRDA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKADDR_IRDA { |
| fn eq(&self, other: &Self) -> bool { |
| self.irdaAddressFamily == other.irdaAddressFamily && self.irdaDeviceID == other.irdaDeviceID && self.irdaServiceName == other.irdaServiceName |
| } |
| } |
| impl ::core::cmp::Eq for SOCKADDR_IRDA {} |
| impl ::core::default::Default for SOCKADDR_IRDA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKADDR_NB { |
| pub snb_family: i16, |
| pub snb_type: u16, |
| pub snb_name: [u8; 16], |
| } |
| impl ::core::marker::Copy for SOCKADDR_NB {} |
| impl ::core::clone::Clone for SOCKADDR_NB { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKADDR_NB { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKADDR_NB").field("snb_family", &self.snb_family).field("snb_type", &self.snb_type).field("snb_name", &self.snb_name).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_NB { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKADDR_NB { |
| fn eq(&self, other: &Self) -> bool { |
| self.snb_family == other.snb_family && self.snb_type == other.snb_type && self.snb_name == other.snb_name |
| } |
| } |
| impl ::core::cmp::Eq for SOCKADDR_NB {} |
| impl ::core::default::Default for SOCKADDR_NB { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKADDR_STORAGE { |
| pub ss_family: ADDRESS_FAMILY, |
| pub __ss_pad1: [u8; 6], |
| pub __ss_align: i64, |
| pub __ss_pad2: [u8; 112], |
| } |
| impl ::core::marker::Copy for SOCKADDR_STORAGE {} |
| impl ::core::clone::Clone for SOCKADDR_STORAGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKADDR_STORAGE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKADDR_STORAGE").field("ss_family", &self.ss_family).field("__ss_pad1", &self.__ss_pad1).field("__ss_align", &self.__ss_align).field("__ss_pad2", &self.__ss_pad2).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_STORAGE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKADDR_STORAGE { |
| fn eq(&self, other: &Self) -> bool { |
| self.ss_family == other.ss_family && self.__ss_pad1 == other.__ss_pad1 && self.__ss_align == other.__ss_align && self.__ss_pad2 == other.__ss_pad2 |
| } |
| } |
| impl ::core::cmp::Eq for SOCKADDR_STORAGE {} |
| impl ::core::default::Default for SOCKADDR_STORAGE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKADDR_STORAGE_XP { |
| pub ss_family: i16, |
| pub __ss_pad1: [u8; 6], |
| pub __ss_align: i64, |
| pub __ss_pad2: [u8; 112], |
| } |
| impl ::core::marker::Copy for SOCKADDR_STORAGE_XP {} |
| impl ::core::clone::Clone for SOCKADDR_STORAGE_XP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKADDR_STORAGE_XP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKADDR_STORAGE_XP").field("ss_family", &self.ss_family).field("__ss_pad1", &self.__ss_pad1).field("__ss_align", &self.__ss_align).field("__ss_pad2", &self.__ss_pad2).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_STORAGE_XP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKADDR_STORAGE_XP { |
| fn eq(&self, other: &Self) -> bool { |
| self.ss_family == other.ss_family && self.__ss_pad1 == other.__ss_pad1 && self.__ss_align == other.__ss_align && self.__ss_pad2 == other.__ss_pad2 |
| } |
| } |
| impl ::core::cmp::Eq for SOCKADDR_STORAGE_XP {} |
| impl ::core::default::Default for SOCKADDR_STORAGE_XP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKADDR_TP { |
| pub tp_family: u16, |
| pub tp_addr_type: u16, |
| pub tp_taddr_len: u16, |
| pub tp_tsel_len: u16, |
| pub tp_addr: [u8; 64], |
| } |
| impl ::core::marker::Copy for SOCKADDR_TP {} |
| impl ::core::clone::Clone for SOCKADDR_TP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKADDR_TP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKADDR_TP").field("tp_family", &self.tp_family).field("tp_addr_type", &self.tp_addr_type).field("tp_taddr_len", &self.tp_taddr_len).field("tp_tsel_len", &self.tp_tsel_len).field("tp_addr", &self.tp_addr).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_TP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKADDR_TP { |
| fn eq(&self, other: &Self) -> bool { |
| self.tp_family == other.tp_family && self.tp_addr_type == other.tp_addr_type && self.tp_taddr_len == other.tp_taddr_len && self.tp_tsel_len == other.tp_tsel_len && self.tp_addr == other.tp_addr |
| } |
| } |
| impl ::core::cmp::Eq for SOCKADDR_TP {} |
| impl ::core::default::Default for SOCKADDR_TP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKADDR_UN { |
| pub sun_family: ADDRESS_FAMILY, |
| pub sun_path: [u8; 108], |
| } |
| impl ::core::marker::Copy for SOCKADDR_UN {} |
| impl ::core::clone::Clone for SOCKADDR_UN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKADDR_UN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKADDR_UN").field("sun_family", &self.sun_family).field("sun_path", &self.sun_path).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_UN { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKADDR_UN { |
| fn eq(&self, other: &Self) -> bool { |
| self.sun_family == other.sun_family && self.sun_path == other.sun_path |
| } |
| } |
| impl ::core::cmp::Eq for SOCKADDR_UN {} |
| impl ::core::default::Default for SOCKADDR_UN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKADDR_VNS { |
| pub sin_family: u16, |
| pub net_address: [u8; 4], |
| pub subnet_addr: [u8; 2], |
| pub port: [u8; 2], |
| pub hops: u8, |
| pub filler: [u8; 5], |
| } |
| impl ::core::marker::Copy for SOCKADDR_VNS {} |
| impl ::core::clone::Clone for SOCKADDR_VNS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKADDR_VNS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKADDR_VNS").field("sin_family", &self.sin_family).field("net_address", &self.net_address).field("subnet_addr", &self.subnet_addr).field("port", &self.port).field("hops", &self.hops).field("filler", &self.filler).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKADDR_VNS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKADDR_VNS { |
| fn eq(&self, other: &Self) -> bool { |
| self.sin_family == other.sin_family && self.net_address == other.net_address && self.subnet_addr == other.subnet_addr && self.port == other.port && self.hops == other.hops && self.filler == other.filler |
| } |
| } |
| impl ::core::cmp::Eq for SOCKADDR_VNS {} |
| impl ::core::default::Default for SOCKADDR_VNS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct SOCKET(pub usize); |
| impl ::core::default::Default for SOCKET { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for SOCKET { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for SOCKET {} |
| impl ::core::fmt::Debug for SOCKET { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("SOCKET").field(&self.0).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKET { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKET_ADDRESS { |
| pub lpSockaddr: *mut SOCKADDR, |
| pub iSockaddrLength: i32, |
| } |
| impl ::core::marker::Copy for SOCKET_ADDRESS {} |
| impl ::core::clone::Clone for SOCKET_ADDRESS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKET_ADDRESS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKET_ADDRESS").field("lpSockaddr", &self.lpSockaddr).field("iSockaddrLength", &self.iSockaddrLength).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKET_ADDRESS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKET_ADDRESS { |
| fn eq(&self, other: &Self) -> bool { |
| self.lpSockaddr == other.lpSockaddr && self.iSockaddrLength == other.iSockaddrLength |
| } |
| } |
| impl ::core::cmp::Eq for SOCKET_ADDRESS {} |
| impl ::core::default::Default for SOCKET_ADDRESS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKET_ADDRESS_LIST { |
| pub iAddressCount: i32, |
| pub Address: [SOCKET_ADDRESS; 1], |
| } |
| impl ::core::marker::Copy for SOCKET_ADDRESS_LIST {} |
| impl ::core::clone::Clone for SOCKET_ADDRESS_LIST { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKET_ADDRESS_LIST { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKET_ADDRESS_LIST").field("iAddressCount", &self.iAddressCount).field("Address", &self.Address).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKET_ADDRESS_LIST { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKET_ADDRESS_LIST { |
| fn eq(&self, other: &Self) -> bool { |
| self.iAddressCount == other.iAddressCount && self.Address == other.Address |
| } |
| } |
| impl ::core::cmp::Eq for SOCKET_ADDRESS_LIST {} |
| impl ::core::default::Default for SOCKET_ADDRESS_LIST { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKET_PEER_TARGET_NAME { |
| pub SecurityProtocol: SOCKET_SECURITY_PROTOCOL, |
| pub PeerAddress: SOCKADDR_STORAGE, |
| pub PeerTargetNameStringLen: u32, |
| pub AllStrings: [u16; 1], |
| } |
| impl ::core::marker::Copy for SOCKET_PEER_TARGET_NAME {} |
| impl ::core::clone::Clone for SOCKET_PEER_TARGET_NAME { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKET_PEER_TARGET_NAME { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKET_PEER_TARGET_NAME").field("SecurityProtocol", &self.SecurityProtocol).field("PeerAddress", &self.PeerAddress).field("PeerTargetNameStringLen", &self.PeerTargetNameStringLen).field("AllStrings", &self.AllStrings).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKET_PEER_TARGET_NAME { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKET_PEER_TARGET_NAME { |
| fn eq(&self, other: &Self) -> bool { |
| self.SecurityProtocol == other.SecurityProtocol && self.PeerAddress == other.PeerAddress && self.PeerTargetNameStringLen == other.PeerTargetNameStringLen && self.AllStrings == other.AllStrings |
| } |
| } |
| impl ::core::cmp::Eq for SOCKET_PEER_TARGET_NAME {} |
| impl ::core::default::Default for SOCKET_PEER_TARGET_NAME { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Kernel\"`*"] |
| #[cfg(feature = "Win32_System_Kernel")] |
| pub struct SOCKET_PROCESSOR_AFFINITY { |
| pub Processor: super::super::System::Kernel::PROCESSOR_NUMBER, |
| pub NumaNodeId: u16, |
| pub Reserved: u16, |
| } |
| #[cfg(feature = "Win32_System_Kernel")] |
| impl ::core::marker::Copy for SOCKET_PROCESSOR_AFFINITY {} |
| #[cfg(feature = "Win32_System_Kernel")] |
| impl ::core::clone::Clone for SOCKET_PROCESSOR_AFFINITY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_System_Kernel")] |
| impl ::core::fmt::Debug for SOCKET_PROCESSOR_AFFINITY { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKET_PROCESSOR_AFFINITY").field("Processor", &self.Processor).field("NumaNodeId", &self.NumaNodeId).field("Reserved", &self.Reserved).finish() |
| } |
| } |
| #[cfg(feature = "Win32_System_Kernel")] |
| impl ::windows::core::TypeKind for SOCKET_PROCESSOR_AFFINITY { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_System_Kernel")] |
| impl ::core::cmp::PartialEq for SOCKET_PROCESSOR_AFFINITY { |
| fn eq(&self, other: &Self) -> bool { |
| self.Processor == other.Processor && self.NumaNodeId == other.NumaNodeId && self.Reserved == other.Reserved |
| } |
| } |
| #[cfg(feature = "Win32_System_Kernel")] |
| impl ::core::cmp::Eq for SOCKET_PROCESSOR_AFFINITY {} |
| #[cfg(feature = "Win32_System_Kernel")] |
| impl ::core::default::Default for SOCKET_PROCESSOR_AFFINITY { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKET_SECURITY_QUERY_INFO { |
| pub SecurityProtocol: SOCKET_SECURITY_PROTOCOL, |
| pub Flags: u32, |
| pub PeerApplicationAccessTokenHandle: u64, |
| pub PeerMachineAccessTokenHandle: u64, |
| } |
| impl ::core::marker::Copy for SOCKET_SECURITY_QUERY_INFO {} |
| impl ::core::clone::Clone for SOCKET_SECURITY_QUERY_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKET_SECURITY_QUERY_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKET_SECURITY_QUERY_INFO").field("SecurityProtocol", &self.SecurityProtocol).field("Flags", &self.Flags).field("PeerApplicationAccessTokenHandle", &self.PeerApplicationAccessTokenHandle).field("PeerMachineAccessTokenHandle", &self.PeerMachineAccessTokenHandle).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKET_SECURITY_QUERY_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKET_SECURITY_QUERY_INFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.SecurityProtocol == other.SecurityProtocol && self.Flags == other.Flags && self.PeerApplicationAccessTokenHandle == other.PeerApplicationAccessTokenHandle && self.PeerMachineAccessTokenHandle == other.PeerMachineAccessTokenHandle |
| } |
| } |
| impl ::core::cmp::Eq for SOCKET_SECURITY_QUERY_INFO {} |
| impl ::core::default::Default for SOCKET_SECURITY_QUERY_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKET_SECURITY_QUERY_INFO_IPSEC2 { |
| pub SecurityProtocol: SOCKET_SECURITY_PROTOCOL, |
| pub Flags: u32, |
| pub PeerApplicationAccessTokenHandle: u64, |
| pub PeerMachineAccessTokenHandle: u64, |
| pub MmSaId: u64, |
| pub QmSaId: u64, |
| pub NegotiationWinerr: u32, |
| pub SaLookupContext: ::windows::core::GUID, |
| } |
| impl ::core::marker::Copy for SOCKET_SECURITY_QUERY_INFO_IPSEC2 {} |
| impl ::core::clone::Clone for SOCKET_SECURITY_QUERY_INFO_IPSEC2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKET_SECURITY_QUERY_INFO_IPSEC2 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKET_SECURITY_QUERY_INFO_IPSEC2").field("SecurityProtocol", &self.SecurityProtocol).field("Flags", &self.Flags).field("PeerApplicationAccessTokenHandle", &self.PeerApplicationAccessTokenHandle).field("PeerMachineAccessTokenHandle", &self.PeerMachineAccessTokenHandle).field("MmSaId", &self.MmSaId).field("QmSaId", &self.QmSaId).field("NegotiationWinerr", &self.NegotiationWinerr).field("SaLookupContext", &self.SaLookupContext).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKET_SECURITY_QUERY_INFO_IPSEC2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKET_SECURITY_QUERY_INFO_IPSEC2 { |
| fn eq(&self, other: &Self) -> bool { |
| self.SecurityProtocol == other.SecurityProtocol && self.Flags == other.Flags && self.PeerApplicationAccessTokenHandle == other.PeerApplicationAccessTokenHandle && self.PeerMachineAccessTokenHandle == other.PeerMachineAccessTokenHandle && self.MmSaId == other.MmSaId && self.QmSaId == other.QmSaId && self.NegotiationWinerr == other.NegotiationWinerr && self.SaLookupContext == other.SaLookupContext |
| } |
| } |
| impl ::core::cmp::Eq for SOCKET_SECURITY_QUERY_INFO_IPSEC2 {} |
| impl ::core::default::Default for SOCKET_SECURITY_QUERY_INFO_IPSEC2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKET_SECURITY_QUERY_TEMPLATE { |
| pub SecurityProtocol: SOCKET_SECURITY_PROTOCOL, |
| pub PeerAddress: SOCKADDR_STORAGE, |
| pub PeerTokenAccessMask: u32, |
| } |
| impl ::core::marker::Copy for SOCKET_SECURITY_QUERY_TEMPLATE {} |
| impl ::core::clone::Clone for SOCKET_SECURITY_QUERY_TEMPLATE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKET_SECURITY_QUERY_TEMPLATE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKET_SECURITY_QUERY_TEMPLATE").field("SecurityProtocol", &self.SecurityProtocol).field("PeerAddress", &self.PeerAddress).field("PeerTokenAccessMask", &self.PeerTokenAccessMask).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKET_SECURITY_QUERY_TEMPLATE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKET_SECURITY_QUERY_TEMPLATE { |
| fn eq(&self, other: &Self) -> bool { |
| self.SecurityProtocol == other.SecurityProtocol && self.PeerAddress == other.PeerAddress && self.PeerTokenAccessMask == other.PeerTokenAccessMask |
| } |
| } |
| impl ::core::cmp::Eq for SOCKET_SECURITY_QUERY_TEMPLATE {} |
| impl ::core::default::Default for SOCKET_SECURITY_QUERY_TEMPLATE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKET_SECURITY_QUERY_TEMPLATE_IPSEC2 { |
| pub SecurityProtocol: SOCKET_SECURITY_PROTOCOL, |
| pub PeerAddress: SOCKADDR_STORAGE, |
| pub PeerTokenAccessMask: u32, |
| pub Flags: u32, |
| pub FieldMask: u32, |
| } |
| impl ::core::marker::Copy for SOCKET_SECURITY_QUERY_TEMPLATE_IPSEC2 {} |
| impl ::core::clone::Clone for SOCKET_SECURITY_QUERY_TEMPLATE_IPSEC2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKET_SECURITY_QUERY_TEMPLATE_IPSEC2 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKET_SECURITY_QUERY_TEMPLATE_IPSEC2").field("SecurityProtocol", &self.SecurityProtocol).field("PeerAddress", &self.PeerAddress).field("PeerTokenAccessMask", &self.PeerTokenAccessMask).field("Flags", &self.Flags).field("FieldMask", &self.FieldMask).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKET_SECURITY_QUERY_TEMPLATE_IPSEC2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKET_SECURITY_QUERY_TEMPLATE_IPSEC2 { |
| fn eq(&self, other: &Self) -> bool { |
| self.SecurityProtocol == other.SecurityProtocol && self.PeerAddress == other.PeerAddress && self.PeerTokenAccessMask == other.PeerTokenAccessMask && self.Flags == other.Flags && self.FieldMask == other.FieldMask |
| } |
| } |
| impl ::core::cmp::Eq for SOCKET_SECURITY_QUERY_TEMPLATE_IPSEC2 {} |
| impl ::core::default::Default for SOCKET_SECURITY_QUERY_TEMPLATE_IPSEC2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKET_SECURITY_SETTINGS { |
| pub SecurityProtocol: SOCKET_SECURITY_PROTOCOL, |
| pub SecurityFlags: u32, |
| } |
| impl ::core::marker::Copy for SOCKET_SECURITY_SETTINGS {} |
| impl ::core::clone::Clone for SOCKET_SECURITY_SETTINGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKET_SECURITY_SETTINGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKET_SECURITY_SETTINGS").field("SecurityProtocol", &self.SecurityProtocol).field("SecurityFlags", &self.SecurityFlags).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKET_SECURITY_SETTINGS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKET_SECURITY_SETTINGS { |
| fn eq(&self, other: &Self) -> bool { |
| self.SecurityProtocol == other.SecurityProtocol && self.SecurityFlags == other.SecurityFlags |
| } |
| } |
| impl ::core::cmp::Eq for SOCKET_SECURITY_SETTINGS {} |
| impl ::core::default::Default for SOCKET_SECURITY_SETTINGS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCKET_SECURITY_SETTINGS_IPSEC { |
| pub SecurityProtocol: SOCKET_SECURITY_PROTOCOL, |
| pub SecurityFlags: u32, |
| pub IpsecFlags: u32, |
| pub AuthipMMPolicyKey: ::windows::core::GUID, |
| pub AuthipQMPolicyKey: ::windows::core::GUID, |
| pub Reserved: ::windows::core::GUID, |
| pub Reserved2: u64, |
| pub UserNameStringLen: u32, |
| pub DomainNameStringLen: u32, |
| pub PasswordStringLen: u32, |
| pub AllStrings: [u16; 1], |
| } |
| impl ::core::marker::Copy for SOCKET_SECURITY_SETTINGS_IPSEC {} |
| impl ::core::clone::Clone for SOCKET_SECURITY_SETTINGS_IPSEC { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCKET_SECURITY_SETTINGS_IPSEC { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCKET_SECURITY_SETTINGS_IPSEC") |
| .field("SecurityProtocol", &self.SecurityProtocol) |
| .field("SecurityFlags", &self.SecurityFlags) |
| .field("IpsecFlags", &self.IpsecFlags) |
| .field("AuthipMMPolicyKey", &self.AuthipMMPolicyKey) |
| .field("AuthipQMPolicyKey", &self.AuthipQMPolicyKey) |
| .field("Reserved", &self.Reserved) |
| .field("Reserved2", &self.Reserved2) |
| .field("UserNameStringLen", &self.UserNameStringLen) |
| .field("DomainNameStringLen", &self.DomainNameStringLen) |
| .field("PasswordStringLen", &self.PasswordStringLen) |
| .field("AllStrings", &self.AllStrings) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCKET_SECURITY_SETTINGS_IPSEC { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCKET_SECURITY_SETTINGS_IPSEC { |
| fn eq(&self, other: &Self) -> bool { |
| self.SecurityProtocol == other.SecurityProtocol && self.SecurityFlags == other.SecurityFlags && self.IpsecFlags == other.IpsecFlags && self.AuthipMMPolicyKey == other.AuthipMMPolicyKey && self.AuthipQMPolicyKey == other.AuthipQMPolicyKey && self.Reserved == other.Reserved && self.Reserved2 == other.Reserved2 && self.UserNameStringLen == other.UserNameStringLen && self.DomainNameStringLen == other.DomainNameStringLen && self.PasswordStringLen == other.PasswordStringLen && self.AllStrings == other.AllStrings |
| } |
| } |
| impl ::core::cmp::Eq for SOCKET_SECURITY_SETTINGS_IPSEC {} |
| impl ::core::default::Default for SOCKET_SECURITY_SETTINGS_IPSEC { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct SOCK_NOTIFY_REGISTRATION { |
| pub socket: SOCKET, |
| pub completionKey: *mut ::core::ffi::c_void, |
| pub eventFilter: u16, |
| pub operation: u8, |
| pub triggerFlags: u8, |
| pub registrationResult: u32, |
| } |
| impl ::core::marker::Copy for SOCK_NOTIFY_REGISTRATION {} |
| impl ::core::clone::Clone for SOCK_NOTIFY_REGISTRATION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for SOCK_NOTIFY_REGISTRATION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("SOCK_NOTIFY_REGISTRATION").field("socket", &self.socket).field("completionKey", &self.completionKey).field("eventFilter", &self.eventFilter).field("operation", &self.operation).field("triggerFlags", &self.triggerFlags).field("registrationResult", &self.registrationResult).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for SOCK_NOTIFY_REGISTRATION { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for SOCK_NOTIFY_REGISTRATION { |
| fn eq(&self, other: &Self) -> bool { |
| self.socket == other.socket && self.completionKey == other.completionKey && self.eventFilter == other.eventFilter && self.operation == other.operation && self.triggerFlags == other.triggerFlags && self.registrationResult == other.registrationResult |
| } |
| } |
| impl ::core::cmp::Eq for SOCK_NOTIFY_REGISTRATION {} |
| impl ::core::default::Default for SOCK_NOTIFY_REGISTRATION { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TCP_ACK_FREQUENCY_PARAMETERS { |
| pub TcpDelayedAckFrequency: u8, |
| } |
| impl ::core::marker::Copy for TCP_ACK_FREQUENCY_PARAMETERS {} |
| impl ::core::clone::Clone for TCP_ACK_FREQUENCY_PARAMETERS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TCP_ACK_FREQUENCY_PARAMETERS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ACK_FREQUENCY_PARAMETERS").field("TcpDelayedAckFrequency", &self.TcpDelayedAckFrequency).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_ACK_FREQUENCY_PARAMETERS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TCP_ACK_FREQUENCY_PARAMETERS { |
| fn eq(&self, other: &Self) -> bool { |
| self.TcpDelayedAckFrequency == other.TcpDelayedAckFrequency |
| } |
| } |
| impl ::core::cmp::Eq for TCP_ACK_FREQUENCY_PARAMETERS {} |
| impl ::core::default::Default for TCP_ACK_FREQUENCY_PARAMETERS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TCP_HDR { |
| pub th_sport: u16, |
| pub th_dport: u16, |
| pub th_seq: u32, |
| pub th_ack: u32, |
| pub _bitfield: u8, |
| pub th_flags: u8, |
| pub th_win: u16, |
| pub th_sum: u16, |
| pub th_urp: u16, |
| } |
| impl ::core::marker::Copy for TCP_HDR {} |
| impl ::core::clone::Clone for TCP_HDR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_HDR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for TCP_HDR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TCP_ICW_PARAMETERS { |
| pub Level: TCP_ICW_LEVEL, |
| } |
| impl ::core::marker::Copy for TCP_ICW_PARAMETERS {} |
| impl ::core::clone::Clone for TCP_ICW_PARAMETERS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TCP_ICW_PARAMETERS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ICW_PARAMETERS").field("Level", &self.Level).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_ICW_PARAMETERS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TCP_ICW_PARAMETERS { |
| fn eq(&self, other: &Self) -> bool { |
| self.Level == other.Level |
| } |
| } |
| impl ::core::cmp::Eq for TCP_ICW_PARAMETERS {} |
| impl ::core::default::Default for TCP_ICW_PARAMETERS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct TCP_INFO_v0 { |
| pub State: TCPSTATE, |
| pub Mss: u32, |
| pub ConnectionTimeMs: u64, |
| pub TimestampsEnabled: super::super::Foundation::BOOLEAN, |
| pub RttUs: u32, |
| pub MinRttUs: u32, |
| pub BytesInFlight: u32, |
| pub Cwnd: u32, |
| pub SndWnd: u32, |
| pub RcvWnd: u32, |
| pub RcvBuf: u32, |
| pub BytesOut: u64, |
| pub BytesIn: u64, |
| pub BytesReordered: u32, |
| pub BytesRetrans: u32, |
| pub FastRetrans: u32, |
| pub DupAcksIn: u32, |
| pub TimeoutEpisodes: u32, |
| pub SynRetrans: u8, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for TCP_INFO_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for TCP_INFO_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for TCP_INFO_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_INFO_v0") |
| .field("State", &self.State) |
| .field("Mss", &self.Mss) |
| .field("ConnectionTimeMs", &self.ConnectionTimeMs) |
| .field("TimestampsEnabled", &self.TimestampsEnabled) |
| .field("RttUs", &self.RttUs) |
| .field("MinRttUs", &self.MinRttUs) |
| .field("BytesInFlight", &self.BytesInFlight) |
| .field("Cwnd", &self.Cwnd) |
| .field("SndWnd", &self.SndWnd) |
| .field("RcvWnd", &self.RcvWnd) |
| .field("RcvBuf", &self.RcvBuf) |
| .field("BytesOut", &self.BytesOut) |
| .field("BytesIn", &self.BytesIn) |
| .field("BytesReordered", &self.BytesReordered) |
| .field("BytesRetrans", &self.BytesRetrans) |
| .field("FastRetrans", &self.FastRetrans) |
| .field("DupAcksIn", &self.DupAcksIn) |
| .field("TimeoutEpisodes", &self.TimeoutEpisodes) |
| .field("SynRetrans", &self.SynRetrans) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for TCP_INFO_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for TCP_INFO_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.State == other.State && self.Mss == other.Mss && self.ConnectionTimeMs == other.ConnectionTimeMs && self.TimestampsEnabled == other.TimestampsEnabled && self.RttUs == other.RttUs && self.MinRttUs == other.MinRttUs && self.BytesInFlight == other.BytesInFlight && self.Cwnd == other.Cwnd && self.SndWnd == other.SndWnd && self.RcvWnd == other.RcvWnd && self.RcvBuf == other.RcvBuf && self.BytesOut == other.BytesOut && self.BytesIn == other.BytesIn && self.BytesReordered == other.BytesReordered && self.BytesRetrans == other.BytesRetrans && self.FastRetrans == other.FastRetrans && self.DupAcksIn == other.DupAcksIn && self.TimeoutEpisodes == other.TimeoutEpisodes && self.SynRetrans == other.SynRetrans |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for TCP_INFO_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for TCP_INFO_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct TCP_INFO_v1 { |
| pub State: TCPSTATE, |
| pub Mss: u32, |
| pub ConnectionTimeMs: u64, |
| pub TimestampsEnabled: super::super::Foundation::BOOLEAN, |
| pub RttUs: u32, |
| pub MinRttUs: u32, |
| pub BytesInFlight: u32, |
| pub Cwnd: u32, |
| pub SndWnd: u32, |
| pub RcvWnd: u32, |
| pub RcvBuf: u32, |
| pub BytesOut: u64, |
| pub BytesIn: u64, |
| pub BytesReordered: u32, |
| pub BytesRetrans: u32, |
| pub FastRetrans: u32, |
| pub DupAcksIn: u32, |
| pub TimeoutEpisodes: u32, |
| pub SynRetrans: u8, |
| pub SndLimTransRwin: u32, |
| pub SndLimTimeRwin: u32, |
| pub SndLimBytesRwin: u64, |
| pub SndLimTransCwnd: u32, |
| pub SndLimTimeCwnd: u32, |
| pub SndLimBytesCwnd: u64, |
| pub SndLimTransSnd: u32, |
| pub SndLimTimeSnd: u32, |
| pub SndLimBytesSnd: u64, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for TCP_INFO_v1 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for TCP_INFO_v1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for TCP_INFO_v1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_INFO_v1") |
| .field("State", &self.State) |
| .field("Mss", &self.Mss) |
| .field("ConnectionTimeMs", &self.ConnectionTimeMs) |
| .field("TimestampsEnabled", &self.TimestampsEnabled) |
| .field("RttUs", &self.RttUs) |
| .field("MinRttUs", &self.MinRttUs) |
| .field("BytesInFlight", &self.BytesInFlight) |
| .field("Cwnd", &self.Cwnd) |
| .field("SndWnd", &self.SndWnd) |
| .field("RcvWnd", &self.RcvWnd) |
| .field("RcvBuf", &self.RcvBuf) |
| .field("BytesOut", &self.BytesOut) |
| .field("BytesIn", &self.BytesIn) |
| .field("BytesReordered", &self.BytesReordered) |
| .field("BytesRetrans", &self.BytesRetrans) |
| .field("FastRetrans", &self.FastRetrans) |
| .field("DupAcksIn", &self.DupAcksIn) |
| .field("TimeoutEpisodes", &self.TimeoutEpisodes) |
| .field("SynRetrans", &self.SynRetrans) |
| .field("SndLimTransRwin", &self.SndLimTransRwin) |
| .field("SndLimTimeRwin", &self.SndLimTimeRwin) |
| .field("SndLimBytesRwin", &self.SndLimBytesRwin) |
| .field("SndLimTransCwnd", &self.SndLimTransCwnd) |
| .field("SndLimTimeCwnd", &self.SndLimTimeCwnd) |
| .field("SndLimBytesCwnd", &self.SndLimBytesCwnd) |
| .field("SndLimTransSnd", &self.SndLimTransSnd) |
| .field("SndLimTimeSnd", &self.SndLimTimeSnd) |
| .field("SndLimBytesSnd", &self.SndLimBytesSnd) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for TCP_INFO_v1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for TCP_INFO_v1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.State == other.State |
| && self.Mss == other.Mss |
| && self.ConnectionTimeMs == other.ConnectionTimeMs |
| && self.TimestampsEnabled == other.TimestampsEnabled |
| && self.RttUs == other.RttUs |
| && self.MinRttUs == other.MinRttUs |
| && self.BytesInFlight == other.BytesInFlight |
| && self.Cwnd == other.Cwnd |
| && self.SndWnd == other.SndWnd |
| && self.RcvWnd == other.RcvWnd |
| && self.RcvBuf == other.RcvBuf |
| && self.BytesOut == other.BytesOut |
| && self.BytesIn == other.BytesIn |
| && self.BytesReordered == other.BytesReordered |
| && self.BytesRetrans == other.BytesRetrans |
| && self.FastRetrans == other.FastRetrans |
| && self.DupAcksIn == other.DupAcksIn |
| && self.TimeoutEpisodes == other.TimeoutEpisodes |
| && self.SynRetrans == other.SynRetrans |
| && self.SndLimTransRwin == other.SndLimTransRwin |
| && self.SndLimTimeRwin == other.SndLimTimeRwin |
| && self.SndLimBytesRwin == other.SndLimBytesRwin |
| && self.SndLimTransCwnd == other.SndLimTransCwnd |
| && self.SndLimTimeCwnd == other.SndLimTimeCwnd |
| && self.SndLimBytesCwnd == other.SndLimBytesCwnd |
| && self.SndLimTransSnd == other.SndLimTransSnd |
| && self.SndLimTimeSnd == other.SndLimTimeSnd |
| && self.SndLimBytesSnd == other.SndLimBytesSnd |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for TCP_INFO_v1 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for TCP_INFO_v1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TCP_INITIAL_RTO_PARAMETERS { |
| pub Rtt: u16, |
| pub MaxSynRetransmissions: u8, |
| } |
| impl ::core::marker::Copy for TCP_INITIAL_RTO_PARAMETERS {} |
| impl ::core::clone::Clone for TCP_INITIAL_RTO_PARAMETERS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TCP_INITIAL_RTO_PARAMETERS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_INITIAL_RTO_PARAMETERS").field("Rtt", &self.Rtt).field("MaxSynRetransmissions", &self.MaxSynRetransmissions).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_INITIAL_RTO_PARAMETERS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TCP_INITIAL_RTO_PARAMETERS { |
| fn eq(&self, other: &Self) -> bool { |
| self.Rtt == other.Rtt && self.MaxSynRetransmissions == other.MaxSynRetransmissions |
| } |
| } |
| impl ::core::cmp::Eq for TCP_INITIAL_RTO_PARAMETERS {} |
| impl ::core::default::Default for TCP_INITIAL_RTO_PARAMETERS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TCP_OPT_FASTOPEN { |
| pub Kind: u8, |
| pub Length: u8, |
| pub Cookie: [u8; 1], |
| } |
| impl ::core::marker::Copy for TCP_OPT_FASTOPEN {} |
| impl ::core::clone::Clone for TCP_OPT_FASTOPEN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_OPT_FASTOPEN { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for TCP_OPT_FASTOPEN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TCP_OPT_MSS { |
| pub Kind: u8, |
| pub Length: u8, |
| pub Mss: u16, |
| } |
| impl ::core::marker::Copy for TCP_OPT_MSS {} |
| impl ::core::clone::Clone for TCP_OPT_MSS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_OPT_MSS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for TCP_OPT_MSS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TCP_OPT_SACK { |
| pub Kind: u8, |
| pub Length: u8, |
| pub Block: [TCP_OPT_SACK_0; 1], |
| } |
| impl ::core::marker::Copy for TCP_OPT_SACK {} |
| impl ::core::clone::Clone for TCP_OPT_SACK { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_OPT_SACK { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for TCP_OPT_SACK { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TCP_OPT_SACK_0 { |
| pub Left: u32, |
| pub Right: u32, |
| } |
| impl ::core::marker::Copy for TCP_OPT_SACK_0 {} |
| impl ::core::clone::Clone for TCP_OPT_SACK_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_OPT_SACK_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for TCP_OPT_SACK_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TCP_OPT_SACK_PERMITTED { |
| pub Kind: u8, |
| pub Length: u8, |
| } |
| impl ::core::marker::Copy for TCP_OPT_SACK_PERMITTED {} |
| impl ::core::clone::Clone for TCP_OPT_SACK_PERMITTED { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_OPT_SACK_PERMITTED { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for TCP_OPT_SACK_PERMITTED { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TCP_OPT_TS { |
| pub Kind: u8, |
| pub Length: u8, |
| pub Val: u32, |
| pub EcR: u32, |
| } |
| impl ::core::marker::Copy for TCP_OPT_TS {} |
| impl ::core::clone::Clone for TCP_OPT_TS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_OPT_TS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for TCP_OPT_TS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TCP_OPT_UNKNOWN { |
| pub Kind: u8, |
| pub Length: u8, |
| } |
| impl ::core::marker::Copy for TCP_OPT_UNKNOWN {} |
| impl ::core::clone::Clone for TCP_OPT_UNKNOWN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_OPT_UNKNOWN { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for TCP_OPT_UNKNOWN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TCP_OPT_WS { |
| pub Kind: u8, |
| pub Length: u8, |
| pub ShiftCnt: u8, |
| } |
| impl ::core::marker::Copy for TCP_OPT_WS {} |
| impl ::core::clone::Clone for TCP_OPT_WS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_OPT_WS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for TCP_OPT_WS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TIMESTAMPING_CONFIG { |
| pub Flags: u32, |
| pub TxTimestampsBuffered: u16, |
| } |
| impl ::core::marker::Copy for TIMESTAMPING_CONFIG {} |
| impl ::core::clone::Clone for TIMESTAMPING_CONFIG { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TIMESTAMPING_CONFIG { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TIMESTAMPING_CONFIG").field("Flags", &self.Flags).field("TxTimestampsBuffered", &self.TxTimestampsBuffered).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TIMESTAMPING_CONFIG { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TIMESTAMPING_CONFIG { |
| fn eq(&self, other: &Self) -> bool { |
| self.Flags == other.Flags && self.TxTimestampsBuffered == other.TxTimestampsBuffered |
| } |
| } |
| impl ::core::cmp::Eq for TIMESTAMPING_CONFIG {} |
| impl ::core::default::Default for TIMESTAMPING_CONFIG { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TIMEVAL { |
| pub tv_sec: i32, |
| pub tv_usec: i32, |
| } |
| impl ::core::marker::Copy for TIMEVAL {} |
| impl ::core::clone::Clone for TIMEVAL { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TIMEVAL { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TIMEVAL").field("tv_sec", &self.tv_sec).field("tv_usec", &self.tv_usec).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TIMEVAL { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TIMEVAL { |
| fn eq(&self, other: &Self) -> bool { |
| self.tv_sec == other.tv_sec && self.tv_usec == other.tv_usec |
| } |
| } |
| impl ::core::cmp::Eq for TIMEVAL {} |
| impl ::core::default::Default for TIMEVAL { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TRANSMIT_FILE_BUFFERS { |
| pub Head: *mut ::core::ffi::c_void, |
| pub HeadLength: u32, |
| pub Tail: *mut ::core::ffi::c_void, |
| pub TailLength: u32, |
| } |
| impl ::core::marker::Copy for TRANSMIT_FILE_BUFFERS {} |
| impl ::core::clone::Clone for TRANSMIT_FILE_BUFFERS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TRANSMIT_FILE_BUFFERS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TRANSMIT_FILE_BUFFERS").field("Head", &self.Head).field("HeadLength", &self.HeadLength).field("Tail", &self.Tail).field("TailLength", &self.TailLength).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TRANSMIT_FILE_BUFFERS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TRANSMIT_FILE_BUFFERS { |
| fn eq(&self, other: &Self) -> bool { |
| self.Head == other.Head && self.HeadLength == other.HeadLength && self.Tail == other.Tail && self.TailLength == other.TailLength |
| } |
| } |
| impl ::core::cmp::Eq for TRANSMIT_FILE_BUFFERS {} |
| impl ::core::default::Default for TRANSMIT_FILE_BUFFERS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct TRANSMIT_PACKETS_ELEMENT { |
| pub dwElFlags: u32, |
| pub cLength: u32, |
| pub Anonymous: TRANSMIT_PACKETS_ELEMENT_0, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for TRANSMIT_PACKETS_ELEMENT {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for TRANSMIT_PACKETS_ELEMENT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for TRANSMIT_PACKETS_ELEMENT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for TRANSMIT_PACKETS_ELEMENT { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub union TRANSMIT_PACKETS_ELEMENT_0 { |
| pub Anonymous: TRANSMIT_PACKETS_ELEMENT_0_0, |
| pub pBuffer: *mut ::core::ffi::c_void, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for TRANSMIT_PACKETS_ELEMENT_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for TRANSMIT_PACKETS_ELEMENT_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for TRANSMIT_PACKETS_ELEMENT_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for TRANSMIT_PACKETS_ELEMENT_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct TRANSMIT_PACKETS_ELEMENT_0_0 { |
| pub nFileOffset: i64, |
| pub hFile: super::super::Foundation::HANDLE, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for TRANSMIT_PACKETS_ELEMENT_0_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for TRANSMIT_PACKETS_ELEMENT_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for TRANSMIT_PACKETS_ELEMENT_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TRANSMIT_PACKETS_ELEMENT_0_0").field("nFileOffset", &self.nFileOffset).field("hFile", &self.hFile).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for TRANSMIT_PACKETS_ELEMENT_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for TRANSMIT_PACKETS_ELEMENT_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.nFileOffset == other.nFileOffset && self.hFile == other.hFile |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for TRANSMIT_PACKETS_ELEMENT_0_0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for TRANSMIT_PACKETS_ELEMENT_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct TRANSPORT_SETTING_ID { |
| pub Guid: ::windows::core::GUID, |
| } |
| impl ::core::marker::Copy for TRANSPORT_SETTING_ID {} |
| impl ::core::clone::Clone for TRANSPORT_SETTING_ID { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TRANSPORT_SETTING_ID { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TRANSPORT_SETTING_ID").field("Guid", &self.Guid).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TRANSPORT_SETTING_ID { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TRANSPORT_SETTING_ID { |
| fn eq(&self, other: &Self) -> bool { |
| self.Guid == other.Guid |
| } |
| } |
| impl ::core::cmp::Eq for TRANSPORT_SETTING_ID {} |
| impl ::core::default::Default for TRANSPORT_SETTING_ID { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct VLAN_TAG { |
| pub Anonymous: VLAN_TAG_0, |
| pub Type: u16, |
| } |
| impl ::core::marker::Copy for VLAN_TAG {} |
| impl ::core::clone::Clone for VLAN_TAG { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for VLAN_TAG { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for VLAN_TAG { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union VLAN_TAG_0 { |
| pub Tag: u16, |
| pub Anonymous: VLAN_TAG_0_0, |
| } |
| impl ::core::marker::Copy for VLAN_TAG_0 {} |
| impl ::core::clone::Clone for VLAN_TAG_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for VLAN_TAG_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for VLAN_TAG_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct VLAN_TAG_0_0 { |
| pub _bitfield: u16, |
| } |
| impl ::core::marker::Copy for VLAN_TAG_0_0 {} |
| impl ::core::clone::Clone for VLAN_TAG_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for VLAN_TAG_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("VLAN_TAG_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for VLAN_TAG_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for VLAN_TAG_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for VLAN_TAG_0_0 {} |
| impl ::core::default::Default for VLAN_TAG_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WCE_DEVICELIST { |
| pub numDevice: u32, |
| pub Device: [WCE_IRDA_DEVICE_INFO; 1], |
| } |
| impl ::core::marker::Copy for WCE_DEVICELIST {} |
| impl ::core::clone::Clone for WCE_DEVICELIST { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WCE_DEVICELIST { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WCE_DEVICELIST").field("numDevice", &self.numDevice).field("Device", &self.Device).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WCE_DEVICELIST { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WCE_DEVICELIST { |
| fn eq(&self, other: &Self) -> bool { |
| self.numDevice == other.numDevice && self.Device == other.Device |
| } |
| } |
| impl ::core::cmp::Eq for WCE_DEVICELIST {} |
| impl ::core::default::Default for WCE_DEVICELIST { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WCE_IRDA_DEVICE_INFO { |
| pub irdaDeviceID: [u8; 4], |
| pub irdaDeviceName: [u8; 22], |
| pub Reserved: [u8; 2], |
| } |
| impl ::core::marker::Copy for WCE_IRDA_DEVICE_INFO {} |
| impl ::core::clone::Clone for WCE_IRDA_DEVICE_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WCE_IRDA_DEVICE_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WCE_IRDA_DEVICE_INFO").field("irdaDeviceID", &self.irdaDeviceID).field("irdaDeviceName", &self.irdaDeviceName).field("Reserved", &self.Reserved).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WCE_IRDA_DEVICE_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WCE_IRDA_DEVICE_INFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.irdaDeviceID == other.irdaDeviceID && self.irdaDeviceName == other.irdaDeviceName && self.Reserved == other.Reserved |
| } |
| } |
| impl ::core::cmp::Eq for WCE_IRDA_DEVICE_INFO {} |
| impl ::core::default::Default for WCE_IRDA_DEVICE_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WINDOWS_DEVICELIST { |
| pub numDevice: u32, |
| pub Device: [WINDOWS_IRDA_DEVICE_INFO; 1], |
| } |
| impl ::core::marker::Copy for WINDOWS_DEVICELIST {} |
| impl ::core::clone::Clone for WINDOWS_DEVICELIST { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WINDOWS_DEVICELIST { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WINDOWS_DEVICELIST").field("numDevice", &self.numDevice).field("Device", &self.Device).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WINDOWS_DEVICELIST { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WINDOWS_DEVICELIST { |
| fn eq(&self, other: &Self) -> bool { |
| self.numDevice == other.numDevice && self.Device == other.Device |
| } |
| } |
| impl ::core::cmp::Eq for WINDOWS_DEVICELIST {} |
| impl ::core::default::Default for WINDOWS_DEVICELIST { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WINDOWS_IAS_QUERY { |
| pub irdaDeviceID: [u8; 4], |
| pub irdaClassName: [u8; 64], |
| pub irdaAttribName: [u8; 256], |
| pub irdaAttribType: u32, |
| pub irdaAttribute: WINDOWS_IAS_QUERY_0, |
| } |
| impl ::core::marker::Copy for WINDOWS_IAS_QUERY {} |
| impl ::core::clone::Clone for WINDOWS_IAS_QUERY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for WINDOWS_IAS_QUERY { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for WINDOWS_IAS_QUERY { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union WINDOWS_IAS_QUERY_0 { |
| pub irdaAttribInt: i32, |
| pub irdaAttribOctetSeq: WINDOWS_IAS_QUERY_0_0, |
| pub irdaAttribUsrStr: WINDOWS_IAS_QUERY_0_1, |
| } |
| impl ::core::marker::Copy for WINDOWS_IAS_QUERY_0 {} |
| impl ::core::clone::Clone for WINDOWS_IAS_QUERY_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for WINDOWS_IAS_QUERY_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for WINDOWS_IAS_QUERY_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WINDOWS_IAS_QUERY_0_0 { |
| pub Len: u32, |
| pub OctetSeq: [u8; 1024], |
| } |
| impl ::core::marker::Copy for WINDOWS_IAS_QUERY_0_0 {} |
| impl ::core::clone::Clone for WINDOWS_IAS_QUERY_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WINDOWS_IAS_QUERY_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WINDOWS_IAS_QUERY_0_0").field("Len", &self.Len).field("OctetSeq", &self.OctetSeq).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WINDOWS_IAS_QUERY_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WINDOWS_IAS_QUERY_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Len == other.Len && self.OctetSeq == other.OctetSeq |
| } |
| } |
| impl ::core::cmp::Eq for WINDOWS_IAS_QUERY_0_0 {} |
| impl ::core::default::Default for WINDOWS_IAS_QUERY_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WINDOWS_IAS_QUERY_0_1 { |
| pub Len: u32, |
| pub CharSet: u32, |
| pub UsrStr: [u8; 256], |
| } |
| impl ::core::marker::Copy for WINDOWS_IAS_QUERY_0_1 {} |
| impl ::core::clone::Clone for WINDOWS_IAS_QUERY_0_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WINDOWS_IAS_QUERY_0_1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WINDOWS_IAS_QUERY_0_1").field("Len", &self.Len).field("CharSet", &self.CharSet).field("UsrStr", &self.UsrStr).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WINDOWS_IAS_QUERY_0_1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WINDOWS_IAS_QUERY_0_1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Len == other.Len && self.CharSet == other.CharSet && self.UsrStr == other.UsrStr |
| } |
| } |
| impl ::core::cmp::Eq for WINDOWS_IAS_QUERY_0_1 {} |
| impl ::core::default::Default for WINDOWS_IAS_QUERY_0_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WINDOWS_IAS_SET { |
| pub irdaClassName: [u8; 64], |
| pub irdaAttribName: [u8; 256], |
| pub irdaAttribType: u32, |
| pub irdaAttribute: WINDOWS_IAS_SET_0, |
| } |
| impl ::core::marker::Copy for WINDOWS_IAS_SET {} |
| impl ::core::clone::Clone for WINDOWS_IAS_SET { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for WINDOWS_IAS_SET { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for WINDOWS_IAS_SET { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union WINDOWS_IAS_SET_0 { |
| pub irdaAttribInt: i32, |
| pub irdaAttribOctetSeq: WINDOWS_IAS_SET_0_0, |
| pub irdaAttribUsrStr: WINDOWS_IAS_SET_0_1, |
| } |
| impl ::core::marker::Copy for WINDOWS_IAS_SET_0 {} |
| impl ::core::clone::Clone for WINDOWS_IAS_SET_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for WINDOWS_IAS_SET_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for WINDOWS_IAS_SET_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WINDOWS_IAS_SET_0_0 { |
| pub Len: u16, |
| pub OctetSeq: [u8; 1024], |
| } |
| impl ::core::marker::Copy for WINDOWS_IAS_SET_0_0 {} |
| impl ::core::clone::Clone for WINDOWS_IAS_SET_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WINDOWS_IAS_SET_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WINDOWS_IAS_SET_0_0").field("Len", &self.Len).field("OctetSeq", &self.OctetSeq).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WINDOWS_IAS_SET_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WINDOWS_IAS_SET_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Len == other.Len && self.OctetSeq == other.OctetSeq |
| } |
| } |
| impl ::core::cmp::Eq for WINDOWS_IAS_SET_0_0 {} |
| impl ::core::default::Default for WINDOWS_IAS_SET_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WINDOWS_IAS_SET_0_1 { |
| pub Len: u8, |
| pub CharSet: u8, |
| pub UsrStr: [u8; 256], |
| } |
| impl ::core::marker::Copy for WINDOWS_IAS_SET_0_1 {} |
| impl ::core::clone::Clone for WINDOWS_IAS_SET_0_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WINDOWS_IAS_SET_0_1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WINDOWS_IAS_SET_0_1").field("Len", &self.Len).field("CharSet", &self.CharSet).field("UsrStr", &self.UsrStr).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WINDOWS_IAS_SET_0_1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WINDOWS_IAS_SET_0_1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Len == other.Len && self.CharSet == other.CharSet && self.UsrStr == other.UsrStr |
| } |
| } |
| impl ::core::cmp::Eq for WINDOWS_IAS_SET_0_1 {} |
| impl ::core::default::Default for WINDOWS_IAS_SET_0_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WINDOWS_IRDA_DEVICE_INFO { |
| pub irdaDeviceID: [u8; 4], |
| pub irdaDeviceName: [u8; 22], |
| pub irdaDeviceHints1: u8, |
| pub irdaDeviceHints2: u8, |
| pub irdaCharSet: u8, |
| } |
| impl ::core::marker::Copy for WINDOWS_IRDA_DEVICE_INFO {} |
| impl ::core::clone::Clone for WINDOWS_IRDA_DEVICE_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WINDOWS_IRDA_DEVICE_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WINDOWS_IRDA_DEVICE_INFO").field("irdaDeviceID", &self.irdaDeviceID).field("irdaDeviceName", &self.irdaDeviceName).field("irdaDeviceHints1", &self.irdaDeviceHints1).field("irdaDeviceHints2", &self.irdaDeviceHints2).field("irdaCharSet", &self.irdaCharSet).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WINDOWS_IRDA_DEVICE_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WINDOWS_IRDA_DEVICE_INFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.irdaDeviceID == other.irdaDeviceID && self.irdaDeviceName == other.irdaDeviceName && self.irdaDeviceHints1 == other.irdaDeviceHints1 && self.irdaDeviceHints2 == other.irdaDeviceHints2 && self.irdaCharSet == other.irdaCharSet |
| } |
| } |
| impl ::core::cmp::Eq for WINDOWS_IRDA_DEVICE_INFO {} |
| impl ::core::default::Default for WINDOWS_IRDA_DEVICE_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSABUF { |
| pub len: u32, |
| pub buf: ::windows::core::PSTR, |
| } |
| impl ::core::marker::Copy for WSABUF {} |
| impl ::core::clone::Clone for WSABUF { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSABUF { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSABUF").field("len", &self.len).field("buf", &self.buf).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSABUF { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSABUF { |
| fn eq(&self, other: &Self) -> bool { |
| self.len == other.len && self.buf == other.buf |
| } |
| } |
| impl ::core::cmp::Eq for WSABUF {} |
| impl ::core::default::Default for WSABUF { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| pub struct WSACOMPLETION { |
| pub Type: WSACOMPLETIONTYPE, |
| pub Parameters: WSACOMPLETION_0, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::marker::Copy for WSACOMPLETION {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::clone::Clone for WSACOMPLETION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::windows::core::TypeKind for WSACOMPLETION { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::default::Default for WSACOMPLETION { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| pub union WSACOMPLETION_0 { |
| pub WindowMessage: WSACOMPLETION_0_3, |
| pub Event: WSACOMPLETION_0_1, |
| pub Apc: WSACOMPLETION_0_0, |
| pub Port: WSACOMPLETION_0_2, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::marker::Copy for WSACOMPLETION_0 {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::clone::Clone for WSACOMPLETION_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::windows::core::TypeKind for WSACOMPLETION_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::default::Default for WSACOMPLETION_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| pub struct WSACOMPLETION_0_0 { |
| pub lpOverlapped: *mut super::super::System::IO::OVERLAPPED, |
| pub lpfnCompletionProc: LPWSAOVERLAPPED_COMPLETION_ROUTINE, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::marker::Copy for WSACOMPLETION_0_0 {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::clone::Clone for WSACOMPLETION_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::fmt::Debug for WSACOMPLETION_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSACOMPLETION_0_0").field("lpOverlapped", &self.lpOverlapped).finish() |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::windows::core::TypeKind for WSACOMPLETION_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::default::Default for WSACOMPLETION_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| pub struct WSACOMPLETION_0_1 { |
| pub lpOverlapped: *mut super::super::System::IO::OVERLAPPED, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::marker::Copy for WSACOMPLETION_0_1 {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::clone::Clone for WSACOMPLETION_0_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::fmt::Debug for WSACOMPLETION_0_1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSACOMPLETION_0_1").field("lpOverlapped", &self.lpOverlapped).finish() |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::windows::core::TypeKind for WSACOMPLETION_0_1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::cmp::PartialEq for WSACOMPLETION_0_1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.lpOverlapped == other.lpOverlapped |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::cmp::Eq for WSACOMPLETION_0_1 {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::default::Default for WSACOMPLETION_0_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| pub struct WSACOMPLETION_0_2 { |
| pub lpOverlapped: *mut super::super::System::IO::OVERLAPPED, |
| pub hPort: super::super::Foundation::HANDLE, |
| pub Key: usize, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::marker::Copy for WSACOMPLETION_0_2 {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::clone::Clone for WSACOMPLETION_0_2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::fmt::Debug for WSACOMPLETION_0_2 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSACOMPLETION_0_2").field("lpOverlapped", &self.lpOverlapped).field("hPort", &self.hPort).field("Key", &self.Key).finish() |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::windows::core::TypeKind for WSACOMPLETION_0_2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::cmp::PartialEq for WSACOMPLETION_0_2 { |
| fn eq(&self, other: &Self) -> bool { |
| self.lpOverlapped == other.lpOverlapped && self.hPort == other.hPort && self.Key == other.Key |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::cmp::Eq for WSACOMPLETION_0_2 {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::default::Default for WSACOMPLETION_0_2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| pub struct WSACOMPLETION_0_3 { |
| pub hWnd: super::super::Foundation::HWND, |
| pub uMsg: u32, |
| pub context: super::super::Foundation::WPARAM, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::marker::Copy for WSACOMPLETION_0_3 {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::clone::Clone for WSACOMPLETION_0_3 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::fmt::Debug for WSACOMPLETION_0_3 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSACOMPLETION_0_3").field("hWnd", &self.hWnd).field("uMsg", &self.uMsg).field("context", &self.context).finish() |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::windows::core::TypeKind for WSACOMPLETION_0_3 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::cmp::PartialEq for WSACOMPLETION_0_3 { |
| fn eq(&self, other: &Self) -> bool { |
| self.hWnd == other.hWnd && self.uMsg == other.uMsg && self.context == other.context |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::cmp::Eq for WSACOMPLETION_0_3 {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::default::Default for WSACOMPLETION_0_3 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct WSADATA { |
| pub wVersion: u16, |
| pub wHighVersion: u16, |
| pub iMaxSockets: u16, |
| pub iMaxUdpDg: u16, |
| pub lpVendorInfo: ::windows::core::PSTR, |
| pub szDescription: [u8; 257], |
| pub szSystemStatus: [u8; 129], |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for WSADATA {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for WSADATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::fmt::Debug for WSADATA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSADATA").field("wVersion", &self.wVersion).field("wHighVersion", &self.wHighVersion).field("iMaxSockets", &self.iMaxSockets).field("iMaxUdpDg", &self.iMaxUdpDg).field("lpVendorInfo", &self.lpVendorInfo).field("szDescription", &self.szDescription).field("szSystemStatus", &self.szSystemStatus).finish() |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows::core::TypeKind for WSADATA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::cmp::PartialEq for WSADATA { |
| fn eq(&self, other: &Self) -> bool { |
| self.wVersion == other.wVersion && self.wHighVersion == other.wHighVersion && self.iMaxSockets == other.iMaxSockets && self.iMaxUdpDg == other.iMaxUdpDg && self.lpVendorInfo == other.lpVendorInfo && self.szDescription == other.szDescription && self.szSystemStatus == other.szSystemStatus |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::cmp::Eq for WSADATA {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for WSADATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(target_arch = "x86")] |
| pub struct WSADATA { |
| pub wVersion: u16, |
| pub wHighVersion: u16, |
| pub szDescription: [u8; 257], |
| pub szSystemStatus: [u8; 129], |
| pub iMaxSockets: u16, |
| pub iMaxUdpDg: u16, |
| pub lpVendorInfo: ::windows::core::PSTR, |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::marker::Copy for WSADATA {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::clone::Clone for WSADATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::fmt::Debug for WSADATA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSADATA").field("wVersion", &self.wVersion).field("wHighVersion", &self.wHighVersion).field("szDescription", &self.szDescription).field("szSystemStatus", &self.szSystemStatus).field("iMaxSockets", &self.iMaxSockets).field("iMaxUdpDg", &self.iMaxUdpDg).field("lpVendorInfo", &self.lpVendorInfo).finish() |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::windows::core::TypeKind for WSADATA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::cmp::PartialEq for WSADATA { |
| fn eq(&self, other: &Self) -> bool { |
| self.wVersion == other.wVersion && self.wHighVersion == other.wHighVersion && self.szDescription == other.szDescription && self.szSystemStatus == other.szSystemStatus && self.iMaxSockets == other.iMaxSockets && self.iMaxUdpDg == other.iMaxUdpDg && self.lpVendorInfo == other.lpVendorInfo |
| } |
| } |
| #[cfg(target_arch = "x86")] |
| impl ::core::cmp::Eq for WSADATA {} |
| #[cfg(target_arch = "x86")] |
| impl ::core::default::Default for WSADATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSAMSG { |
| pub name: *mut SOCKADDR, |
| pub namelen: i32, |
| pub lpBuffers: *mut WSABUF, |
| pub dwBufferCount: u32, |
| pub Control: WSABUF, |
| pub dwFlags: u32, |
| } |
| impl ::core::marker::Copy for WSAMSG {} |
| impl ::core::clone::Clone for WSAMSG { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSAMSG { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSAMSG").field("name", &self.name).field("namelen", &self.namelen).field("lpBuffers", &self.lpBuffers).field("dwBufferCount", &self.dwBufferCount).field("Control", &self.Control).field("dwFlags", &self.dwFlags).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSAMSG { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSAMSG { |
| fn eq(&self, other: &Self) -> bool { |
| self.name == other.name && self.namelen == other.namelen && self.lpBuffers == other.lpBuffers && self.dwBufferCount == other.dwBufferCount && self.Control == other.Control && self.dwFlags == other.dwFlags |
| } |
| } |
| impl ::core::cmp::Eq for WSAMSG {} |
| impl ::core::default::Default for WSAMSG { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct WSANAMESPACE_INFOA { |
| pub NSProviderId: ::windows::core::GUID, |
| pub dwNameSpace: u32, |
| pub fActive: super::super::Foundation::BOOL, |
| pub dwVersion: u32, |
| pub lpszIdentifier: ::windows::core::PSTR, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for WSANAMESPACE_INFOA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for WSANAMESPACE_INFOA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for WSANAMESPACE_INFOA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSANAMESPACE_INFOA").field("NSProviderId", &self.NSProviderId).field("dwNameSpace", &self.dwNameSpace).field("fActive", &self.fActive).field("dwVersion", &self.dwVersion).field("lpszIdentifier", &self.lpszIdentifier).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for WSANAMESPACE_INFOA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for WSANAMESPACE_INFOA { |
| fn eq(&self, other: &Self) -> bool { |
| self.NSProviderId == other.NSProviderId && self.dwNameSpace == other.dwNameSpace && self.fActive == other.fActive && self.dwVersion == other.dwVersion && self.lpszIdentifier == other.lpszIdentifier |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for WSANAMESPACE_INFOA {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for WSANAMESPACE_INFOA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| pub struct WSANAMESPACE_INFOEXA { |
| pub NSProviderId: ::windows::core::GUID, |
| pub dwNameSpace: u32, |
| pub fActive: super::super::Foundation::BOOL, |
| pub dwVersion: u32, |
| pub lpszIdentifier: ::windows::core::PSTR, |
| pub ProviderSpecific: super::super::System::Com::BLOB, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::marker::Copy for WSANAMESPACE_INFOEXA {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::clone::Clone for WSANAMESPACE_INFOEXA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::fmt::Debug for WSANAMESPACE_INFOEXA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSANAMESPACE_INFOEXA").field("NSProviderId", &self.NSProviderId).field("dwNameSpace", &self.dwNameSpace).field("fActive", &self.fActive).field("dwVersion", &self.dwVersion).field("lpszIdentifier", &self.lpszIdentifier).field("ProviderSpecific", &self.ProviderSpecific).finish() |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::windows::core::TypeKind for WSANAMESPACE_INFOEXA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::cmp::PartialEq for WSANAMESPACE_INFOEXA { |
| fn eq(&self, other: &Self) -> bool { |
| self.NSProviderId == other.NSProviderId && self.dwNameSpace == other.dwNameSpace && self.fActive == other.fActive && self.dwVersion == other.dwVersion && self.lpszIdentifier == other.lpszIdentifier && self.ProviderSpecific == other.ProviderSpecific |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::cmp::Eq for WSANAMESPACE_INFOEXA {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::default::Default for WSANAMESPACE_INFOEXA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| pub struct WSANAMESPACE_INFOEXW { |
| pub NSProviderId: ::windows::core::GUID, |
| pub dwNameSpace: u32, |
| pub fActive: super::super::Foundation::BOOL, |
| pub dwVersion: u32, |
| pub lpszIdentifier: ::windows::core::PWSTR, |
| pub ProviderSpecific: super::super::System::Com::BLOB, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::marker::Copy for WSANAMESPACE_INFOEXW {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::clone::Clone for WSANAMESPACE_INFOEXW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::fmt::Debug for WSANAMESPACE_INFOEXW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSANAMESPACE_INFOEXW").field("NSProviderId", &self.NSProviderId).field("dwNameSpace", &self.dwNameSpace).field("fActive", &self.fActive).field("dwVersion", &self.dwVersion).field("lpszIdentifier", &self.lpszIdentifier).field("ProviderSpecific", &self.ProviderSpecific).finish() |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::windows::core::TypeKind for WSANAMESPACE_INFOEXW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::cmp::PartialEq for WSANAMESPACE_INFOEXW { |
| fn eq(&self, other: &Self) -> bool { |
| self.NSProviderId == other.NSProviderId && self.dwNameSpace == other.dwNameSpace && self.fActive == other.fActive && self.dwVersion == other.dwVersion && self.lpszIdentifier == other.lpszIdentifier && self.ProviderSpecific == other.ProviderSpecific |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::cmp::Eq for WSANAMESPACE_INFOEXW {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| impl ::core::default::Default for WSANAMESPACE_INFOEXW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct WSANAMESPACE_INFOW { |
| pub NSProviderId: ::windows::core::GUID, |
| pub dwNameSpace: u32, |
| pub fActive: super::super::Foundation::BOOL, |
| pub dwVersion: u32, |
| pub lpszIdentifier: ::windows::core::PWSTR, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for WSANAMESPACE_INFOW {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for WSANAMESPACE_INFOW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for WSANAMESPACE_INFOW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSANAMESPACE_INFOW").field("NSProviderId", &self.NSProviderId).field("dwNameSpace", &self.dwNameSpace).field("fActive", &self.fActive).field("dwVersion", &self.dwVersion).field("lpszIdentifier", &self.lpszIdentifier).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for WSANAMESPACE_INFOW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for WSANAMESPACE_INFOW { |
| fn eq(&self, other: &Self) -> bool { |
| self.NSProviderId == other.NSProviderId && self.dwNameSpace == other.dwNameSpace && self.fActive == other.fActive && self.dwVersion == other.dwVersion && self.lpszIdentifier == other.lpszIdentifier |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for WSANAMESPACE_INFOW {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for WSANAMESPACE_INFOW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSANETWORKEVENTS { |
| pub lNetworkEvents: i32, |
| pub iErrorCode: [i32; 10], |
| } |
| impl ::core::marker::Copy for WSANETWORKEVENTS {} |
| impl ::core::clone::Clone for WSANETWORKEVENTS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSANETWORKEVENTS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSANETWORKEVENTS").field("lNetworkEvents", &self.lNetworkEvents).field("iErrorCode", &self.iErrorCode).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSANETWORKEVENTS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSANETWORKEVENTS { |
| fn eq(&self, other: &Self) -> bool { |
| self.lNetworkEvents == other.lNetworkEvents && self.iErrorCode == other.iErrorCode |
| } |
| } |
| impl ::core::cmp::Eq for WSANETWORKEVENTS {} |
| impl ::core::default::Default for WSANETWORKEVENTS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSANSCLASSINFOA { |
| pub lpszName: ::windows::core::PSTR, |
| pub dwNameSpace: u32, |
| pub dwValueType: u32, |
| pub dwValueSize: u32, |
| pub lpValue: *mut ::core::ffi::c_void, |
| } |
| impl ::core::marker::Copy for WSANSCLASSINFOA {} |
| impl ::core::clone::Clone for WSANSCLASSINFOA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSANSCLASSINFOA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSANSCLASSINFOA").field("lpszName", &self.lpszName).field("dwNameSpace", &self.dwNameSpace).field("dwValueType", &self.dwValueType).field("dwValueSize", &self.dwValueSize).field("lpValue", &self.lpValue).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSANSCLASSINFOA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSANSCLASSINFOA { |
| fn eq(&self, other: &Self) -> bool { |
| self.lpszName == other.lpszName && self.dwNameSpace == other.dwNameSpace && self.dwValueType == other.dwValueType && self.dwValueSize == other.dwValueSize && self.lpValue == other.lpValue |
| } |
| } |
| impl ::core::cmp::Eq for WSANSCLASSINFOA {} |
| impl ::core::default::Default for WSANSCLASSINFOA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSANSCLASSINFOW { |
| pub lpszName: ::windows::core::PWSTR, |
| pub dwNameSpace: u32, |
| pub dwValueType: u32, |
| pub dwValueSize: u32, |
| pub lpValue: *mut ::core::ffi::c_void, |
| } |
| impl ::core::marker::Copy for WSANSCLASSINFOW {} |
| impl ::core::clone::Clone for WSANSCLASSINFOW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSANSCLASSINFOW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSANSCLASSINFOW").field("lpszName", &self.lpszName).field("dwNameSpace", &self.dwNameSpace).field("dwValueType", &self.dwValueType).field("dwValueSize", &self.dwValueSize).field("lpValue", &self.lpValue).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSANSCLASSINFOW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSANSCLASSINFOW { |
| fn eq(&self, other: &Self) -> bool { |
| self.lpszName == other.lpszName && self.dwNameSpace == other.dwNameSpace && self.dwValueType == other.dwValueType && self.dwValueSize == other.dwValueSize && self.lpValue == other.lpValue |
| } |
| } |
| impl ::core::cmp::Eq for WSANSCLASSINFOW {} |
| impl ::core::default::Default for WSANSCLASSINFOW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSAPOLLDATA { |
| pub result: i32, |
| pub fds: u32, |
| pub timeout: i32, |
| pub fdArray: [WSAPOLLFD; 1], |
| } |
| impl ::core::marker::Copy for WSAPOLLDATA {} |
| impl ::core::clone::Clone for WSAPOLLDATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSAPOLLDATA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSAPOLLDATA").field("result", &self.result).field("fds", &self.fds).field("timeout", &self.timeout).field("fdArray", &self.fdArray).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSAPOLLDATA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSAPOLLDATA { |
| fn eq(&self, other: &Self) -> bool { |
| self.result == other.result && self.fds == other.fds && self.timeout == other.timeout && self.fdArray == other.fdArray |
| } |
| } |
| impl ::core::cmp::Eq for WSAPOLLDATA {} |
| impl ::core::default::Default for WSAPOLLDATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSAPOLLFD { |
| pub fd: SOCKET, |
| pub events: i16, |
| pub revents: i16, |
| } |
| impl ::core::marker::Copy for WSAPOLLFD {} |
| impl ::core::clone::Clone for WSAPOLLFD { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSAPOLLFD { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSAPOLLFD").field("fd", &self.fd).field("events", &self.events).field("revents", &self.revents).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSAPOLLFD { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSAPOLLFD { |
| fn eq(&self, other: &Self) -> bool { |
| self.fd == other.fd && self.events == other.events && self.revents == other.revents |
| } |
| } |
| impl ::core::cmp::Eq for WSAPOLLFD {} |
| impl ::core::default::Default for WSAPOLLFD { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSAPROTOCOLCHAIN { |
| pub ChainLen: i32, |
| pub ChainEntries: [u32; 7], |
| } |
| impl ::core::marker::Copy for WSAPROTOCOLCHAIN {} |
| impl ::core::clone::Clone for WSAPROTOCOLCHAIN { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSAPROTOCOLCHAIN { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSAPROTOCOLCHAIN").field("ChainLen", &self.ChainLen).field("ChainEntries", &self.ChainEntries).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSAPROTOCOLCHAIN { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSAPROTOCOLCHAIN { |
| fn eq(&self, other: &Self) -> bool { |
| self.ChainLen == other.ChainLen && self.ChainEntries == other.ChainEntries |
| } |
| } |
| impl ::core::cmp::Eq for WSAPROTOCOLCHAIN {} |
| impl ::core::default::Default for WSAPROTOCOLCHAIN { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSAPROTOCOL_INFOA { |
| pub dwServiceFlags1: u32, |
| pub dwServiceFlags2: u32, |
| pub dwServiceFlags3: u32, |
| pub dwServiceFlags4: u32, |
| pub dwProviderFlags: u32, |
| pub ProviderId: ::windows::core::GUID, |
| pub dwCatalogEntryId: u32, |
| pub ProtocolChain: WSAPROTOCOLCHAIN, |
| pub iVersion: i32, |
| pub iAddressFamily: i32, |
| pub iMaxSockAddr: i32, |
| pub iMinSockAddr: i32, |
| pub iSocketType: i32, |
| pub iProtocol: i32, |
| pub iProtocolMaxOffset: i32, |
| pub iNetworkByteOrder: i32, |
| pub iSecurityScheme: i32, |
| pub dwMessageSize: u32, |
| pub dwProviderReserved: u32, |
| pub szProtocol: [u8; 256], |
| } |
| impl ::core::marker::Copy for WSAPROTOCOL_INFOA {} |
| impl ::core::clone::Clone for WSAPROTOCOL_INFOA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSAPROTOCOL_INFOA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSAPROTOCOL_INFOA") |
| .field("dwServiceFlags1", &self.dwServiceFlags1) |
| .field("dwServiceFlags2", &self.dwServiceFlags2) |
| .field("dwServiceFlags3", &self.dwServiceFlags3) |
| .field("dwServiceFlags4", &self.dwServiceFlags4) |
| .field("dwProviderFlags", &self.dwProviderFlags) |
| .field("ProviderId", &self.ProviderId) |
| .field("dwCatalogEntryId", &self.dwCatalogEntryId) |
| .field("ProtocolChain", &self.ProtocolChain) |
| .field("iVersion", &self.iVersion) |
| .field("iAddressFamily", &self.iAddressFamily) |
| .field("iMaxSockAddr", &self.iMaxSockAddr) |
| .field("iMinSockAddr", &self.iMinSockAddr) |
| .field("iSocketType", &self.iSocketType) |
| .field("iProtocol", &self.iProtocol) |
| .field("iProtocolMaxOffset", &self.iProtocolMaxOffset) |
| .field("iNetworkByteOrder", &self.iNetworkByteOrder) |
| .field("iSecurityScheme", &self.iSecurityScheme) |
| .field("dwMessageSize", &self.dwMessageSize) |
| .field("dwProviderReserved", &self.dwProviderReserved) |
| .field("szProtocol", &self.szProtocol) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSAPROTOCOL_INFOA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSAPROTOCOL_INFOA { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwServiceFlags1 == other.dwServiceFlags1 |
| && self.dwServiceFlags2 == other.dwServiceFlags2 |
| && self.dwServiceFlags3 == other.dwServiceFlags3 |
| && self.dwServiceFlags4 == other.dwServiceFlags4 |
| && self.dwProviderFlags == other.dwProviderFlags |
| && self.ProviderId == other.ProviderId |
| && self.dwCatalogEntryId == other.dwCatalogEntryId |
| && self.ProtocolChain == other.ProtocolChain |
| && self.iVersion == other.iVersion |
| && self.iAddressFamily == other.iAddressFamily |
| && self.iMaxSockAddr == other.iMaxSockAddr |
| && self.iMinSockAddr == other.iMinSockAddr |
| && self.iSocketType == other.iSocketType |
| && self.iProtocol == other.iProtocol |
| && self.iProtocolMaxOffset == other.iProtocolMaxOffset |
| && self.iNetworkByteOrder == other.iNetworkByteOrder |
| && self.iSecurityScheme == other.iSecurityScheme |
| && self.dwMessageSize == other.dwMessageSize |
| && self.dwProviderReserved == other.dwProviderReserved |
| && self.szProtocol == other.szProtocol |
| } |
| } |
| impl ::core::cmp::Eq for WSAPROTOCOL_INFOA {} |
| impl ::core::default::Default for WSAPROTOCOL_INFOA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSAPROTOCOL_INFOW { |
| pub dwServiceFlags1: u32, |
| pub dwServiceFlags2: u32, |
| pub dwServiceFlags3: u32, |
| pub dwServiceFlags4: u32, |
| pub dwProviderFlags: u32, |
| pub ProviderId: ::windows::core::GUID, |
| pub dwCatalogEntryId: u32, |
| pub ProtocolChain: WSAPROTOCOLCHAIN, |
| pub iVersion: i32, |
| pub iAddressFamily: i32, |
| pub iMaxSockAddr: i32, |
| pub iMinSockAddr: i32, |
| pub iSocketType: i32, |
| pub iProtocol: i32, |
| pub iProtocolMaxOffset: i32, |
| pub iNetworkByteOrder: i32, |
| pub iSecurityScheme: i32, |
| pub dwMessageSize: u32, |
| pub dwProviderReserved: u32, |
| pub szProtocol: [u16; 256], |
| } |
| impl ::core::marker::Copy for WSAPROTOCOL_INFOW {} |
| impl ::core::clone::Clone for WSAPROTOCOL_INFOW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSAPROTOCOL_INFOW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSAPROTOCOL_INFOW") |
| .field("dwServiceFlags1", &self.dwServiceFlags1) |
| .field("dwServiceFlags2", &self.dwServiceFlags2) |
| .field("dwServiceFlags3", &self.dwServiceFlags3) |
| .field("dwServiceFlags4", &self.dwServiceFlags4) |
| .field("dwProviderFlags", &self.dwProviderFlags) |
| .field("ProviderId", &self.ProviderId) |
| .field("dwCatalogEntryId", &self.dwCatalogEntryId) |
| .field("ProtocolChain", &self.ProtocolChain) |
| .field("iVersion", &self.iVersion) |
| .field("iAddressFamily", &self.iAddressFamily) |
| .field("iMaxSockAddr", &self.iMaxSockAddr) |
| .field("iMinSockAddr", &self.iMinSockAddr) |
| .field("iSocketType", &self.iSocketType) |
| .field("iProtocol", &self.iProtocol) |
| .field("iProtocolMaxOffset", &self.iProtocolMaxOffset) |
| .field("iNetworkByteOrder", &self.iNetworkByteOrder) |
| .field("iSecurityScheme", &self.iSecurityScheme) |
| .field("dwMessageSize", &self.dwMessageSize) |
| .field("dwProviderReserved", &self.dwProviderReserved) |
| .field("szProtocol", &self.szProtocol) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSAPROTOCOL_INFOW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSAPROTOCOL_INFOW { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwServiceFlags1 == other.dwServiceFlags1 |
| && self.dwServiceFlags2 == other.dwServiceFlags2 |
| && self.dwServiceFlags3 == other.dwServiceFlags3 |
| && self.dwServiceFlags4 == other.dwServiceFlags4 |
| && self.dwProviderFlags == other.dwProviderFlags |
| && self.ProviderId == other.ProviderId |
| && self.dwCatalogEntryId == other.dwCatalogEntryId |
| && self.ProtocolChain == other.ProtocolChain |
| && self.iVersion == other.iVersion |
| && self.iAddressFamily == other.iAddressFamily |
| && self.iMaxSockAddr == other.iMaxSockAddr |
| && self.iMinSockAddr == other.iMinSockAddr |
| && self.iSocketType == other.iSocketType |
| && self.iProtocol == other.iProtocol |
| && self.iProtocolMaxOffset == other.iProtocolMaxOffset |
| && self.iNetworkByteOrder == other.iNetworkByteOrder |
| && self.iSecurityScheme == other.iSecurityScheme |
| && self.dwMessageSize == other.dwMessageSize |
| && self.dwProviderReserved == other.dwProviderReserved |
| && self.szProtocol == other.szProtocol |
| } |
| } |
| impl ::core::cmp::Eq for WSAPROTOCOL_INFOW {} |
| impl ::core::default::Default for WSAPROTOCOL_INFOW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(feature = "Win32_System_Com")] |
| pub struct WSAQUERYSET2A { |
| pub dwSize: u32, |
| pub lpszServiceInstanceName: ::windows::core::PSTR, |
| pub lpVersion: *mut WSAVERSION, |
| pub lpszComment: ::windows::core::PSTR, |
| pub dwNameSpace: u32, |
| pub lpNSProviderId: *mut ::windows::core::GUID, |
| pub lpszContext: ::windows::core::PSTR, |
| pub dwNumberOfProtocols: u32, |
| pub lpafpProtocols: *mut AFPROTOCOLS, |
| pub lpszQueryString: ::windows::core::PSTR, |
| pub dwNumberOfCsAddrs: u32, |
| pub lpcsaBuffer: *mut CSADDR_INFO, |
| pub dwOutputFlags: u32, |
| pub lpBlob: *mut super::super::System::Com::BLOB, |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::marker::Copy for WSAQUERYSET2A {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::clone::Clone for WSAQUERYSET2A { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::fmt::Debug for WSAQUERYSET2A { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSAQUERYSET2A") |
| .field("dwSize", &self.dwSize) |
| .field("lpszServiceInstanceName", &self.lpszServiceInstanceName) |
| .field("lpVersion", &self.lpVersion) |
| .field("lpszComment", &self.lpszComment) |
| .field("dwNameSpace", &self.dwNameSpace) |
| .field("lpNSProviderId", &self.lpNSProviderId) |
| .field("lpszContext", &self.lpszContext) |
| .field("dwNumberOfProtocols", &self.dwNumberOfProtocols) |
| .field("lpafpProtocols", &self.lpafpProtocols) |
| .field("lpszQueryString", &self.lpszQueryString) |
| .field("dwNumberOfCsAddrs", &self.dwNumberOfCsAddrs) |
| .field("lpcsaBuffer", &self.lpcsaBuffer) |
| .field("dwOutputFlags", &self.dwOutputFlags) |
| .field("lpBlob", &self.lpBlob) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::windows::core::TypeKind for WSAQUERYSET2A { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::PartialEq for WSAQUERYSET2A { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwSize == other.dwSize && self.lpszServiceInstanceName == other.lpszServiceInstanceName && self.lpVersion == other.lpVersion && self.lpszComment == other.lpszComment && self.dwNameSpace == other.dwNameSpace && self.lpNSProviderId == other.lpNSProviderId && self.lpszContext == other.lpszContext && self.dwNumberOfProtocols == other.dwNumberOfProtocols && self.lpafpProtocols == other.lpafpProtocols && self.lpszQueryString == other.lpszQueryString && self.dwNumberOfCsAddrs == other.dwNumberOfCsAddrs && self.lpcsaBuffer == other.lpcsaBuffer && self.dwOutputFlags == other.dwOutputFlags && self.lpBlob == other.lpBlob |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::Eq for WSAQUERYSET2A {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::default::Default for WSAQUERYSET2A { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(feature = "Win32_System_Com")] |
| pub struct WSAQUERYSET2W { |
| pub dwSize: u32, |
| pub lpszServiceInstanceName: ::windows::core::PWSTR, |
| pub lpVersion: *mut WSAVERSION, |
| pub lpszComment: ::windows::core::PWSTR, |
| pub dwNameSpace: u32, |
| pub lpNSProviderId: *mut ::windows::core::GUID, |
| pub lpszContext: ::windows::core::PWSTR, |
| pub dwNumberOfProtocols: u32, |
| pub lpafpProtocols: *mut AFPROTOCOLS, |
| pub lpszQueryString: ::windows::core::PWSTR, |
| pub dwNumberOfCsAddrs: u32, |
| pub lpcsaBuffer: *mut CSADDR_INFO, |
| pub dwOutputFlags: u32, |
| pub lpBlob: *mut super::super::System::Com::BLOB, |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::marker::Copy for WSAQUERYSET2W {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::clone::Clone for WSAQUERYSET2W { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::fmt::Debug for WSAQUERYSET2W { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSAQUERYSET2W") |
| .field("dwSize", &self.dwSize) |
| .field("lpszServiceInstanceName", &self.lpszServiceInstanceName) |
| .field("lpVersion", &self.lpVersion) |
| .field("lpszComment", &self.lpszComment) |
| .field("dwNameSpace", &self.dwNameSpace) |
| .field("lpNSProviderId", &self.lpNSProviderId) |
| .field("lpszContext", &self.lpszContext) |
| .field("dwNumberOfProtocols", &self.dwNumberOfProtocols) |
| .field("lpafpProtocols", &self.lpafpProtocols) |
| .field("lpszQueryString", &self.lpszQueryString) |
| .field("dwNumberOfCsAddrs", &self.dwNumberOfCsAddrs) |
| .field("lpcsaBuffer", &self.lpcsaBuffer) |
| .field("dwOutputFlags", &self.dwOutputFlags) |
| .field("lpBlob", &self.lpBlob) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::windows::core::TypeKind for WSAQUERYSET2W { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::PartialEq for WSAQUERYSET2W { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwSize == other.dwSize && self.lpszServiceInstanceName == other.lpszServiceInstanceName && self.lpVersion == other.lpVersion && self.lpszComment == other.lpszComment && self.dwNameSpace == other.dwNameSpace && self.lpNSProviderId == other.lpNSProviderId && self.lpszContext == other.lpszContext && self.dwNumberOfProtocols == other.dwNumberOfProtocols && self.lpafpProtocols == other.lpafpProtocols && self.lpszQueryString == other.lpszQueryString && self.dwNumberOfCsAddrs == other.dwNumberOfCsAddrs && self.lpcsaBuffer == other.lpcsaBuffer && self.dwOutputFlags == other.dwOutputFlags && self.lpBlob == other.lpBlob |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::Eq for WSAQUERYSET2W {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::default::Default for WSAQUERYSET2W { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(feature = "Win32_System_Com")] |
| pub struct WSAQUERYSETA { |
| pub dwSize: u32, |
| pub lpszServiceInstanceName: ::windows::core::PSTR, |
| pub lpServiceClassId: *mut ::windows::core::GUID, |
| pub lpVersion: *mut WSAVERSION, |
| pub lpszComment: ::windows::core::PSTR, |
| pub dwNameSpace: u32, |
| pub lpNSProviderId: *mut ::windows::core::GUID, |
| pub lpszContext: ::windows::core::PSTR, |
| pub dwNumberOfProtocols: u32, |
| pub lpafpProtocols: *mut AFPROTOCOLS, |
| pub lpszQueryString: ::windows::core::PSTR, |
| pub dwNumberOfCsAddrs: u32, |
| pub lpcsaBuffer: *mut CSADDR_INFO, |
| pub dwOutputFlags: u32, |
| pub lpBlob: *mut super::super::System::Com::BLOB, |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::marker::Copy for WSAQUERYSETA {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::clone::Clone for WSAQUERYSETA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::fmt::Debug for WSAQUERYSETA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSAQUERYSETA") |
| .field("dwSize", &self.dwSize) |
| .field("lpszServiceInstanceName", &self.lpszServiceInstanceName) |
| .field("lpServiceClassId", &self.lpServiceClassId) |
| .field("lpVersion", &self.lpVersion) |
| .field("lpszComment", &self.lpszComment) |
| .field("dwNameSpace", &self.dwNameSpace) |
| .field("lpNSProviderId", &self.lpNSProviderId) |
| .field("lpszContext", &self.lpszContext) |
| .field("dwNumberOfProtocols", &self.dwNumberOfProtocols) |
| .field("lpafpProtocols", &self.lpafpProtocols) |
| .field("lpszQueryString", &self.lpszQueryString) |
| .field("dwNumberOfCsAddrs", &self.dwNumberOfCsAddrs) |
| .field("lpcsaBuffer", &self.lpcsaBuffer) |
| .field("dwOutputFlags", &self.dwOutputFlags) |
| .field("lpBlob", &self.lpBlob) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::windows::core::TypeKind for WSAQUERYSETA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::PartialEq for WSAQUERYSETA { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwSize == other.dwSize && self.lpszServiceInstanceName == other.lpszServiceInstanceName && self.lpServiceClassId == other.lpServiceClassId && self.lpVersion == other.lpVersion && self.lpszComment == other.lpszComment && self.dwNameSpace == other.dwNameSpace && self.lpNSProviderId == other.lpNSProviderId && self.lpszContext == other.lpszContext && self.dwNumberOfProtocols == other.dwNumberOfProtocols && self.lpafpProtocols == other.lpafpProtocols && self.lpszQueryString == other.lpszQueryString && self.dwNumberOfCsAddrs == other.dwNumberOfCsAddrs && self.lpcsaBuffer == other.lpcsaBuffer && self.dwOutputFlags == other.dwOutputFlags && self.lpBlob == other.lpBlob |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::Eq for WSAQUERYSETA {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::default::Default for WSAQUERYSETA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(feature = "Win32_System_Com")] |
| pub struct WSAQUERYSETW { |
| pub dwSize: u32, |
| pub lpszServiceInstanceName: ::windows::core::PWSTR, |
| pub lpServiceClassId: *mut ::windows::core::GUID, |
| pub lpVersion: *mut WSAVERSION, |
| pub lpszComment: ::windows::core::PWSTR, |
| pub dwNameSpace: u32, |
| pub lpNSProviderId: *mut ::windows::core::GUID, |
| pub lpszContext: ::windows::core::PWSTR, |
| pub dwNumberOfProtocols: u32, |
| pub lpafpProtocols: *mut AFPROTOCOLS, |
| pub lpszQueryString: ::windows::core::PWSTR, |
| pub dwNumberOfCsAddrs: u32, |
| pub lpcsaBuffer: *mut CSADDR_INFO, |
| pub dwOutputFlags: u32, |
| pub lpBlob: *mut super::super::System::Com::BLOB, |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::marker::Copy for WSAQUERYSETW {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::clone::Clone for WSAQUERYSETW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::fmt::Debug for WSAQUERYSETW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSAQUERYSETW") |
| .field("dwSize", &self.dwSize) |
| .field("lpszServiceInstanceName", &self.lpszServiceInstanceName) |
| .field("lpServiceClassId", &self.lpServiceClassId) |
| .field("lpVersion", &self.lpVersion) |
| .field("lpszComment", &self.lpszComment) |
| .field("dwNameSpace", &self.dwNameSpace) |
| .field("lpNSProviderId", &self.lpNSProviderId) |
| .field("lpszContext", &self.lpszContext) |
| .field("dwNumberOfProtocols", &self.dwNumberOfProtocols) |
| .field("lpafpProtocols", &self.lpafpProtocols) |
| .field("lpszQueryString", &self.lpszQueryString) |
| .field("dwNumberOfCsAddrs", &self.dwNumberOfCsAddrs) |
| .field("lpcsaBuffer", &self.lpcsaBuffer) |
| .field("dwOutputFlags", &self.dwOutputFlags) |
| .field("lpBlob", &self.lpBlob) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::windows::core::TypeKind for WSAQUERYSETW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::PartialEq for WSAQUERYSETW { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwSize == other.dwSize && self.lpszServiceInstanceName == other.lpszServiceInstanceName && self.lpServiceClassId == other.lpServiceClassId && self.lpVersion == other.lpVersion && self.lpszComment == other.lpszComment && self.dwNameSpace == other.dwNameSpace && self.lpNSProviderId == other.lpNSProviderId && self.lpszContext == other.lpszContext && self.dwNumberOfProtocols == other.dwNumberOfProtocols && self.lpafpProtocols == other.lpafpProtocols && self.lpszQueryString == other.lpszQueryString && self.dwNumberOfCsAddrs == other.dwNumberOfCsAddrs && self.lpcsaBuffer == other.lpcsaBuffer && self.dwOutputFlags == other.dwOutputFlags && self.lpBlob == other.lpBlob |
| } |
| } |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::cmp::Eq for WSAQUERYSETW {} |
| #[cfg(feature = "Win32_System_Com")] |
| impl ::core::default::Default for WSAQUERYSETW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| pub struct WSASENDMSG { |
| pub lpMsg: *mut WSAMSG, |
| pub dwFlags: u32, |
| pub lpNumberOfBytesSent: *mut u32, |
| pub lpOverlapped: *mut super::super::System::IO::OVERLAPPED, |
| pub lpCompletionRoutine: LPWSAOVERLAPPED_COMPLETION_ROUTINE, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::marker::Copy for WSASENDMSG {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::clone::Clone for WSASENDMSG { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::fmt::Debug for WSASENDMSG { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSASENDMSG").field("lpMsg", &self.lpMsg).field("dwFlags", &self.dwFlags).field("lpNumberOfBytesSent", &self.lpNumberOfBytesSent).field("lpOverlapped", &self.lpOverlapped).finish() |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::windows::core::TypeKind for WSASENDMSG { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::default::Default for WSASENDMSG { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSASERVICECLASSINFOA { |
| pub lpServiceClassId: *mut ::windows::core::GUID, |
| pub lpszServiceClassName: ::windows::core::PSTR, |
| pub dwCount: u32, |
| pub lpClassInfos: *mut WSANSCLASSINFOA, |
| } |
| impl ::core::marker::Copy for WSASERVICECLASSINFOA {} |
| impl ::core::clone::Clone for WSASERVICECLASSINFOA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSASERVICECLASSINFOA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSASERVICECLASSINFOA").field("lpServiceClassId", &self.lpServiceClassId).field("lpszServiceClassName", &self.lpszServiceClassName).field("dwCount", &self.dwCount).field("lpClassInfos", &self.lpClassInfos).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSASERVICECLASSINFOA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSASERVICECLASSINFOA { |
| fn eq(&self, other: &Self) -> bool { |
| self.lpServiceClassId == other.lpServiceClassId && self.lpszServiceClassName == other.lpszServiceClassName && self.dwCount == other.dwCount && self.lpClassInfos == other.lpClassInfos |
| } |
| } |
| impl ::core::cmp::Eq for WSASERVICECLASSINFOA {} |
| impl ::core::default::Default for WSASERVICECLASSINFOA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSASERVICECLASSINFOW { |
| pub lpServiceClassId: *mut ::windows::core::GUID, |
| pub lpszServiceClassName: ::windows::core::PWSTR, |
| pub dwCount: u32, |
| pub lpClassInfos: *mut WSANSCLASSINFOW, |
| } |
| impl ::core::marker::Copy for WSASERVICECLASSINFOW {} |
| impl ::core::clone::Clone for WSASERVICECLASSINFOW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSASERVICECLASSINFOW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSASERVICECLASSINFOW").field("lpServiceClassId", &self.lpServiceClassId).field("lpszServiceClassName", &self.lpszServiceClassName).field("dwCount", &self.dwCount).field("lpClassInfos", &self.lpClassInfos).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSASERVICECLASSINFOW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSASERVICECLASSINFOW { |
| fn eq(&self, other: &Self) -> bool { |
| self.lpServiceClassId == other.lpServiceClassId && self.lpszServiceClassName == other.lpszServiceClassName && self.dwCount == other.dwCount && self.lpClassInfos == other.lpClassInfos |
| } |
| } |
| impl ::core::cmp::Eq for WSASERVICECLASSINFOW {} |
| impl ::core::default::Default for WSASERVICECLASSINFOW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct WSATHREADID { |
| pub ThreadHandle: super::super::Foundation::HANDLE, |
| pub Reserved: usize, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for WSATHREADID {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for WSATHREADID { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for WSATHREADID { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSATHREADID").field("ThreadHandle", &self.ThreadHandle).field("Reserved", &self.Reserved).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for WSATHREADID { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for WSATHREADID { |
| fn eq(&self, other: &Self) -> bool { |
| self.ThreadHandle == other.ThreadHandle && self.Reserved == other.Reserved |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for WSATHREADID {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for WSATHREADID { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSAVERSION { |
| pub dwVersion: u32, |
| pub ecHow: WSAECOMPARATOR, |
| } |
| impl ::core::marker::Copy for WSAVERSION {} |
| impl ::core::clone::Clone for WSAVERSION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSAVERSION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSAVERSION").field("dwVersion", &self.dwVersion).field("ecHow", &self.ecHow).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSAVERSION { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSAVERSION { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwVersion == other.dwVersion && self.ecHow == other.ecHow |
| } |
| } |
| impl ::core::cmp::Eq for WSAVERSION {} |
| impl ::core::default::Default for WSAVERSION { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSA_COMPATIBILITY_MODE { |
| pub BehaviorId: WSA_COMPATIBILITY_BEHAVIOR_ID, |
| pub TargetOsVersion: u32, |
| } |
| impl ::core::marker::Copy for WSA_COMPATIBILITY_MODE {} |
| impl ::core::clone::Clone for WSA_COMPATIBILITY_MODE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSA_COMPATIBILITY_MODE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSA_COMPATIBILITY_MODE").field("BehaviorId", &self.BehaviorId).field("TargetOsVersion", &self.TargetOsVersion).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSA_COMPATIBILITY_MODE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSA_COMPATIBILITY_MODE { |
| fn eq(&self, other: &Self) -> bool { |
| self.BehaviorId == other.BehaviorId && self.TargetOsVersion == other.TargetOsVersion |
| } |
| } |
| impl ::core::cmp::Eq for WSA_COMPATIBILITY_MODE {} |
| impl ::core::default::Default for WSA_COMPATIBILITY_MODE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSC_PROVIDER_AUDIT_INFO { |
| pub RecordSize: u32, |
| pub Reserved: *mut ::core::ffi::c_void, |
| } |
| impl ::core::marker::Copy for WSC_PROVIDER_AUDIT_INFO {} |
| impl ::core::clone::Clone for WSC_PROVIDER_AUDIT_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSC_PROVIDER_AUDIT_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSC_PROVIDER_AUDIT_INFO").field("RecordSize", &self.RecordSize).field("Reserved", &self.Reserved).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSC_PROVIDER_AUDIT_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSC_PROVIDER_AUDIT_INFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.RecordSize == other.RecordSize && self.Reserved == other.Reserved |
| } |
| } |
| impl ::core::cmp::Eq for WSC_PROVIDER_AUDIT_INFO {} |
| impl ::core::default::Default for WSC_PROVIDER_AUDIT_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct WSPDATA { |
| pub wVersion: u16, |
| pub wHighVersion: u16, |
| pub szDescription: [u16; 256], |
| } |
| impl ::core::marker::Copy for WSPDATA {} |
| impl ::core::clone::Clone for WSPDATA { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for WSPDATA { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSPDATA").field("wVersion", &self.wVersion).field("wHighVersion", &self.wHighVersion).field("szDescription", &self.szDescription).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for WSPDATA { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for WSPDATA { |
| fn eq(&self, other: &Self) -> bool { |
| self.wVersion == other.wVersion && self.wHighVersion == other.wHighVersion && self.szDescription == other.szDescription |
| } |
| } |
| impl ::core::cmp::Eq for WSPDATA {} |
| impl ::core::default::Default for WSPDATA { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| pub struct WSPPROC_TABLE { |
| pub lpWSPAccept: LPWSPACCEPT, |
| pub lpWSPAddressToString: LPWSPADDRESSTOSTRING, |
| pub lpWSPAsyncSelect: LPWSPASYNCSELECT, |
| pub lpWSPBind: LPWSPBIND, |
| pub lpWSPCancelBlockingCall: LPWSPCANCELBLOCKINGCALL, |
| pub lpWSPCleanup: LPWSPCLEANUP, |
| pub lpWSPCloseSocket: LPWSPCLOSESOCKET, |
| pub lpWSPConnect: LPWSPCONNECT, |
| pub lpWSPDuplicateSocket: LPWSPDUPLICATESOCKET, |
| pub lpWSPEnumNetworkEvents: LPWSPENUMNETWORKEVENTS, |
| pub lpWSPEventSelect: LPWSPEVENTSELECT, |
| pub lpWSPGetOverlappedResult: LPWSPGETOVERLAPPEDRESULT, |
| pub lpWSPGetPeerName: LPWSPGETPEERNAME, |
| pub lpWSPGetSockName: LPWSPGETSOCKNAME, |
| pub lpWSPGetSockOpt: LPWSPGETSOCKOPT, |
| pub lpWSPGetQOSByName: LPWSPGETQOSBYNAME, |
| pub lpWSPIoctl: LPWSPIOCTL, |
| pub lpWSPJoinLeaf: LPWSPJOINLEAF, |
| pub lpWSPListen: LPWSPLISTEN, |
| pub lpWSPRecv: LPWSPRECV, |
| pub lpWSPRecvDisconnect: LPWSPRECVDISCONNECT, |
| pub lpWSPRecvFrom: LPWSPRECVFROM, |
| pub lpWSPSelect: LPWSPSELECT, |
| pub lpWSPSend: LPWSPSEND, |
| pub lpWSPSendDisconnect: LPWSPSENDDISCONNECT, |
| pub lpWSPSendTo: LPWSPSENDTO, |
| pub lpWSPSetSockOpt: LPWSPSETSOCKOPT, |
| pub lpWSPShutdown: LPWSPSHUTDOWN, |
| pub lpWSPSocket: LPWSPSOCKET, |
| pub lpWSPStringToAddress: LPWSPSTRINGTOADDRESS, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::marker::Copy for WSPPROC_TABLE {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::clone::Clone for WSPPROC_TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::fmt::Debug for WSPPROC_TABLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSPPROC_TABLE").finish() |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::windows::core::TypeKind for WSPPROC_TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| impl ::core::default::Default for WSPPROC_TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct WSPUPCALLTABLE { |
| pub lpWPUCloseEvent: LPWPUCLOSEEVENT, |
| pub lpWPUCloseSocketHandle: LPWPUCLOSESOCKETHANDLE, |
| pub lpWPUCreateEvent: LPWPUCREATEEVENT, |
| pub lpWPUCreateSocketHandle: LPWPUCREATESOCKETHANDLE, |
| pub lpWPUFDIsSet: LPWPUFDISSET, |
| pub lpWPUGetProviderPath: LPWPUGETPROVIDERPATH, |
| pub lpWPUModifyIFSHandle: LPWPUMODIFYIFSHANDLE, |
| pub lpWPUPostMessage: LPWPUPOSTMESSAGE, |
| pub lpWPUQueryBlockingCallback: LPWPUQUERYBLOCKINGCALLBACK, |
| pub lpWPUQuerySocketHandleContext: LPWPUQUERYSOCKETHANDLECONTEXT, |
| pub lpWPUQueueApc: LPWPUQUEUEAPC, |
| pub lpWPUResetEvent: LPWPURESETEVENT, |
| pub lpWPUSetEvent: LPWPUSETEVENT, |
| pub lpWPUOpenCurrentThread: LPWPUOPENCURRENTTHREAD, |
| pub lpWPUCloseThread: LPWPUCLOSETHREAD, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for WSPUPCALLTABLE {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for WSPUPCALLTABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for WSPUPCALLTABLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("WSPUPCALLTABLE").finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for WSPUPCALLTABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for WSPUPCALLTABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct netent { |
| pub n_name: ::windows::core::PSTR, |
| pub n_aliases: *mut *mut i8, |
| pub n_addrtype: i16, |
| pub n_net: u32, |
| } |
| impl ::core::marker::Copy for netent {} |
| impl ::core::clone::Clone for netent { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for netent { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("netent").field("n_name", &self.n_name).field("n_aliases", &self.n_aliases).field("n_addrtype", &self.n_addrtype).field("n_net", &self.n_net).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for netent { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for netent { |
| fn eq(&self, other: &Self) -> bool { |
| self.n_name == other.n_name && self.n_aliases == other.n_aliases && self.n_addrtype == other.n_addrtype && self.n_net == other.n_net |
| } |
| } |
| impl ::core::cmp::Eq for netent {} |
| impl ::core::default::Default for netent { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub union sockaddr_gen { |
| pub Address: SOCKADDR, |
| pub AddressIn: SOCKADDR_IN, |
| pub AddressIn6: sockaddr_in6_old, |
| } |
| impl ::core::marker::Copy for sockaddr_gen {} |
| impl ::core::clone::Clone for sockaddr_gen { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for sockaddr_gen { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for sockaddr_gen { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct sockaddr_in6_old { |
| pub sin6_family: i16, |
| pub sin6_port: u16, |
| pub sin6_flowinfo: u32, |
| pub sin6_addr: IN6_ADDR, |
| } |
| impl ::core::marker::Copy for sockaddr_in6_old {} |
| impl ::core::clone::Clone for sockaddr_in6_old { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for sockaddr_in6_old { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for sockaddr_in6_old { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct sockproto { |
| pub sp_family: u16, |
| pub sp_protocol: u16, |
| } |
| impl ::core::marker::Copy for sockproto {} |
| impl ::core::clone::Clone for sockproto { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for sockproto { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("sockproto").field("sp_family", &self.sp_family).field("sp_protocol", &self.sp_protocol).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for sockproto { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for sockproto { |
| fn eq(&self, other: &Self) -> bool { |
| self.sp_family == other.sp_family && self.sp_protocol == other.sp_protocol |
| } |
| } |
| impl ::core::cmp::Eq for sockproto {} |
| impl ::core::default::Default for sockproto { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub struct tcp_keepalive { |
| pub onoff: u32, |
| pub keepalivetime: u32, |
| pub keepaliveinterval: u32, |
| } |
| impl ::core::marker::Copy for tcp_keepalive {} |
| impl ::core::clone::Clone for tcp_keepalive { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for tcp_keepalive { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("tcp_keepalive").field("onoff", &self.onoff).field("keepalivetime", &self.keepalivetime).field("keepaliveinterval", &self.keepaliveinterval).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for tcp_keepalive { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for tcp_keepalive { |
| fn eq(&self, other: &Self) -> bool { |
| self.onoff == other.onoff && self.keepalivetime == other.keepalivetime && self.keepaliveinterval == other.keepaliveinterval |
| } |
| } |
| impl ::core::cmp::Eq for tcp_keepalive {} |
| impl ::core::default::Default for tcp_keepalive { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPBLOCKINGCALLBACK = ::core::option::Option<unsafe extern "system" fn(dwcontext: usize) -> super::super::Foundation::BOOL>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPCONDITIONPROC = ::core::option::Option<unsafe extern "system" fn(lpcallerid: *mut WSABUF, lpcallerdata: *mut WSABUF, lpsqos: *mut QOS, lpgqos: *mut QOS, lpcalleeid: *mut WSABUF, lpcalleedata: *mut WSABUF, g: *mut u32, dwcallbackdata: usize) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| 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) -> ()>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPFN_NSPAPI = ::core::option::Option<unsafe extern "system" fn() -> u32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPFN_RIOCLOSECOMPLETIONQUEUE = ::core::option::Option<unsafe extern "system" fn(cq: *const RIO_CQ_t) -> ()>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPFN_RIOCREATECOMPLETIONQUEUE = ::core::option::Option<unsafe extern "system" fn(queuesize: u32, notificationcompletion: *const RIO_NOTIFICATION_COMPLETION) -> *mut RIO_CQ_t>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPFN_RIODEQUEUECOMPLETION = ::core::option::Option<unsafe extern "system" fn(cq: *const RIO_CQ_t, array: *mut RIORESULT, arraysize: u32) -> u32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPFN_RIODEREGISTERBUFFER = ::core::option::Option<unsafe extern "system" fn(bufferid: *const RIO_BUFFERID_t) -> ()>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPFN_RIONOTIFY = ::core::option::Option<unsafe extern "system" fn(cq: *const RIO_CQ_t) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPFN_RIOREGISTERBUFFER = ::core::option::Option<unsafe extern "system" fn(databuffer: ::windows::core::PCSTR, datalength: u32) -> *mut RIO_BUFFERID_t>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPFN_RIORESIZECOMPLETIONQUEUE = ::core::option::Option<unsafe extern "system" fn(cq: *const RIO_CQ_t, queuesize: u32) -> super::super::Foundation::BOOL>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPFN_RIORESIZEREQUESTQUEUE = ::core::option::Option<unsafe extern "system" fn(rq: *const RIO_RQ_t, maxoutstandingreceive: u32, maxoutstandingsend: u32) -> super::super::Foundation::BOOL>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPFN_WSAPOLL = ::core::option::Option<unsafe extern "system" fn(fdarray: *mut WSAPOLLFD, nfds: u32, timeout: i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| pub type LPLOOKUPSERVICE_COMPLETION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(dwerror: u32, dwbytes: u32, lpoverlapped: *const super::super::System::IO::OVERLAPPED) -> ()>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPNSPCLEANUP = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPNSPGETSERVICECLASSINFO = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, lpdwbufsize: *const u32, lpserviceclassinfo: *const WSASERVICECLASSINFOW) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPNSPINSTALLSERVICECLASS = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, lpserviceclassinfo: *const WSASERVICECLASSINFOW) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| pub type LPNSPLOOKUPSERVICEBEGIN = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, lpqsrestrictions: *const WSAQUERYSETW, lpserviceclassinfo: *const WSASERVICECLASSINFOW, dwcontrolflags: u32, lphlookup: *mut super::super::Foundation::HANDLE) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPNSPLOOKUPSERVICEEND = ::core::option::Option<unsafe extern "system" fn(hlookup: super::super::Foundation::HANDLE) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| pub type LPNSPLOOKUPSERVICENEXT = ::core::option::Option<unsafe extern "system" fn(hlookup: super::super::Foundation::HANDLE, dwcontrolflags: u32, lpdwbufferlength: *mut u32, lpqsresults: *mut WSAQUERYSETW) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPNSPREMOVESERVICECLASS = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, lpserviceclassid: *const ::windows::core::GUID) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(feature = "Win32_System_Com")] |
| pub type LPNSPSETSERVICE = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, lpserviceclassinfo: *const WSASERVICECLASSINFOW, lpqsreginfo: *const WSAQUERYSETW, essoperation: WSAESETSERVICEOP, dwcontrolflags: u32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_IO"))] |
| pub type LPNSPSTARTUP = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, lpnsproutines: *mut NSP_ROUTINE) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPNSPV2CLEANUP = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, pvclientsessionarg: *const ::core::ffi::c_void) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPNSPV2CLIENTSESSIONRUNDOWN = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, pvclientsessionarg: *const ::core::ffi::c_void) -> ()>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| pub type LPNSPV2LOOKUPSERVICEBEGIN = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, lpqsrestrictions: *const WSAQUERYSET2W, dwcontrolflags: u32, lpvclientsessionarg: *const ::core::ffi::c_void, lphlookup: *mut super::super::Foundation::HANDLE) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPNSPV2LOOKUPSERVICEEND = ::core::option::Option<unsafe extern "system" fn(hlookup: super::super::Foundation::HANDLE) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| 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) -> ()>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] |
| pub type LPNSPV2SETSERVICEEX = ::core::option::Option<unsafe extern "system" fn(hasynccall: super::super::Foundation::HANDLE, lpproviderid: *const ::windows::core::GUID, lpqsreginfo: *const WSAQUERYSET2W, essoperation: WSAESETSERVICEOP, dwcontrolflags: u32, lpvclientsessionarg: *const ::core::ffi::c_void) -> ()>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPNSPV2STARTUP = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, ppvclientsessionarg: *mut *mut ::core::ffi::c_void) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPSERVICE_CALLBACK_PROC = ::core::option::Option<unsafe extern "system" fn(lparam: super::super::Foundation::LPARAM, hasynctaskhandle: super::super::Foundation::HANDLE) -> ()>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPWPUCLOSEEVENT = ::core::option::Option<unsafe extern "system" fn(hevent: super::super::Foundation::HANDLE, lperrno: *mut i32) -> super::super::Foundation::BOOL>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWPUCLOSESOCKETHANDLE = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPWPUCLOSETHREAD = ::core::option::Option<unsafe extern "system" fn(lpthreadid: *const WSATHREADID, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPWPUCREATEEVENT = ::core::option::Option<unsafe extern "system" fn(lperrno: *mut i32) -> super::super::Foundation::HANDLE>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWPUCREATESOCKETHANDLE = ::core::option::Option<unsafe extern "system" fn(dwcatalogentryid: u32, dwcontext: usize, lperrno: *mut i32) -> SOCKET>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWPUFDISSET = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, fdset: *const FD_SET) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWPUGETPROVIDERPATH = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, lpszproviderdllpath: ::windows::core::PWSTR, lpproviderdllpathlen: *mut i32, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWPUMODIFYIFSHANDLE = ::core::option::Option<unsafe extern "system" fn(dwcatalogentryid: u32, proposedhandle: SOCKET, lperrno: *mut i32) -> SOCKET>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPWPUOPENCURRENTTHREAD = ::core::option::Option<unsafe extern "system" fn(lpthreadid: *mut WSATHREADID, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPWPUQUERYBLOCKINGCALLBACK = ::core::option::Option<unsafe extern "system" fn(dwcatalogentryid: u32, lplpfncallback: *mut LPBLOCKINGCALLBACK, lpdwcontext: *mut usize, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWPUQUERYSOCKETHANDLECONTEXT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpcontext: *mut usize, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPWPUQUEUEAPC = ::core::option::Option<unsafe extern "system" fn(lpthreadid: *const WSATHREADID, lpfnuserapc: LPWSAUSERAPC, dwcontext: usize, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPWPURESETEVENT = ::core::option::Option<unsafe extern "system" fn(hevent: super::super::Foundation::HANDLE, lperrno: *mut i32) -> super::super::Foundation::BOOL>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPWPUSETEVENT = ::core::option::Option<unsafe extern "system" fn(hevent: super::super::Foundation::HANDLE, lperrno: *mut i32) -> super::super::Foundation::BOOL>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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) -> ()>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSAUSERAPC = ::core::option::Option<unsafe extern "system" fn(dwcontext: usize) -> ()>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSCDEINSTALLPROVIDER = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPWSCENABLENSPROVIDER = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, fenable: super::super::Foundation::BOOL) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSCENUMPROTOCOLS = ::core::option::Option<unsafe extern "system" fn(lpiprotocols: *const i32, lpprotocolbuffer: *mut WSAPROTOCOL_INFOW, lpdwbufferlength: *mut u32, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSCGETPROVIDERPATH = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, lpszproviderdllpath: ::windows::core::PWSTR, lpproviderdllpathlen: *mut i32, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSCINSTALLNAMESPACE = ::core::option::Option<unsafe extern "system" fn(lpszidentifier: ::windows::core::PCWSTR, lpszpathname: ::windows::core::PCWSTR, dwnamespace: u32, dwversion: u32, lpproviderid: *const ::windows::core::GUID) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSCINSTALLPROVIDER = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, lpszproviderdllpath: ::windows::core::PCWSTR, lpprotocolinfolist: *const WSAPROTOCOL_INFOW, dwnumberofentries: u32, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSCUNINSTALLNAMESPACE = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSCUPDATEPROVIDER = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *const ::windows::core::GUID, lpszproviderdllpath: ::windows::core::PCWSTR, lpprotocolinfolist: *const WSAPROTOCOL_INFOW, dwnumberofentries: u32, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSCWRITENAMESPACEORDER = ::core::option::Option<unsafe extern "system" fn(lpproviderid: *mut ::windows::core::GUID, dwnumberofentries: u32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSCWRITEPROVIDERORDER = ::core::option::Option<unsafe extern "system" fn(lpwdcatalogentryid: *mut u32, dwnumberofentries: u32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSPADDRESSTOSTRING = ::core::option::Option<unsafe extern "system" fn(lpsaaddress: *const SOCKADDR, dwaddresslength: u32, lpprotocolinfo: *const WSAPROTOCOL_INFOW, lpszaddressstring: ::windows::core::PWSTR, lpdwaddressstringlength: *mut u32, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSPBIND = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, name: *const SOCKADDR, namelen: i32, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSPCANCELBLOCKINGCALL = ::core::option::Option<unsafe extern "system" fn(lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSPCLEANUP = ::core::option::Option<unsafe extern "system" fn(lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSPCLOSESOCKET = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| 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 QOS, lpgqos: *const QOS, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSPDUPLICATESOCKET = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, dwprocessid: u32, lpprotocolinfo: *mut WSAPROTOCOL_INFOW, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPWSPENUMNETWORKEVENTS = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, heventobject: super::super::Foundation::HANDLE, lpnetworkevents: *mut WSANETWORKEVENTS, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPWSPEVENTSELECT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, heventobject: super::super::Foundation::HANDLE, lnetworkevents: i32, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSPGETPEERNAME = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, name: *mut SOCKADDR, namelen: *mut i32, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub type LPWSPGETQOSBYNAME = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpqosname: *const WSABUF, lpqos: *mut QOS, lperrno: *mut i32) -> super::super::Foundation::BOOL>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSPGETSOCKNAME = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, name: *mut SOCKADDR, namelen: *mut i32, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSPGETSOCKOPT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, level: i32, optname: i32, optval: ::windows::core::PSTR, optlen: *mut i32, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| 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 QOS, lpgqos: *const QOS, dwflags: u32, lperrno: *mut i32) -> SOCKET>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSPLISTEN = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, backlog: i32, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSPRECVDISCONNECT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpinbounddisconnectdata: *const WSABUF, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSPSENDDISCONNECT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, lpoutbounddisconnectdata: *const WSABUF, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSPSETSOCKOPT = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, level: i32, optname: i32, optval: ::windows::core::PCSTR, optlen: i32, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSPSHUTDOWN = ::core::option::Option<unsafe extern "system" fn(s: SOCKET, how: i32, lperrno: *mut i32) -> i32>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| 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>; |
| #[doc = "*Required features: `\"Win32_Networking_WinSock\"`*"] |
| pub type LPWSPSTRINGTOADDRESS = ::core::option::Option<unsafe extern "system" fn(addressstring: ::windows::core::PCWSTR, addressfamily: i32, lpprotocolinfo: *const WSAPROTOCOL_INFOW, lpaddress: *mut SOCKADDR, lpaddresslength: *mut i32, lperrno: *mut i32) -> i32>; |
| impl ::core::convert::From<::std::net::Ipv4Addr> for IN_ADDR { |
| fn from(addr: ::std::net::Ipv4Addr) -> Self { |
| // u32::from(addr) is in host byte order |
| // S_addr must be big-endian, network byte order |
| Self { S_un: IN_ADDR_0 { S_addr: u32::from(addr).to_be() } } |
| } |
| } |
| impl ::core::convert::From<IN_ADDR> for ::std::net::Ipv4Addr { |
| fn from(in_addr: IN_ADDR) -> Self { |
| // SAFETY: this is safe because the union variants are just views of the same exact data |
| // in_addr.S_un.S_addr is big-endian, network byte order |
| // Ipv4Addr::new() expects the parameter in host byte order |
| Self::from(u32::from_be(unsafe { in_addr.S_un.S_addr })) |
| } |
| } |
| impl ::core::convert::From<::std::net::Ipv6Addr> for IN6_ADDR { |
| fn from(addr: ::std::net::Ipv6Addr) -> Self { |
| Self { u: IN6_ADDR_0 { Byte: addr.octets() } } |
| } |
| } |
| impl ::core::convert::From<IN6_ADDR> for ::std::net::Ipv6Addr { |
| fn from(in6_addr: IN6_ADDR) -> Self { |
| // SAFETY: this is safe because the union variants are just views of the same exact data |
| Self::from(unsafe { in6_addr.u.Byte }) |
| } |
| } |
| impl ::core::convert::From<::std::net::SocketAddrV4> for SOCKADDR_IN { |
| fn from(addr: ::std::net::SocketAddrV4) -> Self { |
| // addr.port() is in host byte order |
| // sin_port must be big-endian, network byte order |
| SOCKADDR_IN { sin_family: AF_INET, sin_port: addr.port().to_be(), sin_addr: (*addr.ip()).into(), ..Default::default() } |
| } |
| } |
| impl ::core::convert::From<::std::net::SocketAddrV6> for SOCKADDR_IN6 { |
| fn from(addr: ::std::net::SocketAddrV6) -> Self { |
| // addr.port() and addr.flowinfo() are in host byte order |
| // sin6_port and sin6_flowinfo must be big-endian, network byte order |
| // sin6_scope_id is a bitfield without endianness |
| SOCKADDR_IN6 { |
| sin6_family: AF_INET6, |
| sin6_port: addr.port().to_be(), |
| sin6_flowinfo: addr.flowinfo().to_be(), |
| sin6_addr: (*addr.ip()).into(), |
| Anonymous: SOCKADDR_IN6_0 { sin6_scope_id: addr.scope_id() }, |
| ..Default::default() |
| } |
| } |
| } |
| |
| impl ::core::convert::From<::std::net::SocketAddrV4> for SOCKADDR_INET { |
| fn from(addr: ::std::net::SocketAddrV4) -> Self { |
| SOCKADDR_INET { Ipv4: addr.into() } |
| } |
| } |
| impl ::core::convert::From<::std::net::SocketAddrV6> for SOCKADDR_INET { |
| fn from(addr: ::std::net::SocketAddrV6) -> Self { |
| SOCKADDR_INET { Ipv6: addr.into() } |
| } |
| } |
| impl ::core::convert::From<::std::net::SocketAddr> for SOCKADDR_INET { |
| fn from(addr: ::std::net::SocketAddr) -> Self { |
| match addr { |
| ::std::net::SocketAddr::V4(socket_addr_v4) => socket_addr_v4.into(), |
| ::std::net::SocketAddr::V6(socket_addr_v6) => socket_addr_v6.into(), |
| } |
| } |
| } |
| #[cfg(feature = "implement")] |
| ::core::include!("impl.rs"); |