| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn AddIPAddress(address: u32, ipmask: u32, ifindex: u32, ntecontext: *mut u32, nteinstance: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn AddIPAddress ( address : u32 , ipmask : u32 , ifindex : u32 , ntecontext : *mut u32 , nteinstance : *mut u32 ) -> u32 ); |
| AddIPAddress(address, ipmask, ifindex, ntecontext, nteinstance) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn CancelIPChangeNotify(notifyoverlapped: *const super::super::System::IO::OVERLAPPED) -> super::super::Foundation::BOOL { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn CancelIPChangeNotify ( notifyoverlapped : *const super::super::System::IO:: OVERLAPPED ) -> super::super::Foundation:: BOOL ); |
| CancelIPChangeNotify(notifyoverlapped) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn CancelMibChangeNotify2<P0>(notificationhandle: P0) -> super::super::Foundation::WIN32_ERROR |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn CancelMibChangeNotify2 ( notificationhandle : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR ); |
| CancelMibChangeNotify2(notificationhandle.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| #[inline] |
| pub unsafe fn CaptureInterfaceHardwareCrossTimestamp(interfaceluid: *const super::Ndis::NET_LUID_LH, crosstimestamp: *mut INTERFACE_HARDWARE_CROSSTIMESTAMP) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn CaptureInterfaceHardwareCrossTimestamp ( interfaceluid : *const super::Ndis:: NET_LUID_LH , crosstimestamp : *mut INTERFACE_HARDWARE_CROSSTIMESTAMP ) -> u32 ); |
| CaptureInterfaceHardwareCrossTimestamp(interfaceluid, crosstimestamp) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ConvertCompartmentGuidToId(compartmentguid: *const ::windows::core::GUID, compartmentid: *mut u32) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ConvertCompartmentGuidToId ( compartmentguid : *const ::windows::core::GUID , compartmentid : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); |
| ConvertCompartmentGuidToId(compartmentguid, compartmentid) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ConvertCompartmentIdToGuid(compartmentid: u32, compartmentguid: *mut ::windows::core::GUID) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ConvertCompartmentIdToGuid ( compartmentid : u32 , compartmentguid : *mut ::windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); |
| ConvertCompartmentIdToGuid(compartmentid, compartmentguid) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn ConvertInterfaceAliasToLuid<P0>(interfacealias: P0, interfaceluid: *mut super::Ndis::NET_LUID_LH) -> super::super::Foundation::WIN32_ERROR |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceAliasToLuid ( interfacealias : ::windows::core::PCWSTR , interfaceluid : *mut super::Ndis:: NET_LUID_LH ) -> super::super::Foundation:: WIN32_ERROR ); |
| ConvertInterfaceAliasToLuid(interfacealias.into_param().abi(), interfaceluid) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn ConvertInterfaceGuidToLuid(interfaceguid: *const ::windows::core::GUID, interfaceluid: *mut super::Ndis::NET_LUID_LH) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceGuidToLuid ( interfaceguid : *const ::windows::core::GUID , interfaceluid : *mut super::Ndis:: NET_LUID_LH ) -> super::super::Foundation:: WIN32_ERROR ); |
| ConvertInterfaceGuidToLuid(interfaceguid, interfaceluid) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn ConvertInterfaceIndexToLuid(interfaceindex: u32, interfaceluid: *mut super::Ndis::NET_LUID_LH) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceIndexToLuid ( interfaceindex : u32 , interfaceluid : *mut super::Ndis:: NET_LUID_LH ) -> super::super::Foundation:: WIN32_ERROR ); |
| ConvertInterfaceIndexToLuid(interfaceindex, interfaceluid) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn ConvertInterfaceLuidToAlias(interfaceluid: *const super::Ndis::NET_LUID_LH, interfacealias: &mut [u16]) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceLuidToAlias ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfacealias : ::windows::core::PWSTR , length : usize ) -> super::super::Foundation:: WIN32_ERROR ); |
| ConvertInterfaceLuidToAlias(interfaceluid, ::core::mem::transmute(interfacealias.as_ptr()), interfacealias.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn ConvertInterfaceLuidToGuid(interfaceluid: *const super::Ndis::NET_LUID_LH, interfaceguid: *mut ::windows::core::GUID) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceLuidToGuid ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfaceguid : *mut ::windows::core::GUID ) -> super::super::Foundation:: WIN32_ERROR ); |
| ConvertInterfaceLuidToGuid(interfaceluid, interfaceguid) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn ConvertInterfaceLuidToIndex(interfaceluid: *const super::Ndis::NET_LUID_LH, interfaceindex: *mut u32) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceLuidToIndex ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfaceindex : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); |
| ConvertInterfaceLuidToIndex(interfaceluid, interfaceindex) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn ConvertInterfaceLuidToNameA(interfaceluid: *const super::Ndis::NET_LUID_LH, interfacename: &mut [u8]) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceLuidToNameA ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfacename : ::windows::core::PSTR , length : usize ) -> super::super::Foundation:: WIN32_ERROR ); |
| ConvertInterfaceLuidToNameA(interfaceluid, ::core::mem::transmute(interfacename.as_ptr()), interfacename.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn ConvertInterfaceLuidToNameW(interfaceluid: *const super::Ndis::NET_LUID_LH, interfacename: &mut [u16]) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceLuidToNameW ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfacename : ::windows::core::PWSTR , length : usize ) -> super::super::Foundation:: WIN32_ERROR ); |
| ConvertInterfaceLuidToNameW(interfaceluid, ::core::mem::transmute(interfacename.as_ptr()), interfacename.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn ConvertInterfaceNameToLuidA<P0>(interfacename: P0, interfaceluid: *mut super::Ndis::NET_LUID_LH) -> super::super::Foundation::WIN32_ERROR |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceNameToLuidA ( interfacename : ::windows::core::PCSTR , interfaceluid : *mut super::Ndis:: NET_LUID_LH ) -> super::super::Foundation:: WIN32_ERROR ); |
| ConvertInterfaceNameToLuidA(interfacename.into_param().abi(), interfaceluid) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn ConvertInterfaceNameToLuidW<P0>(interfacename: P0, interfaceluid: *mut super::Ndis::NET_LUID_LH) -> super::super::Foundation::WIN32_ERROR |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ConvertInterfaceNameToLuidW ( interfacename : ::windows::core::PCWSTR , interfaceluid : *mut super::Ndis:: NET_LUID_LH ) -> super::super::Foundation:: WIN32_ERROR ); |
| ConvertInterfaceNameToLuidW(interfacename.into_param().abi(), interfaceluid) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ConvertIpv4MaskToLength(mask: u32, masklength: *mut u8) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ConvertIpv4MaskToLength ( mask : u32 , masklength : *mut u8 ) -> super::super::Foundation:: WIN32_ERROR ); |
| ConvertIpv4MaskToLength(mask, masklength) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn ConvertLengthToIpv4Mask(masklength: u32, mask: *mut u32) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ConvertLengthToIpv4Mask ( masklength : u32 , mask : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); |
| ConvertLengthToIpv4Mask(masklength, mask) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn CreateAnycastIpAddressEntry(row: *const MIB_ANYCASTIPADDRESS_ROW) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn CreateAnycastIpAddressEntry ( row : *const MIB_ANYCASTIPADDRESS_ROW ) -> super::super::Foundation:: WIN32_ERROR ); |
| CreateAnycastIpAddressEntry(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| #[inline] |
| pub unsafe fn CreateIpForwardEntry(proute: *const MIB_IPFORWARDROW) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn CreateIpForwardEntry ( proute : *const MIB_IPFORWARDROW ) -> u32 ); |
| CreateIpForwardEntry(proute) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn CreateIpForwardEntry2(row: *const MIB_IPFORWARD_ROW2) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn CreateIpForwardEntry2 ( row : *const MIB_IPFORWARD_ROW2 ) -> super::super::Foundation:: WIN32_ERROR ); |
| CreateIpForwardEntry2(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn CreateIpNetEntry(parpentry: *const MIB_IPNETROW_LH) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn CreateIpNetEntry ( parpentry : *const MIB_IPNETROW_LH ) -> u32 ); |
| CreateIpNetEntry(parpentry) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn CreateIpNetEntry2(row: *const MIB_IPNET_ROW2) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn CreateIpNetEntry2 ( row : *const MIB_IPNET_ROW2 ) -> super::super::Foundation:: WIN32_ERROR ); |
| CreateIpNetEntry2(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn CreatePersistentTcpPortReservation(startport: u16, numberofports: u16, token: *mut u64) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn CreatePersistentTcpPortReservation ( startport : u16 , numberofports : u16 , token : *mut u64 ) -> u32 ); |
| CreatePersistentTcpPortReservation(startport, numberofports, token) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn CreatePersistentUdpPortReservation(startport: u16, numberofports: u16, token: *mut u64) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn CreatePersistentUdpPortReservation ( startport : u16 , numberofports : u16 , token : *mut u64 ) -> u32 ); |
| CreatePersistentUdpPortReservation(startport, numberofports, token) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn CreateProxyArpEntry(dwaddress: u32, dwmask: u32, dwifindex: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn CreateProxyArpEntry ( dwaddress : u32 , dwmask : u32 , dwifindex : u32 ) -> u32 ); |
| CreateProxyArpEntry(dwaddress, dwmask, dwifindex) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn CreateSortedAddressPairs(sourceaddresslist: ::core::option::Option<*const super::super::Networking::WinSock::SOCKADDR_IN6>, sourceaddresscount: u32, destinationaddresslist: *const super::super::Networking::WinSock::SOCKADDR_IN6, destinationaddresscount: u32, addresssortoptions: u32, sortedaddresspairlist: *mut *mut super::super::Networking::WinSock::SOCKADDR_IN6_PAIR, sortedaddresspaircount: *mut u32) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn CreateSortedAddressPairs ( sourceaddresslist : *const super::super::Networking::WinSock:: SOCKADDR_IN6 , sourceaddresscount : u32 , destinationaddresslist : *const super::super::Networking::WinSock:: SOCKADDR_IN6 , destinationaddresscount : u32 , addresssortoptions : u32 , sortedaddresspairlist : *mut *mut super::super::Networking::WinSock:: SOCKADDR_IN6_PAIR , sortedaddresspaircount : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); |
| CreateSortedAddressPairs(::core::mem::transmute(sourceaddresslist.unwrap_or(::std::ptr::null())), sourceaddresscount, destinationaddresslist, destinationaddresscount, addresssortoptions, sortedaddresspairlist, sortedaddresspaircount) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn CreateUnicastIpAddressEntry(row: *const MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn CreateUnicastIpAddressEntry ( row : *const MIB_UNICASTIPADDRESS_ROW ) -> super::super::Foundation:: WIN32_ERROR ); |
| CreateUnicastIpAddressEntry(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn DeleteAnycastIpAddressEntry(row: *const MIB_ANYCASTIPADDRESS_ROW) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn DeleteAnycastIpAddressEntry ( row : *const MIB_ANYCASTIPADDRESS_ROW ) -> super::super::Foundation:: WIN32_ERROR ); |
| DeleteAnycastIpAddressEntry(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn DeleteIPAddress(ntecontext: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn DeleteIPAddress ( ntecontext : u32 ) -> u32 ); |
| DeleteIPAddress(ntecontext) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| #[inline] |
| pub unsafe fn DeleteIpForwardEntry(proute: *const MIB_IPFORWARDROW) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn DeleteIpForwardEntry ( proute : *const MIB_IPFORWARDROW ) -> u32 ); |
| DeleteIpForwardEntry(proute) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn DeleteIpForwardEntry2(row: *const MIB_IPFORWARD_ROW2) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn DeleteIpForwardEntry2 ( row : *const MIB_IPFORWARD_ROW2 ) -> super::super::Foundation:: WIN32_ERROR ); |
| DeleteIpForwardEntry2(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn DeleteIpNetEntry(parpentry: *const MIB_IPNETROW_LH) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn DeleteIpNetEntry ( parpentry : *const MIB_IPNETROW_LH ) -> u32 ); |
| DeleteIpNetEntry(parpentry) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn DeleteIpNetEntry2(row: *const MIB_IPNET_ROW2) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn DeleteIpNetEntry2 ( row : *const MIB_IPNET_ROW2 ) -> super::super::Foundation:: WIN32_ERROR ); |
| DeleteIpNetEntry2(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn DeletePersistentTcpPortReservation(startport: u16, numberofports: u16) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn DeletePersistentTcpPortReservation ( startport : u16 , numberofports : u16 ) -> u32 ); |
| DeletePersistentTcpPortReservation(startport, numberofports) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn DeletePersistentUdpPortReservation(startport: u16, numberofports: u16) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn DeletePersistentUdpPortReservation ( startport : u16 , numberofports : u16 ) -> u32 ); |
| DeletePersistentUdpPortReservation(startport, numberofports) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn DeleteProxyArpEntry(dwaddress: u32, dwmask: u32, dwifindex: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn DeleteProxyArpEntry ( dwaddress : u32 , dwmask : u32 , dwifindex : u32 ) -> u32 ); |
| DeleteProxyArpEntry(dwaddress, dwmask, dwifindex) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn DeleteUnicastIpAddressEntry(row: *const MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn DeleteUnicastIpAddressEntry ( row : *const MIB_UNICASTIPADDRESS_ROW ) -> super::super::Foundation:: WIN32_ERROR ); |
| DeleteUnicastIpAddressEntry(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn DisableMediaSense(phandle: *mut super::super::Foundation::HANDLE, poverlapped: *const super::super::System::IO::OVERLAPPED) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn DisableMediaSense ( phandle : *mut super::super::Foundation:: HANDLE , poverlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); |
| DisableMediaSense(phandle, poverlapped) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn EnableRouter(phandle: *mut super::super::Foundation::HANDLE, poverlapped: *mut super::super::System::IO::OVERLAPPED) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn EnableRouter ( phandle : *mut super::super::Foundation:: HANDLE , poverlapped : *mut super::super::System::IO:: OVERLAPPED ) -> u32 ); |
| EnableRouter(phandle, poverlapped) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn FlushIpNetTable(dwifindex: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn FlushIpNetTable ( dwifindex : u32 ) -> u32 ); |
| FlushIpNetTable(dwifindex) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn FlushIpNetTable2(family: super::super::Networking::WinSock::ADDRESS_FAMILY, interfaceindex: u32) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn FlushIpNetTable2 ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , interfaceindex : u32 ) -> super::super::Foundation:: WIN32_ERROR ); |
| FlushIpNetTable2(family, interfaceindex) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn FlushIpPathTable(family: super::super::Networking::WinSock::ADDRESS_FAMILY) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn FlushIpPathTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY ) -> super::super::Foundation:: WIN32_ERROR ); |
| FlushIpPathTable(family) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn FreeDnsSettings(settings: *mut DNS_SETTINGS) { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn FreeDnsSettings ( settings : *mut DNS_SETTINGS ) -> ( ) ); |
| FreeDnsSettings(settings) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn FreeInterfaceDnsSettings(settings: *mut DNS_INTERFACE_SETTINGS) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn FreeInterfaceDnsSettings ( settings : *mut DNS_INTERFACE_SETTINGS ) -> super::super::Foundation:: WIN32_ERROR ); |
| FreeInterfaceDnsSettings(settings) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn FreeMibTable(memory: *const ::core::ffi::c_void) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn FreeMibTable ( memory : *const ::core::ffi::c_void ) -> super::super::Foundation:: WIN32_ERROR ); |
| FreeMibTable(memory) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetAdapterIndex<P0>(adaptername: P0, ifindex: *mut u32) -> u32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetAdapterIndex ( adaptername : ::windows::core::PCWSTR , ifindex : *mut u32 ) -> u32 ); |
| GetAdapterIndex(adaptername.into_param().abi(), ifindex) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetAdapterOrderMap() -> *mut IP_ADAPTER_ORDER_MAP { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetAdapterOrderMap ( ) -> *mut IP_ADAPTER_ORDER_MAP ); |
| GetAdapterOrderMap() |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetAdaptersAddresses(family: u32, flags: GET_ADAPTERS_ADDRESSES_FLAGS, reserved: ::core::option::Option<*const ::core::ffi::c_void>, adapteraddresses: ::core::option::Option<*mut IP_ADAPTER_ADDRESSES_LH>, sizepointer: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetAdaptersAddresses ( family : u32 , flags : GET_ADAPTERS_ADDRESSES_FLAGS , reserved : *const ::core::ffi::c_void , adapteraddresses : *mut IP_ADAPTER_ADDRESSES_LH , sizepointer : *mut u32 ) -> u32 ); |
| GetAdaptersAddresses(family, flags, ::core::mem::transmute(reserved.unwrap_or(::std::ptr::null())), ::core::mem::transmute(adapteraddresses.unwrap_or(::std::ptr::null_mut())), sizepointer) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetAdaptersInfo(adapterinfo: ::core::option::Option<*mut IP_ADAPTER_INFO>, sizepointer: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetAdaptersInfo ( adapterinfo : *mut IP_ADAPTER_INFO , sizepointer : *mut u32 ) -> u32 ); |
| GetAdaptersInfo(::core::mem::transmute(adapterinfo.unwrap_or(::std::ptr::null_mut())), sizepointer) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetAnycastIpAddressEntry(row: *mut MIB_ANYCASTIPADDRESS_ROW) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetAnycastIpAddressEntry ( row : *mut MIB_ANYCASTIPADDRESS_ROW ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetAnycastIpAddressEntry(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetAnycastIpAddressTable(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_ANYCASTIPADDRESS_TABLE) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetAnycastIpAddressTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_ANYCASTIPADDRESS_TABLE ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetAnycastIpAddressTable(family, table) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetBestInterface(dwdestaddr: u32, pdwbestifindex: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetBestInterface ( dwdestaddr : u32 , pdwbestifindex : *mut u32 ) -> u32 ); |
| GetBestInterface(dwdestaddr, pdwbestifindex) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| #[inline] |
| pub unsafe fn GetBestInterfaceEx(pdestaddr: *const super::super::Networking::WinSock::SOCKADDR, pdwbestifindex: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetBestInterfaceEx ( pdestaddr : *const super::super::Networking::WinSock:: SOCKADDR , pdwbestifindex : *mut u32 ) -> u32 ); |
| GetBestInterfaceEx(pdestaddr, pdwbestifindex) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| #[inline] |
| pub unsafe fn GetBestRoute(dwdestaddr: u32, dwsourceaddr: u32, pbestroute: *mut MIB_IPFORWARDROW) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetBestRoute ( dwdestaddr : u32 , dwsourceaddr : u32 , pbestroute : *mut MIB_IPFORWARDROW ) -> u32 ); |
| GetBestRoute(dwdestaddr, dwsourceaddr, pbestroute) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetBestRoute2(interfaceluid: ::core::option::Option<*const super::Ndis::NET_LUID_LH>, interfaceindex: u32, sourceaddress: ::core::option::Option<*const super::super::Networking::WinSock::SOCKADDR_INET>, destinationaddress: *const super::super::Networking::WinSock::SOCKADDR_INET, addresssortoptions: u32, bestroute: *mut MIB_IPFORWARD_ROW2, bestsourceaddress: *mut super::super::Networking::WinSock::SOCKADDR_INET) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetBestRoute2 ( interfaceluid : *const super::Ndis:: NET_LUID_LH , interfaceindex : u32 , sourceaddress : *const super::super::Networking::WinSock:: SOCKADDR_INET , destinationaddress : *const super::super::Networking::WinSock:: SOCKADDR_INET , addresssortoptions : u32 , bestroute : *mut MIB_IPFORWARD_ROW2 , bestsourceaddress : *mut super::super::Networking::WinSock:: SOCKADDR_INET ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetBestRoute2(::core::mem::transmute(interfaceluid.unwrap_or(::std::ptr::null())), interfaceindex, ::core::mem::transmute(sourceaddress.unwrap_or(::std::ptr::null())), destinationaddress, addresssortoptions, bestroute, bestsourceaddress) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetCurrentThreadCompartmentId() -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetCurrentThreadCompartmentId ( ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetCurrentThreadCompartmentId() |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetCurrentThreadCompartmentScope(compartmentscope: *mut u32, compartmentid: *mut u32) { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetCurrentThreadCompartmentScope ( compartmentscope : *mut u32 , compartmentid : *mut u32 ) -> ( ) ); |
| GetCurrentThreadCompartmentScope(compartmentscope, compartmentid) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetDefaultCompartmentId() -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetDefaultCompartmentId ( ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetDefaultCompartmentId() |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetDnsSettings(settings: *mut DNS_SETTINGS) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetDnsSettings ( settings : *mut DNS_SETTINGS ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetDnsSettings(settings) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetExtendedTcpTable<P0>(ptcptable: ::core::option::Option<*mut ::core::ffi::c_void>, pdwsize: *mut u32, border: P0, ulaf: u32, tableclass: TCP_TABLE_CLASS, reserved: u32) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetExtendedTcpTable ( ptcptable : *mut ::core::ffi::c_void , pdwsize : *mut u32 , border : super::super::Foundation:: BOOL , ulaf : u32 , tableclass : TCP_TABLE_CLASS , reserved : u32 ) -> u32 ); |
| GetExtendedTcpTable(::core::mem::transmute(ptcptable.unwrap_or(::std::ptr::null_mut())), pdwsize, border.into_param().abi(), ulaf, tableclass, reserved) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetExtendedUdpTable<P0>(pudptable: ::core::option::Option<*mut ::core::ffi::c_void>, pdwsize: *mut u32, border: P0, ulaf: u32, tableclass: UDP_TABLE_CLASS, reserved: u32) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetExtendedUdpTable ( pudptable : *mut ::core::ffi::c_void , pdwsize : *mut u32 , border : super::super::Foundation:: BOOL , ulaf : u32 , tableclass : UDP_TABLE_CLASS , reserved : u32 ) -> u32 ); |
| GetExtendedUdpTable(::core::mem::transmute(pudptable.unwrap_or(::std::ptr::null_mut())), pdwsize, border.into_param().abi(), ulaf, tableclass, reserved) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetFriendlyIfIndex(ifindex: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetFriendlyIfIndex ( ifindex : u32 ) -> u32 ); |
| GetFriendlyIfIndex(ifindex) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetIcmpStatistics(statistics: *mut MIB_ICMP) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIcmpStatistics ( statistics : *mut MIB_ICMP ) -> u32 ); |
| GetIcmpStatistics(statistics) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetIcmpStatisticsEx(statistics: *mut MIB_ICMP_EX_XPSP1, family: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIcmpStatisticsEx ( statistics : *mut MIB_ICMP_EX_XPSP1 , family : u32 ) -> u32 ); |
| GetIcmpStatisticsEx(statistics, family) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetIfEntry(pifrow: *mut MIB_IFROW) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIfEntry ( pifrow : *mut MIB_IFROW ) -> u32 ); |
| GetIfEntry(pifrow) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn GetIfEntry2(row: *mut MIB_IF_ROW2) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIfEntry2 ( row : *mut MIB_IF_ROW2 ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetIfEntry2(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn GetIfEntry2Ex(level: MIB_IF_ENTRY_LEVEL, row: *mut MIB_IF_ROW2) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIfEntry2Ex ( level : MIB_IF_ENTRY_LEVEL , row : *mut MIB_IF_ROW2 ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetIfEntry2Ex(level, row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetIfStackTable(table: *mut *mut MIB_IFSTACK_TABLE) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIfStackTable ( table : *mut *mut MIB_IFSTACK_TABLE ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetIfStackTable(table) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetIfTable<P0>(piftable: ::core::option::Option<*mut MIB_IFTABLE>, pdwsize: *mut u32, border: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIfTable ( piftable : *mut MIB_IFTABLE , pdwsize : *mut u32 , border : super::super::Foundation:: BOOL ) -> u32 ); |
| GetIfTable(::core::mem::transmute(piftable.unwrap_or(::std::ptr::null_mut())), pdwsize, border.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn GetIfTable2(table: *mut *mut MIB_IF_TABLE2) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIfTable2 ( table : *mut *mut MIB_IF_TABLE2 ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetIfTable2(table) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn GetIfTable2Ex(level: MIB_IF_TABLE_LEVEL, table: *mut *mut MIB_IF_TABLE2) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIfTable2Ex ( level : MIB_IF_TABLE_LEVEL , table : *mut *mut MIB_IF_TABLE2 ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetIfTable2Ex(level, table) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn GetInterfaceActiveTimestampCapabilities(interfaceluid: *const super::Ndis::NET_LUID_LH, timestampcapabilites: *mut INTERFACE_TIMESTAMP_CAPABILITIES) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetInterfaceActiveTimestampCapabilities ( interfaceluid : *const super::Ndis:: NET_LUID_LH , timestampcapabilites : *mut INTERFACE_TIMESTAMP_CAPABILITIES ) -> u32 ); |
| GetInterfaceActiveTimestampCapabilities(interfaceluid, timestampcapabilites) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetInterfaceDnsSettings(interface: ::windows::core::GUID, settings: *mut DNS_INTERFACE_SETTINGS) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetInterfaceDnsSettings ( interface : ::windows::core::GUID , settings : *mut DNS_INTERFACE_SETTINGS ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetInterfaceDnsSettings(::core::mem::transmute(interface), settings) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetInterfaceInfo(piftable: ::core::option::Option<*mut IP_INTERFACE_INFO>, dwoutbuflen: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetInterfaceInfo ( piftable : *mut IP_INTERFACE_INFO , dwoutbuflen : *mut u32 ) -> u32 ); |
| GetInterfaceInfo(::core::mem::transmute(piftable.unwrap_or(::std::ptr::null_mut())), dwoutbuflen) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis"))] |
| #[inline] |
| pub unsafe fn GetInterfaceSupportedTimestampCapabilities(interfaceluid: *const super::Ndis::NET_LUID_LH, timestampcapabilites: *mut INTERFACE_TIMESTAMP_CAPABILITIES) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetInterfaceSupportedTimestampCapabilities ( interfaceluid : *const super::Ndis:: NET_LUID_LH , timestampcapabilites : *mut INTERFACE_TIMESTAMP_CAPABILITIES ) -> u32 ); |
| GetInterfaceSupportedTimestampCapabilities(interfaceluid, timestampcapabilites) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetInvertedIfStackTable(table: *mut *mut MIB_INVERTEDIFSTACK_TABLE) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetInvertedIfStackTable ( table : *mut *mut MIB_INVERTEDIFSTACK_TABLE ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetInvertedIfStackTable(table) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetIpAddrTable<P0>(pipaddrtable: ::core::option::Option<*mut MIB_IPADDRTABLE>, pdwsize: *mut u32, border: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIpAddrTable ( pipaddrtable : *mut MIB_IPADDRTABLE , pdwsize : *mut u32 , border : super::super::Foundation:: BOOL ) -> u32 ); |
| GetIpAddrTable(::core::mem::transmute(pipaddrtable.unwrap_or(::std::ptr::null_mut())), pdwsize, border.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetIpErrorString(errorcode: u32, buffer: ::windows::core::PWSTR, size: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIpErrorString ( errorcode : u32 , buffer : ::windows::core::PWSTR , size : *mut u32 ) -> u32 ); |
| GetIpErrorString(errorcode, ::core::mem::transmute(buffer), size) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetIpForwardEntry2(row: *mut MIB_IPFORWARD_ROW2) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIpForwardEntry2 ( row : *mut MIB_IPFORWARD_ROW2 ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetIpForwardEntry2(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetIpForwardTable<P0>(pipforwardtable: ::core::option::Option<*mut MIB_IPFORWARDTABLE>, pdwsize: *mut u32, border: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIpForwardTable ( pipforwardtable : *mut MIB_IPFORWARDTABLE , pdwsize : *mut u32 , border : super::super::Foundation:: BOOL ) -> u32 ); |
| GetIpForwardTable(::core::mem::transmute(pipforwardtable.unwrap_or(::std::ptr::null_mut())), pdwsize, border.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetIpForwardTable2(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_IPFORWARD_TABLE2) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIpForwardTable2 ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_IPFORWARD_TABLE2 ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetIpForwardTable2(family, table) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetIpInterfaceEntry(row: *mut MIB_IPINTERFACE_ROW) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIpInterfaceEntry ( row : *mut MIB_IPINTERFACE_ROW ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetIpInterfaceEntry(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetIpInterfaceTable(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_IPINTERFACE_TABLE) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIpInterfaceTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_IPINTERFACE_TABLE ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetIpInterfaceTable(family, table) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetIpNetEntry2(row: *mut MIB_IPNET_ROW2) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIpNetEntry2 ( row : *mut MIB_IPNET_ROW2 ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetIpNetEntry2(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetIpNetTable<P0>(ipnettable: ::core::option::Option<*mut MIB_IPNETTABLE>, sizepointer: *mut u32, order: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIpNetTable ( ipnettable : *mut MIB_IPNETTABLE , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); |
| GetIpNetTable(::core::mem::transmute(ipnettable.unwrap_or(::std::ptr::null_mut())), sizepointer, order.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetIpNetTable2(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_IPNET_TABLE2) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIpNetTable2 ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_IPNET_TABLE2 ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetIpNetTable2(family, table) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetIpNetworkConnectionBandwidthEstimates(interfaceindex: u32, addressfamily: super::super::Networking::WinSock::ADDRESS_FAMILY, bandwidthestimates: *mut MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIpNetworkConnectionBandwidthEstimates ( interfaceindex : u32 , addressfamily : super::super::Networking::WinSock:: ADDRESS_FAMILY , bandwidthestimates : *mut MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetIpNetworkConnectionBandwidthEstimates(interfaceindex, addressfamily, bandwidthestimates) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetIpPathEntry(row: *mut MIB_IPPATH_ROW) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIpPathEntry ( row : *mut MIB_IPPATH_ROW ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetIpPathEntry(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetIpPathTable(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_IPPATH_TABLE) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIpPathTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_IPPATH_TABLE ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetIpPathTable(family, table) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetIpStatistics(statistics: *mut MIB_IPSTATS_LH) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIpStatistics ( statistics : *mut MIB_IPSTATS_LH ) -> u32 ); |
| GetIpStatistics(statistics) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetIpStatisticsEx(statistics: *mut MIB_IPSTATS_LH, family: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetIpStatisticsEx ( statistics : *mut MIB_IPSTATS_LH , family : u32 ) -> u32 ); |
| GetIpStatisticsEx(statistics, family) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetJobCompartmentId<P0>(jobhandle: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetJobCompartmentId ( jobhandle : super::super::Foundation:: HANDLE ) -> u32 ); |
| GetJobCompartmentId(jobhandle.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetMulticastIpAddressEntry(row: *mut MIB_MULTICASTIPADDRESS_ROW) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetMulticastIpAddressEntry ( row : *mut MIB_MULTICASTIPADDRESS_ROW ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetMulticastIpAddressEntry(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetMulticastIpAddressTable(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_MULTICASTIPADDRESS_TABLE) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetMulticastIpAddressTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_MULTICASTIPADDRESS_TABLE ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetMulticastIpAddressTable(family, table) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetNetworkConnectivityHint(connectivityhint: *mut super::super::Networking::WinSock::NL_NETWORK_CONNECTIVITY_HINT) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetNetworkConnectivityHint ( connectivityhint : *mut super::super::Networking::WinSock:: NL_NETWORK_CONNECTIVITY_HINT ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetNetworkConnectivityHint(connectivityhint) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetNetworkConnectivityHintForInterface(interfaceindex: u32, connectivityhint: *mut super::super::Networking::WinSock::NL_NETWORK_CONNECTIVITY_HINT) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetNetworkConnectivityHintForInterface ( interfaceindex : u32 , connectivityhint : *mut super::super::Networking::WinSock:: NL_NETWORK_CONNECTIVITY_HINT ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetNetworkConnectivityHintForInterface(interfaceindex, connectivityhint) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetNetworkInformation(networkguid: *const ::windows::core::GUID, compartmentid: *mut u32, siteid: *mut u32, networkname: &mut [u16]) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetNetworkInformation ( networkguid : *const ::windows::core::GUID , compartmentid : *mut u32 , siteid : *mut u32 , networkname : ::windows::core::PWSTR , length : u32 ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetNetworkInformation(networkguid, compartmentid, siteid, ::core::mem::transmute(networkname.as_ptr()), networkname.len() as _) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetNetworkParams(pfixedinfo: ::core::option::Option<*mut FIXED_INFO_W2KSP1>, poutbuflen: *mut u32) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetNetworkParams ( pfixedinfo : *mut FIXED_INFO_W2KSP1 , poutbuflen : *mut u32 ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetNetworkParams(::core::mem::transmute(pfixedinfo.unwrap_or(::std::ptr::null_mut())), poutbuflen) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetNumberOfInterfaces(pdwnumif: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetNumberOfInterfaces ( pdwnumif : *mut u32 ) -> u32 ); |
| GetNumberOfInterfaces(pdwnumif) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetOwnerModuleFromPidAndInfo(ulpid: u32, pinfo: *const u64, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetOwnerModuleFromPidAndInfo ( ulpid : u32 , pinfo : *const u64 , class : TCPIP_OWNER_MODULE_INFO_CLASS , pbuffer : *mut ::core::ffi::c_void , pdwsize : *mut u32 ) -> u32 ); |
| GetOwnerModuleFromPidAndInfo(ulpid, pinfo, class, pbuffer, pdwsize) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetOwnerModuleFromTcp6Entry(ptcpentry: *const MIB_TCP6ROW_OWNER_MODULE, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetOwnerModuleFromTcp6Entry ( ptcpentry : *const MIB_TCP6ROW_OWNER_MODULE , class : TCPIP_OWNER_MODULE_INFO_CLASS , pbuffer : *mut ::core::ffi::c_void , pdwsize : *mut u32 ) -> u32 ); |
| GetOwnerModuleFromTcp6Entry(ptcpentry, class, pbuffer, pdwsize) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetOwnerModuleFromTcpEntry(ptcpentry: *const MIB_TCPROW_OWNER_MODULE, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetOwnerModuleFromTcpEntry ( ptcpentry : *const MIB_TCPROW_OWNER_MODULE , class : TCPIP_OWNER_MODULE_INFO_CLASS , pbuffer : *mut ::core::ffi::c_void , pdwsize : *mut u32 ) -> u32 ); |
| GetOwnerModuleFromTcpEntry(ptcpentry, class, pbuffer, pdwsize) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetOwnerModuleFromUdp6Entry(pudpentry: *const MIB_UDP6ROW_OWNER_MODULE, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetOwnerModuleFromUdp6Entry ( pudpentry : *const MIB_UDP6ROW_OWNER_MODULE , class : TCPIP_OWNER_MODULE_INFO_CLASS , pbuffer : *mut ::core::ffi::c_void , pdwsize : *mut u32 ) -> u32 ); |
| GetOwnerModuleFromUdp6Entry(pudpentry, class, pbuffer, pdwsize) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetOwnerModuleFromUdpEntry(pudpentry: *const MIB_UDPROW_OWNER_MODULE, class: TCPIP_OWNER_MODULE_INFO_CLASS, pbuffer: *mut ::core::ffi::c_void, pdwsize: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetOwnerModuleFromUdpEntry ( pudpentry : *const MIB_UDPROW_OWNER_MODULE , class : TCPIP_OWNER_MODULE_INFO_CLASS , pbuffer : *mut ::core::ffi::c_void , pdwsize : *mut u32 ) -> u32 ); |
| GetOwnerModuleFromUdpEntry(pudpentry, class, pbuffer, pdwsize) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetPerAdapterInfo(ifindex: u32, pperadapterinfo: ::core::option::Option<*mut IP_PER_ADAPTER_INFO_W2KSP1>, poutbuflen: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetPerAdapterInfo ( ifindex : u32 , pperadapterinfo : *mut IP_PER_ADAPTER_INFO_W2KSP1 , poutbuflen : *mut u32 ) -> u32 ); |
| GetPerAdapterInfo(ifindex, ::core::mem::transmute(pperadapterinfo.unwrap_or(::std::ptr::null_mut())), poutbuflen) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| #[inline] |
| pub unsafe fn GetPerTcp6ConnectionEStats(row: *const MIB_TCP6ROW, estatstype: TCP_ESTATS_TYPE, rw: ::core::option::Option<&mut [u8]>, rwversion: u32, ros: ::core::option::Option<&mut [u8]>, rosversion: u32, rod: ::core::option::Option<&mut [u8]>, rodversion: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetPerTcp6ConnectionEStats ( row : *const MIB_TCP6ROW , estatstype : TCP_ESTATS_TYPE , rw : *mut u8 , rwversion : u32 , rwsize : u32 , ros : *mut u8 , rosversion : u32 , rossize : u32 , rod : *mut u8 , rodversion : u32 , rodsize : u32 ) -> u32 ); |
| GetPerTcp6ConnectionEStats(row, estatstype, ::core::mem::transmute(rw.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rwversion, rw.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ros.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rosversion, ros.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rod.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rodversion, rod.as_deref().map_or(0, |slice| slice.len() as _)) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetPerTcpConnectionEStats(row: *const MIB_TCPROW_LH, estatstype: TCP_ESTATS_TYPE, rw: ::core::option::Option<&mut [u8]>, rwversion: u32, ros: ::core::option::Option<&mut [u8]>, rosversion: u32, rod: ::core::option::Option<&mut [u8]>, rodversion: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetPerTcpConnectionEStats ( row : *const MIB_TCPROW_LH , estatstype : TCP_ESTATS_TYPE , rw : *mut u8 , rwversion : u32 , rwsize : u32 , ros : *mut u8 , rosversion : u32 , rossize : u32 , rod : *mut u8 , rodversion : u32 , rodsize : u32 ) -> u32 ); |
| GetPerTcpConnectionEStats(row, estatstype, ::core::mem::transmute(rw.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rwversion, rw.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(ros.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rosversion, ros.as_deref().map_or(0, |slice| slice.len() as _), ::core::mem::transmute(rod.as_deref().map_or(::core::ptr::null(), |slice| slice.as_ptr())), rodversion, rod.as_deref().map_or(0, |slice| slice.len() as _)) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetRTTAndHopCount(destipaddress: u32, hopcount: *mut u32, maxhops: u32, rtt: *mut u32) -> super::super::Foundation::BOOL { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetRTTAndHopCount ( destipaddress : u32 , hopcount : *mut u32 , maxhops : u32 , rtt : *mut u32 ) -> super::super::Foundation:: BOOL ); |
| GetRTTAndHopCount(destipaddress, hopcount, maxhops, rtt) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetSessionCompartmentId(sessionid: u32) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetSessionCompartmentId ( sessionid : u32 ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetSessionCompartmentId(sessionid) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetTcp6Table<P0>(tcptable: *mut MIB_TCP6TABLE, sizepointer: *mut u32, order: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetTcp6Table ( tcptable : *mut MIB_TCP6TABLE , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); |
| GetTcp6Table(tcptable, sizepointer, order.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetTcp6Table2<P0>(tcptable: *mut MIB_TCP6TABLE2, sizepointer: *mut u32, order: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetTcp6Table2 ( tcptable : *mut MIB_TCP6TABLE2 , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); |
| GetTcp6Table2(tcptable, sizepointer, order.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetTcpStatistics(statistics: *mut MIB_TCPSTATS_LH) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetTcpStatistics ( statistics : *mut MIB_TCPSTATS_LH ) -> u32 ); |
| GetTcpStatistics(statistics) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetTcpStatisticsEx(statistics: *mut MIB_TCPSTATS_LH, family: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetTcpStatisticsEx ( statistics : *mut MIB_TCPSTATS_LH , family : u32 ) -> u32 ); |
| GetTcpStatisticsEx(statistics, family) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetTcpStatisticsEx2(statistics: *mut MIB_TCPSTATS2, family: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetTcpStatisticsEx2 ( statistics : *mut MIB_TCPSTATS2 , family : u32 ) -> u32 ); |
| GetTcpStatisticsEx2(statistics, family) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetTcpTable<P0>(tcptable: ::core::option::Option<*mut MIB_TCPTABLE>, sizepointer: *mut u32, order: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetTcpTable ( tcptable : *mut MIB_TCPTABLE , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); |
| GetTcpTable(::core::mem::transmute(tcptable.unwrap_or(::std::ptr::null_mut())), sizepointer, order.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetTcpTable2<P0>(tcptable: ::core::option::Option<*mut MIB_TCPTABLE2>, sizepointer: *mut u32, order: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetTcpTable2 ( tcptable : *mut MIB_TCPTABLE2 , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); |
| GetTcpTable2(::core::mem::transmute(tcptable.unwrap_or(::std::ptr::null_mut())), sizepointer, order.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetTeredoPort(port: *mut u16) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetTeredoPort ( port : *mut u16 ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetTeredoPort(port) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetUdp6Table<P0>(udp6table: ::core::option::Option<*mut MIB_UDP6TABLE>, sizepointer: *mut u32, order: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetUdp6Table ( udp6table : *mut MIB_UDP6TABLE , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); |
| GetUdp6Table(::core::mem::transmute(udp6table.unwrap_or(::std::ptr::null_mut())), sizepointer, order.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetUdpStatistics(stats: *mut MIB_UDPSTATS) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetUdpStatistics ( stats : *mut MIB_UDPSTATS ) -> u32 ); |
| GetUdpStatistics(stats) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetUdpStatisticsEx(statistics: *mut MIB_UDPSTATS, family: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetUdpStatisticsEx ( statistics : *mut MIB_UDPSTATS , family : u32 ) -> u32 ); |
| GetUdpStatisticsEx(statistics, family) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetUdpStatisticsEx2(statistics: *mut MIB_UDPSTATS2, family: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetUdpStatisticsEx2 ( statistics : *mut MIB_UDPSTATS2 , family : u32 ) -> u32 ); |
| GetUdpStatisticsEx2(statistics, family) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn GetUdpTable<P0>(udptable: ::core::option::Option<*mut MIB_UDPTABLE>, sizepointer: *mut u32, order: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetUdpTable ( udptable : *mut MIB_UDPTABLE , sizepointer : *mut u32 , order : super::super::Foundation:: BOOL ) -> u32 ); |
| GetUdpTable(::core::mem::transmute(udptable.unwrap_or(::std::ptr::null_mut())), sizepointer, order.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn GetUniDirectionalAdapterInfo(pipifinfo: ::core::option::Option<*mut IP_UNIDIRECTIONAL_ADAPTER_ADDRESS>, dwoutbuflen: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetUniDirectionalAdapterInfo ( pipifinfo : *mut IP_UNIDIRECTIONAL_ADAPTER_ADDRESS , dwoutbuflen : *mut u32 ) -> u32 ); |
| GetUniDirectionalAdapterInfo(::core::mem::transmute(pipifinfo.unwrap_or(::std::ptr::null_mut())), dwoutbuflen) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetUnicastIpAddressEntry(row: *mut MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetUnicastIpAddressEntry ( row : *mut MIB_UNICASTIPADDRESS_ROW ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetUnicastIpAddressEntry(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn GetUnicastIpAddressTable(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_UNICASTIPADDRESS_TABLE) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn GetUnicastIpAddressTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_UNICASTIPADDRESS_TABLE ) -> super::super::Foundation:: WIN32_ERROR ); |
| GetUnicastIpAddressTable(family, table) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn Icmp6CreateFile() -> ::windows::core::Result<IcmpHandle> { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn Icmp6CreateFile ( ) -> IcmpHandle ); |
| let result__ = Icmp6CreateFile(); |
| ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn Icmp6ParseReplies(replybuffer: *mut ::core::ffi::c_void, replysize: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn Icmp6ParseReplies ( replybuffer : *mut ::core::ffi::c_void , replysize : u32 ) -> u32 ); |
| Icmp6ParseReplies(replybuffer, replysize) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"Win32_System_WindowsProgramming\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock", feature = "Win32_System_WindowsProgramming"))] |
| #[inline] |
| pub unsafe fn Icmp6SendEcho2<P0, P1>(icmphandle: P0, event: P1, apcroutine: super::super::System::WindowsProgramming::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, sourceaddress: *const super::super::Networking::WinSock::SOCKADDR_IN6, destinationaddress: *const super::super::Networking::WinSock::SOCKADDR_IN6, requestdata: *const ::core::ffi::c_void, requestsize: u16, requestoptions: ::core::option::Option<*const IP_OPTION_INFORMATION>, replybuffer: *mut ::core::ffi::c_void, replysize: u32, timeout: u32) -> u32 |
| where |
| P0: ::windows::core::IntoParam<IcmpHandle>, |
| P1: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn Icmp6SendEcho2 ( icmphandle : IcmpHandle , event : super::super::Foundation:: HANDLE , apcroutine : super::super::System::WindowsProgramming:: PIO_APC_ROUTINE , apccontext : *const ::core::ffi::c_void , sourceaddress : *const super::super::Networking::WinSock:: SOCKADDR_IN6 , destinationaddress : *const super::super::Networking::WinSock:: SOCKADDR_IN6 , requestdata : *const ::core::ffi::c_void , requestsize : u16 , requestoptions : *const IP_OPTION_INFORMATION , replybuffer : *mut ::core::ffi::c_void , replysize : u32 , timeout : u32 ) -> u32 ); |
| Icmp6SendEcho2(icmphandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), sourceaddress, destinationaddress, requestdata, requestsize, ::core::mem::transmute(requestoptions.unwrap_or(::std::ptr::null())), replybuffer, replysize, timeout) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn IcmpCloseHandle<P0>(icmphandle: P0) -> super::super::Foundation::BOOL |
| where |
| P0: ::windows::core::IntoParam<IcmpHandle>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn IcmpCloseHandle ( icmphandle : IcmpHandle ) -> super::super::Foundation:: BOOL ); |
| IcmpCloseHandle(icmphandle.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn IcmpCreateFile() -> ::windows::core::Result<IcmpHandle> { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn IcmpCreateFile ( ) -> IcmpHandle ); |
| let result__ = IcmpCreateFile(); |
| ::windows::imp::then(!result__.is_invalid(), || result__).ok_or_else(::windows::core::Error::from_win32) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn IcmpParseReplies(replybuffer: *mut ::core::ffi::c_void, replysize: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn IcmpParseReplies ( replybuffer : *mut ::core::ffi::c_void , replysize : u32 ) -> u32 ); |
| IcmpParseReplies(replybuffer, replysize) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn IcmpSendEcho<P0>(icmphandle: P0, destinationaddress: u32, requestdata: *const ::core::ffi::c_void, requestsize: u16, requestoptions: ::core::option::Option<*const IP_OPTION_INFORMATION>, replybuffer: *mut ::core::ffi::c_void, replysize: u32, timeout: u32) -> u32 |
| where |
| P0: ::windows::core::IntoParam<IcmpHandle>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn IcmpSendEcho ( icmphandle : IcmpHandle , destinationaddress : u32 , requestdata : *const ::core::ffi::c_void , requestsize : u16 , requestoptions : *const IP_OPTION_INFORMATION , replybuffer : *mut ::core::ffi::c_void , replysize : u32 , timeout : u32 ) -> u32 ); |
| IcmpSendEcho(icmphandle.into_param().abi(), destinationaddress, requestdata, requestsize, ::core::mem::transmute(requestoptions.unwrap_or(::std::ptr::null())), replybuffer, replysize, timeout) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] |
| #[inline] |
| pub unsafe fn IcmpSendEcho2<P0, P1>(icmphandle: P0, event: P1, apcroutine: super::super::System::WindowsProgramming::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, destinationaddress: u32, requestdata: *const ::core::ffi::c_void, requestsize: u16, requestoptions: ::core::option::Option<*const IP_OPTION_INFORMATION>, replybuffer: *mut ::core::ffi::c_void, replysize: u32, timeout: u32) -> u32 |
| where |
| P0: ::windows::core::IntoParam<IcmpHandle>, |
| P1: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn IcmpSendEcho2 ( icmphandle : IcmpHandle , event : super::super::Foundation:: HANDLE , apcroutine : super::super::System::WindowsProgramming:: PIO_APC_ROUTINE , apccontext : *const ::core::ffi::c_void , destinationaddress : u32 , requestdata : *const ::core::ffi::c_void , requestsize : u16 , requestoptions : *const IP_OPTION_INFORMATION , replybuffer : *mut ::core::ffi::c_void , replysize : u32 , timeout : u32 ) -> u32 ); |
| IcmpSendEcho2(icmphandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), destinationaddress, requestdata, requestsize, ::core::mem::transmute(requestoptions.unwrap_or(::std::ptr::null())), replybuffer, replysize, timeout) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] |
| #[inline] |
| pub unsafe fn IcmpSendEcho2Ex<P0, P1>(icmphandle: P0, event: P1, apcroutine: super::super::System::WindowsProgramming::PIO_APC_ROUTINE, apccontext: ::core::option::Option<*const ::core::ffi::c_void>, sourceaddress: u32, destinationaddress: u32, requestdata: *const ::core::ffi::c_void, requestsize: u16, requestoptions: ::core::option::Option<*const IP_OPTION_INFORMATION>, replybuffer: *mut ::core::ffi::c_void, replysize: u32, timeout: u32) -> u32 |
| where |
| P0: ::windows::core::IntoParam<IcmpHandle>, |
| P1: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn IcmpSendEcho2Ex ( icmphandle : IcmpHandle , event : super::super::Foundation:: HANDLE , apcroutine : super::super::System::WindowsProgramming:: PIO_APC_ROUTINE , apccontext : *const ::core::ffi::c_void , sourceaddress : u32 , destinationaddress : u32 , requestdata : *const ::core::ffi::c_void , requestsize : u16 , requestoptions : *const IP_OPTION_INFORMATION , replybuffer : *mut ::core::ffi::c_void , replysize : u32 , timeout : u32 ) -> u32 ); |
| IcmpSendEcho2Ex(icmphandle.into_param().abi(), event.into_param().abi(), apcroutine, ::core::mem::transmute(apccontext.unwrap_or(::std::ptr::null())), sourceaddress, destinationaddress, requestdata, requestsize, ::core::mem::transmute(requestoptions.unwrap_or(::std::ptr::null())), replybuffer, replysize, timeout) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn InitializeIpForwardEntry(row: *mut MIB_IPFORWARD_ROW2) { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn InitializeIpForwardEntry ( row : *mut MIB_IPFORWARD_ROW2 ) -> ( ) ); |
| InitializeIpForwardEntry(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn InitializeIpInterfaceEntry(row: *mut MIB_IPINTERFACE_ROW) { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn InitializeIpInterfaceEntry ( row : *mut MIB_IPINTERFACE_ROW ) -> ( ) ); |
| InitializeIpInterfaceEntry(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn InitializeUnicastIpAddressEntry(row: *mut MIB_UNICASTIPADDRESS_ROW) { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn InitializeUnicastIpAddressEntry ( row : *mut MIB_UNICASTIPADDRESS_ROW ) -> ( ) ); |
| InitializeUnicastIpAddressEntry(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn IpReleaseAddress(adapterinfo: *const IP_ADAPTER_INDEX_MAP) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn IpReleaseAddress ( adapterinfo : *const IP_ADAPTER_INDEX_MAP ) -> u32 ); |
| IpReleaseAddress(adapterinfo) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn IpRenewAddress(adapterinfo: *const IP_ADAPTER_INDEX_MAP) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn IpRenewAddress ( adapterinfo : *const IP_ADAPTER_INDEX_MAP ) -> u32 ); |
| IpRenewAddress(adapterinfo) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn LookupPersistentTcpPortReservation(startport: u16, numberofports: u16, token: *mut u64) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn LookupPersistentTcpPortReservation ( startport : u16 , numberofports : u16 , token : *mut u64 ) -> u32 ); |
| LookupPersistentTcpPortReservation(startport, numberofports, token) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn LookupPersistentUdpPortReservation(startport: u16, numberofports: u16, token: *mut u64) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn LookupPersistentUdpPortReservation ( startport : u16 , numberofports : u16 , token : *mut u64 ) -> u32 ); |
| LookupPersistentUdpPortReservation(startport, numberofports, token) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn NhpAllocateAndGetInterfaceInfoFromStack<P0, P1>(pptable: *mut *mut IP_INTERFACE_NAME_INFO_W2KSP1, pdwcount: *mut u32, border: P0, hheap: P1, dwflags: u32) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| P1: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn NhpAllocateAndGetInterfaceInfoFromStack ( pptable : *mut *mut IP_INTERFACE_NAME_INFO_W2KSP1 , pdwcount : *mut u32 , border : super::super::Foundation:: BOOL , hheap : super::super::Foundation:: HANDLE , dwflags : u32 ) -> u32 ); |
| NhpAllocateAndGetInterfaceInfoFromStack(pptable, pdwcount, border.into_param().abi(), hheap.into_param().abi(), dwflags) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn NotifyAddrChange(handle: *mut super::super::Foundation::HANDLE, overlapped: *const super::super::System::IO::OVERLAPPED) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn NotifyAddrChange ( handle : *mut super::super::Foundation:: HANDLE , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); |
| NotifyAddrChange(handle, overlapped) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn NotifyIpInterfaceChange<P0>(family: super::super::Networking::WinSock::ADDRESS_FAMILY, callback: PIPINTERFACE_CHANGE_CALLBACK, callercontext: ::core::option::Option<*const ::core::ffi::c_void>, initialnotification: P0, notificationhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::WIN32_ERROR |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOLEAN>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn NotifyIpInterfaceChange ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , callback : PIPINTERFACE_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , initialnotification : super::super::Foundation:: BOOLEAN , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR ); |
| NotifyIpInterfaceChange(family, callback, ::core::mem::transmute(callercontext.unwrap_or(::std::ptr::null())), initialnotification.into_param().abi(), notificationhandle) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn NotifyNetworkConnectivityHintChange<P0>(callback: PNETWORK_CONNECTIVITY_HINT_CHANGE_CALLBACK, callercontext: ::core::option::Option<*const ::core::ffi::c_void>, initialnotification: P0, notificationhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::WIN32_ERROR |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOLEAN>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn NotifyNetworkConnectivityHintChange ( callback : PNETWORK_CONNECTIVITY_HINT_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , initialnotification : super::super::Foundation:: BOOLEAN , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR ); |
| NotifyNetworkConnectivityHintChange(callback, ::core::mem::transmute(callercontext.unwrap_or(::std::ptr::null())), initialnotification.into_param().abi(), notificationhandle) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn NotifyRouteChange(handle: *mut super::super::Foundation::HANDLE, overlapped: *const super::super::System::IO::OVERLAPPED) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn NotifyRouteChange ( handle : *mut super::super::Foundation:: HANDLE , overlapped : *const super::super::System::IO:: OVERLAPPED ) -> u32 ); |
| NotifyRouteChange(handle, overlapped) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn NotifyRouteChange2<P0>(addressfamily: super::super::Networking::WinSock::ADDRESS_FAMILY, callback: PIPFORWARD_CHANGE_CALLBACK, callercontext: *const ::core::ffi::c_void, initialnotification: P0, notificationhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::WIN32_ERROR |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOLEAN>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn NotifyRouteChange2 ( addressfamily : super::super::Networking::WinSock:: ADDRESS_FAMILY , callback : PIPFORWARD_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , initialnotification : super::super::Foundation:: BOOLEAN , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR ); |
| NotifyRouteChange2(addressfamily, callback, callercontext, initialnotification.into_param().abi(), notificationhandle) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn NotifyStableUnicastIpAddressTable(family: super::super::Networking::WinSock::ADDRESS_FAMILY, table: *mut *mut MIB_UNICASTIPADDRESS_TABLE, callercallback: PSTABLE_UNICAST_IPADDRESS_TABLE_CALLBACK, callercontext: *const ::core::ffi::c_void, notificationhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn NotifyStableUnicastIpAddressTable ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , table : *mut *mut MIB_UNICASTIPADDRESS_TABLE , callercallback : PSTABLE_UNICAST_IPADDRESS_TABLE_CALLBACK , callercontext : *const ::core::ffi::c_void , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR ); |
| NotifyStableUnicastIpAddressTable(family, table, callercallback, callercontext, notificationhandle) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn NotifyTeredoPortChange<P0>(callback: PTEREDO_PORT_CHANGE_CALLBACK, callercontext: *const ::core::ffi::c_void, initialnotification: P0, notificationhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::WIN32_ERROR |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOLEAN>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn NotifyTeredoPortChange ( callback : PTEREDO_PORT_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , initialnotification : super::super::Foundation:: BOOLEAN , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR ); |
| NotifyTeredoPortChange(callback, callercontext, initialnotification.into_param().abi(), notificationhandle) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn NotifyUnicastIpAddressChange<P0>(family: super::super::Networking::WinSock::ADDRESS_FAMILY, callback: PUNICAST_IPADDRESS_CHANGE_CALLBACK, callercontext: ::core::option::Option<*const ::core::ffi::c_void>, initialnotification: P0, notificationhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::WIN32_ERROR |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOLEAN>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn NotifyUnicastIpAddressChange ( family : super::super::Networking::WinSock:: ADDRESS_FAMILY , callback : PUNICAST_IPADDRESS_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , initialnotification : super::super::Foundation:: BOOLEAN , notificationhandle : *mut super::super::Foundation:: HANDLE ) -> super::super::Foundation:: WIN32_ERROR ); |
| NotifyUnicastIpAddressChange(family, callback, ::core::mem::transmute(callercontext.unwrap_or(::std::ptr::null())), initialnotification.into_param().abi(), notificationhandle) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn PfAddFiltersToInterface(ih: *mut ::core::ffi::c_void, cinfilters: u32, pfiltin: *mut PF_FILTER_DESCRIPTOR, coutfilters: u32, pfiltout: *mut PF_FILTER_DESCRIPTOR, pfhandle: *mut *mut ::core::ffi::c_void) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfAddFiltersToInterface ( ih : *mut ::core::ffi::c_void , cinfilters : u32 , pfiltin : *mut PF_FILTER_DESCRIPTOR , coutfilters : u32 , pfiltout : *mut PF_FILTER_DESCRIPTOR , pfhandle : *mut *mut ::core::ffi::c_void ) -> u32 ); |
| PfAddFiltersToInterface(ih, cinfilters, pfiltin, coutfilters, pfiltout, pfhandle) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn PfAddGlobalFilterToInterface(pinterface: *mut ::core::ffi::c_void, gffilter: GLOBAL_FILTER) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfAddGlobalFilterToInterface ( pinterface : *mut ::core::ffi::c_void , gffilter : GLOBAL_FILTER ) -> u32 ); |
| PfAddGlobalFilterToInterface(pinterface, gffilter) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn PfBindInterfaceToIPAddress(pinterface: *mut ::core::ffi::c_void, pfattype: PFADDRESSTYPE, ipaddress: *mut u8) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfBindInterfaceToIPAddress ( pinterface : *mut ::core::ffi::c_void , pfattype : PFADDRESSTYPE , ipaddress : *mut u8 ) -> u32 ); |
| PfBindInterfaceToIPAddress(pinterface, pfattype, ipaddress) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn PfBindInterfaceToIndex(pinterface: *mut ::core::ffi::c_void, dwindex: u32, pfatlinktype: PFADDRESSTYPE, linkipaddress: *mut u8) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfBindInterfaceToIndex ( pinterface : *mut ::core::ffi::c_void , dwindex : u32 , pfatlinktype : PFADDRESSTYPE , linkipaddress : *mut u8 ) -> u32 ); |
| PfBindInterfaceToIndex(pinterface, dwindex, pfatlinktype, linkipaddress) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PfCreateInterface<P0, P1>(dwname: u32, inaction: PFFORWARD_ACTION, outaction: PFFORWARD_ACTION, buselog: P0, bmustbeunique: P1, ppinterface: *mut *mut ::core::ffi::c_void) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| P1: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfCreateInterface ( dwname : u32 , inaction : PFFORWARD_ACTION , outaction : PFFORWARD_ACTION , buselog : super::super::Foundation:: BOOL , bmustbeunique : super::super::Foundation:: BOOL , ppinterface : *mut *mut ::core::ffi::c_void ) -> u32 ); |
| PfCreateInterface(dwname, inaction, outaction, buselog.into_param().abi(), bmustbeunique.into_param().abi(), ppinterface) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn PfDeleteInterface(pinterface: *mut ::core::ffi::c_void) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfDeleteInterface ( pinterface : *mut ::core::ffi::c_void ) -> u32 ); |
| PfDeleteInterface(pinterface) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn PfDeleteLog() -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfDeleteLog ( ) -> u32 ); |
| PfDeleteLog() |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PfGetInterfaceStatistics<P0>(pinterface: *mut ::core::ffi::c_void, ppfstats: *mut PF_INTERFACE_STATS, pdwbuffersize: *mut u32, fresetcounters: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::BOOL>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfGetInterfaceStatistics ( pinterface : *mut ::core::ffi::c_void , ppfstats : *mut PF_INTERFACE_STATS , pdwbuffersize : *mut u32 , fresetcounters : super::super::Foundation:: BOOL ) -> u32 ); |
| PfGetInterfaceStatistics(pinterface, ppfstats, pdwbuffersize, fresetcounters.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn PfMakeLog<P0>(hevent: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfMakeLog ( hevent : super::super::Foundation:: HANDLE ) -> u32 ); |
| PfMakeLog(hevent.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn PfRebindFilters(pinterface: *mut ::core::ffi::c_void, platebindinfo: *mut PF_LATEBIND_INFO) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfRebindFilters ( pinterface : *mut ::core::ffi::c_void , platebindinfo : *mut PF_LATEBIND_INFO ) -> u32 ); |
| PfRebindFilters(pinterface, platebindinfo) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn PfRemoveFilterHandles(pinterface: *mut ::core::ffi::c_void, cfilters: u32, pvhandles: *mut *mut ::core::ffi::c_void) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfRemoveFilterHandles ( pinterface : *mut ::core::ffi::c_void , cfilters : u32 , pvhandles : *mut *mut ::core::ffi::c_void ) -> u32 ); |
| PfRemoveFilterHandles(pinterface, cfilters, pvhandles) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn PfRemoveFiltersFromInterface(ih: *mut ::core::ffi::c_void, cinfilters: u32, pfiltin: *mut PF_FILTER_DESCRIPTOR, coutfilters: u32, pfiltout: *mut PF_FILTER_DESCRIPTOR) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfRemoveFiltersFromInterface ( ih : *mut ::core::ffi::c_void , cinfilters : u32 , pfiltin : *mut PF_FILTER_DESCRIPTOR , coutfilters : u32 , pfiltout : *mut PF_FILTER_DESCRIPTOR ) -> u32 ); |
| PfRemoveFiltersFromInterface(ih, cinfilters, pfiltin, coutfilters, pfiltout) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn PfRemoveGlobalFilterFromInterface(pinterface: *mut ::core::ffi::c_void, gffilter: GLOBAL_FILTER) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfRemoveGlobalFilterFromInterface ( pinterface : *mut ::core::ffi::c_void , gffilter : GLOBAL_FILTER ) -> u32 ); |
| PfRemoveGlobalFilterFromInterface(pinterface, gffilter) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn PfSetLogBuffer(pbbuffer: *mut u8, dwsize: u32, dwthreshold: u32, dwentries: u32, pdwloggedentries: *mut u32, pdwlostentries: *mut u32, pdwsizeused: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfSetLogBuffer ( pbbuffer : *mut u8 , dwsize : u32 , dwthreshold : u32 , dwentries : u32 , pdwloggedentries : *mut u32 , pdwlostentries : *mut u32 , pdwsizeused : *mut u32 ) -> u32 ); |
| PfSetLogBuffer(pbbuffer, dwsize, dwthreshold, dwentries, pdwloggedentries, pdwlostentries, pdwsizeused) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn PfTestPacket(pininterface: *mut ::core::ffi::c_void, poutinterface: *mut ::core::ffi::c_void, cbytes: u32, pbpacket: *mut u8, ppaction: *mut PFFORWARD_ACTION) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfTestPacket ( pininterface : *mut ::core::ffi::c_void , poutinterface : *mut ::core::ffi::c_void , cbytes : u32 , pbpacket : *mut u8 , ppaction : *mut PFFORWARD_ACTION ) -> u32 ); |
| PfTestPacket(pininterface, poutinterface, cbytes, pbpacket, ppaction) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn PfUnBindInterface(pinterface: *mut ::core::ffi::c_void) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn PfUnBindInterface ( pinterface : *mut ::core::ffi::c_void ) -> u32 ); |
| PfUnBindInterface(pinterface) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn RegisterInterfaceTimestampConfigChange(callback: PINTERFACE_TIMESTAMP_CONFIG_CHANGE_CALLBACK, callercontext: ::core::option::Option<*const ::core::ffi::c_void>, notificationhandle: *mut HIFTIMESTAMPCHANGE) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn RegisterInterfaceTimestampConfigChange ( callback : PINTERFACE_TIMESTAMP_CONFIG_CHANGE_CALLBACK , callercontext : *const ::core::ffi::c_void , notificationhandle : *mut HIFTIMESTAMPCHANGE ) -> u32 ); |
| RegisterInterfaceTimestampConfigChange(callback, ::core::mem::transmute(callercontext.unwrap_or(::std::ptr::null())), notificationhandle) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn ResolveIpNetEntry2(row: *mut MIB_IPNET_ROW2, sourceaddress: ::core::option::Option<*const super::super::Networking::WinSock::SOCKADDR_INET>) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ResolveIpNetEntry2 ( row : *mut MIB_IPNET_ROW2 , sourceaddress : *const super::super::Networking::WinSock:: SOCKADDR_INET ) -> super::super::Foundation:: WIN32_ERROR ); |
| ResolveIpNetEntry2(row, ::core::mem::transmute(sourceaddress.unwrap_or(::std::ptr::null()))) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| #[inline] |
| pub unsafe fn ResolveNeighbor(networkaddress: *const super::super::Networking::WinSock::SOCKADDR, physicaladdress: *mut ::core::ffi::c_void, physicaladdresslength: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn ResolveNeighbor ( networkaddress : *const super::super::Networking::WinSock:: SOCKADDR , physicaladdress : *mut ::core::ffi::c_void , physicaladdresslength : *mut u32 ) -> u32 ); |
| ResolveNeighbor(networkaddress, physicaladdress, physicaladdresslength) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn RestoreMediaSense(poverlapped: *const super::super::System::IO::OVERLAPPED, lpdwenablecount: ::core::option::Option<*mut u32>) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn RestoreMediaSense ( poverlapped : *const super::super::System::IO:: OVERLAPPED , lpdwenablecount : *mut u32 ) -> u32 ); |
| RestoreMediaSense(poverlapped, ::core::mem::transmute(lpdwenablecount.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn SendARP(destip: u32, srcip: u32, pmacaddr: *mut ::core::ffi::c_void, phyaddrlen: *mut u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SendARP ( destip : u32 , srcip : u32 , pmacaddr : *mut ::core::ffi::c_void , phyaddrlen : *mut u32 ) -> u32 ); |
| SendARP(destip, srcip, pmacaddr, phyaddrlen) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetCurrentThreadCompartmentId(compartmentid: u32) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetCurrentThreadCompartmentId ( compartmentid : u32 ) -> super::super::Foundation:: WIN32_ERROR ); |
| SetCurrentThreadCompartmentId(compartmentid) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetCurrentThreadCompartmentScope(compartmentscope: u32) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetCurrentThreadCompartmentScope ( compartmentscope : u32 ) -> super::super::Foundation:: WIN32_ERROR ); |
| SetCurrentThreadCompartmentScope(compartmentscope) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetDnsSettings(settings: *const DNS_SETTINGS) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetDnsSettings ( settings : *const DNS_SETTINGS ) -> super::super::Foundation:: WIN32_ERROR ); |
| SetDnsSettings(settings) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn SetIfEntry(pifrow: *const MIB_IFROW) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetIfEntry ( pifrow : *const MIB_IFROW ) -> u32 ); |
| SetIfEntry(pifrow) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetInterfaceDnsSettings(interface: ::windows::core::GUID, settings: *const DNS_INTERFACE_SETTINGS) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetInterfaceDnsSettings ( interface : ::windows::core::GUID , settings : *const DNS_INTERFACE_SETTINGS ) -> super::super::Foundation:: WIN32_ERROR ); |
| SetInterfaceDnsSettings(::core::mem::transmute(interface), settings) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| #[inline] |
| pub unsafe fn SetIpForwardEntry(proute: *const MIB_IPFORWARDROW) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetIpForwardEntry ( proute : *const MIB_IPFORWARDROW ) -> u32 ); |
| SetIpForwardEntry(proute) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn SetIpForwardEntry2(route: *const MIB_IPFORWARD_ROW2) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetIpForwardEntry2 ( route : *const MIB_IPFORWARD_ROW2 ) -> super::super::Foundation:: WIN32_ERROR ); |
| SetIpForwardEntry2(route) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn SetIpInterfaceEntry(row: *mut MIB_IPINTERFACE_ROW) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetIpInterfaceEntry ( row : *mut MIB_IPINTERFACE_ROW ) -> super::super::Foundation:: WIN32_ERROR ); |
| SetIpInterfaceEntry(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn SetIpNetEntry(parpentry: *const MIB_IPNETROW_LH) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetIpNetEntry ( parpentry : *const MIB_IPNETROW_LH ) -> u32 ); |
| SetIpNetEntry(parpentry) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn SetIpNetEntry2(row: *const MIB_IPNET_ROW2) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetIpNetEntry2 ( row : *const MIB_IPNET_ROW2 ) -> super::super::Foundation:: WIN32_ERROR ); |
| SetIpNetEntry2(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn SetIpStatistics(pipstats: *const MIB_IPSTATS_LH) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetIpStatistics ( pipstats : *const MIB_IPSTATS_LH ) -> u32 ); |
| SetIpStatistics(pipstats) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn SetIpStatisticsEx(statistics: *const MIB_IPSTATS_LH, family: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetIpStatisticsEx ( statistics : *const MIB_IPSTATS_LH , family : u32 ) -> u32 ); |
| SetIpStatisticsEx(statistics, family) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn SetIpTTL(nttl: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetIpTTL ( nttl : u32 ) -> u32 ); |
| SetIpTTL(nttl) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetJobCompartmentId<P0>(jobhandle: P0, compartmentid: u32) -> super::super::Foundation::WIN32_ERROR |
| where |
| P0: ::windows::core::IntoParam<super::super::Foundation::HANDLE>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetJobCompartmentId ( jobhandle : super::super::Foundation:: HANDLE , compartmentid : u32 ) -> super::super::Foundation:: WIN32_ERROR ); |
| SetJobCompartmentId(jobhandle.into_param().abi(), compartmentid) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetNetworkInformation<P0>(networkguid: *const ::windows::core::GUID, compartmentid: u32, networkname: P0) -> super::super::Foundation::WIN32_ERROR |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCWSTR>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetNetworkInformation ( networkguid : *const ::windows::core::GUID , compartmentid : u32 , networkname : ::windows::core::PCWSTR ) -> super::super::Foundation:: WIN32_ERROR ); |
| SetNetworkInformation(networkguid, compartmentid, networkname.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| #[inline] |
| pub unsafe fn SetPerTcp6ConnectionEStats(row: *const MIB_TCP6ROW, estatstype: TCP_ESTATS_TYPE, rw: &[u8], rwversion: u32, offset: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetPerTcp6ConnectionEStats ( row : *const MIB_TCP6ROW , estatstype : TCP_ESTATS_TYPE , rw : *const u8 , rwversion : u32 , rwsize : u32 , offset : u32 ) -> u32 ); |
| SetPerTcp6ConnectionEStats(row, estatstype, ::core::mem::transmute(rw.as_ptr()), rwversion, rw.len() as _, offset) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn SetPerTcpConnectionEStats(row: *const MIB_TCPROW_LH, estatstype: TCP_ESTATS_TYPE, rw: &[u8], rwversion: u32, offset: u32) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetPerTcpConnectionEStats ( row : *const MIB_TCPROW_LH , estatstype : TCP_ESTATS_TYPE , rw : *const u8 , rwversion : u32 , rwsize : u32 , offset : u32 ) -> u32 ); |
| SetPerTcpConnectionEStats(row, estatstype, ::core::mem::transmute(rw.as_ptr()), rwversion, rw.len() as _, offset) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| #[inline] |
| pub unsafe fn SetSessionCompartmentId(sessionid: u32, compartmentid: u32) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetSessionCompartmentId ( sessionid : u32 , compartmentid : u32 ) -> super::super::Foundation:: WIN32_ERROR ); |
| SetSessionCompartmentId(sessionid, compartmentid) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn SetTcpEntry(ptcprow: *const MIB_TCPROW_LH) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetTcpEntry ( ptcprow : *const MIB_TCPROW_LH ) -> u32 ); |
| SetTcpEntry(ptcprow) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| #[inline] |
| pub unsafe fn SetUnicastIpAddressEntry(row: *const MIB_UNICASTIPADDRESS_ROW) -> super::super::Foundation::WIN32_ERROR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn SetUnicastIpAddressEntry ( row : *const MIB_UNICASTIPADDRESS_ROW ) -> super::super::Foundation:: WIN32_ERROR ); |
| SetUnicastIpAddressEntry(row) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_IO"))] |
| #[inline] |
| pub unsafe fn UnenableRouter(poverlapped: *const super::super::System::IO::OVERLAPPED, lpdwenablecount: ::core::option::Option<*mut u32>) -> u32 { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn UnenableRouter ( poverlapped : *const super::super::System::IO:: OVERLAPPED , lpdwenablecount : *mut u32 ) -> u32 ); |
| UnenableRouter(poverlapped, ::core::mem::transmute(lpdwenablecount.unwrap_or(::std::ptr::null_mut()))) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn UnregisterInterfaceTimestampConfigChange<P0>(notificationhandle: P0) |
| where |
| P0: ::windows::core::IntoParam<HIFTIMESTAMPCHANGE>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn UnregisterInterfaceTimestampConfigChange ( notificationhandle : HIFTIMESTAMPCHANGE ) -> ( ) ); |
| UnregisterInterfaceTimestampConfigChange(notificationhandle.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn if_indextoname(interfaceindex: u32, interfacename: &mut [u8; 256]) -> ::windows::core::PSTR { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn if_indextoname ( interfaceindex : u32 , interfacename : ::windows::core::PSTR ) -> ::windows::core::PSTR ); |
| if_indextoname(interfaceindex, ::core::mem::transmute(interfacename.as_ptr())) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[inline] |
| pub unsafe fn if_nametoindex<P0>(interfacename: P0) -> u32 |
| where |
| P0: ::windows::core::IntoParam<::windows::core::PCSTR>, |
| { |
| ::windows_targets::link ! ( "iphlpapi.dll""system" fn if_nametoindex ( interfacename : ::windows::core::PCSTR ) -> u32 ); |
| if_nametoindex(interfacename.into_param().abi()) |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ANY_SIZE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const BEST_IF: u32 = 20u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const BEST_ROUTE: u32 = 21u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const BROADCAST_NODETYPE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DEFAULT_MINIMUM_ENTITIES: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DEST_LONGER: u32 = 29u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DEST_MATCHING: u32 = 28u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DEST_SHORTER: u32 = 30u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_DDR_ADAPTER_ENABLE_DOH: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_DDR_ADAPTER_ENABLE_UDP_FALLBACK: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_DOH_AUTO_UPGRADE_SERVER: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_DOH_POLICY_AUTO: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_DOH_POLICY_DISABLE: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_DOH_POLICY_NOT_CONFIGURED: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_DOH_POLICY_REQUIRED: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_DOH_SERVER_SETTINGS_ENABLE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_DOH_SERVER_SETTINGS_ENABLE_AUTO: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_DOH_SERVER_SETTINGS_ENABLE_DDR: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_DOH_SERVER_SETTINGS_FALLBACK_TO_UDP: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_ENABLE_DDR: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_ENABLE_DOH: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_INTERFACE_SETTINGS_VERSION1: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_INTERFACE_SETTINGS_VERSION2: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_INTERFACE_SETTINGS_VERSION3: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_INTERFACE_SETTINGS_VERSION4: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SERVER_PROPERTY_VERSION1: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTINGS_ENABLE_LLMNR: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTINGS_QUERY_ADAPTER_NAME: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTINGS_VERSION1: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTINGS_VERSION2: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTING_DDR: u32 = 32768u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTING_DISABLE_UNCONSTRAINED_QUERIES: u32 = 1024u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTING_DOH: u32 = 4096u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTING_DOH_PROFILE: u32 = 8192u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTING_DOMAIN: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTING_ENCRYPTED_DNS_ADAPTER_FLAGS: u32 = 16384u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTING_HOSTNAME: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTING_IPV6: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTING_NAMESERVER: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTING_PROFILE_NAMESERVER: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTING_REGISTER_ADAPTER_NAME: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTING_REGISTRATION_ENABLED: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTING_SEARCHLIST: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DNS_SETTING_SUPPLEMENTAL_SEARCH_LIST: u32 = 2048u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ERROR_BASE: u32 = 23000u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ERROR_IPV6_NOT_IMPLEMENTED: u32 = 23003u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const FD_FLAGS_ALLFLAGS: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const FD_FLAGS_NOSYN: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const GAA_FLAG_SKIP_DNS_INFO: u32 = 2048u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const HYBRID_NODETYPE: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP6_INFOMSG_MASK: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP_STATS: u32 = 11u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_ADMIN_STATUS_DOWN: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_ADMIN_STATUS_TESTING: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_ADMIN_STATUS_UP: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_CHECK_MCAST: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_CHECK_NONE: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_CHECK_SEND: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_CONNECTION_DEDICATED: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_CONNECTION_DEMAND: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_CONNECTION_PASSIVE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_NUMBER: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_ROW: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_STATUS: u32 = 25u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TABLE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_A12MPPSWITCH: u32 = 130u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_AAL2: u32 = 187u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_AAL5: u32 = 49u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ADSL: u32 = 94u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_AFLANE_8023: u32 = 59u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_AFLANE_8025: u32 = 60u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ARAP: u32 = 88u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ARCNET: u32 = 35u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ARCNET_PLUS: u32 = 36u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ASYNC: u32 = 84u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ATM: u32 = 37u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ATM_DXI: u32 = 105u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ATM_FUNI: u32 = 106u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ATM_IMA: u32 = 107u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ATM_LOGICAL: u32 = 80u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ATM_RADIO: u32 = 189u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ATM_SUBINTERFACE: u32 = 134u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ATM_VCI_ENDPT: u32 = 194u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ATM_VIRTUAL: u32 = 149u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_BASIC_ISDN: u32 = 20u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_BGP_POLICY_ACCOUNTING: u32 = 162u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_BSC: u32 = 83u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_CCTEMUL: u32 = 61u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_CES: u32 = 133u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_CHANNEL: u32 = 70u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_CNR: u32 = 85u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_COFFEE: u32 = 132u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_COMPOSITELINK: u32 = 155u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DCN: u32 = 141u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DDN_X25: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DIGITALPOWERLINE: u32 = 138u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DIGITAL_WRAPPER_OVERHEAD_CHANNEL: u32 = 186u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DLSW: u32 = 74u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DOCSCABLE_DOWNSTREAM: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DOCSCABLE_MACLAYER: u32 = 127u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DOCSCABLE_UPSTREAM: u32 = 129u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DS0: u32 = 81u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DS0_BUNDLE: u32 = 82u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DS1: u32 = 18u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DS1_FDL: u32 = 170u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DS3: u32 = 30u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DTM: u32 = 140u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DVBRCC_DOWNSTREAM: u32 = 147u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DVBRCC_MACLAYER: u32 = 146u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DVBRCC_UPSTREAM: u32 = 148u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DVB_ASI_IN: u32 = 172u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_DVB_ASI_OUT: u32 = 173u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_E1: u32 = 19u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_EON: u32 = 25u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_EPLRS: u32 = 87u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ESCON: u32 = 73u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ETHERNET_3MBIT: u32 = 26u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ETHERNET_CSMACD: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_FAST: u32 = 125u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_FASTETHER: u32 = 62u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_FASTETHER_FX: u32 = 69u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_FDDI: u32 = 15u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_FIBRECHANNEL: u32 = 56u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_FRAMERELAY: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_FRAMERELAY_INTERCONNECT: u32 = 58u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_FRAMERELAY_MPI: u32 = 92u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_FRAMERELAY_SERVICE: u32 = 44u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_FRF16_MFR_BUNDLE: u32 = 163u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_FR_DLCI_ENDPT: u32 = 193u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_FR_FORWARD: u32 = 158u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_G703_2MB: u32 = 67u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_G703_64K: u32 = 66u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_GIGABITETHERNET: u32 = 117u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_GR303_IDT: u32 = 178u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_GR303_RDT: u32 = 177u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_H323_GATEKEEPER: u32 = 164u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_H323_PROXY: u32 = 165u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_HDH_1822: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_HDLC: u32 = 118u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_HDSL2: u32 = 168u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_HIPERLAN2: u32 = 183u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_HIPPI: u32 = 47u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_HIPPIINTERFACE: u32 = 57u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_HOSTPAD: u32 = 90u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_HSSI: u32 = 46u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_HYPERCHANNEL: u32 = 14u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IBM370PARCHAN: u32 = 72u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IDSL: u32 = 154u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IEEE1394: u32 = 144u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IEEE80211: u32 = 71u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IEEE80212: u32 = 55u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IEEE802154: u32 = 259u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IEEE80216_WMAN: u32 = 237u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IEEE8023AD_LAG: u32 = 161u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IF_GSN: u32 = 145u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IMT: u32 = 190u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_INTERLEAVE: u32 = 124u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IP: u32 = 126u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IPFORWARD: u32 = 142u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IPOVER_ATM: u32 = 114u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IPOVER_CDLC: u32 = 109u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IPOVER_CLAW: u32 = 110u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IPSWITCH: u32 = 78u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_IS088023_CSMACD: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ISDN: u32 = 63u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ISDN_S: u32 = 75u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ISDN_U: u32 = 76u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ISO88022_LLC: u32 = 41u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ISO88024_TOKENBUS: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ISO88025R_DTR: u32 = 86u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ISO88025_CRFPRINT: u32 = 98u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ISO88025_FIBER: u32 = 115u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ISO88025_TOKENRING: u32 = 9u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ISO88026_MAN: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ISUP: u32 = 179u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_L2_VLAN: u32 = 135u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_L3_IPVLAN: u32 = 136u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_L3_IPXVLAN: u32 = 137u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_LAP_B: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_LAP_D: u32 = 77u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_LAP_F: u32 = 119u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_LOCALTALK: u32 = 42u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_MEDIAMAILOVERIP: u32 = 139u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_MF_SIGLINK: u32 = 167u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_MIO_X25: u32 = 38u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_MODEM: u32 = 48u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_MPC: u32 = 113u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_MPLS: u32 = 166u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_MPLS_TUNNEL: u32 = 150u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_MSDSL: u32 = 143u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_MVL: u32 = 191u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_MYRINET: u32 = 99u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_NFAS: u32 = 175u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_NSIP: u32 = 27u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_OPTICAL_CHANNEL: u32 = 195u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_OPTICAL_TRANSPORT: u32 = 196u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_OTHER: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PARA: u32 = 34u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PLC: u32 = 174u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_POS: u32 = 171u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PPP: u32 = 23u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PPPMULTILINKBUNDLE: u32 = 108u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PRIMARY_ISDN: u32 = 21u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PROP_BWA_P2MP: u32 = 184u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PROP_CNLS: u32 = 89u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PROP_DOCS_WIRELESS_DOWNSTREAM: u32 = 181u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PROP_DOCS_WIRELESS_MACLAYER: u32 = 180u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PROP_DOCS_WIRELESS_UPSTREAM: u32 = 182u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PROP_MULTIPLEXOR: u32 = 54u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PROP_POINT2POINT_SERIAL: u32 = 22u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PROP_VIRTUAL: u32 = 53u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PROP_WIRELESS_P2P: u32 = 157u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PROTEON_10MBIT: u32 = 12u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_PROTEON_80MBIT: u32 = 13u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_QLLC: u32 = 68u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_RADIO_MAC: u32 = 188u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_RADSL: u32 = 95u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_REACH_DSL: u32 = 192u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_REGULAR_1822: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_RFC1483: u32 = 159u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_RFC877_X25: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_RS232: u32 = 33u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_RSRB: u32 = 79u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_SDLC: u32 = 17u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_SDSL: u32 = 96u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_SHDSL: u32 = 169u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_SIP: u32 = 31u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_SLIP: u32 = 28u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_SMDS_DXI: u32 = 43u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_SMDS_ICIP: u32 = 52u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_SOFTWARE_LOOPBACK: u32 = 24u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_SONET: u32 = 39u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_SONET_OVERHEAD_CHANNEL: u32 = 185u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_SONET_PATH: u32 = 50u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_SONET_VT: u32 = 51u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_SRP: u32 = 151u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_SS7_SIGLINK: u32 = 156u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_STACKTOSTACK: u32 = 111u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_STARLAN: u32 = 11u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_TDLC: u32 = 116u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_TERMPAD: u32 = 91u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_TR008: u32 = 176u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_TRANSPHDLC: u32 = 123u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_TUNNEL: u32 = 131u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_ULTRA: u32 = 29u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_USB: u32 = 160u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_V11: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_V35: u32 = 45u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_V36: u32 = 65u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_V37: u32 = 120u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_VDSL: u32 = 97u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_VIRTUALIPADDRESS: u32 = 112u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_VOICEOVERATM: u32 = 152u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_VOICEOVERFRAMERELAY: u32 = 153u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_VOICE_EM: u32 = 100u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_VOICE_ENCAP: u32 = 103u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_VOICE_FXO: u32 = 101u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_VOICE_FXS: u32 = 102u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_VOICE_OVERIP: u32 = 104u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_WWANPP: u32 = 243u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_WWANPP2: u32 = 244u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_X213: u32 = 93u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_X25_HUNTGROUP: u32 = 122u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_X25_MLP: u32 = 121u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_X25_PLE: u32 = 40u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_TYPE_XBOX_WIRELESS: u32 = 281u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const INTERFACE_HARDWARE_CROSSTIMESTAMP_VERSION_1: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const INTERFACE_TIMESTAMP_CAPABILITIES_VERSION_1: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IOCTL_ARP_SEND_REQUEST: u32 = 103u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IOCTL_IP_ADDCHANGE_NOTIFY_REQUEST: u32 = 102u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IOCTL_IP_GET_BEST_INTERFACE: u32 = 105u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IOCTL_IP_INTERFACE_INFO: u32 = 104u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IOCTL_IP_RTCHANGE_NOTIFY_REQUEST: u32 = 101u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IOCTL_IP_UNIDIRECTIONAL_ADAPTER_ADDRESS: u32 = 106u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP6_STATS: u32 = 36u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IPRTRMGR_PID: u32 = 10000u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IPV6_GLOBAL_INFO: u32 = 4294901775u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IPV6_ROUTE_INFO: u32 = 4294901776u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADAPTER_ADDRESS_DNS_ELIGIBLE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADAPTER_ADDRESS_TRANSIENT: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADAPTER_DDNS_ENABLED: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADAPTER_DHCP_ENABLED: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADAPTER_IPV4_ENABLED: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADAPTER_IPV6_ENABLED: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADAPTER_IPV6_MANAGE_ADDRESS_CONFIG: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADAPTER_IPV6_OTHER_STATEFUL_CONFIG: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADAPTER_NETBIOS_OVER_TCPIP_ENABLED: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADAPTER_NO_MULTICAST: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADAPTER_RECEIVE_ONLY: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADAPTER_REGISTER_ADAPTER_SUFFIX: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADDRROW: u32 = 5u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADDRTABLE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADDR_ADDED: u32 = 11023u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ADDR_DELETED: u32 = 11019u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_BAD_DESTINATION: u32 = 11018u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_BAD_HEADER: u32 = 11042u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_BAD_OPTION: u32 = 11007u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_BAD_REQ: u32 = 11011u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_BAD_ROUTE: u32 = 11012u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_BIND_ADAPTER: u32 = 11026u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_BUF_TOO_SMALL: u32 = 11001u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_DEMAND_DIAL_FILTER_INFO: u32 = 4294901769u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_DEMAND_DIAL_FILTER_INFO_V6: u32 = 4294901779u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_DEST_ADDR_UNREACHABLE: u32 = 11003u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_DEST_HOST_UNREACHABLE: u32 = 11003u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_DEST_NET_UNREACHABLE: u32 = 11002u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_DEST_NO_ROUTE: u32 = 11002u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_DEST_PORT_UNREACHABLE: u32 = 11005u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_DEST_PROHIBITED: u32 = 11004u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_DEST_PROT_UNREACHABLE: u32 = 11004u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_DEST_SCOPE_MISMATCH: u32 = 11045u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_DEST_UNREACHABLE: u32 = 11040u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_DEVICE_DOES_NOT_EXIST: u32 = 11028u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_DUPLICATE_ADDRESS: u32 = 11029u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_DUPLICATE_IPADD: u32 = 11034u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_EXPORT_INCLUDED: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_FILTER_ENABLE_INFO: u32 = 4294901781u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_FILTER_ENABLE_INFO_V6: u32 = 4294901782u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_FLAG_DF: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_FLAG_REVERSE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_FORWARDNUMBER: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_FORWARDROW: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_FORWARDTABLE: u32 = 7u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_GENERAL_FAILURE: u32 = 11050u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_GENERAL_INFO_BASE: u32 = 4294901760u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_GLOBAL_INFO: u32 = 4294901763u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_HOP_LIMIT_EXCEEDED: u32 = 11013u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_HW_ERROR: u32 = 11008u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ICMP_ERROR: u32 = 11044u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_IFFILTER_INFO: u32 = 4294901773u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_IFFILTER_INFO_V6: u32 = 4294901780u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_INTERFACE_METRIC_CHANGE: u32 = 11030u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_INTERFACE_STATUS_INFO: u32 = 4294901764u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_INTERFACE_WOL_CAPABILITY_CHANGE: u32 = 11033u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_IN_FILTER_INFO: u32 = 4294901761u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_IN_FILTER_INFO_V6: u32 = 4294901777u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_IPINIP_CFG_INFO: u32 = 4294901772u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_MCAST_BOUNDARY_INFO: u32 = 4294901771u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_MCAST_HEARBEAT_INFO: u32 = 4294901770u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_MCAST_LIMIT_INFO: u32 = 4294901774u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_MEDIA_CONNECT: u32 = 11024u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_MEDIA_DISCONNECT: u32 = 11025u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_MTU_CHANGE: u32 = 11021u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_NEGOTIATING_IPSEC: u32 = 11032u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_NETROW: u32 = 10u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_NETTABLE: u32 = 9u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_NO_RESOURCES: u32 = 11006u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_OPTION_TOO_BIG: u32 = 11017u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_OUT_FILTER_INFO: u32 = 4294901762u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_OUT_FILTER_INFO_V6: u32 = 4294901778u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_PACKET_TOO_BIG: u32 = 11009u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_PARAMETER_PROBLEM: u32 = 11015u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_PARAM_PROBLEM: u32 = 11015u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_PENDING: u32 = 11255u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_PROT_PRIORITY_INFO: u32 = 4294901766u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_PROT_PRIORITY_INFO_EX: u32 = 4294901783u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_REASSEMBLY_TIME_EXCEEDED: u32 = 11014u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_RECONFIG_SECFLTR: u32 = 11031u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_REQ_TIMED_OUT: u32 = 11010u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ROUTER_DISC_INFO: u32 = 4294901767u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ROUTER_MANAGER_VERSION: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_ROUTE_INFO: u32 = 4294901765u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_SOURCE_QUENCH: u32 = 11016u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_SPEC_MTU_CHANGE: u32 = 11020u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_STATS: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_STATUS_BASE: u32 = 11000u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_SUCCESS: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_TIME_EXCEEDED: u32 = 11041u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_TTL_EXPIRED_REASSEM: u32 = 11014u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_TTL_EXPIRED_TRANSIT: u32 = 11013u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_UNBIND_ADAPTER: u32 = 11027u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_UNLOAD: u32 = 11022u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IP_UNRECOGNIZED_NEXT_HEADER: u32 = 11043u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const LB_DST_ADDR_USE_DSTADDR_FLAG: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const LB_DST_ADDR_USE_SRCADDR_FLAG: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const LB_DST_MASK_LATE_FLAG: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const LB_SRC_ADDR_USE_DSTADDR_FLAG: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const LB_SRC_ADDR_USE_SRCADDR_FLAG: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const LB_SRC_MASK_LATE_FLAG: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAXLEN_IFDESCR: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAXLEN_PHYSADDR: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAX_ADAPTER_ADDRESS_LENGTH: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAX_ADAPTER_DESCRIPTION_LENGTH: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAX_ADAPTER_NAME: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAX_ADAPTER_NAME_LENGTH: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAX_DHCPV6_DUID_LENGTH: u32 = 130u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAX_DNS_SUFFIX_STRING_LENGTH: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAX_DOMAIN_NAME_LEN: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAX_HOSTNAME_LEN: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAX_IF_TYPE: u32 = 281u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAX_INTERFACE_NAME_LEN: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAX_IP_STATUS: u32 = 11050u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAX_MIB_OFFSET: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAX_OPT_SIZE: u32 = 40u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAX_SCOPE_ID_LEN: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MAX_SCOPE_NAME_LEN: u32 = 255u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MCAST_BOUNDARY: u32 = 26u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MCAST_GLOBAL: u32 = 24u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MCAST_IF_ENTRY: u32 = 23u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MCAST_MFE: u32 = 18u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MCAST_MFE_STATS: u32 = 19u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MCAST_MFE_STATS_EX: u32 = 35u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MCAST_SCOPE: u32 = 27u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IF_ADMIN_STATUS_DOWN: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IF_ADMIN_STATUS_TESTING: u32 = 3u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IF_ADMIN_STATUS_UP: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IF_TYPE_ETHERNET: u32 = 6u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IF_TYPE_FDDI: u32 = 15u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IF_TYPE_LOOPBACK: u32 = 24u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IF_TYPE_OTHER: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IF_TYPE_PPP: u32 = 23u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IF_TYPE_SLIP: u32 = 28u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IF_TYPE_TOKENRING: u32 = 9u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_INVALID_TEREDO_PORT_NUMBER: u32 = 0u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IPADDR_DELETED: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IPADDR_DISCONNECTED: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IPADDR_DNS_ELIGIBLE: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IPADDR_DYNAMIC: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IPADDR_PRIMARY: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IPADDR_TRANSIENT: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IPROUTE_METRIC_UNUSED: u32 = 4294967295u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_USE_CURRENT_FORWARDING: u32 = 4294967295u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_USE_CURRENT_TTL: u32 = 4294967295u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIN_IF_TYPE: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIXED_NODETYPE: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const NET_STRING_IPV4_ADDRESS: u32 = 1u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const NET_STRING_IPV4_NETWORK: u32 = 4u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const NET_STRING_IPV4_SERVICE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const NET_STRING_IPV6_ADDRESS: u32 = 8u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const NET_STRING_IPV6_ADDRESS_NO_SCOPE: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const NET_STRING_IPV6_NETWORK: u32 = 128u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const NET_STRING_IPV6_SERVICE: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const NET_STRING_IPV6_SERVICE_NO_SCOPE: u32 = 64u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const NET_STRING_NAMED_ADDRESS: u32 = 256u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const NET_STRING_NAMED_SERVICE: u32 = 512u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const NUMBER_OF_EXPORTED_VARIABLES: u32 = 39u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const PEER_TO_PEER_NODETYPE: u32 = 2u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const PFERROR_BUFFER_TOO_SMALL: u32 = 23002u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const PFERROR_NO_FILTERS_GIVEN: u32 = 23001u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const PFERROR_NO_PF_INTERFACE: u32 = 23000u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const PROXY_ARP: u32 = 22u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ROUTE_LONGER: u32 = 32u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ROUTE_MATCHING: u32 = 31u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ROUTE_SHORTER: u32 = 33u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ROUTE_STATE: u32 = 34u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TCP6_STATS: u32 = 38u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TCPIP_OWNING_MODULE_SIZE: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TCP_ROW: u32 = 14u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TCP_STATS: u32 = 12u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TCP_TABLE: u32 = 13u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const UDP6_STATS: u32 = 37u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const UDP_ROW: u32 = 17u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const UDP_STATS: u32 = 15u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const UDP_TABLE: u32 = 16u32; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct DNS_SERVER_PROPERTY_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DnsServerInvalidProperty: DNS_SERVER_PROPERTY_TYPE = DNS_SERVER_PROPERTY_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const DnsServerDohProperty: DNS_SERVER_PROPERTY_TYPE = DNS_SERVER_PROPERTY_TYPE(1i32); |
| impl ::core::marker::Copy for DNS_SERVER_PROPERTY_TYPE {} |
| impl ::core::clone::Clone for DNS_SERVER_PROPERTY_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for DNS_SERVER_PROPERTY_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for DNS_SERVER_PROPERTY_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for DNS_SERVER_PROPERTY_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("DNS_SERVER_PROPERTY_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct GET_ADAPTERS_ADDRESSES_FLAGS(pub u32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const GAA_FLAG_SKIP_UNICAST: GET_ADAPTERS_ADDRESSES_FLAGS = GET_ADAPTERS_ADDRESSES_FLAGS(1u32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const GAA_FLAG_SKIP_ANYCAST: GET_ADAPTERS_ADDRESSES_FLAGS = GET_ADAPTERS_ADDRESSES_FLAGS(2u32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const GAA_FLAG_SKIP_MULTICAST: GET_ADAPTERS_ADDRESSES_FLAGS = GET_ADAPTERS_ADDRESSES_FLAGS(4u32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const GAA_FLAG_SKIP_DNS_SERVER: GET_ADAPTERS_ADDRESSES_FLAGS = GET_ADAPTERS_ADDRESSES_FLAGS(8u32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const GAA_FLAG_INCLUDE_PREFIX: GET_ADAPTERS_ADDRESSES_FLAGS = GET_ADAPTERS_ADDRESSES_FLAGS(16u32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const GAA_FLAG_SKIP_FRIENDLY_NAME: GET_ADAPTERS_ADDRESSES_FLAGS = GET_ADAPTERS_ADDRESSES_FLAGS(32u32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const GAA_FLAG_INCLUDE_WINS_INFO: GET_ADAPTERS_ADDRESSES_FLAGS = GET_ADAPTERS_ADDRESSES_FLAGS(64u32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const GAA_FLAG_INCLUDE_GATEWAYS: GET_ADAPTERS_ADDRESSES_FLAGS = GET_ADAPTERS_ADDRESSES_FLAGS(128u32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const GAA_FLAG_INCLUDE_ALL_INTERFACES: GET_ADAPTERS_ADDRESSES_FLAGS = GET_ADAPTERS_ADDRESSES_FLAGS(256u32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const GAA_FLAG_INCLUDE_ALL_COMPARTMENTS: GET_ADAPTERS_ADDRESSES_FLAGS = GET_ADAPTERS_ADDRESSES_FLAGS(512u32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const GAA_FLAG_INCLUDE_TUNNEL_BINDINGORDER: GET_ADAPTERS_ADDRESSES_FLAGS = GET_ADAPTERS_ADDRESSES_FLAGS(1024u32); |
| impl ::core::marker::Copy for GET_ADAPTERS_ADDRESSES_FLAGS {} |
| impl ::core::clone::Clone for GET_ADAPTERS_ADDRESSES_FLAGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for GET_ADAPTERS_ADDRESSES_FLAGS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for GET_ADAPTERS_ADDRESSES_FLAGS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for GET_ADAPTERS_ADDRESSES_FLAGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("GET_ADAPTERS_ADDRESSES_FLAGS").field(&self.0).finish() |
| } |
| } |
| impl GET_ADAPTERS_ADDRESSES_FLAGS { |
| pub const fn contains(&self, other: Self) -> bool { |
| self.0 & other.0 == other.0 |
| } |
| } |
| impl ::core::ops::BitOr for GET_ADAPTERS_ADDRESSES_FLAGS { |
| type Output = Self; |
| fn bitor(self, other: Self) -> Self { |
| Self(self.0 | other.0) |
| } |
| } |
| impl ::core::ops::BitAnd for GET_ADAPTERS_ADDRESSES_FLAGS { |
| type Output = Self; |
| fn bitand(self, other: Self) -> Self { |
| Self(self.0 & other.0) |
| } |
| } |
| impl ::core::ops::BitOrAssign for GET_ADAPTERS_ADDRESSES_FLAGS { |
| fn bitor_assign(&mut self, other: Self) { |
| self.0.bitor_assign(other.0) |
| } |
| } |
| impl ::core::ops::BitAndAssign for GET_ADAPTERS_ADDRESSES_FLAGS { |
| fn bitand_assign(&mut self, other: Self) { |
| self.0.bitand_assign(other.0) |
| } |
| } |
| impl ::core::ops::Not for GET_ADAPTERS_ADDRESSES_FLAGS { |
| type Output = Self; |
| fn not(self) -> Self { |
| Self(self.0.not()) |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct GLOBAL_FILTER(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const GF_FRAGMENTS: GLOBAL_FILTER = GLOBAL_FILTER(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const GF_STRONGHOST: GLOBAL_FILTER = GLOBAL_FILTER(8i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const GF_FRAGCACHE: GLOBAL_FILTER = GLOBAL_FILTER(9i32); |
| impl ::core::marker::Copy for GLOBAL_FILTER {} |
| impl ::core::clone::Clone for GLOBAL_FILTER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for GLOBAL_FILTER { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for GLOBAL_FILTER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for GLOBAL_FILTER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("GLOBAL_FILTER").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct ICMP4_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP4_ECHO_REPLY: ICMP4_TYPE = ICMP4_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP4_DST_UNREACH: ICMP4_TYPE = ICMP4_TYPE(3i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP4_SOURCE_QUENCH: ICMP4_TYPE = ICMP4_TYPE(4i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP4_REDIRECT: ICMP4_TYPE = ICMP4_TYPE(5i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP4_ECHO_REQUEST: ICMP4_TYPE = ICMP4_TYPE(8i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP4_ROUTER_ADVERT: ICMP4_TYPE = ICMP4_TYPE(9i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP4_ROUTER_SOLICIT: ICMP4_TYPE = ICMP4_TYPE(10i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP4_TIME_EXCEEDED: ICMP4_TYPE = ICMP4_TYPE(11i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP4_PARAM_PROB: ICMP4_TYPE = ICMP4_TYPE(12i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP4_TIMESTAMP_REQUEST: ICMP4_TYPE = ICMP4_TYPE(13i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP4_TIMESTAMP_REPLY: ICMP4_TYPE = ICMP4_TYPE(14i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP4_MASK_REQUEST: ICMP4_TYPE = ICMP4_TYPE(17i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP4_MASK_REPLY: ICMP4_TYPE = ICMP4_TYPE(18i32); |
| impl ::core::marker::Copy for ICMP4_TYPE {} |
| impl ::core::clone::Clone for ICMP4_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for ICMP4_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for ICMP4_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for ICMP4_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ICMP4_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct ICMP6_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP6_DST_UNREACH: ICMP6_TYPE = ICMP6_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP6_PACKET_TOO_BIG: ICMP6_TYPE = ICMP6_TYPE(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP6_TIME_EXCEEDED: ICMP6_TYPE = ICMP6_TYPE(3i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP6_PARAM_PROB: ICMP6_TYPE = ICMP6_TYPE(4i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP6_ECHO_REQUEST: ICMP6_TYPE = ICMP6_TYPE(128i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP6_ECHO_REPLY: ICMP6_TYPE = ICMP6_TYPE(129i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP6_MEMBERSHIP_QUERY: ICMP6_TYPE = ICMP6_TYPE(130i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP6_MEMBERSHIP_REPORT: ICMP6_TYPE = ICMP6_TYPE(131i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP6_MEMBERSHIP_REDUCTION: ICMP6_TYPE = ICMP6_TYPE(132i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ND_ROUTER_SOLICIT: ICMP6_TYPE = ICMP6_TYPE(133i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ND_ROUTER_ADVERT: ICMP6_TYPE = ICMP6_TYPE(134i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ND_NEIGHBOR_SOLICIT: ICMP6_TYPE = ICMP6_TYPE(135i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ND_NEIGHBOR_ADVERT: ICMP6_TYPE = ICMP6_TYPE(136i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ND_REDIRECT: ICMP6_TYPE = ICMP6_TYPE(137i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const ICMP6_V2_MEMBERSHIP_REPORT: ICMP6_TYPE = ICMP6_TYPE(143i32); |
| impl ::core::marker::Copy for ICMP6_TYPE {} |
| impl ::core::clone::Clone for ICMP6_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for ICMP6_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for ICMP6_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for ICMP6_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("ICMP6_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct IF_ACCESS_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_ACCESS_LOOPBACK: IF_ACCESS_TYPE = IF_ACCESS_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_ACCESS_BROADCAST: IF_ACCESS_TYPE = IF_ACCESS_TYPE(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_ACCESS_POINT_TO_POINT: IF_ACCESS_TYPE = IF_ACCESS_TYPE(3i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_ACCESS_POINTTOPOINT: IF_ACCESS_TYPE = IF_ACCESS_TYPE(3i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_ACCESS_POINT_TO_MULTI_POINT: IF_ACCESS_TYPE = IF_ACCESS_TYPE(4i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_ACCESS_POINTTOMULTIPOINT: IF_ACCESS_TYPE = IF_ACCESS_TYPE(4i32); |
| impl ::core::marker::Copy for IF_ACCESS_TYPE {} |
| impl ::core::clone::Clone for IF_ACCESS_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for IF_ACCESS_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for IF_ACCESS_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for IF_ACCESS_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("IF_ACCESS_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct INTERNAL_IF_OPER_STATUS(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_OPER_STATUS_NON_OPERATIONAL: INTERNAL_IF_OPER_STATUS = INTERNAL_IF_OPER_STATUS(0i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_OPER_STATUS_UNREACHABLE: INTERNAL_IF_OPER_STATUS = INTERNAL_IF_OPER_STATUS(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_OPER_STATUS_DISCONNECTED: INTERNAL_IF_OPER_STATUS = INTERNAL_IF_OPER_STATUS(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_OPER_STATUS_CONNECTING: INTERNAL_IF_OPER_STATUS = INTERNAL_IF_OPER_STATUS(3i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_OPER_STATUS_CONNECTED: INTERNAL_IF_OPER_STATUS = INTERNAL_IF_OPER_STATUS(4i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const IF_OPER_STATUS_OPERATIONAL: INTERNAL_IF_OPER_STATUS = INTERNAL_IF_OPER_STATUS(5i32); |
| impl ::core::marker::Copy for INTERNAL_IF_OPER_STATUS {} |
| impl ::core::clone::Clone for INTERNAL_IF_OPER_STATUS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for INTERNAL_IF_OPER_STATUS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for INTERNAL_IF_OPER_STATUS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for INTERNAL_IF_OPER_STATUS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("INTERNAL_IF_OPER_STATUS").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct MIB_IF_ENTRY_LEVEL(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MibIfEntryNormal: MIB_IF_ENTRY_LEVEL = MIB_IF_ENTRY_LEVEL(0i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MibIfEntryNormalWithoutStatistics: MIB_IF_ENTRY_LEVEL = MIB_IF_ENTRY_LEVEL(2i32); |
| impl ::core::marker::Copy for MIB_IF_ENTRY_LEVEL {} |
| impl ::core::clone::Clone for MIB_IF_ENTRY_LEVEL { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for MIB_IF_ENTRY_LEVEL { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IF_ENTRY_LEVEL { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for MIB_IF_ENTRY_LEVEL { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("MIB_IF_ENTRY_LEVEL").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct MIB_IF_TABLE_LEVEL(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MibIfTableNormal: MIB_IF_TABLE_LEVEL = MIB_IF_TABLE_LEVEL(0i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MibIfTableRaw: MIB_IF_TABLE_LEVEL = MIB_IF_TABLE_LEVEL(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MibIfTableNormalWithoutStatistics: MIB_IF_TABLE_LEVEL = MIB_IF_TABLE_LEVEL(2i32); |
| impl ::core::marker::Copy for MIB_IF_TABLE_LEVEL {} |
| impl ::core::clone::Clone for MIB_IF_TABLE_LEVEL { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for MIB_IF_TABLE_LEVEL { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IF_TABLE_LEVEL { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for MIB_IF_TABLE_LEVEL { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("MIB_IF_TABLE_LEVEL").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct MIB_IPFORWARD_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IPROUTE_TYPE_OTHER: MIB_IPFORWARD_TYPE = MIB_IPFORWARD_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IPROUTE_TYPE_INVALID: MIB_IPFORWARD_TYPE = MIB_IPFORWARD_TYPE(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IPROUTE_TYPE_DIRECT: MIB_IPFORWARD_TYPE = MIB_IPFORWARD_TYPE(3i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IPROUTE_TYPE_INDIRECT: MIB_IPFORWARD_TYPE = MIB_IPFORWARD_TYPE(4i32); |
| impl ::core::marker::Copy for MIB_IPFORWARD_TYPE {} |
| impl ::core::clone::Clone for MIB_IPFORWARD_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for MIB_IPFORWARD_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPFORWARD_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for MIB_IPFORWARD_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("MIB_IPFORWARD_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct MIB_IPNET_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IPNET_TYPE_OTHER: MIB_IPNET_TYPE = MIB_IPNET_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IPNET_TYPE_INVALID: MIB_IPNET_TYPE = MIB_IPNET_TYPE(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IPNET_TYPE_DYNAMIC: MIB_IPNET_TYPE = MIB_IPNET_TYPE(3i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IPNET_TYPE_STATIC: MIB_IPNET_TYPE = MIB_IPNET_TYPE(4i32); |
| impl ::core::marker::Copy for MIB_IPNET_TYPE {} |
| impl ::core::clone::Clone for MIB_IPNET_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for MIB_IPNET_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPNET_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for MIB_IPNET_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("MIB_IPNET_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct MIB_IPSTATS_FORWARDING(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IP_FORWARDING: MIB_IPSTATS_FORWARDING = MIB_IPSTATS_FORWARDING(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_IP_NOT_FORWARDING: MIB_IPSTATS_FORWARDING = MIB_IPSTATS_FORWARDING(2i32); |
| impl ::core::marker::Copy for MIB_IPSTATS_FORWARDING {} |
| impl ::core::clone::Clone for MIB_IPSTATS_FORWARDING { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for MIB_IPSTATS_FORWARDING { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPSTATS_FORWARDING { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for MIB_IPSTATS_FORWARDING { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("MIB_IPSTATS_FORWARDING").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct MIB_NOTIFICATION_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MibParameterNotification: MIB_NOTIFICATION_TYPE = MIB_NOTIFICATION_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MibAddInstance: MIB_NOTIFICATION_TYPE = MIB_NOTIFICATION_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MibDeleteInstance: MIB_NOTIFICATION_TYPE = MIB_NOTIFICATION_TYPE(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MibInitialNotification: MIB_NOTIFICATION_TYPE = MIB_NOTIFICATION_TYPE(3i32); |
| impl ::core::marker::Copy for MIB_NOTIFICATION_TYPE {} |
| impl ::core::clone::Clone for MIB_NOTIFICATION_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for MIB_NOTIFICATION_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_NOTIFICATION_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for MIB_NOTIFICATION_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("MIB_NOTIFICATION_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct MIB_TCP_STATE(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_STATE_CLOSED: MIB_TCP_STATE = MIB_TCP_STATE(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_STATE_LISTEN: MIB_TCP_STATE = MIB_TCP_STATE(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_STATE_SYN_SENT: MIB_TCP_STATE = MIB_TCP_STATE(3i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_STATE_SYN_RCVD: MIB_TCP_STATE = MIB_TCP_STATE(4i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_STATE_ESTAB: MIB_TCP_STATE = MIB_TCP_STATE(5i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_STATE_FIN_WAIT1: MIB_TCP_STATE = MIB_TCP_STATE(6i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_STATE_FIN_WAIT2: MIB_TCP_STATE = MIB_TCP_STATE(7i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_STATE_CLOSE_WAIT: MIB_TCP_STATE = MIB_TCP_STATE(8i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_STATE_CLOSING: MIB_TCP_STATE = MIB_TCP_STATE(9i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_STATE_LAST_ACK: MIB_TCP_STATE = MIB_TCP_STATE(10i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_STATE_TIME_WAIT: MIB_TCP_STATE = MIB_TCP_STATE(11i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_STATE_DELETE_TCB: MIB_TCP_STATE = MIB_TCP_STATE(12i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_STATE_RESERVED: MIB_TCP_STATE = MIB_TCP_STATE(100i32); |
| impl ::core::marker::Copy for MIB_TCP_STATE {} |
| impl ::core::clone::Clone for MIB_TCP_STATE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for MIB_TCP_STATE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCP_STATE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for MIB_TCP_STATE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("MIB_TCP_STATE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct NET_ADDRESS_FORMAT(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const NET_ADDRESS_FORMAT_UNSPECIFIED: NET_ADDRESS_FORMAT = NET_ADDRESS_FORMAT(0i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const NET_ADDRESS_DNS_NAME: NET_ADDRESS_FORMAT = NET_ADDRESS_FORMAT(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const NET_ADDRESS_IPV4: NET_ADDRESS_FORMAT = NET_ADDRESS_FORMAT(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const NET_ADDRESS_IPV6: NET_ADDRESS_FORMAT = NET_ADDRESS_FORMAT(3i32); |
| impl ::core::marker::Copy for NET_ADDRESS_FORMAT {} |
| impl ::core::clone::Clone for NET_ADDRESS_FORMAT { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for NET_ADDRESS_FORMAT { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for NET_ADDRESS_FORMAT { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for NET_ADDRESS_FORMAT { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("NET_ADDRESS_FORMAT").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PFADDRESSTYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const PF_IPV4: PFADDRESSTYPE = PFADDRESSTYPE(0i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const PF_IPV6: PFADDRESSTYPE = PFADDRESSTYPE(1i32); |
| impl ::core::marker::Copy for PFADDRESSTYPE {} |
| impl ::core::clone::Clone for PFADDRESSTYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PFADDRESSTYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for PFADDRESSTYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for PFADDRESSTYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PFADDRESSTYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PFFORWARD_ACTION(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const PF_ACTION_FORWARD: PFFORWARD_ACTION = PFFORWARD_ACTION(0i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const PF_ACTION_DROP: PFFORWARD_ACTION = PFFORWARD_ACTION(1i32); |
| impl ::core::marker::Copy for PFFORWARD_ACTION {} |
| impl ::core::clone::Clone for PFFORWARD_ACTION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PFFORWARD_ACTION { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for PFFORWARD_ACTION { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for PFFORWARD_ACTION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PFFORWARD_ACTION").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct PFFRAMETYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const PFFT_FILTER: PFFRAMETYPE = PFFRAMETYPE(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const PFFT_FRAG: PFFRAMETYPE = PFFRAMETYPE(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const PFFT_SPOOF: PFFRAMETYPE = PFFRAMETYPE(3i32); |
| impl ::core::marker::Copy for PFFRAMETYPE {} |
| impl ::core::clone::Clone for PFFRAMETYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for PFFRAMETYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for PFFRAMETYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for PFFRAMETYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("PFFRAMETYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct TCPIP_OWNER_MODULE_INFO_CLASS(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TCPIP_OWNER_MODULE_INFO_BASIC: TCPIP_OWNER_MODULE_INFO_CLASS = TCPIP_OWNER_MODULE_INFO_CLASS(0i32); |
| impl ::core::marker::Copy for TCPIP_OWNER_MODULE_INFO_CLASS {} |
| impl ::core::clone::Clone for TCPIP_OWNER_MODULE_INFO_CLASS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for TCPIP_OWNER_MODULE_INFO_CLASS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for TCPIP_OWNER_MODULE_INFO_CLASS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for TCPIP_OWNER_MODULE_INFO_CLASS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("TCPIP_OWNER_MODULE_INFO_CLASS").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct TCP_BOOLEAN_OPTIONAL(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpBoolOptDisabled: TCP_BOOLEAN_OPTIONAL = TCP_BOOLEAN_OPTIONAL(0i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpBoolOptEnabled: TCP_BOOLEAN_OPTIONAL = TCP_BOOLEAN_OPTIONAL(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpBoolOptUnchanged: TCP_BOOLEAN_OPTIONAL = TCP_BOOLEAN_OPTIONAL(-1i32); |
| impl ::core::marker::Copy for TCP_BOOLEAN_OPTIONAL {} |
| impl ::core::clone::Clone for TCP_BOOLEAN_OPTIONAL { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for TCP_BOOLEAN_OPTIONAL { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_BOOLEAN_OPTIONAL { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for TCP_BOOLEAN_OPTIONAL { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("TCP_BOOLEAN_OPTIONAL").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct TCP_CONNECTION_OFFLOAD_STATE(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpConnectionOffloadStateInHost: TCP_CONNECTION_OFFLOAD_STATE = TCP_CONNECTION_OFFLOAD_STATE(0i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpConnectionOffloadStateOffloading: TCP_CONNECTION_OFFLOAD_STATE = TCP_CONNECTION_OFFLOAD_STATE(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpConnectionOffloadStateOffloaded: TCP_CONNECTION_OFFLOAD_STATE = TCP_CONNECTION_OFFLOAD_STATE(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpConnectionOffloadStateUploading: TCP_CONNECTION_OFFLOAD_STATE = TCP_CONNECTION_OFFLOAD_STATE(3i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpConnectionOffloadStateMax: TCP_CONNECTION_OFFLOAD_STATE = TCP_CONNECTION_OFFLOAD_STATE(4i32); |
| impl ::core::marker::Copy for TCP_CONNECTION_OFFLOAD_STATE {} |
| impl ::core::clone::Clone for TCP_CONNECTION_OFFLOAD_STATE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for TCP_CONNECTION_OFFLOAD_STATE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_CONNECTION_OFFLOAD_STATE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for TCP_CONNECTION_OFFLOAD_STATE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("TCP_CONNECTION_OFFLOAD_STATE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct TCP_ESTATS_TYPE(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpConnectionEstatsSynOpts: TCP_ESTATS_TYPE = TCP_ESTATS_TYPE(0i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpConnectionEstatsData: TCP_ESTATS_TYPE = TCP_ESTATS_TYPE(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpConnectionEstatsSndCong: TCP_ESTATS_TYPE = TCP_ESTATS_TYPE(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpConnectionEstatsPath: TCP_ESTATS_TYPE = TCP_ESTATS_TYPE(3i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpConnectionEstatsSendBuff: TCP_ESTATS_TYPE = TCP_ESTATS_TYPE(4i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpConnectionEstatsRec: TCP_ESTATS_TYPE = TCP_ESTATS_TYPE(5i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpConnectionEstatsObsRec: TCP_ESTATS_TYPE = TCP_ESTATS_TYPE(6i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpConnectionEstatsBandwidth: TCP_ESTATS_TYPE = TCP_ESTATS_TYPE(7i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpConnectionEstatsFineRtt: TCP_ESTATS_TYPE = TCP_ESTATS_TYPE(8i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpConnectionEstatsMaximum: TCP_ESTATS_TYPE = TCP_ESTATS_TYPE(9i32); |
| impl ::core::marker::Copy for TCP_ESTATS_TYPE {} |
| impl ::core::clone::Clone for TCP_ESTATS_TYPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for TCP_ESTATS_TYPE { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_ESTATS_TYPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for TCP_ESTATS_TYPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("TCP_ESTATS_TYPE").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct TCP_RTO_ALGORITHM(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpRtoAlgorithmOther: TCP_RTO_ALGORITHM = TCP_RTO_ALGORITHM(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpRtoAlgorithmConstant: TCP_RTO_ALGORITHM = TCP_RTO_ALGORITHM(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpRtoAlgorithmRsre: TCP_RTO_ALGORITHM = TCP_RTO_ALGORITHM(3i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpRtoAlgorithmVanj: TCP_RTO_ALGORITHM = TCP_RTO_ALGORITHM(4i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_RTO_OTHER: TCP_RTO_ALGORITHM = TCP_RTO_ALGORITHM(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_RTO_CONSTANT: TCP_RTO_ALGORITHM = TCP_RTO_ALGORITHM(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_RTO_RSRE: TCP_RTO_ALGORITHM = TCP_RTO_ALGORITHM(3i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const MIB_TCP_RTO_VANJ: TCP_RTO_ALGORITHM = TCP_RTO_ALGORITHM(4i32); |
| impl ::core::marker::Copy for TCP_RTO_ALGORITHM {} |
| impl ::core::clone::Clone for TCP_RTO_ALGORITHM { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for TCP_RTO_ALGORITHM { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_RTO_ALGORITHM { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for TCP_RTO_ALGORITHM { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("TCP_RTO_ALGORITHM").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct TCP_SOFT_ERROR(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpErrorNone: TCP_SOFT_ERROR = TCP_SOFT_ERROR(0i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpErrorBelowDataWindow: TCP_SOFT_ERROR = TCP_SOFT_ERROR(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpErrorAboveDataWindow: TCP_SOFT_ERROR = TCP_SOFT_ERROR(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpErrorBelowAckWindow: TCP_SOFT_ERROR = TCP_SOFT_ERROR(3i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpErrorAboveAckWindow: TCP_SOFT_ERROR = TCP_SOFT_ERROR(4i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpErrorBelowTsWindow: TCP_SOFT_ERROR = TCP_SOFT_ERROR(5i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpErrorAboveTsWindow: TCP_SOFT_ERROR = TCP_SOFT_ERROR(6i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpErrorDataChecksumError: TCP_SOFT_ERROR = TCP_SOFT_ERROR(7i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpErrorDataLengthError: TCP_SOFT_ERROR = TCP_SOFT_ERROR(8i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TcpErrorMaxSoftError: TCP_SOFT_ERROR = TCP_SOFT_ERROR(9i32); |
| impl ::core::marker::Copy for TCP_SOFT_ERROR {} |
| impl ::core::clone::Clone for TCP_SOFT_ERROR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for TCP_SOFT_ERROR { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_SOFT_ERROR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for TCP_SOFT_ERROR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("TCP_SOFT_ERROR").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct TCP_TABLE_CLASS(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TCP_TABLE_BASIC_LISTENER: TCP_TABLE_CLASS = TCP_TABLE_CLASS(0i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TCP_TABLE_BASIC_CONNECTIONS: TCP_TABLE_CLASS = TCP_TABLE_CLASS(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TCP_TABLE_BASIC_ALL: TCP_TABLE_CLASS = TCP_TABLE_CLASS(2i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TCP_TABLE_OWNER_PID_LISTENER: TCP_TABLE_CLASS = TCP_TABLE_CLASS(3i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TCP_TABLE_OWNER_PID_CONNECTIONS: TCP_TABLE_CLASS = TCP_TABLE_CLASS(4i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TCP_TABLE_OWNER_PID_ALL: TCP_TABLE_CLASS = TCP_TABLE_CLASS(5i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TCP_TABLE_OWNER_MODULE_LISTENER: TCP_TABLE_CLASS = TCP_TABLE_CLASS(6i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TCP_TABLE_OWNER_MODULE_CONNECTIONS: TCP_TABLE_CLASS = TCP_TABLE_CLASS(7i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const TCP_TABLE_OWNER_MODULE_ALL: TCP_TABLE_CLASS = TCP_TABLE_CLASS(8i32); |
| impl ::core::marker::Copy for TCP_TABLE_CLASS {} |
| impl ::core::clone::Clone for TCP_TABLE_CLASS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for TCP_TABLE_CLASS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_TABLE_CLASS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for TCP_TABLE_CLASS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("TCP_TABLE_CLASS").field(&self.0).finish() |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct UDP_TABLE_CLASS(pub i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const UDP_TABLE_BASIC: UDP_TABLE_CLASS = UDP_TABLE_CLASS(0i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const UDP_TABLE_OWNER_PID: UDP_TABLE_CLASS = UDP_TABLE_CLASS(1i32); |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub const UDP_TABLE_OWNER_MODULE: UDP_TABLE_CLASS = UDP_TABLE_CLASS(2i32); |
| impl ::core::marker::Copy for UDP_TABLE_CLASS {} |
| impl ::core::clone::Clone for UDP_TABLE_CLASS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::default::Default for UDP_TABLE_CLASS { |
| fn default() -> Self { |
| Self(0) |
| } |
| } |
| impl ::windows::core::TypeKind for UDP_TABLE_CLASS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::fmt::Debug for UDP_TABLE_CLASS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("UDP_TABLE_CLASS").field(&self.0).finish() |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct ARP_SEND_REPLY { |
| pub DestAddress: u32, |
| pub SrcAddress: u32, |
| } |
| impl ::core::marker::Copy for ARP_SEND_REPLY {} |
| impl ::core::clone::Clone for ARP_SEND_REPLY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ARP_SEND_REPLY { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ARP_SEND_REPLY").field("DestAddress", &self.DestAddress).field("SrcAddress", &self.SrcAddress).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ARP_SEND_REPLY { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ARP_SEND_REPLY { |
| fn eq(&self, other: &Self) -> bool { |
| self.DestAddress == other.DestAddress && self.SrcAddress == other.SrcAddress |
| } |
| } |
| impl ::core::cmp::Eq for ARP_SEND_REPLY {} |
| impl ::core::default::Default for ARP_SEND_REPLY { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct DNS_DOH_SERVER_SETTINGS { |
| pub Template: ::windows::core::PWSTR, |
| pub Flags: u64, |
| } |
| impl ::core::marker::Copy for DNS_DOH_SERVER_SETTINGS {} |
| impl ::core::clone::Clone for DNS_DOH_SERVER_SETTINGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for DNS_DOH_SERVER_SETTINGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DNS_DOH_SERVER_SETTINGS").field("Template", &self.Template).field("Flags", &self.Flags).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for DNS_DOH_SERVER_SETTINGS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for DNS_DOH_SERVER_SETTINGS { |
| fn eq(&self, other: &Self) -> bool { |
| self.Template == other.Template && self.Flags == other.Flags |
| } |
| } |
| impl ::core::cmp::Eq for DNS_DOH_SERVER_SETTINGS {} |
| impl ::core::default::Default for DNS_DOH_SERVER_SETTINGS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct DNS_INTERFACE_SETTINGS { |
| pub Version: u32, |
| pub Flags: u64, |
| pub Domain: ::windows::core::PWSTR, |
| pub NameServer: ::windows::core::PWSTR, |
| pub SearchList: ::windows::core::PWSTR, |
| pub RegistrationEnabled: u32, |
| pub RegisterAdapterName: u32, |
| pub EnableLLMNR: u32, |
| pub QueryAdapterName: u32, |
| pub ProfileNameServer: ::windows::core::PWSTR, |
| } |
| impl ::core::marker::Copy for DNS_INTERFACE_SETTINGS {} |
| impl ::core::clone::Clone for DNS_INTERFACE_SETTINGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for DNS_INTERFACE_SETTINGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DNS_INTERFACE_SETTINGS").field("Version", &self.Version).field("Flags", &self.Flags).field("Domain", &self.Domain).field("NameServer", &self.NameServer).field("SearchList", &self.SearchList).field("RegistrationEnabled", &self.RegistrationEnabled).field("RegisterAdapterName", &self.RegisterAdapterName).field("EnableLLMNR", &self.EnableLLMNR).field("QueryAdapterName", &self.QueryAdapterName).field("ProfileNameServer", &self.ProfileNameServer).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for DNS_INTERFACE_SETTINGS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for DNS_INTERFACE_SETTINGS { |
| fn eq(&self, other: &Self) -> bool { |
| self.Version == other.Version && self.Flags == other.Flags && self.Domain == other.Domain && self.NameServer == other.NameServer && self.SearchList == other.SearchList && self.RegistrationEnabled == other.RegistrationEnabled && self.RegisterAdapterName == other.RegisterAdapterName && self.EnableLLMNR == other.EnableLLMNR && self.QueryAdapterName == other.QueryAdapterName && self.ProfileNameServer == other.ProfileNameServer |
| } |
| } |
| impl ::core::cmp::Eq for DNS_INTERFACE_SETTINGS {} |
| impl ::core::default::Default for DNS_INTERFACE_SETTINGS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct DNS_INTERFACE_SETTINGS3 { |
| pub Version: u32, |
| pub Flags: u64, |
| pub Domain: ::windows::core::PWSTR, |
| pub NameServer: ::windows::core::PWSTR, |
| pub SearchList: ::windows::core::PWSTR, |
| pub RegistrationEnabled: u32, |
| pub RegisterAdapterName: u32, |
| pub EnableLLMNR: u32, |
| pub QueryAdapterName: u32, |
| pub ProfileNameServer: ::windows::core::PWSTR, |
| pub DisableUnconstrainedQueries: u32, |
| pub SupplementalSearchList: ::windows::core::PWSTR, |
| pub cServerProperties: u32, |
| pub ServerProperties: *mut DNS_SERVER_PROPERTY, |
| pub cProfileServerProperties: u32, |
| pub ProfileServerProperties: *mut DNS_SERVER_PROPERTY, |
| } |
| impl ::core::marker::Copy for DNS_INTERFACE_SETTINGS3 {} |
| impl ::core::clone::Clone for DNS_INTERFACE_SETTINGS3 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for DNS_INTERFACE_SETTINGS3 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DNS_INTERFACE_SETTINGS3") |
| .field("Version", &self.Version) |
| .field("Flags", &self.Flags) |
| .field("Domain", &self.Domain) |
| .field("NameServer", &self.NameServer) |
| .field("SearchList", &self.SearchList) |
| .field("RegistrationEnabled", &self.RegistrationEnabled) |
| .field("RegisterAdapterName", &self.RegisterAdapterName) |
| .field("EnableLLMNR", &self.EnableLLMNR) |
| .field("QueryAdapterName", &self.QueryAdapterName) |
| .field("ProfileNameServer", &self.ProfileNameServer) |
| .field("DisableUnconstrainedQueries", &self.DisableUnconstrainedQueries) |
| .field("SupplementalSearchList", &self.SupplementalSearchList) |
| .field("cServerProperties", &self.cServerProperties) |
| .field("ServerProperties", &self.ServerProperties) |
| .field("cProfileServerProperties", &self.cProfileServerProperties) |
| .field("ProfileServerProperties", &self.ProfileServerProperties) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for DNS_INTERFACE_SETTINGS3 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for DNS_INTERFACE_SETTINGS3 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Version == other.Version |
| && self.Flags == other.Flags |
| && self.Domain == other.Domain |
| && self.NameServer == other.NameServer |
| && self.SearchList == other.SearchList |
| && self.RegistrationEnabled == other.RegistrationEnabled |
| && self.RegisterAdapterName == other.RegisterAdapterName |
| && self.EnableLLMNR == other.EnableLLMNR |
| && self.QueryAdapterName == other.QueryAdapterName |
| && self.ProfileNameServer == other.ProfileNameServer |
| && self.DisableUnconstrainedQueries == other.DisableUnconstrainedQueries |
| && self.SupplementalSearchList == other.SupplementalSearchList |
| && self.cServerProperties == other.cServerProperties |
| && self.ServerProperties == other.ServerProperties |
| && self.cProfileServerProperties == other.cProfileServerProperties |
| && self.ProfileServerProperties == other.ProfileServerProperties |
| } |
| } |
| impl ::core::cmp::Eq for DNS_INTERFACE_SETTINGS3 {} |
| impl ::core::default::Default for DNS_INTERFACE_SETTINGS3 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct DNS_INTERFACE_SETTINGS4 { |
| pub Version: u32, |
| pub Flags: u64, |
| pub Domain: ::windows::core::PWSTR, |
| pub NameServer: ::windows::core::PWSTR, |
| pub SearchList: ::windows::core::PWSTR, |
| pub RegistrationEnabled: u32, |
| pub RegisterAdapterName: u32, |
| pub EnableLLMNR: u32, |
| pub QueryAdapterName: u32, |
| pub ProfileNameServer: ::windows::core::PWSTR, |
| pub DisableUnconstrainedQueries: u32, |
| pub SupplementalSearchList: ::windows::core::PWSTR, |
| pub cServerProperties: u32, |
| pub ServerProperties: *mut DNS_SERVER_PROPERTY, |
| pub cProfileServerProperties: u32, |
| pub ProfileServerProperties: *mut DNS_SERVER_PROPERTY, |
| pub EncryptedDnsAdapterFlags: u32, |
| } |
| impl ::core::marker::Copy for DNS_INTERFACE_SETTINGS4 {} |
| impl ::core::clone::Clone for DNS_INTERFACE_SETTINGS4 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for DNS_INTERFACE_SETTINGS4 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DNS_INTERFACE_SETTINGS4") |
| .field("Version", &self.Version) |
| .field("Flags", &self.Flags) |
| .field("Domain", &self.Domain) |
| .field("NameServer", &self.NameServer) |
| .field("SearchList", &self.SearchList) |
| .field("RegistrationEnabled", &self.RegistrationEnabled) |
| .field("RegisterAdapterName", &self.RegisterAdapterName) |
| .field("EnableLLMNR", &self.EnableLLMNR) |
| .field("QueryAdapterName", &self.QueryAdapterName) |
| .field("ProfileNameServer", &self.ProfileNameServer) |
| .field("DisableUnconstrainedQueries", &self.DisableUnconstrainedQueries) |
| .field("SupplementalSearchList", &self.SupplementalSearchList) |
| .field("cServerProperties", &self.cServerProperties) |
| .field("ServerProperties", &self.ServerProperties) |
| .field("cProfileServerProperties", &self.cProfileServerProperties) |
| .field("ProfileServerProperties", &self.ProfileServerProperties) |
| .field("EncryptedDnsAdapterFlags", &self.EncryptedDnsAdapterFlags) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for DNS_INTERFACE_SETTINGS4 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for DNS_INTERFACE_SETTINGS4 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Version == other.Version |
| && self.Flags == other.Flags |
| && self.Domain == other.Domain |
| && self.NameServer == other.NameServer |
| && self.SearchList == other.SearchList |
| && self.RegistrationEnabled == other.RegistrationEnabled |
| && self.RegisterAdapterName == other.RegisterAdapterName |
| && self.EnableLLMNR == other.EnableLLMNR |
| && self.QueryAdapterName == other.QueryAdapterName |
| && self.ProfileNameServer == other.ProfileNameServer |
| && self.DisableUnconstrainedQueries == other.DisableUnconstrainedQueries |
| && self.SupplementalSearchList == other.SupplementalSearchList |
| && self.cServerProperties == other.cServerProperties |
| && self.ServerProperties == other.ServerProperties |
| && self.cProfileServerProperties == other.cProfileServerProperties |
| && self.ProfileServerProperties == other.ProfileServerProperties |
| && self.EncryptedDnsAdapterFlags == other.EncryptedDnsAdapterFlags |
| } |
| } |
| impl ::core::cmp::Eq for DNS_INTERFACE_SETTINGS4 {} |
| impl ::core::default::Default for DNS_INTERFACE_SETTINGS4 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct DNS_INTERFACE_SETTINGS_EX { |
| pub SettingsV1: DNS_INTERFACE_SETTINGS, |
| pub DisableUnconstrainedQueries: u32, |
| pub SupplementalSearchList: ::windows::core::PWSTR, |
| } |
| impl ::core::marker::Copy for DNS_INTERFACE_SETTINGS_EX {} |
| impl ::core::clone::Clone for DNS_INTERFACE_SETTINGS_EX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for DNS_INTERFACE_SETTINGS_EX { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DNS_INTERFACE_SETTINGS_EX").field("SettingsV1", &self.SettingsV1).field("DisableUnconstrainedQueries", &self.DisableUnconstrainedQueries).field("SupplementalSearchList", &self.SupplementalSearchList).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for DNS_INTERFACE_SETTINGS_EX { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for DNS_INTERFACE_SETTINGS_EX { |
| fn eq(&self, other: &Self) -> bool { |
| self.SettingsV1 == other.SettingsV1 && self.DisableUnconstrainedQueries == other.DisableUnconstrainedQueries && self.SupplementalSearchList == other.SupplementalSearchList |
| } |
| } |
| impl ::core::cmp::Eq for DNS_INTERFACE_SETTINGS_EX {} |
| impl ::core::default::Default for DNS_INTERFACE_SETTINGS_EX { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct DNS_SERVER_PROPERTY { |
| pub Version: u32, |
| pub ServerIndex: u32, |
| pub Type: DNS_SERVER_PROPERTY_TYPE, |
| pub Property: DNS_SERVER_PROPERTY_TYPES, |
| } |
| impl ::core::marker::Copy for DNS_SERVER_PROPERTY {} |
| impl ::core::clone::Clone for DNS_SERVER_PROPERTY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DNS_SERVER_PROPERTY { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DNS_SERVER_PROPERTY { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub union DNS_SERVER_PROPERTY_TYPES { |
| pub DohSettings: *mut DNS_DOH_SERVER_SETTINGS, |
| } |
| impl ::core::marker::Copy for DNS_SERVER_PROPERTY_TYPES {} |
| impl ::core::clone::Clone for DNS_SERVER_PROPERTY_TYPES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for DNS_SERVER_PROPERTY_TYPES { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for DNS_SERVER_PROPERTY_TYPES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct DNS_SETTINGS { |
| pub Version: u32, |
| pub Flags: u64, |
| pub Hostname: ::windows::core::PWSTR, |
| pub Domain: ::windows::core::PWSTR, |
| pub SearchList: ::windows::core::PWSTR, |
| } |
| impl ::core::marker::Copy for DNS_SETTINGS {} |
| impl ::core::clone::Clone for DNS_SETTINGS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for DNS_SETTINGS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DNS_SETTINGS").field("Version", &self.Version).field("Flags", &self.Flags).field("Hostname", &self.Hostname).field("Domain", &self.Domain).field("SearchList", &self.SearchList).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for DNS_SETTINGS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for DNS_SETTINGS { |
| fn eq(&self, other: &Self) -> bool { |
| self.Version == other.Version && self.Flags == other.Flags && self.Hostname == other.Hostname && self.Domain == other.Domain && self.SearchList == other.SearchList |
| } |
| } |
| impl ::core::cmp::Eq for DNS_SETTINGS {} |
| impl ::core::default::Default for DNS_SETTINGS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct DNS_SETTINGS2 { |
| pub Version: u32, |
| pub Flags: u64, |
| pub Hostname: ::windows::core::PWSTR, |
| pub Domain: ::windows::core::PWSTR, |
| pub SearchList: ::windows::core::PWSTR, |
| pub SettingFlags: u64, |
| } |
| impl ::core::marker::Copy for DNS_SETTINGS2 {} |
| impl ::core::clone::Clone for DNS_SETTINGS2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for DNS_SETTINGS2 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("DNS_SETTINGS2").field("Version", &self.Version).field("Flags", &self.Flags).field("Hostname", &self.Hostname).field("Domain", &self.Domain).field("SearchList", &self.SearchList).field("SettingFlags", &self.SettingFlags).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for DNS_SETTINGS2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for DNS_SETTINGS2 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Version == other.Version && self.Flags == other.Flags && self.Hostname == other.Hostname && self.Domain == other.Domain && self.SearchList == other.SearchList && self.SettingFlags == other.SettingFlags |
| } |
| } |
| impl ::core::cmp::Eq for DNS_SETTINGS2 {} |
| impl ::core::default::Default for DNS_SETTINGS2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct FIXED_INFO_W2KSP1 { |
| pub HostName: [u8; 132], |
| pub DomainName: [u8; 132], |
| pub CurrentDnsServer: *mut IP_ADDR_STRING, |
| pub DnsServerList: IP_ADDR_STRING, |
| pub NodeType: u32, |
| pub ScopeId: [u8; 260], |
| pub EnableRouting: u32, |
| pub EnableProxy: u32, |
| pub EnableDns: u32, |
| } |
| impl ::core::marker::Copy for FIXED_INFO_W2KSP1 {} |
| impl ::core::clone::Clone for FIXED_INFO_W2KSP1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for FIXED_INFO_W2KSP1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("FIXED_INFO_W2KSP1").field("HostName", &self.HostName).field("DomainName", &self.DomainName).field("CurrentDnsServer", &self.CurrentDnsServer).field("DnsServerList", &self.DnsServerList).field("NodeType", &self.NodeType).field("ScopeId", &self.ScopeId).field("EnableRouting", &self.EnableRouting).field("EnableProxy", &self.EnableProxy).field("EnableDns", &self.EnableDns).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for FIXED_INFO_W2KSP1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for FIXED_INFO_W2KSP1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.HostName == other.HostName && self.DomainName == other.DomainName && self.CurrentDnsServer == other.CurrentDnsServer && self.DnsServerList == other.DnsServerList && self.NodeType == other.NodeType && self.ScopeId == other.ScopeId && self.EnableRouting == other.EnableRouting && self.EnableProxy == other.EnableProxy && self.EnableDns == other.EnableDns |
| } |
| } |
| impl ::core::cmp::Eq for FIXED_INFO_W2KSP1 {} |
| impl ::core::default::Default for FIXED_INFO_W2KSP1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct HIFTIMESTAMPCHANGE(pub isize); |
| impl HIFTIMESTAMPCHANGE { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for HIFTIMESTAMPCHANGE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for HIFTIMESTAMPCHANGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for HIFTIMESTAMPCHANGE {} |
| impl ::core::fmt::Debug for HIFTIMESTAMPCHANGE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("HIFTIMESTAMPCHANGE").field(&self.0).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for HIFTIMESTAMPCHANGE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct ICMPV6_ECHO_REPLY_LH { |
| pub Address: IPV6_ADDRESS_EX, |
| pub Status: u32, |
| pub RoundTripTime: u32, |
| } |
| impl ::core::marker::Copy for ICMPV6_ECHO_REPLY_LH {} |
| impl ::core::clone::Clone for ICMPV6_ECHO_REPLY_LH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for ICMPV6_ECHO_REPLY_LH { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for ICMPV6_ECHO_REPLY_LH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct ICMP_ECHO_REPLY { |
| pub Address: u32, |
| pub Status: u32, |
| pub RoundTripTime: u32, |
| pub DataSize: u16, |
| pub Reserved: u16, |
| pub Data: *mut ::core::ffi::c_void, |
| pub Options: IP_OPTION_INFORMATION, |
| } |
| impl ::core::marker::Copy for ICMP_ECHO_REPLY {} |
| impl ::core::clone::Clone for ICMP_ECHO_REPLY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for ICMP_ECHO_REPLY { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ICMP_ECHO_REPLY").field("Address", &self.Address).field("Status", &self.Status).field("RoundTripTime", &self.RoundTripTime).field("DataSize", &self.DataSize).field("Reserved", &self.Reserved).field("Data", &self.Data).field("Options", &self.Options).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for ICMP_ECHO_REPLY { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for ICMP_ECHO_REPLY { |
| fn eq(&self, other: &Self) -> bool { |
| self.Address == other.Address && self.Status == other.Status && self.RoundTripTime == other.RoundTripTime && self.DataSize == other.DataSize && self.Reserved == other.Reserved && self.Data == other.Data && self.Options == other.Options |
| } |
| } |
| impl ::core::cmp::Eq for ICMP_ECHO_REPLY {} |
| impl ::core::default::Default for ICMP_ECHO_REPLY { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct ICMP_ECHO_REPLY32 { |
| pub Address: u32, |
| pub Status: u32, |
| pub RoundTripTime: u32, |
| pub DataSize: u16, |
| pub Reserved: u16, |
| pub Data: *mut ::core::ffi::c_void, |
| pub Options: IP_OPTION_INFORMATION32, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for ICMP_ECHO_REPLY32 {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for ICMP_ECHO_REPLY32 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::fmt::Debug for ICMP_ECHO_REPLY32 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("ICMP_ECHO_REPLY32").field("Address", &self.Address).field("Status", &self.Status).field("RoundTripTime", &self.RoundTripTime).field("DataSize", &self.DataSize).field("Reserved", &self.Reserved).field("Data", &self.Data).field("Options", &self.Options).finish() |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows::core::TypeKind for ICMP_ECHO_REPLY32 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::cmp::PartialEq for ICMP_ECHO_REPLY32 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Address == other.Address && self.Status == other.Status && self.RoundTripTime == other.RoundTripTime && self.DataSize == other.DataSize && self.Reserved == other.Reserved && self.Data == other.Data && self.Options == other.Options |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::cmp::Eq for ICMP_ECHO_REPLY32 {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for ICMP_ECHO_REPLY32 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct INTERFACE_HARDWARE_CROSSTIMESTAMP { |
| pub SystemTimestamp1: u64, |
| pub HardwareClockTimestamp: u64, |
| pub SystemTimestamp2: u64, |
| } |
| impl ::core::marker::Copy for INTERFACE_HARDWARE_CROSSTIMESTAMP {} |
| impl ::core::clone::Clone for INTERFACE_HARDWARE_CROSSTIMESTAMP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for INTERFACE_HARDWARE_CROSSTIMESTAMP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("INTERFACE_HARDWARE_CROSSTIMESTAMP").field("SystemTimestamp1", &self.SystemTimestamp1).field("HardwareClockTimestamp", &self.HardwareClockTimestamp).field("SystemTimestamp2", &self.SystemTimestamp2).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for INTERFACE_HARDWARE_CROSSTIMESTAMP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for INTERFACE_HARDWARE_CROSSTIMESTAMP { |
| fn eq(&self, other: &Self) -> bool { |
| self.SystemTimestamp1 == other.SystemTimestamp1 && self.HardwareClockTimestamp == other.HardwareClockTimestamp && self.SystemTimestamp2 == other.SystemTimestamp2 |
| } |
| } |
| impl ::core::cmp::Eq for INTERFACE_HARDWARE_CROSSTIMESTAMP {} |
| impl ::core::default::Default for INTERFACE_HARDWARE_CROSSTIMESTAMP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct INTERFACE_HARDWARE_TIMESTAMP_CAPABILITIES { |
| pub PtpV2OverUdpIPv4EventMessageReceive: super::super::Foundation::BOOLEAN, |
| pub PtpV2OverUdpIPv4AllMessageReceive: super::super::Foundation::BOOLEAN, |
| pub PtpV2OverUdpIPv4EventMessageTransmit: super::super::Foundation::BOOLEAN, |
| pub PtpV2OverUdpIPv4AllMessageTransmit: super::super::Foundation::BOOLEAN, |
| pub PtpV2OverUdpIPv6EventMessageReceive: super::super::Foundation::BOOLEAN, |
| pub PtpV2OverUdpIPv6AllMessageReceive: super::super::Foundation::BOOLEAN, |
| pub PtpV2OverUdpIPv6EventMessageTransmit: super::super::Foundation::BOOLEAN, |
| pub PtpV2OverUdpIPv6AllMessageTransmit: super::super::Foundation::BOOLEAN, |
| pub AllReceive: super::super::Foundation::BOOLEAN, |
| pub AllTransmit: super::super::Foundation::BOOLEAN, |
| pub TaggedTransmit: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for INTERFACE_HARDWARE_TIMESTAMP_CAPABILITIES {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for INTERFACE_HARDWARE_TIMESTAMP_CAPABILITIES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for INTERFACE_HARDWARE_TIMESTAMP_CAPABILITIES { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("INTERFACE_HARDWARE_TIMESTAMP_CAPABILITIES") |
| .field("PtpV2OverUdpIPv4EventMessageReceive", &self.PtpV2OverUdpIPv4EventMessageReceive) |
| .field("PtpV2OverUdpIPv4AllMessageReceive", &self.PtpV2OverUdpIPv4AllMessageReceive) |
| .field("PtpV2OverUdpIPv4EventMessageTransmit", &self.PtpV2OverUdpIPv4EventMessageTransmit) |
| .field("PtpV2OverUdpIPv4AllMessageTransmit", &self.PtpV2OverUdpIPv4AllMessageTransmit) |
| .field("PtpV2OverUdpIPv6EventMessageReceive", &self.PtpV2OverUdpIPv6EventMessageReceive) |
| .field("PtpV2OverUdpIPv6AllMessageReceive", &self.PtpV2OverUdpIPv6AllMessageReceive) |
| .field("PtpV2OverUdpIPv6EventMessageTransmit", &self.PtpV2OverUdpIPv6EventMessageTransmit) |
| .field("PtpV2OverUdpIPv6AllMessageTransmit", &self.PtpV2OverUdpIPv6AllMessageTransmit) |
| .field("AllReceive", &self.AllReceive) |
| .field("AllTransmit", &self.AllTransmit) |
| .field("TaggedTransmit", &self.TaggedTransmit) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for INTERFACE_HARDWARE_TIMESTAMP_CAPABILITIES { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for INTERFACE_HARDWARE_TIMESTAMP_CAPABILITIES { |
| fn eq(&self, other: &Self) -> bool { |
| self.PtpV2OverUdpIPv4EventMessageReceive == other.PtpV2OverUdpIPv4EventMessageReceive |
| && self.PtpV2OverUdpIPv4AllMessageReceive == other.PtpV2OverUdpIPv4AllMessageReceive |
| && self.PtpV2OverUdpIPv4EventMessageTransmit == other.PtpV2OverUdpIPv4EventMessageTransmit |
| && self.PtpV2OverUdpIPv4AllMessageTransmit == other.PtpV2OverUdpIPv4AllMessageTransmit |
| && self.PtpV2OverUdpIPv6EventMessageReceive == other.PtpV2OverUdpIPv6EventMessageReceive |
| && self.PtpV2OverUdpIPv6AllMessageReceive == other.PtpV2OverUdpIPv6AllMessageReceive |
| && self.PtpV2OverUdpIPv6EventMessageTransmit == other.PtpV2OverUdpIPv6EventMessageTransmit |
| && self.PtpV2OverUdpIPv6AllMessageTransmit == other.PtpV2OverUdpIPv6AllMessageTransmit |
| && self.AllReceive == other.AllReceive |
| && self.AllTransmit == other.AllTransmit |
| && self.TaggedTransmit == other.TaggedTransmit |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for INTERFACE_HARDWARE_TIMESTAMP_CAPABILITIES {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for INTERFACE_HARDWARE_TIMESTAMP_CAPABILITIES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES { |
| pub AllReceive: super::super::Foundation::BOOLEAN, |
| pub AllTransmit: super::super::Foundation::BOOLEAN, |
| pub TaggedTransmit: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES").field("AllReceive", &self.AllReceive).field("AllTransmit", &self.AllTransmit).field("TaggedTransmit", &self.TaggedTransmit).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES { |
| fn eq(&self, other: &Self) -> bool { |
| self.AllReceive == other.AllReceive && self.AllTransmit == other.AllTransmit && self.TaggedTransmit == other.TaggedTransmit |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct INTERFACE_TIMESTAMP_CAPABILITIES { |
| pub HardwareClockFrequencyHz: u64, |
| pub SupportsCrossTimestamp: super::super::Foundation::BOOLEAN, |
| pub HardwareCapabilities: INTERFACE_HARDWARE_TIMESTAMP_CAPABILITIES, |
| pub SoftwareCapabilities: INTERFACE_SOFTWARE_TIMESTAMP_CAPABILITIES, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for INTERFACE_TIMESTAMP_CAPABILITIES {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for INTERFACE_TIMESTAMP_CAPABILITIES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for INTERFACE_TIMESTAMP_CAPABILITIES { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("INTERFACE_TIMESTAMP_CAPABILITIES").field("HardwareClockFrequencyHz", &self.HardwareClockFrequencyHz).field("SupportsCrossTimestamp", &self.SupportsCrossTimestamp).field("HardwareCapabilities", &self.HardwareCapabilities).field("SoftwareCapabilities", &self.SoftwareCapabilities).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for INTERFACE_TIMESTAMP_CAPABILITIES { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for INTERFACE_TIMESTAMP_CAPABILITIES { |
| fn eq(&self, other: &Self) -> bool { |
| self.HardwareClockFrequencyHz == other.HardwareClockFrequencyHz && self.SupportsCrossTimestamp == other.SupportsCrossTimestamp && self.HardwareCapabilities == other.HardwareCapabilities && self.SoftwareCapabilities == other.SoftwareCapabilities |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for INTERFACE_TIMESTAMP_CAPABILITIES {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for INTERFACE_TIMESTAMP_CAPABILITIES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C, packed(1))] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct IPV6_ADDRESS_EX { |
| pub sin6_port: u16, |
| pub sin6_flowinfo: u32, |
| pub sin6_addr: [u16; 8], |
| pub sin6_scope_id: u32, |
| } |
| impl ::core::marker::Copy for IPV6_ADDRESS_EX {} |
| impl ::core::clone::Clone for IPV6_ADDRESS_EX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for IPV6_ADDRESS_EX { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for IPV6_ADDRESS_EX { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct IP_ADAPTER_ADDRESSES_LH { |
| pub Anonymous1: IP_ADAPTER_ADDRESSES_LH_0, |
| pub Next: *mut IP_ADAPTER_ADDRESSES_LH, |
| pub AdapterName: ::windows::core::PSTR, |
| pub FirstUnicastAddress: *mut IP_ADAPTER_UNICAST_ADDRESS_LH, |
| pub FirstAnycastAddress: *mut IP_ADAPTER_ANYCAST_ADDRESS_XP, |
| pub FirstMulticastAddress: *mut IP_ADAPTER_MULTICAST_ADDRESS_XP, |
| pub FirstDnsServerAddress: *mut IP_ADAPTER_DNS_SERVER_ADDRESS_XP, |
| pub DnsSuffix: ::windows::core::PWSTR, |
| pub Description: ::windows::core::PWSTR, |
| pub FriendlyName: ::windows::core::PWSTR, |
| pub PhysicalAddress: [u8; 8], |
| pub PhysicalAddressLength: u32, |
| pub Anonymous2: IP_ADAPTER_ADDRESSES_LH_1, |
| pub Mtu: u32, |
| pub IfType: u32, |
| pub OperStatus: super::Ndis::IF_OPER_STATUS, |
| pub Ipv6IfIndex: u32, |
| pub ZoneIndices: [u32; 16], |
| pub FirstPrefix: *mut IP_ADAPTER_PREFIX_XP, |
| pub TransmitLinkSpeed: u64, |
| pub ReceiveLinkSpeed: u64, |
| pub FirstWinsServerAddress: *mut IP_ADAPTER_WINS_SERVER_ADDRESS_LH, |
| pub FirstGatewayAddress: *mut IP_ADAPTER_GATEWAY_ADDRESS_LH, |
| pub Ipv4Metric: u32, |
| pub Ipv6Metric: u32, |
| pub Luid: super::Ndis::NET_LUID_LH, |
| pub Dhcpv4Server: super::super::Networking::WinSock::SOCKET_ADDRESS, |
| pub CompartmentId: u32, |
| pub NetworkGuid: ::windows::core::GUID, |
| pub ConnectionType: super::Ndis::NET_IF_CONNECTION_TYPE, |
| pub TunnelType: super::Ndis::TUNNEL_TYPE, |
| pub Dhcpv6Server: super::super::Networking::WinSock::SOCKET_ADDRESS, |
| pub Dhcpv6ClientDuid: [u8; 130], |
| pub Dhcpv6ClientDuidLength: u32, |
| pub Dhcpv6Iaid: u32, |
| pub FirstDnsSuffix: *mut IP_ADAPTER_DNS_SUFFIX, |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_LH {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_LH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for IP_ADAPTER_ADDRESSES_LH { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for IP_ADAPTER_ADDRESSES_LH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub union IP_ADAPTER_ADDRESSES_LH_0 { |
| pub Alignment: u64, |
| pub Anonymous: IP_ADAPTER_ADDRESSES_LH_0_0, |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_LH_0 {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_LH_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for IP_ADAPTER_ADDRESSES_LH_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for IP_ADAPTER_ADDRESSES_LH_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct IP_ADAPTER_ADDRESSES_LH_0_0 { |
| pub Length: u32, |
| pub IfIndex: u32, |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_LH_0_0 {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_LH_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::fmt::Debug for IP_ADAPTER_ADDRESSES_LH_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADAPTER_ADDRESSES_LH_0_0").field("Length", &self.Length).field("IfIndex", &self.IfIndex).finish() |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for IP_ADAPTER_ADDRESSES_LH_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::cmp::PartialEq for IP_ADAPTER_ADDRESSES_LH_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Length == other.Length && self.IfIndex == other.IfIndex |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::cmp::Eq for IP_ADAPTER_ADDRESSES_LH_0_0 {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for IP_ADAPTER_ADDRESSES_LH_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub union IP_ADAPTER_ADDRESSES_LH_1 { |
| pub Flags: u32, |
| pub Anonymous: IP_ADAPTER_ADDRESSES_LH_1_0, |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_LH_1 {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_LH_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for IP_ADAPTER_ADDRESSES_LH_1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for IP_ADAPTER_ADDRESSES_LH_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct IP_ADAPTER_ADDRESSES_LH_1_0 { |
| pub _bitfield: u32, |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_LH_1_0 {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_LH_1_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::fmt::Debug for IP_ADAPTER_ADDRESSES_LH_1_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADAPTER_ADDRESSES_LH_1_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for IP_ADAPTER_ADDRESSES_LH_1_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::cmp::PartialEq for IP_ADAPTER_ADDRESSES_LH_1_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::cmp::Eq for IP_ADAPTER_ADDRESSES_LH_1_0 {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for IP_ADAPTER_ADDRESSES_LH_1_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct IP_ADAPTER_ADDRESSES_XP { |
| pub Anonymous: IP_ADAPTER_ADDRESSES_XP_0, |
| pub Next: *mut IP_ADAPTER_ADDRESSES_XP, |
| pub AdapterName: ::windows::core::PSTR, |
| pub FirstUnicastAddress: *mut IP_ADAPTER_UNICAST_ADDRESS_XP, |
| pub FirstAnycastAddress: *mut IP_ADAPTER_ANYCAST_ADDRESS_XP, |
| pub FirstMulticastAddress: *mut IP_ADAPTER_MULTICAST_ADDRESS_XP, |
| pub FirstDnsServerAddress: *mut IP_ADAPTER_DNS_SERVER_ADDRESS_XP, |
| pub DnsSuffix: ::windows::core::PWSTR, |
| pub Description: ::windows::core::PWSTR, |
| pub FriendlyName: ::windows::core::PWSTR, |
| pub PhysicalAddress: [u8; 8], |
| pub PhysicalAddressLength: u32, |
| pub Flags: u32, |
| pub Mtu: u32, |
| pub IfType: u32, |
| pub OperStatus: super::Ndis::IF_OPER_STATUS, |
| pub Ipv6IfIndex: u32, |
| pub ZoneIndices: [u32; 16], |
| pub FirstPrefix: *mut IP_ADAPTER_PREFIX_XP, |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_XP {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_XP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for IP_ADAPTER_ADDRESSES_XP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for IP_ADAPTER_ADDRESSES_XP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub union IP_ADAPTER_ADDRESSES_XP_0 { |
| pub Alignment: u64, |
| pub Anonymous: IP_ADAPTER_ADDRESSES_XP_0_0, |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_XP_0 {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_XP_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for IP_ADAPTER_ADDRESSES_XP_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for IP_ADAPTER_ADDRESSES_XP_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct IP_ADAPTER_ADDRESSES_XP_0_0 { |
| pub Length: u32, |
| pub IfIndex: u32, |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for IP_ADAPTER_ADDRESSES_XP_0_0 {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for IP_ADAPTER_ADDRESSES_XP_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::fmt::Debug for IP_ADAPTER_ADDRESSES_XP_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADAPTER_ADDRESSES_XP_0_0").field("Length", &self.Length).field("IfIndex", &self.IfIndex).finish() |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for IP_ADAPTER_ADDRESSES_XP_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::cmp::PartialEq for IP_ADAPTER_ADDRESSES_XP_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Length == other.Length && self.IfIndex == other.IfIndex |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::cmp::Eq for IP_ADAPTER_ADDRESSES_XP_0_0 {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for IP_ADAPTER_ADDRESSES_XP_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_ANYCAST_ADDRESS_XP { |
| pub Anonymous: IP_ADAPTER_ANYCAST_ADDRESS_XP_0, |
| pub Next: *mut IP_ADAPTER_ANYCAST_ADDRESS_XP, |
| pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_ANYCAST_ADDRESS_XP {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_ANYCAST_ADDRESS_XP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_ANYCAST_ADDRESS_XP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_ANYCAST_ADDRESS_XP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub union IP_ADAPTER_ANYCAST_ADDRESS_XP_0 { |
| pub Alignment: u64, |
| pub Anonymous: IP_ADAPTER_ANYCAST_ADDRESS_XP_0_0, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_ANYCAST_ADDRESS_XP_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_ANYCAST_ADDRESS_XP_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_ANYCAST_ADDRESS_XP_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_ANYCAST_ADDRESS_XP_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_ANYCAST_ADDRESS_XP_0_0 { |
| pub Length: u32, |
| pub Flags: u32, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_ANYCAST_ADDRESS_XP_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_ANYCAST_ADDRESS_XP_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::fmt::Debug for IP_ADAPTER_ANYCAST_ADDRESS_XP_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADAPTER_ANYCAST_ADDRESS_XP_0_0").field("Length", &self.Length).field("Flags", &self.Flags).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_ANYCAST_ADDRESS_XP_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::PartialEq for IP_ADAPTER_ANYCAST_ADDRESS_XP_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Length == other.Length && self.Flags == other.Flags |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::Eq for IP_ADAPTER_ANYCAST_ADDRESS_XP_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_ANYCAST_ADDRESS_XP_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_DNS_SERVER_ADDRESS_XP { |
| pub Anonymous: IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0, |
| pub Next: *mut IP_ADAPTER_DNS_SERVER_ADDRESS_XP, |
| pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_DNS_SERVER_ADDRESS_XP {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_DNS_SERVER_ADDRESS_XP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_DNS_SERVER_ADDRESS_XP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_DNS_SERVER_ADDRESS_XP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub union IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0 { |
| pub Alignment: u64, |
| pub Anonymous: IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0_0, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0_0 { |
| pub Length: u32, |
| pub Reserved: u32, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::fmt::Debug for IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0_0").field("Length", &self.Length).field("Reserved", &self.Reserved).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::PartialEq for IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Length == other.Length && self.Reserved == other.Reserved |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::Eq for IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_DNS_SERVER_ADDRESS_XP_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct IP_ADAPTER_DNS_SUFFIX { |
| pub Next: *mut IP_ADAPTER_DNS_SUFFIX, |
| pub String: [u16; 256], |
| } |
| impl ::core::marker::Copy for IP_ADAPTER_DNS_SUFFIX {} |
| impl ::core::clone::Clone for IP_ADAPTER_DNS_SUFFIX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IP_ADAPTER_DNS_SUFFIX { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADAPTER_DNS_SUFFIX").field("Next", &self.Next).field("String", &self.String).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IP_ADAPTER_DNS_SUFFIX { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IP_ADAPTER_DNS_SUFFIX { |
| fn eq(&self, other: &Self) -> bool { |
| self.Next == other.Next && self.String == other.String |
| } |
| } |
| impl ::core::cmp::Eq for IP_ADAPTER_DNS_SUFFIX {} |
| impl ::core::default::Default for IP_ADAPTER_DNS_SUFFIX { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_GATEWAY_ADDRESS_LH { |
| pub Anonymous: IP_ADAPTER_GATEWAY_ADDRESS_LH_0, |
| pub Next: *mut IP_ADAPTER_GATEWAY_ADDRESS_LH, |
| pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_GATEWAY_ADDRESS_LH {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_GATEWAY_ADDRESS_LH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_GATEWAY_ADDRESS_LH { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_GATEWAY_ADDRESS_LH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub union IP_ADAPTER_GATEWAY_ADDRESS_LH_0 { |
| pub Alignment: u64, |
| pub Anonymous: IP_ADAPTER_GATEWAY_ADDRESS_LH_0_0, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_GATEWAY_ADDRESS_LH_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_GATEWAY_ADDRESS_LH_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_GATEWAY_ADDRESS_LH_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_GATEWAY_ADDRESS_LH_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_GATEWAY_ADDRESS_LH_0_0 { |
| pub Length: u32, |
| pub Reserved: u32, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_GATEWAY_ADDRESS_LH_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_GATEWAY_ADDRESS_LH_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::fmt::Debug for IP_ADAPTER_GATEWAY_ADDRESS_LH_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADAPTER_GATEWAY_ADDRESS_LH_0_0").field("Length", &self.Length).field("Reserved", &self.Reserved).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_GATEWAY_ADDRESS_LH_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::PartialEq for IP_ADAPTER_GATEWAY_ADDRESS_LH_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Length == other.Length && self.Reserved == other.Reserved |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::Eq for IP_ADAPTER_GATEWAY_ADDRESS_LH_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_GATEWAY_ADDRESS_LH_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct IP_ADAPTER_INDEX_MAP { |
| pub Index: u32, |
| pub Name: [u16; 128], |
| } |
| impl ::core::marker::Copy for IP_ADAPTER_INDEX_MAP {} |
| impl ::core::clone::Clone for IP_ADAPTER_INDEX_MAP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IP_ADAPTER_INDEX_MAP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADAPTER_INDEX_MAP").field("Index", &self.Index).field("Name", &self.Name).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IP_ADAPTER_INDEX_MAP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IP_ADAPTER_INDEX_MAP { |
| fn eq(&self, other: &Self) -> bool { |
| self.Index == other.Index && self.Name == other.Name |
| } |
| } |
| impl ::core::cmp::Eq for IP_ADAPTER_INDEX_MAP {} |
| impl ::core::default::Default for IP_ADAPTER_INDEX_MAP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct IP_ADAPTER_INFO { |
| pub Next: *mut IP_ADAPTER_INFO, |
| pub ComboIndex: u32, |
| pub AdapterName: [u8; 260], |
| pub Description: [u8; 132], |
| pub AddressLength: u32, |
| pub Address: [u8; 8], |
| pub Index: u32, |
| pub Type: u32, |
| pub DhcpEnabled: u32, |
| pub CurrentIpAddress: *mut IP_ADDR_STRING, |
| pub IpAddressList: IP_ADDR_STRING, |
| pub GatewayList: IP_ADDR_STRING, |
| pub DhcpServer: IP_ADDR_STRING, |
| pub HaveWins: super::super::Foundation::BOOL, |
| pub PrimaryWinsServer: IP_ADDR_STRING, |
| pub SecondaryWinsServer: IP_ADDR_STRING, |
| pub LeaseObtained: i64, |
| pub LeaseExpires: i64, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for IP_ADAPTER_INFO {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for IP_ADAPTER_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for IP_ADAPTER_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADAPTER_INFO") |
| .field("Next", &self.Next) |
| .field("ComboIndex", &self.ComboIndex) |
| .field("AdapterName", &self.AdapterName) |
| .field("Description", &self.Description) |
| .field("AddressLength", &self.AddressLength) |
| .field("Address", &self.Address) |
| .field("Index", &self.Index) |
| .field("Type", &self.Type) |
| .field("DhcpEnabled", &self.DhcpEnabled) |
| .field("CurrentIpAddress", &self.CurrentIpAddress) |
| .field("IpAddressList", &self.IpAddressList) |
| .field("GatewayList", &self.GatewayList) |
| .field("DhcpServer", &self.DhcpServer) |
| .field("HaveWins", &self.HaveWins) |
| .field("PrimaryWinsServer", &self.PrimaryWinsServer) |
| .field("SecondaryWinsServer", &self.SecondaryWinsServer) |
| .field("LeaseObtained", &self.LeaseObtained) |
| .field("LeaseExpires", &self.LeaseExpires) |
| .finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for IP_ADAPTER_INFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.Next == other.Next && self.ComboIndex == other.ComboIndex && self.AdapterName == other.AdapterName && self.Description == other.Description && self.AddressLength == other.AddressLength && self.Address == other.Address && self.Index == other.Index && self.Type == other.Type && self.DhcpEnabled == other.DhcpEnabled && self.CurrentIpAddress == other.CurrentIpAddress && self.IpAddressList == other.IpAddressList && self.GatewayList == other.GatewayList && self.DhcpServer == other.DhcpServer && self.HaveWins == other.HaveWins && self.PrimaryWinsServer == other.PrimaryWinsServer && self.SecondaryWinsServer == other.SecondaryWinsServer && self.LeaseObtained == other.LeaseObtained && self.LeaseExpires == other.LeaseExpires |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for IP_ADAPTER_INFO {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for IP_ADAPTER_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_MULTICAST_ADDRESS_XP { |
| pub Anonymous: IP_ADAPTER_MULTICAST_ADDRESS_XP_0, |
| pub Next: *mut IP_ADAPTER_MULTICAST_ADDRESS_XP, |
| pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_MULTICAST_ADDRESS_XP {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_MULTICAST_ADDRESS_XP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_MULTICAST_ADDRESS_XP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_MULTICAST_ADDRESS_XP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub union IP_ADAPTER_MULTICAST_ADDRESS_XP_0 { |
| pub Alignment: u64, |
| pub Anonymous: IP_ADAPTER_MULTICAST_ADDRESS_XP_0_0, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_MULTICAST_ADDRESS_XP_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_MULTICAST_ADDRESS_XP_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_MULTICAST_ADDRESS_XP_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_MULTICAST_ADDRESS_XP_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_MULTICAST_ADDRESS_XP_0_0 { |
| pub Length: u32, |
| pub Flags: u32, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_MULTICAST_ADDRESS_XP_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_MULTICAST_ADDRESS_XP_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::fmt::Debug for IP_ADAPTER_MULTICAST_ADDRESS_XP_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADAPTER_MULTICAST_ADDRESS_XP_0_0").field("Length", &self.Length).field("Flags", &self.Flags).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_MULTICAST_ADDRESS_XP_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::PartialEq for IP_ADAPTER_MULTICAST_ADDRESS_XP_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Length == other.Length && self.Flags == other.Flags |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::Eq for IP_ADAPTER_MULTICAST_ADDRESS_XP_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_MULTICAST_ADDRESS_XP_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct IP_ADAPTER_ORDER_MAP { |
| pub NumAdapters: u32, |
| pub AdapterOrder: [u32; 1], |
| } |
| impl ::core::marker::Copy for IP_ADAPTER_ORDER_MAP {} |
| impl ::core::clone::Clone for IP_ADAPTER_ORDER_MAP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IP_ADAPTER_ORDER_MAP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADAPTER_ORDER_MAP").field("NumAdapters", &self.NumAdapters).field("AdapterOrder", &self.AdapterOrder).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IP_ADAPTER_ORDER_MAP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IP_ADAPTER_ORDER_MAP { |
| fn eq(&self, other: &Self) -> bool { |
| self.NumAdapters == other.NumAdapters && self.AdapterOrder == other.AdapterOrder |
| } |
| } |
| impl ::core::cmp::Eq for IP_ADAPTER_ORDER_MAP {} |
| impl ::core::default::Default for IP_ADAPTER_ORDER_MAP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_PREFIX_XP { |
| pub Anonymous: IP_ADAPTER_PREFIX_XP_0, |
| pub Next: *mut IP_ADAPTER_PREFIX_XP, |
| pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS, |
| pub PrefixLength: u32, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_PREFIX_XP {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_PREFIX_XP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_PREFIX_XP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_PREFIX_XP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub union IP_ADAPTER_PREFIX_XP_0 { |
| pub Alignment: u64, |
| pub Anonymous: IP_ADAPTER_PREFIX_XP_0_0, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_PREFIX_XP_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_PREFIX_XP_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_PREFIX_XP_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_PREFIX_XP_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_PREFIX_XP_0_0 { |
| pub Length: u32, |
| pub Flags: u32, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_PREFIX_XP_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_PREFIX_XP_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::fmt::Debug for IP_ADAPTER_PREFIX_XP_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADAPTER_PREFIX_XP_0_0").field("Length", &self.Length).field("Flags", &self.Flags).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_PREFIX_XP_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::PartialEq for IP_ADAPTER_PREFIX_XP_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Length == other.Length && self.Flags == other.Flags |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::Eq for IP_ADAPTER_PREFIX_XP_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_PREFIX_XP_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_UNICAST_ADDRESS_LH { |
| pub Anonymous: IP_ADAPTER_UNICAST_ADDRESS_LH_0, |
| pub Next: *mut IP_ADAPTER_UNICAST_ADDRESS_LH, |
| pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS, |
| pub PrefixOrigin: super::super::Networking::WinSock::NL_PREFIX_ORIGIN, |
| pub SuffixOrigin: super::super::Networking::WinSock::NL_SUFFIX_ORIGIN, |
| pub DadState: super::super::Networking::WinSock::NL_DAD_STATE, |
| pub ValidLifetime: u32, |
| pub PreferredLifetime: u32, |
| pub LeaseLifetime: u32, |
| pub OnLinkPrefixLength: u8, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_UNICAST_ADDRESS_LH {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_UNICAST_ADDRESS_LH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_UNICAST_ADDRESS_LH { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_UNICAST_ADDRESS_LH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub union IP_ADAPTER_UNICAST_ADDRESS_LH_0 { |
| pub Alignment: u64, |
| pub Anonymous: IP_ADAPTER_UNICAST_ADDRESS_LH_0_0, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_UNICAST_ADDRESS_LH_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_UNICAST_ADDRESS_LH_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_UNICAST_ADDRESS_LH_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_UNICAST_ADDRESS_LH_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_UNICAST_ADDRESS_LH_0_0 { |
| pub Length: u32, |
| pub Flags: u32, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_UNICAST_ADDRESS_LH_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_UNICAST_ADDRESS_LH_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::fmt::Debug for IP_ADAPTER_UNICAST_ADDRESS_LH_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADAPTER_UNICAST_ADDRESS_LH_0_0").field("Length", &self.Length).field("Flags", &self.Flags).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_UNICAST_ADDRESS_LH_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::PartialEq for IP_ADAPTER_UNICAST_ADDRESS_LH_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Length == other.Length && self.Flags == other.Flags |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::Eq for IP_ADAPTER_UNICAST_ADDRESS_LH_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_UNICAST_ADDRESS_LH_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_UNICAST_ADDRESS_XP { |
| pub Anonymous: IP_ADAPTER_UNICAST_ADDRESS_XP_0, |
| pub Next: *mut IP_ADAPTER_UNICAST_ADDRESS_XP, |
| pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS, |
| pub PrefixOrigin: super::super::Networking::WinSock::NL_PREFIX_ORIGIN, |
| pub SuffixOrigin: super::super::Networking::WinSock::NL_SUFFIX_ORIGIN, |
| pub DadState: super::super::Networking::WinSock::NL_DAD_STATE, |
| pub ValidLifetime: u32, |
| pub PreferredLifetime: u32, |
| pub LeaseLifetime: u32, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_UNICAST_ADDRESS_XP {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_UNICAST_ADDRESS_XP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_UNICAST_ADDRESS_XP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_UNICAST_ADDRESS_XP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub union IP_ADAPTER_UNICAST_ADDRESS_XP_0 { |
| pub Alignment: u64, |
| pub Anonymous: IP_ADAPTER_UNICAST_ADDRESS_XP_0_0, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_UNICAST_ADDRESS_XP_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_UNICAST_ADDRESS_XP_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_UNICAST_ADDRESS_XP_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_UNICAST_ADDRESS_XP_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_UNICAST_ADDRESS_XP_0_0 { |
| pub Length: u32, |
| pub Flags: u32, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_UNICAST_ADDRESS_XP_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_UNICAST_ADDRESS_XP_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::fmt::Debug for IP_ADAPTER_UNICAST_ADDRESS_XP_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADAPTER_UNICAST_ADDRESS_XP_0_0").field("Length", &self.Length).field("Flags", &self.Flags).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_UNICAST_ADDRESS_XP_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::PartialEq for IP_ADAPTER_UNICAST_ADDRESS_XP_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Length == other.Length && self.Flags == other.Flags |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::Eq for IP_ADAPTER_UNICAST_ADDRESS_XP_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_UNICAST_ADDRESS_XP_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_WINS_SERVER_ADDRESS_LH { |
| pub Anonymous: IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0, |
| pub Next: *mut IP_ADAPTER_WINS_SERVER_ADDRESS_LH, |
| pub Address: super::super::Networking::WinSock::SOCKET_ADDRESS, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_WINS_SERVER_ADDRESS_LH {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_WINS_SERVER_ADDRESS_LH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_WINS_SERVER_ADDRESS_LH { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_WINS_SERVER_ADDRESS_LH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub union IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0 { |
| pub Alignment: u64, |
| pub Anonymous: IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0_0, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0_0 { |
| pub Length: u32, |
| pub Reserved: u32, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::fmt::Debug for IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0_0").field("Length", &self.Length).field("Reserved", &self.Reserved).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::PartialEq for IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Length == other.Length && self.Reserved == other.Reserved |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::cmp::Eq for IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADAPTER_WINS_SERVER_ADDRESS_LH_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct IP_ADDRESS_PREFIX { |
| pub Prefix: super::super::Networking::WinSock::SOCKADDR_INET, |
| pub PrefixLength: u8, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for IP_ADDRESS_PREFIX {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for IP_ADDRESS_PREFIX { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for IP_ADDRESS_PREFIX { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for IP_ADDRESS_PREFIX { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct IP_ADDRESS_STRING { |
| pub String: [u8; 16], |
| } |
| impl ::core::marker::Copy for IP_ADDRESS_STRING {} |
| impl ::core::clone::Clone for IP_ADDRESS_STRING { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IP_ADDRESS_STRING { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADDRESS_STRING").field("String", &self.String).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IP_ADDRESS_STRING { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IP_ADDRESS_STRING { |
| fn eq(&self, other: &Self) -> bool { |
| self.String == other.String |
| } |
| } |
| impl ::core::cmp::Eq for IP_ADDRESS_STRING {} |
| impl ::core::default::Default for IP_ADDRESS_STRING { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct IP_ADDR_STRING { |
| pub Next: *mut IP_ADDR_STRING, |
| pub IpAddress: IP_ADDRESS_STRING, |
| pub IpMask: IP_ADDRESS_STRING, |
| pub Context: u32, |
| } |
| impl ::core::marker::Copy for IP_ADDR_STRING {} |
| impl ::core::clone::Clone for IP_ADDR_STRING { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IP_ADDR_STRING { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_ADDR_STRING").field("Next", &self.Next).field("IpAddress", &self.IpAddress).field("IpMask", &self.IpMask).field("Context", &self.Context).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IP_ADDR_STRING { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IP_ADDR_STRING { |
| fn eq(&self, other: &Self) -> bool { |
| self.Next == other.Next && self.IpAddress == other.IpAddress && self.IpMask == other.IpMask && self.Context == other.Context |
| } |
| } |
| impl ::core::cmp::Eq for IP_ADDR_STRING {} |
| impl ::core::default::Default for IP_ADDR_STRING { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct IP_INTERFACE_INFO { |
| pub NumAdapters: i32, |
| pub Adapter: [IP_ADAPTER_INDEX_MAP; 1], |
| } |
| impl ::core::marker::Copy for IP_INTERFACE_INFO {} |
| impl ::core::clone::Clone for IP_INTERFACE_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IP_INTERFACE_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_INTERFACE_INFO").field("NumAdapters", &self.NumAdapters).field("Adapter", &self.Adapter).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IP_INTERFACE_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IP_INTERFACE_INFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.NumAdapters == other.NumAdapters && self.Adapter == other.Adapter |
| } |
| } |
| impl ::core::cmp::Eq for IP_INTERFACE_INFO {} |
| impl ::core::default::Default for IP_INTERFACE_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct IP_INTERFACE_NAME_INFO_W2KSP1 { |
| pub Index: u32, |
| pub MediaType: u32, |
| pub ConnectionType: u8, |
| pub AccessType: u8, |
| pub DeviceGuid: ::windows::core::GUID, |
| pub InterfaceGuid: ::windows::core::GUID, |
| } |
| impl ::core::marker::Copy for IP_INTERFACE_NAME_INFO_W2KSP1 {} |
| impl ::core::clone::Clone for IP_INTERFACE_NAME_INFO_W2KSP1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IP_INTERFACE_NAME_INFO_W2KSP1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_INTERFACE_NAME_INFO_W2KSP1").field("Index", &self.Index).field("MediaType", &self.MediaType).field("ConnectionType", &self.ConnectionType).field("AccessType", &self.AccessType).field("DeviceGuid", &self.DeviceGuid).field("InterfaceGuid", &self.InterfaceGuid).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IP_INTERFACE_NAME_INFO_W2KSP1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IP_INTERFACE_NAME_INFO_W2KSP1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Index == other.Index && self.MediaType == other.MediaType && self.ConnectionType == other.ConnectionType && self.AccessType == other.AccessType && self.DeviceGuid == other.DeviceGuid && self.InterfaceGuid == other.InterfaceGuid |
| } |
| } |
| impl ::core::cmp::Eq for IP_INTERFACE_NAME_INFO_W2KSP1 {} |
| impl ::core::default::Default for IP_INTERFACE_NAME_INFO_W2KSP1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct IP_MCAST_COUNTER_INFO { |
| pub InMcastOctets: u64, |
| pub OutMcastOctets: u64, |
| pub InMcastPkts: u64, |
| pub OutMcastPkts: u64, |
| } |
| impl ::core::marker::Copy for IP_MCAST_COUNTER_INFO {} |
| impl ::core::clone::Clone for IP_MCAST_COUNTER_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IP_MCAST_COUNTER_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_MCAST_COUNTER_INFO").field("InMcastOctets", &self.InMcastOctets).field("OutMcastOctets", &self.OutMcastOctets).field("InMcastPkts", &self.InMcastPkts).field("OutMcastPkts", &self.OutMcastPkts).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IP_MCAST_COUNTER_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IP_MCAST_COUNTER_INFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.InMcastOctets == other.InMcastOctets && self.OutMcastOctets == other.OutMcastOctets && self.InMcastPkts == other.InMcastPkts && self.OutMcastPkts == other.OutMcastPkts |
| } |
| } |
| impl ::core::cmp::Eq for IP_MCAST_COUNTER_INFO {} |
| impl ::core::default::Default for IP_MCAST_COUNTER_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct IP_OPTION_INFORMATION { |
| pub Ttl: u8, |
| pub Tos: u8, |
| pub Flags: u8, |
| pub OptionsSize: u8, |
| pub OptionsData: *mut u8, |
| } |
| impl ::core::marker::Copy for IP_OPTION_INFORMATION {} |
| impl ::core::clone::Clone for IP_OPTION_INFORMATION { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IP_OPTION_INFORMATION { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_OPTION_INFORMATION").field("Ttl", &self.Ttl).field("Tos", &self.Tos).field("Flags", &self.Flags).field("OptionsSize", &self.OptionsSize).field("OptionsData", &self.OptionsData).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IP_OPTION_INFORMATION { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IP_OPTION_INFORMATION { |
| fn eq(&self, other: &Self) -> bool { |
| self.Ttl == other.Ttl && self.Tos == other.Tos && self.Flags == other.Flags && self.OptionsSize == other.OptionsSize && self.OptionsData == other.OptionsData |
| } |
| } |
| impl ::core::cmp::Eq for IP_OPTION_INFORMATION {} |
| impl ::core::default::Default for IP_OPTION_INFORMATION { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| pub struct IP_OPTION_INFORMATION32 { |
| pub Ttl: u8, |
| pub Tos: u8, |
| pub Flags: u8, |
| pub OptionsSize: u8, |
| pub OptionsData: *mut u8, |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::marker::Copy for IP_OPTION_INFORMATION32 {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::clone::Clone for IP_OPTION_INFORMATION32 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::fmt::Debug for IP_OPTION_INFORMATION32 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_OPTION_INFORMATION32").field("Ttl", &self.Ttl).field("Tos", &self.Tos).field("Flags", &self.Flags).field("OptionsSize", &self.OptionsSize).field("OptionsData", &self.OptionsData).finish() |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::windows::core::TypeKind for IP_OPTION_INFORMATION32 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::cmp::PartialEq for IP_OPTION_INFORMATION32 { |
| fn eq(&self, other: &Self) -> bool { |
| self.Ttl == other.Ttl && self.Tos == other.Tos && self.Flags == other.Flags && self.OptionsSize == other.OptionsSize && self.OptionsData == other.OptionsData |
| } |
| } |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::cmp::Eq for IP_OPTION_INFORMATION32 {} |
| #[cfg(any(target_arch = "aarch64", target_arch = "x86_64"))] |
| impl ::core::default::Default for IP_OPTION_INFORMATION32 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct IP_PER_ADAPTER_INFO_W2KSP1 { |
| pub AutoconfigEnabled: u32, |
| pub AutoconfigActive: u32, |
| pub CurrentDnsServer: *mut IP_ADDR_STRING, |
| pub DnsServerList: IP_ADDR_STRING, |
| } |
| impl ::core::marker::Copy for IP_PER_ADAPTER_INFO_W2KSP1 {} |
| impl ::core::clone::Clone for IP_PER_ADAPTER_INFO_W2KSP1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IP_PER_ADAPTER_INFO_W2KSP1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_PER_ADAPTER_INFO_W2KSP1").field("AutoconfigEnabled", &self.AutoconfigEnabled).field("AutoconfigActive", &self.AutoconfigActive).field("CurrentDnsServer", &self.CurrentDnsServer).field("DnsServerList", &self.DnsServerList).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IP_PER_ADAPTER_INFO_W2KSP1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IP_PER_ADAPTER_INFO_W2KSP1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.AutoconfigEnabled == other.AutoconfigEnabled && self.AutoconfigActive == other.AutoconfigActive && self.CurrentDnsServer == other.CurrentDnsServer && self.DnsServerList == other.DnsServerList |
| } |
| } |
| impl ::core::cmp::Eq for IP_PER_ADAPTER_INFO_W2KSP1 {} |
| impl ::core::default::Default for IP_PER_ADAPTER_INFO_W2KSP1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct IP_UNIDIRECTIONAL_ADAPTER_ADDRESS { |
| pub NumAdapters: u32, |
| pub Address: [u32; 1], |
| } |
| impl ::core::marker::Copy for IP_UNIDIRECTIONAL_ADAPTER_ADDRESS {} |
| impl ::core::clone::Clone for IP_UNIDIRECTIONAL_ADAPTER_ADDRESS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for IP_UNIDIRECTIONAL_ADAPTER_ADDRESS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("IP_UNIDIRECTIONAL_ADAPTER_ADDRESS").field("NumAdapters", &self.NumAdapters).field("Address", &self.Address).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IP_UNIDIRECTIONAL_ADAPTER_ADDRESS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for IP_UNIDIRECTIONAL_ADAPTER_ADDRESS { |
| fn eq(&self, other: &Self) -> bool { |
| self.NumAdapters == other.NumAdapters && self.Address == other.Address |
| } |
| } |
| impl ::core::cmp::Eq for IP_UNIDIRECTIONAL_ADAPTER_ADDRESS {} |
| impl ::core::default::Default for IP_UNIDIRECTIONAL_ADAPTER_ADDRESS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(transparent)] |
| #[derive(::core::cmp::PartialEq, ::core::cmp::Eq)] |
| pub struct IcmpHandle(pub isize); |
| impl IcmpHandle { |
| pub fn is_invalid(&self) -> bool { |
| self.0 == -1 || self.0 == 0 |
| } |
| } |
| impl ::core::default::Default for IcmpHandle { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| impl ::core::clone::Clone for IcmpHandle { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::marker::Copy for IcmpHandle {} |
| impl ::core::fmt::Debug for IcmpHandle { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_tuple("IcmpHandle").field(&self.0).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for IcmpHandle { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIBICMPINFO { |
| pub icmpInStats: MIBICMPSTATS, |
| pub icmpOutStats: MIBICMPSTATS, |
| } |
| impl ::core::marker::Copy for MIBICMPINFO {} |
| impl ::core::clone::Clone for MIBICMPINFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIBICMPINFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIBICMPINFO").field("icmpInStats", &self.icmpInStats).field("icmpOutStats", &self.icmpOutStats).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIBICMPINFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIBICMPINFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.icmpInStats == other.icmpInStats && self.icmpOutStats == other.icmpOutStats |
| } |
| } |
| impl ::core::cmp::Eq for MIBICMPINFO {} |
| impl ::core::default::Default for MIBICMPINFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIBICMPSTATS { |
| pub dwMsgs: u32, |
| pub dwErrors: u32, |
| pub dwDestUnreachs: u32, |
| pub dwTimeExcds: u32, |
| pub dwParmProbs: u32, |
| pub dwSrcQuenchs: u32, |
| pub dwRedirects: u32, |
| pub dwEchos: u32, |
| pub dwEchoReps: u32, |
| pub dwTimestamps: u32, |
| pub dwTimestampReps: u32, |
| pub dwAddrMasks: u32, |
| pub dwAddrMaskReps: u32, |
| } |
| impl ::core::marker::Copy for MIBICMPSTATS {} |
| impl ::core::clone::Clone for MIBICMPSTATS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIBICMPSTATS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIBICMPSTATS") |
| .field("dwMsgs", &self.dwMsgs) |
| .field("dwErrors", &self.dwErrors) |
| .field("dwDestUnreachs", &self.dwDestUnreachs) |
| .field("dwTimeExcds", &self.dwTimeExcds) |
| .field("dwParmProbs", &self.dwParmProbs) |
| .field("dwSrcQuenchs", &self.dwSrcQuenchs) |
| .field("dwRedirects", &self.dwRedirects) |
| .field("dwEchos", &self.dwEchos) |
| .field("dwEchoReps", &self.dwEchoReps) |
| .field("dwTimestamps", &self.dwTimestamps) |
| .field("dwTimestampReps", &self.dwTimestampReps) |
| .field("dwAddrMasks", &self.dwAddrMasks) |
| .field("dwAddrMaskReps", &self.dwAddrMaskReps) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIBICMPSTATS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIBICMPSTATS { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwMsgs == other.dwMsgs && self.dwErrors == other.dwErrors && self.dwDestUnreachs == other.dwDestUnreachs && self.dwTimeExcds == other.dwTimeExcds && self.dwParmProbs == other.dwParmProbs && self.dwSrcQuenchs == other.dwSrcQuenchs && self.dwRedirects == other.dwRedirects && self.dwEchos == other.dwEchos && self.dwEchoReps == other.dwEchoReps && self.dwTimestamps == other.dwTimestamps && self.dwTimestampReps == other.dwTimestampReps && self.dwAddrMasks == other.dwAddrMasks && self.dwAddrMaskReps == other.dwAddrMaskReps |
| } |
| } |
| impl ::core::cmp::Eq for MIBICMPSTATS {} |
| impl ::core::default::Default for MIBICMPSTATS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIBICMPSTATS_EX_XPSP1 { |
| pub dwMsgs: u32, |
| pub dwErrors: u32, |
| pub rgdwTypeCount: [u32; 256], |
| } |
| impl ::core::marker::Copy for MIBICMPSTATS_EX_XPSP1 {} |
| impl ::core::clone::Clone for MIBICMPSTATS_EX_XPSP1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIBICMPSTATS_EX_XPSP1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIBICMPSTATS_EX_XPSP1").field("dwMsgs", &self.dwMsgs).field("dwErrors", &self.dwErrors).field("rgdwTypeCount", &self.rgdwTypeCount).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIBICMPSTATS_EX_XPSP1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIBICMPSTATS_EX_XPSP1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwMsgs == other.dwMsgs && self.dwErrors == other.dwErrors && self.rgdwTypeCount == other.rgdwTypeCount |
| } |
| } |
| impl ::core::cmp::Eq for MIBICMPSTATS_EX_XPSP1 {} |
| impl ::core::default::Default for MIBICMPSTATS_EX_XPSP1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_ANYCASTIPADDRESS_ROW { |
| pub Address: super::super::Networking::WinSock::SOCKADDR_INET, |
| pub InterfaceLuid: super::Ndis::NET_LUID_LH, |
| pub InterfaceIndex: u32, |
| pub ScopeId: super::super::Networking::WinSock::SCOPE_ID, |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_ANYCASTIPADDRESS_ROW {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_ANYCASTIPADDRESS_ROW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_ANYCASTIPADDRESS_ROW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_ANYCASTIPADDRESS_ROW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_ANYCASTIPADDRESS_TABLE { |
| pub NumEntries: u32, |
| pub Table: [MIB_ANYCASTIPADDRESS_ROW; 1], |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_ANYCASTIPADDRESS_TABLE {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_ANYCASTIPADDRESS_TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_ANYCASTIPADDRESS_TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_ANYCASTIPADDRESS_TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_BEST_IF { |
| pub dwDestAddr: u32, |
| pub dwIfIndex: u32, |
| } |
| impl ::core::marker::Copy for MIB_BEST_IF {} |
| impl ::core::clone::Clone for MIB_BEST_IF { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_BEST_IF { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_BEST_IF").field("dwDestAddr", &self.dwDestAddr).field("dwIfIndex", &self.dwIfIndex).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_BEST_IF { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_BEST_IF { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwDestAddr == other.dwDestAddr && self.dwIfIndex == other.dwIfIndex |
| } |
| } |
| impl ::core::cmp::Eq for MIB_BEST_IF {} |
| impl ::core::default::Default for MIB_BEST_IF { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_BOUNDARYROW { |
| pub dwGroupAddress: u32, |
| pub dwGroupMask: u32, |
| } |
| impl ::core::marker::Copy for MIB_BOUNDARYROW {} |
| impl ::core::clone::Clone for MIB_BOUNDARYROW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_BOUNDARYROW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_BOUNDARYROW").field("dwGroupAddress", &self.dwGroupAddress).field("dwGroupMask", &self.dwGroupMask).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_BOUNDARYROW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_BOUNDARYROW { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwGroupAddress == other.dwGroupAddress && self.dwGroupMask == other.dwGroupMask |
| } |
| } |
| impl ::core::cmp::Eq for MIB_BOUNDARYROW {} |
| impl ::core::default::Default for MIB_BOUNDARYROW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_ICMP { |
| pub stats: MIBICMPINFO, |
| } |
| impl ::core::marker::Copy for MIB_ICMP {} |
| impl ::core::clone::Clone for MIB_ICMP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_ICMP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_ICMP").field("stats", &self.stats).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_ICMP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_ICMP { |
| fn eq(&self, other: &Self) -> bool { |
| self.stats == other.stats |
| } |
| } |
| impl ::core::cmp::Eq for MIB_ICMP {} |
| impl ::core::default::Default for MIB_ICMP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_ICMP_EX_XPSP1 { |
| pub icmpInStats: MIBICMPSTATS_EX_XPSP1, |
| pub icmpOutStats: MIBICMPSTATS_EX_XPSP1, |
| } |
| impl ::core::marker::Copy for MIB_ICMP_EX_XPSP1 {} |
| impl ::core::clone::Clone for MIB_ICMP_EX_XPSP1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_ICMP_EX_XPSP1 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_ICMP_EX_XPSP1").field("icmpInStats", &self.icmpInStats).field("icmpOutStats", &self.icmpOutStats).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_ICMP_EX_XPSP1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_ICMP_EX_XPSP1 { |
| fn eq(&self, other: &Self) -> bool { |
| self.icmpInStats == other.icmpInStats && self.icmpOutStats == other.icmpOutStats |
| } |
| } |
| impl ::core::cmp::Eq for MIB_ICMP_EX_XPSP1 {} |
| impl ::core::default::Default for MIB_ICMP_EX_XPSP1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IFNUMBER { |
| pub dwValue: u32, |
| } |
| impl ::core::marker::Copy for MIB_IFNUMBER {} |
| impl ::core::clone::Clone for MIB_IFNUMBER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IFNUMBER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IFNUMBER").field("dwValue", &self.dwValue).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IFNUMBER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IFNUMBER { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwValue == other.dwValue |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IFNUMBER {} |
| impl ::core::default::Default for MIB_IFNUMBER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IFROW { |
| pub wszName: [u16; 256], |
| pub dwIndex: u32, |
| pub dwType: u32, |
| pub dwMtu: u32, |
| pub dwSpeed: u32, |
| pub dwPhysAddrLen: u32, |
| pub bPhysAddr: [u8; 8], |
| pub dwAdminStatus: u32, |
| pub dwOperStatus: INTERNAL_IF_OPER_STATUS, |
| pub dwLastChange: u32, |
| pub dwInOctets: u32, |
| pub dwInUcastPkts: u32, |
| pub dwInNUcastPkts: u32, |
| pub dwInDiscards: u32, |
| pub dwInErrors: u32, |
| pub dwInUnknownProtos: u32, |
| pub dwOutOctets: u32, |
| pub dwOutUcastPkts: u32, |
| pub dwOutNUcastPkts: u32, |
| pub dwOutDiscards: u32, |
| pub dwOutErrors: u32, |
| pub dwOutQLen: u32, |
| pub dwDescrLen: u32, |
| pub bDescr: [u8; 256], |
| } |
| impl ::core::marker::Copy for MIB_IFROW {} |
| impl ::core::clone::Clone for MIB_IFROW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IFROW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IFROW") |
| .field("wszName", &self.wszName) |
| .field("dwIndex", &self.dwIndex) |
| .field("dwType", &self.dwType) |
| .field("dwMtu", &self.dwMtu) |
| .field("dwSpeed", &self.dwSpeed) |
| .field("dwPhysAddrLen", &self.dwPhysAddrLen) |
| .field("bPhysAddr", &self.bPhysAddr) |
| .field("dwAdminStatus", &self.dwAdminStatus) |
| .field("dwOperStatus", &self.dwOperStatus) |
| .field("dwLastChange", &self.dwLastChange) |
| .field("dwInOctets", &self.dwInOctets) |
| .field("dwInUcastPkts", &self.dwInUcastPkts) |
| .field("dwInNUcastPkts", &self.dwInNUcastPkts) |
| .field("dwInDiscards", &self.dwInDiscards) |
| .field("dwInErrors", &self.dwInErrors) |
| .field("dwInUnknownProtos", &self.dwInUnknownProtos) |
| .field("dwOutOctets", &self.dwOutOctets) |
| .field("dwOutUcastPkts", &self.dwOutUcastPkts) |
| .field("dwOutNUcastPkts", &self.dwOutNUcastPkts) |
| .field("dwOutDiscards", &self.dwOutDiscards) |
| .field("dwOutErrors", &self.dwOutErrors) |
| .field("dwOutQLen", &self.dwOutQLen) |
| .field("dwDescrLen", &self.dwDescrLen) |
| .field("bDescr", &self.bDescr) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IFROW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IFROW { |
| fn eq(&self, other: &Self) -> bool { |
| self.wszName == other.wszName |
| && self.dwIndex == other.dwIndex |
| && self.dwType == other.dwType |
| && self.dwMtu == other.dwMtu |
| && self.dwSpeed == other.dwSpeed |
| && self.dwPhysAddrLen == other.dwPhysAddrLen |
| && self.bPhysAddr == other.bPhysAddr |
| && self.dwAdminStatus == other.dwAdminStatus |
| && self.dwOperStatus == other.dwOperStatus |
| && self.dwLastChange == other.dwLastChange |
| && self.dwInOctets == other.dwInOctets |
| && self.dwInUcastPkts == other.dwInUcastPkts |
| && self.dwInNUcastPkts == other.dwInNUcastPkts |
| && self.dwInDiscards == other.dwInDiscards |
| && self.dwInErrors == other.dwInErrors |
| && self.dwInUnknownProtos == other.dwInUnknownProtos |
| && self.dwOutOctets == other.dwOutOctets |
| && self.dwOutUcastPkts == other.dwOutUcastPkts |
| && self.dwOutNUcastPkts == other.dwOutNUcastPkts |
| && self.dwOutDiscards == other.dwOutDiscards |
| && self.dwOutErrors == other.dwOutErrors |
| && self.dwOutQLen == other.dwOutQLen |
| && self.dwDescrLen == other.dwDescrLen |
| && self.bDescr == other.bDescr |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IFROW {} |
| impl ::core::default::Default for MIB_IFROW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IFSTACK_ROW { |
| pub HigherLayerInterfaceIndex: u32, |
| pub LowerLayerInterfaceIndex: u32, |
| } |
| impl ::core::marker::Copy for MIB_IFSTACK_ROW {} |
| impl ::core::clone::Clone for MIB_IFSTACK_ROW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IFSTACK_ROW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IFSTACK_ROW").field("HigherLayerInterfaceIndex", &self.HigherLayerInterfaceIndex).field("LowerLayerInterfaceIndex", &self.LowerLayerInterfaceIndex).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IFSTACK_ROW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IFSTACK_ROW { |
| fn eq(&self, other: &Self) -> bool { |
| self.HigherLayerInterfaceIndex == other.HigherLayerInterfaceIndex && self.LowerLayerInterfaceIndex == other.LowerLayerInterfaceIndex |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IFSTACK_ROW {} |
| impl ::core::default::Default for MIB_IFSTACK_ROW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IFSTACK_TABLE { |
| pub NumEntries: u32, |
| pub Table: [MIB_IFSTACK_ROW; 1], |
| } |
| impl ::core::marker::Copy for MIB_IFSTACK_TABLE {} |
| impl ::core::clone::Clone for MIB_IFSTACK_TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IFSTACK_TABLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IFSTACK_TABLE").field("NumEntries", &self.NumEntries).field("Table", &self.Table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IFSTACK_TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IFSTACK_TABLE { |
| fn eq(&self, other: &Self) -> bool { |
| self.NumEntries == other.NumEntries && self.Table == other.Table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IFSTACK_TABLE {} |
| impl ::core::default::Default for MIB_IFSTACK_TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct MIB_IFSTATUS { |
| pub dwIfIndex: u32, |
| pub dwAdminStatus: u32, |
| pub dwOperationalStatus: u32, |
| pub bMHbeatActive: super::super::Foundation::BOOL, |
| pub bMHbeatAlive: super::super::Foundation::BOOL, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for MIB_IFSTATUS {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for MIB_IFSTATUS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for MIB_IFSTATUS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IFSTATUS").field("dwIfIndex", &self.dwIfIndex).field("dwAdminStatus", &self.dwAdminStatus).field("dwOperationalStatus", &self.dwOperationalStatus).field("bMHbeatActive", &self.bMHbeatActive).field("bMHbeatAlive", &self.bMHbeatAlive).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for MIB_IFSTATUS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for MIB_IFSTATUS { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwIfIndex == other.dwIfIndex && self.dwAdminStatus == other.dwAdminStatus && self.dwOperationalStatus == other.dwOperationalStatus && self.bMHbeatActive == other.bMHbeatActive && self.bMHbeatAlive == other.bMHbeatAlive |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for MIB_IFSTATUS {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for MIB_IFSTATUS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IFTABLE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_IFROW; 1], |
| } |
| impl ::core::marker::Copy for MIB_IFTABLE {} |
| impl ::core::clone::Clone for MIB_IFTABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IFTABLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IFTABLE").field("dwNumEntries", &self.dwNumEntries).field("table", &self.table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IFTABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IFTABLE { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumEntries == other.dwNumEntries && self.table == other.table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IFTABLE {} |
| impl ::core::default::Default for MIB_IFTABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| pub struct MIB_IF_ROW2 { |
| pub InterfaceLuid: super::Ndis::NET_LUID_LH, |
| pub InterfaceIndex: u32, |
| pub InterfaceGuid: ::windows::core::GUID, |
| pub Alias: [u16; 257], |
| pub Description: [u16; 257], |
| pub PhysicalAddressLength: u32, |
| pub PhysicalAddress: [u8; 32], |
| pub PermanentPhysicalAddress: [u8; 32], |
| pub Mtu: u32, |
| pub Type: u32, |
| pub TunnelType: super::Ndis::TUNNEL_TYPE, |
| pub MediaType: super::Ndis::NDIS_MEDIUM, |
| pub PhysicalMediumType: super::Ndis::NDIS_PHYSICAL_MEDIUM, |
| pub AccessType: super::Ndis::NET_IF_ACCESS_TYPE, |
| pub DirectionType: super::Ndis::NET_IF_DIRECTION_TYPE, |
| pub InterfaceAndOperStatusFlags: MIB_IF_ROW2_0, |
| pub OperStatus: super::Ndis::IF_OPER_STATUS, |
| pub AdminStatus: super::Ndis::NET_IF_ADMIN_STATUS, |
| pub MediaConnectState: super::Ndis::NET_IF_MEDIA_CONNECT_STATE, |
| pub NetworkGuid: ::windows::core::GUID, |
| pub ConnectionType: super::Ndis::NET_IF_CONNECTION_TYPE, |
| pub TransmitLinkSpeed: u64, |
| pub ReceiveLinkSpeed: u64, |
| pub InOctets: u64, |
| pub InUcastPkts: u64, |
| pub InNUcastPkts: u64, |
| pub InDiscards: u64, |
| pub InErrors: u64, |
| pub InUnknownProtos: u64, |
| pub InUcastOctets: u64, |
| pub InMulticastOctets: u64, |
| pub InBroadcastOctets: u64, |
| pub OutOctets: u64, |
| pub OutUcastPkts: u64, |
| pub OutNUcastPkts: u64, |
| pub OutDiscards: u64, |
| pub OutErrors: u64, |
| pub OutUcastOctets: u64, |
| pub OutMulticastOctets: u64, |
| pub OutBroadcastOctets: u64, |
| pub OutQLen: u64, |
| } |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| impl ::core::marker::Copy for MIB_IF_ROW2 {} |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| impl ::core::clone::Clone for MIB_IF_ROW2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| impl ::windows::core::TypeKind for MIB_IF_ROW2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| impl ::core::default::Default for MIB_IF_ROW2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| pub struct MIB_IF_ROW2_0 { |
| pub _bitfield: u8, |
| } |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| impl ::core::marker::Copy for MIB_IF_ROW2_0 {} |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| impl ::core::clone::Clone for MIB_IF_ROW2_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| impl ::core::fmt::Debug for MIB_IF_ROW2_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IF_ROW2_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| impl ::windows::core::TypeKind for MIB_IF_ROW2_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| impl ::core::cmp::PartialEq for MIB_IF_ROW2_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| impl ::core::cmp::Eq for MIB_IF_ROW2_0 {} |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| impl ::core::default::Default for MIB_IF_ROW2_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`*"] |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| pub struct MIB_IF_TABLE2 { |
| pub NumEntries: u32, |
| pub Table: [MIB_IF_ROW2; 1], |
| } |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| impl ::core::marker::Copy for MIB_IF_TABLE2 {} |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| impl ::core::clone::Clone for MIB_IF_TABLE2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| impl ::windows::core::TypeKind for MIB_IF_TABLE2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_NetworkManagement_Ndis")] |
| impl ::core::default::Default for MIB_IF_TABLE2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_INVERTEDIFSTACK_ROW { |
| pub LowerLayerInterfaceIndex: u32, |
| pub HigherLayerInterfaceIndex: u32, |
| } |
| impl ::core::marker::Copy for MIB_INVERTEDIFSTACK_ROW {} |
| impl ::core::clone::Clone for MIB_INVERTEDIFSTACK_ROW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_INVERTEDIFSTACK_ROW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_INVERTEDIFSTACK_ROW").field("LowerLayerInterfaceIndex", &self.LowerLayerInterfaceIndex).field("HigherLayerInterfaceIndex", &self.HigherLayerInterfaceIndex).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_INVERTEDIFSTACK_ROW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_INVERTEDIFSTACK_ROW { |
| fn eq(&self, other: &Self) -> bool { |
| self.LowerLayerInterfaceIndex == other.LowerLayerInterfaceIndex && self.HigherLayerInterfaceIndex == other.HigherLayerInterfaceIndex |
| } |
| } |
| impl ::core::cmp::Eq for MIB_INVERTEDIFSTACK_ROW {} |
| impl ::core::default::Default for MIB_INVERTEDIFSTACK_ROW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_INVERTEDIFSTACK_TABLE { |
| pub NumEntries: u32, |
| pub Table: [MIB_INVERTEDIFSTACK_ROW; 1], |
| } |
| impl ::core::marker::Copy for MIB_INVERTEDIFSTACK_TABLE {} |
| impl ::core::clone::Clone for MIB_INVERTEDIFSTACK_TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_INVERTEDIFSTACK_TABLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_INVERTEDIFSTACK_TABLE").field("NumEntries", &self.NumEntries).field("Table", &self.Table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_INVERTEDIFSTACK_TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_INVERTEDIFSTACK_TABLE { |
| fn eq(&self, other: &Self) -> bool { |
| self.NumEntries == other.NumEntries && self.Table == other.Table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_INVERTEDIFSTACK_TABLE {} |
| impl ::core::default::Default for MIB_INVERTEDIFSTACK_TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPADDRROW_W2K { |
| pub dwAddr: u32, |
| pub dwIndex: u32, |
| pub dwMask: u32, |
| pub dwBCastAddr: u32, |
| pub dwReasmSize: u32, |
| pub unused1: u16, |
| pub unused2: u16, |
| } |
| impl ::core::marker::Copy for MIB_IPADDRROW_W2K {} |
| impl ::core::clone::Clone for MIB_IPADDRROW_W2K { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPADDRROW_W2K { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPADDRROW_W2K").field("dwAddr", &self.dwAddr).field("dwIndex", &self.dwIndex).field("dwMask", &self.dwMask).field("dwBCastAddr", &self.dwBCastAddr).field("dwReasmSize", &self.dwReasmSize).field("unused1", &self.unused1).field("unused2", &self.unused2).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPADDRROW_W2K { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPADDRROW_W2K { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwAddr == other.dwAddr && self.dwIndex == other.dwIndex && self.dwMask == other.dwMask && self.dwBCastAddr == other.dwBCastAddr && self.dwReasmSize == other.dwReasmSize && self.unused1 == other.unused1 && self.unused2 == other.unused2 |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPADDRROW_W2K {} |
| impl ::core::default::Default for MIB_IPADDRROW_W2K { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPADDRROW_XP { |
| pub dwAddr: u32, |
| pub dwIndex: u32, |
| pub dwMask: u32, |
| pub dwBCastAddr: u32, |
| pub dwReasmSize: u32, |
| pub unused1: u16, |
| pub wType: u16, |
| } |
| impl ::core::marker::Copy for MIB_IPADDRROW_XP {} |
| impl ::core::clone::Clone for MIB_IPADDRROW_XP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPADDRROW_XP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPADDRROW_XP").field("dwAddr", &self.dwAddr).field("dwIndex", &self.dwIndex).field("dwMask", &self.dwMask).field("dwBCastAddr", &self.dwBCastAddr).field("dwReasmSize", &self.dwReasmSize).field("unused1", &self.unused1).field("wType", &self.wType).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPADDRROW_XP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPADDRROW_XP { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwAddr == other.dwAddr && self.dwIndex == other.dwIndex && self.dwMask == other.dwMask && self.dwBCastAddr == other.dwBCastAddr && self.dwReasmSize == other.dwReasmSize && self.unused1 == other.unused1 && self.wType == other.wType |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPADDRROW_XP {} |
| impl ::core::default::Default for MIB_IPADDRROW_XP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPADDRTABLE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_IPADDRROW_XP; 1], |
| } |
| impl ::core::marker::Copy for MIB_IPADDRTABLE {} |
| impl ::core::clone::Clone for MIB_IPADDRTABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPADDRTABLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPADDRTABLE").field("dwNumEntries", &self.dwNumEntries).field("table", &self.table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPADDRTABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPADDRTABLE { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumEntries == other.dwNumEntries && self.table == other.table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPADDRTABLE {} |
| impl ::core::default::Default for MIB_IPADDRTABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct MIB_IPDESTROW { |
| pub ForwardRow: MIB_IPFORWARDROW, |
| pub dwForwardPreference: u32, |
| pub dwForwardViewSet: u32, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for MIB_IPDESTROW {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for MIB_IPDESTROW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for MIB_IPDESTROW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for MIB_IPDESTROW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct MIB_IPDESTTABLE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_IPDESTROW; 1], |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for MIB_IPDESTTABLE {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for MIB_IPDESTTABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for MIB_IPDESTTABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for MIB_IPDESTTABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPFORWARDNUMBER { |
| pub dwValue: u32, |
| } |
| impl ::core::marker::Copy for MIB_IPFORWARDNUMBER {} |
| impl ::core::clone::Clone for MIB_IPFORWARDNUMBER { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPFORWARDNUMBER { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPFORWARDNUMBER").field("dwValue", &self.dwValue).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPFORWARDNUMBER { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPFORWARDNUMBER { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwValue == other.dwValue |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPFORWARDNUMBER {} |
| impl ::core::default::Default for MIB_IPFORWARDNUMBER { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct MIB_IPFORWARDROW { |
| pub dwForwardDest: u32, |
| pub dwForwardMask: u32, |
| pub dwForwardPolicy: u32, |
| pub dwForwardNextHop: u32, |
| pub dwForwardIfIndex: u32, |
| pub Anonymous1: MIB_IPFORWARDROW_0, |
| pub Anonymous2: MIB_IPFORWARDROW_1, |
| pub dwForwardAge: u32, |
| pub dwForwardNextHopAS: u32, |
| pub dwForwardMetric1: u32, |
| pub dwForwardMetric2: u32, |
| pub dwForwardMetric3: u32, |
| pub dwForwardMetric4: u32, |
| pub dwForwardMetric5: u32, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for MIB_IPFORWARDROW {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for MIB_IPFORWARDROW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for MIB_IPFORWARDROW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for MIB_IPFORWARDROW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub union MIB_IPFORWARDROW_0 { |
| pub dwForwardType: u32, |
| pub ForwardType: MIB_IPFORWARD_TYPE, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for MIB_IPFORWARDROW_0 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for MIB_IPFORWARDROW_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for MIB_IPFORWARDROW_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for MIB_IPFORWARDROW_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub union MIB_IPFORWARDROW_1 { |
| pub dwForwardProto: u32, |
| pub ForwardProto: super::super::Networking::WinSock::NL_ROUTE_PROTOCOL, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for MIB_IPFORWARDROW_1 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for MIB_IPFORWARDROW_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for MIB_IPFORWARDROW_1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for MIB_IPFORWARDROW_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct MIB_IPFORWARDTABLE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_IPFORWARDROW; 1], |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for MIB_IPFORWARDTABLE {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for MIB_IPFORWARDTABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for MIB_IPFORWARDTABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for MIB_IPFORWARDTABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_IPFORWARD_ROW2 { |
| pub InterfaceLuid: super::Ndis::NET_LUID_LH, |
| pub InterfaceIndex: u32, |
| pub DestinationPrefix: IP_ADDRESS_PREFIX, |
| pub NextHop: super::super::Networking::WinSock::SOCKADDR_INET, |
| pub SitePrefixLength: u8, |
| pub ValidLifetime: u32, |
| pub PreferredLifetime: u32, |
| pub Metric: u32, |
| pub Protocol: super::super::Networking::WinSock::NL_ROUTE_PROTOCOL, |
| pub Loopback: super::super::Foundation::BOOLEAN, |
| pub AutoconfigureAddress: super::super::Foundation::BOOLEAN, |
| pub Publish: super::super::Foundation::BOOLEAN, |
| pub Immortal: super::super::Foundation::BOOLEAN, |
| pub Age: u32, |
| pub Origin: super::super::Networking::WinSock::NL_ROUTE_ORIGIN, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_IPFORWARD_ROW2 {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_IPFORWARD_ROW2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_IPFORWARD_ROW2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_IPFORWARD_ROW2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_IPFORWARD_TABLE2 { |
| pub NumEntries: u32, |
| pub Table: [MIB_IPFORWARD_ROW2; 1], |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_IPFORWARD_TABLE2 {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_IPFORWARD_TABLE2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_IPFORWARD_TABLE2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_IPFORWARD_TABLE2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_IPINTERFACE_ROW { |
| pub Family: super::super::Networking::WinSock::ADDRESS_FAMILY, |
| pub InterfaceLuid: super::Ndis::NET_LUID_LH, |
| pub InterfaceIndex: u32, |
| pub MaxReassemblySize: u32, |
| pub InterfaceIdentifier: u64, |
| pub MinRouterAdvertisementInterval: u32, |
| pub MaxRouterAdvertisementInterval: u32, |
| pub AdvertisingEnabled: super::super::Foundation::BOOLEAN, |
| pub ForwardingEnabled: super::super::Foundation::BOOLEAN, |
| pub WeakHostSend: super::super::Foundation::BOOLEAN, |
| pub WeakHostReceive: super::super::Foundation::BOOLEAN, |
| pub UseAutomaticMetric: super::super::Foundation::BOOLEAN, |
| pub UseNeighborUnreachabilityDetection: super::super::Foundation::BOOLEAN, |
| pub ManagedAddressConfigurationSupported: super::super::Foundation::BOOLEAN, |
| pub OtherStatefulConfigurationSupported: super::super::Foundation::BOOLEAN, |
| pub AdvertiseDefaultRoute: super::super::Foundation::BOOLEAN, |
| pub RouterDiscoveryBehavior: super::super::Networking::WinSock::NL_ROUTER_DISCOVERY_BEHAVIOR, |
| pub DadTransmits: u32, |
| pub BaseReachableTime: u32, |
| pub RetransmitTime: u32, |
| pub PathMtuDiscoveryTimeout: u32, |
| pub LinkLocalAddressBehavior: super::super::Networking::WinSock::NL_LINK_LOCAL_ADDRESS_BEHAVIOR, |
| pub LinkLocalAddressTimeout: u32, |
| pub ZoneIndices: [u32; 16], |
| pub SitePrefixLength: u32, |
| pub Metric: u32, |
| pub NlMtu: u32, |
| pub Connected: super::super::Foundation::BOOLEAN, |
| pub SupportsWakeUpPatterns: super::super::Foundation::BOOLEAN, |
| pub SupportsNeighborDiscovery: super::super::Foundation::BOOLEAN, |
| pub SupportsRouterDiscovery: super::super::Foundation::BOOLEAN, |
| pub ReachableTime: u32, |
| pub TransmitOffload: super::super::Networking::WinSock::NL_INTERFACE_OFFLOAD_ROD, |
| pub ReceiveOffload: super::super::Networking::WinSock::NL_INTERFACE_OFFLOAD_ROD, |
| pub DisableDefaultRoutes: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_IPINTERFACE_ROW {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_IPINTERFACE_ROW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_IPINTERFACE_ROW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_IPINTERFACE_ROW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_IPINTERFACE_TABLE { |
| pub NumEntries: u32, |
| pub Table: [MIB_IPINTERFACE_ROW; 1], |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_IPINTERFACE_TABLE {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_IPINTERFACE_TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_IPINTERFACE_TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_IPINTERFACE_TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPMCAST_BOUNDARY { |
| pub dwIfIndex: u32, |
| pub dwGroupAddress: u32, |
| pub dwGroupMask: u32, |
| pub dwStatus: u32, |
| } |
| impl ::core::marker::Copy for MIB_IPMCAST_BOUNDARY {} |
| impl ::core::clone::Clone for MIB_IPMCAST_BOUNDARY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPMCAST_BOUNDARY { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPMCAST_BOUNDARY").field("dwIfIndex", &self.dwIfIndex).field("dwGroupAddress", &self.dwGroupAddress).field("dwGroupMask", &self.dwGroupMask).field("dwStatus", &self.dwStatus).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPMCAST_BOUNDARY { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPMCAST_BOUNDARY { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwIfIndex == other.dwIfIndex && self.dwGroupAddress == other.dwGroupAddress && self.dwGroupMask == other.dwGroupMask && self.dwStatus == other.dwStatus |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPMCAST_BOUNDARY {} |
| impl ::core::default::Default for MIB_IPMCAST_BOUNDARY { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPMCAST_BOUNDARY_TABLE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_IPMCAST_BOUNDARY; 1], |
| } |
| impl ::core::marker::Copy for MIB_IPMCAST_BOUNDARY_TABLE {} |
| impl ::core::clone::Clone for MIB_IPMCAST_BOUNDARY_TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPMCAST_BOUNDARY_TABLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPMCAST_BOUNDARY_TABLE").field("dwNumEntries", &self.dwNumEntries).field("table", &self.table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPMCAST_BOUNDARY_TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPMCAST_BOUNDARY_TABLE { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumEntries == other.dwNumEntries && self.table == other.table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPMCAST_BOUNDARY_TABLE {} |
| impl ::core::default::Default for MIB_IPMCAST_BOUNDARY_TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPMCAST_GLOBAL { |
| pub dwEnable: u32, |
| } |
| impl ::core::marker::Copy for MIB_IPMCAST_GLOBAL {} |
| impl ::core::clone::Clone for MIB_IPMCAST_GLOBAL { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPMCAST_GLOBAL { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPMCAST_GLOBAL").field("dwEnable", &self.dwEnable).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPMCAST_GLOBAL { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPMCAST_GLOBAL { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwEnable == other.dwEnable |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPMCAST_GLOBAL {} |
| impl ::core::default::Default for MIB_IPMCAST_GLOBAL { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPMCAST_IF_ENTRY { |
| pub dwIfIndex: u32, |
| pub dwTtl: u32, |
| pub dwProtocol: u32, |
| pub dwRateLimit: u32, |
| pub ulInMcastOctets: u32, |
| pub ulOutMcastOctets: u32, |
| } |
| impl ::core::marker::Copy for MIB_IPMCAST_IF_ENTRY {} |
| impl ::core::clone::Clone for MIB_IPMCAST_IF_ENTRY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPMCAST_IF_ENTRY { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPMCAST_IF_ENTRY").field("dwIfIndex", &self.dwIfIndex).field("dwTtl", &self.dwTtl).field("dwProtocol", &self.dwProtocol).field("dwRateLimit", &self.dwRateLimit).field("ulInMcastOctets", &self.ulInMcastOctets).field("ulOutMcastOctets", &self.ulOutMcastOctets).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPMCAST_IF_ENTRY { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPMCAST_IF_ENTRY { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwIfIndex == other.dwIfIndex && self.dwTtl == other.dwTtl && self.dwProtocol == other.dwProtocol && self.dwRateLimit == other.dwRateLimit && self.ulInMcastOctets == other.ulInMcastOctets && self.ulOutMcastOctets == other.ulOutMcastOctets |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPMCAST_IF_ENTRY {} |
| impl ::core::default::Default for MIB_IPMCAST_IF_ENTRY { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPMCAST_IF_TABLE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_IPMCAST_IF_ENTRY; 1], |
| } |
| impl ::core::marker::Copy for MIB_IPMCAST_IF_TABLE {} |
| impl ::core::clone::Clone for MIB_IPMCAST_IF_TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPMCAST_IF_TABLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPMCAST_IF_TABLE").field("dwNumEntries", &self.dwNumEntries).field("table", &self.table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPMCAST_IF_TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPMCAST_IF_TABLE { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumEntries == other.dwNumEntries && self.table == other.table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPMCAST_IF_TABLE {} |
| impl ::core::default::Default for MIB_IPMCAST_IF_TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPMCAST_MFE { |
| pub dwGroup: u32, |
| pub dwSource: u32, |
| pub dwSrcMask: u32, |
| pub dwUpStrmNgbr: u32, |
| pub dwInIfIndex: u32, |
| pub dwInIfProtocol: u32, |
| pub dwRouteProtocol: u32, |
| pub dwRouteNetwork: u32, |
| pub dwRouteMask: u32, |
| pub ulUpTime: u32, |
| pub ulExpiryTime: u32, |
| pub ulTimeOut: u32, |
| pub ulNumOutIf: u32, |
| pub fFlags: u32, |
| pub dwReserved: u32, |
| pub rgmioOutInfo: [MIB_IPMCAST_OIF_XP; 1], |
| } |
| impl ::core::marker::Copy for MIB_IPMCAST_MFE {} |
| impl ::core::clone::Clone for MIB_IPMCAST_MFE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPMCAST_MFE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPMCAST_MFE") |
| .field("dwGroup", &self.dwGroup) |
| .field("dwSource", &self.dwSource) |
| .field("dwSrcMask", &self.dwSrcMask) |
| .field("dwUpStrmNgbr", &self.dwUpStrmNgbr) |
| .field("dwInIfIndex", &self.dwInIfIndex) |
| .field("dwInIfProtocol", &self.dwInIfProtocol) |
| .field("dwRouteProtocol", &self.dwRouteProtocol) |
| .field("dwRouteNetwork", &self.dwRouteNetwork) |
| .field("dwRouteMask", &self.dwRouteMask) |
| .field("ulUpTime", &self.ulUpTime) |
| .field("ulExpiryTime", &self.ulExpiryTime) |
| .field("ulTimeOut", &self.ulTimeOut) |
| .field("ulNumOutIf", &self.ulNumOutIf) |
| .field("fFlags", &self.fFlags) |
| .field("dwReserved", &self.dwReserved) |
| .field("rgmioOutInfo", &self.rgmioOutInfo) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPMCAST_MFE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPMCAST_MFE { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwGroup == other.dwGroup && self.dwSource == other.dwSource && self.dwSrcMask == other.dwSrcMask && self.dwUpStrmNgbr == other.dwUpStrmNgbr && self.dwInIfIndex == other.dwInIfIndex && self.dwInIfProtocol == other.dwInIfProtocol && self.dwRouteProtocol == other.dwRouteProtocol && self.dwRouteNetwork == other.dwRouteNetwork && self.dwRouteMask == other.dwRouteMask && self.ulUpTime == other.ulUpTime && self.ulExpiryTime == other.ulExpiryTime && self.ulTimeOut == other.ulTimeOut && self.ulNumOutIf == other.ulNumOutIf && self.fFlags == other.fFlags && self.dwReserved == other.dwReserved && self.rgmioOutInfo == other.rgmioOutInfo |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPMCAST_MFE {} |
| impl ::core::default::Default for MIB_IPMCAST_MFE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPMCAST_MFE_STATS { |
| pub dwGroup: u32, |
| pub dwSource: u32, |
| pub dwSrcMask: u32, |
| pub dwUpStrmNgbr: u32, |
| pub dwInIfIndex: u32, |
| pub dwInIfProtocol: u32, |
| pub dwRouteProtocol: u32, |
| pub dwRouteNetwork: u32, |
| pub dwRouteMask: u32, |
| pub ulUpTime: u32, |
| pub ulExpiryTime: u32, |
| pub ulNumOutIf: u32, |
| pub ulInPkts: u32, |
| pub ulInOctets: u32, |
| pub ulPktsDifferentIf: u32, |
| pub ulQueueOverflow: u32, |
| pub rgmiosOutStats: [MIB_IPMCAST_OIF_STATS_LH; 1], |
| } |
| impl ::core::marker::Copy for MIB_IPMCAST_MFE_STATS {} |
| impl ::core::clone::Clone for MIB_IPMCAST_MFE_STATS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPMCAST_MFE_STATS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPMCAST_MFE_STATS") |
| .field("dwGroup", &self.dwGroup) |
| .field("dwSource", &self.dwSource) |
| .field("dwSrcMask", &self.dwSrcMask) |
| .field("dwUpStrmNgbr", &self.dwUpStrmNgbr) |
| .field("dwInIfIndex", &self.dwInIfIndex) |
| .field("dwInIfProtocol", &self.dwInIfProtocol) |
| .field("dwRouteProtocol", &self.dwRouteProtocol) |
| .field("dwRouteNetwork", &self.dwRouteNetwork) |
| .field("dwRouteMask", &self.dwRouteMask) |
| .field("ulUpTime", &self.ulUpTime) |
| .field("ulExpiryTime", &self.ulExpiryTime) |
| .field("ulNumOutIf", &self.ulNumOutIf) |
| .field("ulInPkts", &self.ulInPkts) |
| .field("ulInOctets", &self.ulInOctets) |
| .field("ulPktsDifferentIf", &self.ulPktsDifferentIf) |
| .field("ulQueueOverflow", &self.ulQueueOverflow) |
| .field("rgmiosOutStats", &self.rgmiosOutStats) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPMCAST_MFE_STATS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPMCAST_MFE_STATS { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwGroup == other.dwGroup && self.dwSource == other.dwSource && self.dwSrcMask == other.dwSrcMask && self.dwUpStrmNgbr == other.dwUpStrmNgbr && self.dwInIfIndex == other.dwInIfIndex && self.dwInIfProtocol == other.dwInIfProtocol && self.dwRouteProtocol == other.dwRouteProtocol && self.dwRouteNetwork == other.dwRouteNetwork && self.dwRouteMask == other.dwRouteMask && self.ulUpTime == other.ulUpTime && self.ulExpiryTime == other.ulExpiryTime && self.ulNumOutIf == other.ulNumOutIf && self.ulInPkts == other.ulInPkts && self.ulInOctets == other.ulInOctets && self.ulPktsDifferentIf == other.ulPktsDifferentIf && self.ulQueueOverflow == other.ulQueueOverflow && self.rgmiosOutStats == other.rgmiosOutStats |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPMCAST_MFE_STATS {} |
| impl ::core::default::Default for MIB_IPMCAST_MFE_STATS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPMCAST_MFE_STATS_EX_XP { |
| pub dwGroup: u32, |
| pub dwSource: u32, |
| pub dwSrcMask: u32, |
| pub dwUpStrmNgbr: u32, |
| pub dwInIfIndex: u32, |
| pub dwInIfProtocol: u32, |
| pub dwRouteProtocol: u32, |
| pub dwRouteNetwork: u32, |
| pub dwRouteMask: u32, |
| pub ulUpTime: u32, |
| pub ulExpiryTime: u32, |
| pub ulNumOutIf: u32, |
| pub ulInPkts: u32, |
| pub ulInOctets: u32, |
| pub ulPktsDifferentIf: u32, |
| pub ulQueueOverflow: u32, |
| pub ulUninitMfe: u32, |
| pub ulNegativeMfe: u32, |
| pub ulInDiscards: u32, |
| pub ulInHdrErrors: u32, |
| pub ulTotalOutPackets: u32, |
| pub rgmiosOutStats: [MIB_IPMCAST_OIF_STATS_LH; 1], |
| } |
| impl ::core::marker::Copy for MIB_IPMCAST_MFE_STATS_EX_XP {} |
| impl ::core::clone::Clone for MIB_IPMCAST_MFE_STATS_EX_XP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPMCAST_MFE_STATS_EX_XP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPMCAST_MFE_STATS_EX_XP") |
| .field("dwGroup", &self.dwGroup) |
| .field("dwSource", &self.dwSource) |
| .field("dwSrcMask", &self.dwSrcMask) |
| .field("dwUpStrmNgbr", &self.dwUpStrmNgbr) |
| .field("dwInIfIndex", &self.dwInIfIndex) |
| .field("dwInIfProtocol", &self.dwInIfProtocol) |
| .field("dwRouteProtocol", &self.dwRouteProtocol) |
| .field("dwRouteNetwork", &self.dwRouteNetwork) |
| .field("dwRouteMask", &self.dwRouteMask) |
| .field("ulUpTime", &self.ulUpTime) |
| .field("ulExpiryTime", &self.ulExpiryTime) |
| .field("ulNumOutIf", &self.ulNumOutIf) |
| .field("ulInPkts", &self.ulInPkts) |
| .field("ulInOctets", &self.ulInOctets) |
| .field("ulPktsDifferentIf", &self.ulPktsDifferentIf) |
| .field("ulQueueOverflow", &self.ulQueueOverflow) |
| .field("ulUninitMfe", &self.ulUninitMfe) |
| .field("ulNegativeMfe", &self.ulNegativeMfe) |
| .field("ulInDiscards", &self.ulInDiscards) |
| .field("ulInHdrErrors", &self.ulInHdrErrors) |
| .field("ulTotalOutPackets", &self.ulTotalOutPackets) |
| .field("rgmiosOutStats", &self.rgmiosOutStats) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPMCAST_MFE_STATS_EX_XP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPMCAST_MFE_STATS_EX_XP { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwGroup == other.dwGroup |
| && self.dwSource == other.dwSource |
| && self.dwSrcMask == other.dwSrcMask |
| && self.dwUpStrmNgbr == other.dwUpStrmNgbr |
| && self.dwInIfIndex == other.dwInIfIndex |
| && self.dwInIfProtocol == other.dwInIfProtocol |
| && self.dwRouteProtocol == other.dwRouteProtocol |
| && self.dwRouteNetwork == other.dwRouteNetwork |
| && self.dwRouteMask == other.dwRouteMask |
| && self.ulUpTime == other.ulUpTime |
| && self.ulExpiryTime == other.ulExpiryTime |
| && self.ulNumOutIf == other.ulNumOutIf |
| && self.ulInPkts == other.ulInPkts |
| && self.ulInOctets == other.ulInOctets |
| && self.ulPktsDifferentIf == other.ulPktsDifferentIf |
| && self.ulQueueOverflow == other.ulQueueOverflow |
| && self.ulUninitMfe == other.ulUninitMfe |
| && self.ulNegativeMfe == other.ulNegativeMfe |
| && self.ulInDiscards == other.ulInDiscards |
| && self.ulInHdrErrors == other.ulInHdrErrors |
| && self.ulTotalOutPackets == other.ulTotalOutPackets |
| && self.rgmiosOutStats == other.rgmiosOutStats |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPMCAST_MFE_STATS_EX_XP {} |
| impl ::core::default::Default for MIB_IPMCAST_MFE_STATS_EX_XP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPMCAST_OIF_STATS_LH { |
| pub dwOutIfIndex: u32, |
| pub dwNextHopAddr: u32, |
| pub dwDialContext: u32, |
| pub ulTtlTooLow: u32, |
| pub ulFragNeeded: u32, |
| pub ulOutPackets: u32, |
| pub ulOutDiscards: u32, |
| } |
| impl ::core::marker::Copy for MIB_IPMCAST_OIF_STATS_LH {} |
| impl ::core::clone::Clone for MIB_IPMCAST_OIF_STATS_LH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPMCAST_OIF_STATS_LH { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPMCAST_OIF_STATS_LH").field("dwOutIfIndex", &self.dwOutIfIndex).field("dwNextHopAddr", &self.dwNextHopAddr).field("dwDialContext", &self.dwDialContext).field("ulTtlTooLow", &self.ulTtlTooLow).field("ulFragNeeded", &self.ulFragNeeded).field("ulOutPackets", &self.ulOutPackets).field("ulOutDiscards", &self.ulOutDiscards).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPMCAST_OIF_STATS_LH { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPMCAST_OIF_STATS_LH { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwOutIfIndex == other.dwOutIfIndex && self.dwNextHopAddr == other.dwNextHopAddr && self.dwDialContext == other.dwDialContext && self.ulTtlTooLow == other.ulTtlTooLow && self.ulFragNeeded == other.ulFragNeeded && self.ulOutPackets == other.ulOutPackets && self.ulOutDiscards == other.ulOutDiscards |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPMCAST_OIF_STATS_LH {} |
| impl ::core::default::Default for MIB_IPMCAST_OIF_STATS_LH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPMCAST_OIF_STATS_W2K { |
| pub dwOutIfIndex: u32, |
| pub dwNextHopAddr: u32, |
| pub pvDialContext: *mut ::core::ffi::c_void, |
| pub ulTtlTooLow: u32, |
| pub ulFragNeeded: u32, |
| pub ulOutPackets: u32, |
| pub ulOutDiscards: u32, |
| } |
| impl ::core::marker::Copy for MIB_IPMCAST_OIF_STATS_W2K {} |
| impl ::core::clone::Clone for MIB_IPMCAST_OIF_STATS_W2K { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPMCAST_OIF_STATS_W2K { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPMCAST_OIF_STATS_W2K").field("dwOutIfIndex", &self.dwOutIfIndex).field("dwNextHopAddr", &self.dwNextHopAddr).field("pvDialContext", &self.pvDialContext).field("ulTtlTooLow", &self.ulTtlTooLow).field("ulFragNeeded", &self.ulFragNeeded).field("ulOutPackets", &self.ulOutPackets).field("ulOutDiscards", &self.ulOutDiscards).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPMCAST_OIF_STATS_W2K { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPMCAST_OIF_STATS_W2K { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwOutIfIndex == other.dwOutIfIndex && self.dwNextHopAddr == other.dwNextHopAddr && self.pvDialContext == other.pvDialContext && self.ulTtlTooLow == other.ulTtlTooLow && self.ulFragNeeded == other.ulFragNeeded && self.ulOutPackets == other.ulOutPackets && self.ulOutDiscards == other.ulOutDiscards |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPMCAST_OIF_STATS_W2K {} |
| impl ::core::default::Default for MIB_IPMCAST_OIF_STATS_W2K { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPMCAST_OIF_W2K { |
| pub dwOutIfIndex: u32, |
| pub dwNextHopAddr: u32, |
| pub pvReserved: *mut ::core::ffi::c_void, |
| pub dwReserved: u32, |
| } |
| impl ::core::marker::Copy for MIB_IPMCAST_OIF_W2K {} |
| impl ::core::clone::Clone for MIB_IPMCAST_OIF_W2K { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPMCAST_OIF_W2K { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPMCAST_OIF_W2K").field("dwOutIfIndex", &self.dwOutIfIndex).field("dwNextHopAddr", &self.dwNextHopAddr).field("pvReserved", &self.pvReserved).field("dwReserved", &self.dwReserved).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPMCAST_OIF_W2K { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPMCAST_OIF_W2K { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwOutIfIndex == other.dwOutIfIndex && self.dwNextHopAddr == other.dwNextHopAddr && self.pvReserved == other.pvReserved && self.dwReserved == other.dwReserved |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPMCAST_OIF_W2K {} |
| impl ::core::default::Default for MIB_IPMCAST_OIF_W2K { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPMCAST_OIF_XP { |
| pub dwOutIfIndex: u32, |
| pub dwNextHopAddr: u32, |
| pub dwReserved: u32, |
| pub dwReserved1: u32, |
| } |
| impl ::core::marker::Copy for MIB_IPMCAST_OIF_XP {} |
| impl ::core::clone::Clone for MIB_IPMCAST_OIF_XP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPMCAST_OIF_XP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPMCAST_OIF_XP").field("dwOutIfIndex", &self.dwOutIfIndex).field("dwNextHopAddr", &self.dwNextHopAddr).field("dwReserved", &self.dwReserved).field("dwReserved1", &self.dwReserved1).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPMCAST_OIF_XP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPMCAST_OIF_XP { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwOutIfIndex == other.dwOutIfIndex && self.dwNextHopAddr == other.dwNextHopAddr && self.dwReserved == other.dwReserved && self.dwReserved1 == other.dwReserved1 |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPMCAST_OIF_XP {} |
| impl ::core::default::Default for MIB_IPMCAST_OIF_XP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPMCAST_SCOPE { |
| pub dwGroupAddress: u32, |
| pub dwGroupMask: u32, |
| pub snNameBuffer: [u16; 256], |
| pub dwStatus: u32, |
| } |
| impl ::core::marker::Copy for MIB_IPMCAST_SCOPE {} |
| impl ::core::clone::Clone for MIB_IPMCAST_SCOPE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPMCAST_SCOPE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPMCAST_SCOPE").field("dwGroupAddress", &self.dwGroupAddress).field("dwGroupMask", &self.dwGroupMask).field("snNameBuffer", &self.snNameBuffer).field("dwStatus", &self.dwStatus).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPMCAST_SCOPE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPMCAST_SCOPE { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwGroupAddress == other.dwGroupAddress && self.dwGroupMask == other.dwGroupMask && self.snNameBuffer == other.snNameBuffer && self.dwStatus == other.dwStatus |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPMCAST_SCOPE {} |
| impl ::core::default::Default for MIB_IPMCAST_SCOPE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPNETROW_LH { |
| pub dwIndex: u32, |
| pub dwPhysAddrLen: u32, |
| pub bPhysAddr: [u8; 8], |
| pub dwAddr: u32, |
| pub Anonymous: MIB_IPNETROW_LH_0, |
| } |
| impl ::core::marker::Copy for MIB_IPNETROW_LH {} |
| impl ::core::clone::Clone for MIB_IPNETROW_LH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPNETROW_LH { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_IPNETROW_LH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub union MIB_IPNETROW_LH_0 { |
| pub dwType: u32, |
| pub Type: MIB_IPNET_TYPE, |
| } |
| impl ::core::marker::Copy for MIB_IPNETROW_LH_0 {} |
| impl ::core::clone::Clone for MIB_IPNETROW_LH_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPNETROW_LH_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_IPNETROW_LH_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPNETROW_W2K { |
| pub dwIndex: u32, |
| pub dwPhysAddrLen: u32, |
| pub bPhysAddr: [u8; 8], |
| pub dwAddr: u32, |
| pub dwType: u32, |
| } |
| impl ::core::marker::Copy for MIB_IPNETROW_W2K {} |
| impl ::core::clone::Clone for MIB_IPNETROW_W2K { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPNETROW_W2K { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPNETROW_W2K").field("dwIndex", &self.dwIndex).field("dwPhysAddrLen", &self.dwPhysAddrLen).field("bPhysAddr", &self.bPhysAddr).field("dwAddr", &self.dwAddr).field("dwType", &self.dwType).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPNETROW_W2K { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPNETROW_W2K { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwIndex == other.dwIndex && self.dwPhysAddrLen == other.dwPhysAddrLen && self.bPhysAddr == other.bPhysAddr && self.dwAddr == other.dwAddr && self.dwType == other.dwType |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPNETROW_W2K {} |
| impl ::core::default::Default for MIB_IPNETROW_W2K { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPNETTABLE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_IPNETROW_LH; 1], |
| } |
| impl ::core::marker::Copy for MIB_IPNETTABLE {} |
| impl ::core::clone::Clone for MIB_IPNETTABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPNETTABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_IPNETTABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_IPNET_ROW2 { |
| pub Address: super::super::Networking::WinSock::SOCKADDR_INET, |
| pub InterfaceIndex: u32, |
| pub InterfaceLuid: super::Ndis::NET_LUID_LH, |
| pub PhysicalAddress: [u8; 32], |
| pub PhysicalAddressLength: u32, |
| pub State: super::super::Networking::WinSock::NL_NEIGHBOR_STATE, |
| pub Anonymous: MIB_IPNET_ROW2_0, |
| pub ReachabilityTime: MIB_IPNET_ROW2_1, |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_IPNET_ROW2 {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_IPNET_ROW2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_IPNET_ROW2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_IPNET_ROW2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub union MIB_IPNET_ROW2_0 { |
| pub Anonymous: MIB_IPNET_ROW2_0_0, |
| pub Flags: u8, |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_IPNET_ROW2_0 {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_IPNET_ROW2_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_IPNET_ROW2_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_IPNET_ROW2_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_IPNET_ROW2_0_0 { |
| pub _bitfield: u8, |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_IPNET_ROW2_0_0 {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_IPNET_ROW2_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::fmt::Debug for MIB_IPNET_ROW2_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPNET_ROW2_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_IPNET_ROW2_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::cmp::PartialEq for MIB_IPNET_ROW2_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::cmp::Eq for MIB_IPNET_ROW2_0_0 {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_IPNET_ROW2_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub union MIB_IPNET_ROW2_1 { |
| pub LastReachable: u32, |
| pub LastUnreachable: u32, |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_IPNET_ROW2_1 {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_IPNET_ROW2_1 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_IPNET_ROW2_1 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_IPNET_ROW2_1 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_IPNET_TABLE2 { |
| pub NumEntries: u32, |
| pub Table: [MIB_IPNET_ROW2; 1], |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_IPNET_TABLE2 {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_IPNET_TABLE2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_IPNET_TABLE2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_IPNET_TABLE2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_IPPATH_ROW { |
| pub Source: super::super::Networking::WinSock::SOCKADDR_INET, |
| pub Destination: super::super::Networking::WinSock::SOCKADDR_INET, |
| pub InterfaceLuid: super::Ndis::NET_LUID_LH, |
| pub InterfaceIndex: u32, |
| pub CurrentNextHop: super::super::Networking::WinSock::SOCKADDR_INET, |
| pub PathMtu: u32, |
| pub RttMean: u32, |
| pub RttDeviation: u32, |
| pub Anonymous: MIB_IPPATH_ROW_0, |
| pub IsReachable: super::super::Foundation::BOOLEAN, |
| pub LinkTransmitSpeed: u64, |
| pub LinkReceiveSpeed: u64, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_IPPATH_ROW {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_IPPATH_ROW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_IPPATH_ROW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_IPPATH_ROW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub union MIB_IPPATH_ROW_0 { |
| pub LastReachable: u32, |
| pub LastUnreachable: u32, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_IPPATH_ROW_0 {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_IPPATH_ROW_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_IPPATH_ROW_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_IPPATH_ROW_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_IPPATH_TABLE { |
| pub NumEntries: u32, |
| pub Table: [MIB_IPPATH_ROW; 1], |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_IPPATH_TABLE {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_IPPATH_TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_IPPATH_TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_IPPATH_TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPSTATS_LH { |
| pub Anonymous: MIB_IPSTATS_LH_0, |
| pub dwDefaultTTL: u32, |
| pub dwInReceives: u32, |
| pub dwInHdrErrors: u32, |
| pub dwInAddrErrors: u32, |
| pub dwForwDatagrams: u32, |
| pub dwInUnknownProtos: u32, |
| pub dwInDiscards: u32, |
| pub dwInDelivers: u32, |
| pub dwOutRequests: u32, |
| pub dwRoutingDiscards: u32, |
| pub dwOutDiscards: u32, |
| pub dwOutNoRoutes: u32, |
| pub dwReasmTimeout: u32, |
| pub dwReasmReqds: u32, |
| pub dwReasmOks: u32, |
| pub dwReasmFails: u32, |
| pub dwFragOks: u32, |
| pub dwFragFails: u32, |
| pub dwFragCreates: u32, |
| pub dwNumIf: u32, |
| pub dwNumAddr: u32, |
| pub dwNumRoutes: u32, |
| } |
| impl ::core::marker::Copy for MIB_IPSTATS_LH {} |
| impl ::core::clone::Clone for MIB_IPSTATS_LH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPSTATS_LH { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_IPSTATS_LH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub union MIB_IPSTATS_LH_0 { |
| pub dwForwarding: u32, |
| pub Forwarding: MIB_IPSTATS_FORWARDING, |
| } |
| impl ::core::marker::Copy for MIB_IPSTATS_LH_0 {} |
| impl ::core::clone::Clone for MIB_IPSTATS_LH_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPSTATS_LH_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_IPSTATS_LH_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_IPSTATS_W2K { |
| pub dwForwarding: u32, |
| pub dwDefaultTTL: u32, |
| pub dwInReceives: u32, |
| pub dwInHdrErrors: u32, |
| pub dwInAddrErrors: u32, |
| pub dwForwDatagrams: u32, |
| pub dwInUnknownProtos: u32, |
| pub dwInDiscards: u32, |
| pub dwInDelivers: u32, |
| pub dwOutRequests: u32, |
| pub dwRoutingDiscards: u32, |
| pub dwOutDiscards: u32, |
| pub dwOutNoRoutes: u32, |
| pub dwReasmTimeout: u32, |
| pub dwReasmReqds: u32, |
| pub dwReasmOks: u32, |
| pub dwReasmFails: u32, |
| pub dwFragOks: u32, |
| pub dwFragFails: u32, |
| pub dwFragCreates: u32, |
| pub dwNumIf: u32, |
| pub dwNumAddr: u32, |
| pub dwNumRoutes: u32, |
| } |
| impl ::core::marker::Copy for MIB_IPSTATS_W2K {} |
| impl ::core::clone::Clone for MIB_IPSTATS_W2K { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_IPSTATS_W2K { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IPSTATS_W2K") |
| .field("dwForwarding", &self.dwForwarding) |
| .field("dwDefaultTTL", &self.dwDefaultTTL) |
| .field("dwInReceives", &self.dwInReceives) |
| .field("dwInHdrErrors", &self.dwInHdrErrors) |
| .field("dwInAddrErrors", &self.dwInAddrErrors) |
| .field("dwForwDatagrams", &self.dwForwDatagrams) |
| .field("dwInUnknownProtos", &self.dwInUnknownProtos) |
| .field("dwInDiscards", &self.dwInDiscards) |
| .field("dwInDelivers", &self.dwInDelivers) |
| .field("dwOutRequests", &self.dwOutRequests) |
| .field("dwRoutingDiscards", &self.dwRoutingDiscards) |
| .field("dwOutDiscards", &self.dwOutDiscards) |
| .field("dwOutNoRoutes", &self.dwOutNoRoutes) |
| .field("dwReasmTimeout", &self.dwReasmTimeout) |
| .field("dwReasmReqds", &self.dwReasmReqds) |
| .field("dwReasmOks", &self.dwReasmOks) |
| .field("dwReasmFails", &self.dwReasmFails) |
| .field("dwFragOks", &self.dwFragOks) |
| .field("dwFragFails", &self.dwFragFails) |
| .field("dwFragCreates", &self.dwFragCreates) |
| .field("dwNumIf", &self.dwNumIf) |
| .field("dwNumAddr", &self.dwNumAddr) |
| .field("dwNumRoutes", &self.dwNumRoutes) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_IPSTATS_W2K { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_IPSTATS_W2K { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwForwarding == other.dwForwarding |
| && self.dwDefaultTTL == other.dwDefaultTTL |
| && self.dwInReceives == other.dwInReceives |
| && self.dwInHdrErrors == other.dwInHdrErrors |
| && self.dwInAddrErrors == other.dwInAddrErrors |
| && self.dwForwDatagrams == other.dwForwDatagrams |
| && self.dwInUnknownProtos == other.dwInUnknownProtos |
| && self.dwInDiscards == other.dwInDiscards |
| && self.dwInDelivers == other.dwInDelivers |
| && self.dwOutRequests == other.dwOutRequests |
| && self.dwRoutingDiscards == other.dwRoutingDiscards |
| && self.dwOutDiscards == other.dwOutDiscards |
| && self.dwOutNoRoutes == other.dwOutNoRoutes |
| && self.dwReasmTimeout == other.dwReasmTimeout |
| && self.dwReasmReqds == other.dwReasmReqds |
| && self.dwReasmOks == other.dwReasmOks |
| && self.dwReasmFails == other.dwReasmFails |
| && self.dwFragOks == other.dwFragOks |
| && self.dwFragFails == other.dwFragFails |
| && self.dwFragCreates == other.dwFragCreates |
| && self.dwNumIf == other.dwNumIf |
| && self.dwNumAddr == other.dwNumAddr |
| && self.dwNumRoutes == other.dwNumRoutes |
| } |
| } |
| impl ::core::cmp::Eq for MIB_IPSTATS_W2K {} |
| impl ::core::default::Default for MIB_IPSTATS_W2K { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES { |
| pub InboundBandwidthInformation: super::super::Networking::WinSock::NL_BANDWIDTH_INFORMATION, |
| pub OutboundBandwidthInformation: super::super::Networking::WinSock::NL_BANDWIDTH_INFORMATION, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| impl ::core::fmt::Debug for MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES").field("InboundBandwidthInformation", &self.InboundBandwidthInformation).field("OutboundBandwidthInformation", &self.OutboundBandwidthInformation).finish() |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| impl ::core::cmp::PartialEq for MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES { |
| fn eq(&self, other: &Self) -> bool { |
| self.InboundBandwidthInformation == other.InboundBandwidthInformation && self.OutboundBandwidthInformation == other.OutboundBandwidthInformation |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| impl ::core::cmp::Eq for MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_MCAST_LIMIT_ROW { |
| pub dwTtl: u32, |
| pub dwRateLimit: u32, |
| } |
| impl ::core::marker::Copy for MIB_MCAST_LIMIT_ROW {} |
| impl ::core::clone::Clone for MIB_MCAST_LIMIT_ROW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_MCAST_LIMIT_ROW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_MCAST_LIMIT_ROW").field("dwTtl", &self.dwTtl).field("dwRateLimit", &self.dwRateLimit).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_MCAST_LIMIT_ROW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_MCAST_LIMIT_ROW { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwTtl == other.dwTtl && self.dwRateLimit == other.dwRateLimit |
| } |
| } |
| impl ::core::cmp::Eq for MIB_MCAST_LIMIT_ROW {} |
| impl ::core::default::Default for MIB_MCAST_LIMIT_ROW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_MFE_STATS_TABLE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_IPMCAST_MFE_STATS; 1], |
| } |
| impl ::core::marker::Copy for MIB_MFE_STATS_TABLE {} |
| impl ::core::clone::Clone for MIB_MFE_STATS_TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_MFE_STATS_TABLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_MFE_STATS_TABLE").field("dwNumEntries", &self.dwNumEntries).field("table", &self.table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_MFE_STATS_TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_MFE_STATS_TABLE { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumEntries == other.dwNumEntries && self.table == other.table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_MFE_STATS_TABLE {} |
| impl ::core::default::Default for MIB_MFE_STATS_TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_MFE_STATS_TABLE_EX_XP { |
| pub dwNumEntries: u32, |
| pub table: [*mut MIB_IPMCAST_MFE_STATS_EX_XP; 1], |
| } |
| impl ::core::marker::Copy for MIB_MFE_STATS_TABLE_EX_XP {} |
| impl ::core::clone::Clone for MIB_MFE_STATS_TABLE_EX_XP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_MFE_STATS_TABLE_EX_XP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_MFE_STATS_TABLE_EX_XP").field("dwNumEntries", &self.dwNumEntries).field("table", &self.table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_MFE_STATS_TABLE_EX_XP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_MFE_STATS_TABLE_EX_XP { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumEntries == other.dwNumEntries && self.table == other.table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_MFE_STATS_TABLE_EX_XP {} |
| impl ::core::default::Default for MIB_MFE_STATS_TABLE_EX_XP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_MFE_TABLE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_IPMCAST_MFE; 1], |
| } |
| impl ::core::marker::Copy for MIB_MFE_TABLE {} |
| impl ::core::clone::Clone for MIB_MFE_TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_MFE_TABLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_MFE_TABLE").field("dwNumEntries", &self.dwNumEntries).field("table", &self.table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_MFE_TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_MFE_TABLE { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumEntries == other.dwNumEntries && self.table == other.table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_MFE_TABLE {} |
| impl ::core::default::Default for MIB_MFE_TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_MULTICASTIPADDRESS_ROW { |
| pub Address: super::super::Networking::WinSock::SOCKADDR_INET, |
| pub InterfaceIndex: u32, |
| pub InterfaceLuid: super::Ndis::NET_LUID_LH, |
| pub ScopeId: super::super::Networking::WinSock::SCOPE_ID, |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_MULTICASTIPADDRESS_ROW {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_MULTICASTIPADDRESS_ROW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_MULTICASTIPADDRESS_ROW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_MULTICASTIPADDRESS_ROW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_MULTICASTIPADDRESS_TABLE { |
| pub NumEntries: u32, |
| pub Table: [MIB_MULTICASTIPADDRESS_ROW; 1], |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_MULTICASTIPADDRESS_TABLE {} |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_MULTICASTIPADDRESS_TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_MULTICASTIPADDRESS_TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_MULTICASTIPADDRESS_TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_OPAQUE_INFO { |
| pub dwId: u32, |
| pub Anonymous: MIB_OPAQUE_INFO_0, |
| } |
| impl ::core::marker::Copy for MIB_OPAQUE_INFO {} |
| impl ::core::clone::Clone for MIB_OPAQUE_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_OPAQUE_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_OPAQUE_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub union MIB_OPAQUE_INFO_0 { |
| pub ullAlign: u64, |
| pub rgbyData: [u8; 1], |
| } |
| impl ::core::marker::Copy for MIB_OPAQUE_INFO_0 {} |
| impl ::core::clone::Clone for MIB_OPAQUE_INFO_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_OPAQUE_INFO_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_OPAQUE_INFO_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_OPAQUE_QUERY { |
| pub dwVarId: u32, |
| pub rgdwVarIndex: [u32; 1], |
| } |
| impl ::core::marker::Copy for MIB_OPAQUE_QUERY {} |
| impl ::core::clone::Clone for MIB_OPAQUE_QUERY { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_OPAQUE_QUERY { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_OPAQUE_QUERY").field("dwVarId", &self.dwVarId).field("rgdwVarIndex", &self.rgdwVarIndex).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_OPAQUE_QUERY { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_OPAQUE_QUERY { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwVarId == other.dwVarId && self.rgdwVarIndex == other.rgdwVarIndex |
| } |
| } |
| impl ::core::cmp::Eq for MIB_OPAQUE_QUERY {} |
| impl ::core::default::Default for MIB_OPAQUE_QUERY { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_PROXYARP { |
| pub dwAddress: u32, |
| pub dwMask: u32, |
| pub dwIfIndex: u32, |
| } |
| impl ::core::marker::Copy for MIB_PROXYARP {} |
| impl ::core::clone::Clone for MIB_PROXYARP { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_PROXYARP { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_PROXYARP").field("dwAddress", &self.dwAddress).field("dwMask", &self.dwMask).field("dwIfIndex", &self.dwIfIndex).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_PROXYARP { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_PROXYARP { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwAddress == other.dwAddress && self.dwMask == other.dwMask && self.dwIfIndex == other.dwIfIndex |
| } |
| } |
| impl ::core::cmp::Eq for MIB_PROXYARP {} |
| impl ::core::default::Default for MIB_PROXYARP { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct MIB_ROUTESTATE { |
| pub bRoutesSetToStack: super::super::Foundation::BOOL, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for MIB_ROUTESTATE {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for MIB_ROUTESTATE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for MIB_ROUTESTATE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_ROUTESTATE").field("bRoutesSetToStack", &self.bRoutesSetToStack).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for MIB_ROUTESTATE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for MIB_ROUTESTATE { |
| fn eq(&self, other: &Self) -> bool { |
| self.bRoutesSetToStack == other.bRoutesSetToStack |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for MIB_ROUTESTATE {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for MIB_ROUTESTATE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct MIB_TCP6ROW { |
| pub State: MIB_TCP_STATE, |
| pub LocalAddr: super::super::Networking::WinSock::IN6_ADDR, |
| pub dwLocalScopeId: u32, |
| pub dwLocalPort: u32, |
| pub RemoteAddr: super::super::Networking::WinSock::IN6_ADDR, |
| pub dwRemoteScopeId: u32, |
| pub dwRemotePort: u32, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for MIB_TCP6ROW {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for MIB_TCP6ROW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for MIB_TCP6ROW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for MIB_TCP6ROW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct MIB_TCP6ROW2 { |
| pub LocalAddr: super::super::Networking::WinSock::IN6_ADDR, |
| pub dwLocalScopeId: u32, |
| pub dwLocalPort: u32, |
| pub RemoteAddr: super::super::Networking::WinSock::IN6_ADDR, |
| pub dwRemoteScopeId: u32, |
| pub dwRemotePort: u32, |
| pub State: MIB_TCP_STATE, |
| pub dwOwningPid: u32, |
| pub dwOffloadState: TCP_CONNECTION_OFFLOAD_STATE, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for MIB_TCP6ROW2 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for MIB_TCP6ROW2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for MIB_TCP6ROW2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for MIB_TCP6ROW2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCP6ROW_OWNER_MODULE { |
| pub ucLocalAddr: [u8; 16], |
| pub dwLocalScopeId: u32, |
| pub dwLocalPort: u32, |
| pub ucRemoteAddr: [u8; 16], |
| pub dwRemoteScopeId: u32, |
| pub dwRemotePort: u32, |
| pub dwState: u32, |
| pub dwOwningPid: u32, |
| pub liCreateTimestamp: i64, |
| pub OwningModuleInfo: [u64; 16], |
| } |
| impl ::core::marker::Copy for MIB_TCP6ROW_OWNER_MODULE {} |
| impl ::core::clone::Clone for MIB_TCP6ROW_OWNER_MODULE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_TCP6ROW_OWNER_MODULE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_TCP6ROW_OWNER_MODULE") |
| .field("ucLocalAddr", &self.ucLocalAddr) |
| .field("dwLocalScopeId", &self.dwLocalScopeId) |
| .field("dwLocalPort", &self.dwLocalPort) |
| .field("ucRemoteAddr", &self.ucRemoteAddr) |
| .field("dwRemoteScopeId", &self.dwRemoteScopeId) |
| .field("dwRemotePort", &self.dwRemotePort) |
| .field("dwState", &self.dwState) |
| .field("dwOwningPid", &self.dwOwningPid) |
| .field("liCreateTimestamp", &self.liCreateTimestamp) |
| .field("OwningModuleInfo", &self.OwningModuleInfo) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCP6ROW_OWNER_MODULE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_TCP6ROW_OWNER_MODULE { |
| fn eq(&self, other: &Self) -> bool { |
| self.ucLocalAddr == other.ucLocalAddr && self.dwLocalScopeId == other.dwLocalScopeId && self.dwLocalPort == other.dwLocalPort && self.ucRemoteAddr == other.ucRemoteAddr && self.dwRemoteScopeId == other.dwRemoteScopeId && self.dwRemotePort == other.dwRemotePort && self.dwState == other.dwState && self.dwOwningPid == other.dwOwningPid && self.liCreateTimestamp == other.liCreateTimestamp && self.OwningModuleInfo == other.OwningModuleInfo |
| } |
| } |
| impl ::core::cmp::Eq for MIB_TCP6ROW_OWNER_MODULE {} |
| impl ::core::default::Default for MIB_TCP6ROW_OWNER_MODULE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCP6ROW_OWNER_PID { |
| pub ucLocalAddr: [u8; 16], |
| pub dwLocalScopeId: u32, |
| pub dwLocalPort: u32, |
| pub ucRemoteAddr: [u8; 16], |
| pub dwRemoteScopeId: u32, |
| pub dwRemotePort: u32, |
| pub dwState: u32, |
| pub dwOwningPid: u32, |
| } |
| impl ::core::marker::Copy for MIB_TCP6ROW_OWNER_PID {} |
| impl ::core::clone::Clone for MIB_TCP6ROW_OWNER_PID { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_TCP6ROW_OWNER_PID { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_TCP6ROW_OWNER_PID").field("ucLocalAddr", &self.ucLocalAddr).field("dwLocalScopeId", &self.dwLocalScopeId).field("dwLocalPort", &self.dwLocalPort).field("ucRemoteAddr", &self.ucRemoteAddr).field("dwRemoteScopeId", &self.dwRemoteScopeId).field("dwRemotePort", &self.dwRemotePort).field("dwState", &self.dwState).field("dwOwningPid", &self.dwOwningPid).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCP6ROW_OWNER_PID { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_TCP6ROW_OWNER_PID { |
| fn eq(&self, other: &Self) -> bool { |
| self.ucLocalAddr == other.ucLocalAddr && self.dwLocalScopeId == other.dwLocalScopeId && self.dwLocalPort == other.dwLocalPort && self.ucRemoteAddr == other.ucRemoteAddr && self.dwRemoteScopeId == other.dwRemoteScopeId && self.dwRemotePort == other.dwRemotePort && self.dwState == other.dwState && self.dwOwningPid == other.dwOwningPid |
| } |
| } |
| impl ::core::cmp::Eq for MIB_TCP6ROW_OWNER_PID {} |
| impl ::core::default::Default for MIB_TCP6ROW_OWNER_PID { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct MIB_TCP6TABLE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_TCP6ROW; 1], |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for MIB_TCP6TABLE {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for MIB_TCP6TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for MIB_TCP6TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for MIB_TCP6TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct MIB_TCP6TABLE2 { |
| pub dwNumEntries: u32, |
| pub table: [MIB_TCP6ROW2; 1], |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for MIB_TCP6TABLE2 {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for MIB_TCP6TABLE2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for MIB_TCP6TABLE2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for MIB_TCP6TABLE2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCP6TABLE_OWNER_MODULE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_TCP6ROW_OWNER_MODULE; 1], |
| } |
| impl ::core::marker::Copy for MIB_TCP6TABLE_OWNER_MODULE {} |
| impl ::core::clone::Clone for MIB_TCP6TABLE_OWNER_MODULE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_TCP6TABLE_OWNER_MODULE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_TCP6TABLE_OWNER_MODULE").field("dwNumEntries", &self.dwNumEntries).field("table", &self.table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCP6TABLE_OWNER_MODULE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_TCP6TABLE_OWNER_MODULE { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumEntries == other.dwNumEntries && self.table == other.table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_TCP6TABLE_OWNER_MODULE {} |
| impl ::core::default::Default for MIB_TCP6TABLE_OWNER_MODULE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCP6TABLE_OWNER_PID { |
| pub dwNumEntries: u32, |
| pub table: [MIB_TCP6ROW_OWNER_PID; 1], |
| } |
| impl ::core::marker::Copy for MIB_TCP6TABLE_OWNER_PID {} |
| impl ::core::clone::Clone for MIB_TCP6TABLE_OWNER_PID { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_TCP6TABLE_OWNER_PID { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_TCP6TABLE_OWNER_PID").field("dwNumEntries", &self.dwNumEntries).field("table", &self.table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCP6TABLE_OWNER_PID { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_TCP6TABLE_OWNER_PID { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumEntries == other.dwNumEntries && self.table == other.table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_TCP6TABLE_OWNER_PID {} |
| impl ::core::default::Default for MIB_TCP6TABLE_OWNER_PID { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCPROW2 { |
| pub dwState: u32, |
| pub dwLocalAddr: u32, |
| pub dwLocalPort: u32, |
| pub dwRemoteAddr: u32, |
| pub dwRemotePort: u32, |
| pub dwOwningPid: u32, |
| pub dwOffloadState: TCP_CONNECTION_OFFLOAD_STATE, |
| } |
| impl ::core::marker::Copy for MIB_TCPROW2 {} |
| impl ::core::clone::Clone for MIB_TCPROW2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_TCPROW2 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_TCPROW2").field("dwState", &self.dwState).field("dwLocalAddr", &self.dwLocalAddr).field("dwLocalPort", &self.dwLocalPort).field("dwRemoteAddr", &self.dwRemoteAddr).field("dwRemotePort", &self.dwRemotePort).field("dwOwningPid", &self.dwOwningPid).field("dwOffloadState", &self.dwOffloadState).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCPROW2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_TCPROW2 { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwState == other.dwState && self.dwLocalAddr == other.dwLocalAddr && self.dwLocalPort == other.dwLocalPort && self.dwRemoteAddr == other.dwRemoteAddr && self.dwRemotePort == other.dwRemotePort && self.dwOwningPid == other.dwOwningPid && self.dwOffloadState == other.dwOffloadState |
| } |
| } |
| impl ::core::cmp::Eq for MIB_TCPROW2 {} |
| impl ::core::default::Default for MIB_TCPROW2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCPROW_LH { |
| pub Anonymous: MIB_TCPROW_LH_0, |
| pub dwLocalAddr: u32, |
| pub dwLocalPort: u32, |
| pub dwRemoteAddr: u32, |
| pub dwRemotePort: u32, |
| } |
| impl ::core::marker::Copy for MIB_TCPROW_LH {} |
| impl ::core::clone::Clone for MIB_TCPROW_LH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCPROW_LH { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_TCPROW_LH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub union MIB_TCPROW_LH_0 { |
| pub dwState: u32, |
| pub State: MIB_TCP_STATE, |
| } |
| impl ::core::marker::Copy for MIB_TCPROW_LH_0 {} |
| impl ::core::clone::Clone for MIB_TCPROW_LH_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCPROW_LH_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_TCPROW_LH_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCPROW_OWNER_MODULE { |
| pub dwState: u32, |
| pub dwLocalAddr: u32, |
| pub dwLocalPort: u32, |
| pub dwRemoteAddr: u32, |
| pub dwRemotePort: u32, |
| pub dwOwningPid: u32, |
| pub liCreateTimestamp: i64, |
| pub OwningModuleInfo: [u64; 16], |
| } |
| impl ::core::marker::Copy for MIB_TCPROW_OWNER_MODULE {} |
| impl ::core::clone::Clone for MIB_TCPROW_OWNER_MODULE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_TCPROW_OWNER_MODULE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_TCPROW_OWNER_MODULE").field("dwState", &self.dwState).field("dwLocalAddr", &self.dwLocalAddr).field("dwLocalPort", &self.dwLocalPort).field("dwRemoteAddr", &self.dwRemoteAddr).field("dwRemotePort", &self.dwRemotePort).field("dwOwningPid", &self.dwOwningPid).field("liCreateTimestamp", &self.liCreateTimestamp).field("OwningModuleInfo", &self.OwningModuleInfo).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCPROW_OWNER_MODULE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_TCPROW_OWNER_MODULE { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwState == other.dwState && self.dwLocalAddr == other.dwLocalAddr && self.dwLocalPort == other.dwLocalPort && self.dwRemoteAddr == other.dwRemoteAddr && self.dwRemotePort == other.dwRemotePort && self.dwOwningPid == other.dwOwningPid && self.liCreateTimestamp == other.liCreateTimestamp && self.OwningModuleInfo == other.OwningModuleInfo |
| } |
| } |
| impl ::core::cmp::Eq for MIB_TCPROW_OWNER_MODULE {} |
| impl ::core::default::Default for MIB_TCPROW_OWNER_MODULE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCPROW_OWNER_PID { |
| pub dwState: u32, |
| pub dwLocalAddr: u32, |
| pub dwLocalPort: u32, |
| pub dwRemoteAddr: u32, |
| pub dwRemotePort: u32, |
| pub dwOwningPid: u32, |
| } |
| impl ::core::marker::Copy for MIB_TCPROW_OWNER_PID {} |
| impl ::core::clone::Clone for MIB_TCPROW_OWNER_PID { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_TCPROW_OWNER_PID { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_TCPROW_OWNER_PID").field("dwState", &self.dwState).field("dwLocalAddr", &self.dwLocalAddr).field("dwLocalPort", &self.dwLocalPort).field("dwRemoteAddr", &self.dwRemoteAddr).field("dwRemotePort", &self.dwRemotePort).field("dwOwningPid", &self.dwOwningPid).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCPROW_OWNER_PID { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_TCPROW_OWNER_PID { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwState == other.dwState && self.dwLocalAddr == other.dwLocalAddr && self.dwLocalPort == other.dwLocalPort && self.dwRemoteAddr == other.dwRemoteAddr && self.dwRemotePort == other.dwRemotePort && self.dwOwningPid == other.dwOwningPid |
| } |
| } |
| impl ::core::cmp::Eq for MIB_TCPROW_OWNER_PID {} |
| impl ::core::default::Default for MIB_TCPROW_OWNER_PID { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCPROW_W2K { |
| pub dwState: u32, |
| pub dwLocalAddr: u32, |
| pub dwLocalPort: u32, |
| pub dwRemoteAddr: u32, |
| pub dwRemotePort: u32, |
| } |
| impl ::core::marker::Copy for MIB_TCPROW_W2K {} |
| impl ::core::clone::Clone for MIB_TCPROW_W2K { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_TCPROW_W2K { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_TCPROW_W2K").field("dwState", &self.dwState).field("dwLocalAddr", &self.dwLocalAddr).field("dwLocalPort", &self.dwLocalPort).field("dwRemoteAddr", &self.dwRemoteAddr).field("dwRemotePort", &self.dwRemotePort).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCPROW_W2K { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_TCPROW_W2K { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwState == other.dwState && self.dwLocalAddr == other.dwLocalAddr && self.dwLocalPort == other.dwLocalPort && self.dwRemoteAddr == other.dwRemoteAddr && self.dwRemotePort == other.dwRemotePort |
| } |
| } |
| impl ::core::cmp::Eq for MIB_TCPROW_W2K {} |
| impl ::core::default::Default for MIB_TCPROW_W2K { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCPSTATS2 { |
| pub RtoAlgorithm: TCP_RTO_ALGORITHM, |
| pub dwRtoMin: u32, |
| pub dwRtoMax: u32, |
| pub dwMaxConn: u32, |
| pub dwActiveOpens: u32, |
| pub dwPassiveOpens: u32, |
| pub dwAttemptFails: u32, |
| pub dwEstabResets: u32, |
| pub dwCurrEstab: u32, |
| pub dw64InSegs: u64, |
| pub dw64OutSegs: u64, |
| pub dwRetransSegs: u32, |
| pub dwInErrs: u32, |
| pub dwOutRsts: u32, |
| pub dwNumConns: u32, |
| } |
| impl ::core::marker::Copy for MIB_TCPSTATS2 {} |
| impl ::core::clone::Clone for MIB_TCPSTATS2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_TCPSTATS2 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_TCPSTATS2") |
| .field("RtoAlgorithm", &self.RtoAlgorithm) |
| .field("dwRtoMin", &self.dwRtoMin) |
| .field("dwRtoMax", &self.dwRtoMax) |
| .field("dwMaxConn", &self.dwMaxConn) |
| .field("dwActiveOpens", &self.dwActiveOpens) |
| .field("dwPassiveOpens", &self.dwPassiveOpens) |
| .field("dwAttemptFails", &self.dwAttemptFails) |
| .field("dwEstabResets", &self.dwEstabResets) |
| .field("dwCurrEstab", &self.dwCurrEstab) |
| .field("dw64InSegs", &self.dw64InSegs) |
| .field("dw64OutSegs", &self.dw64OutSegs) |
| .field("dwRetransSegs", &self.dwRetransSegs) |
| .field("dwInErrs", &self.dwInErrs) |
| .field("dwOutRsts", &self.dwOutRsts) |
| .field("dwNumConns", &self.dwNumConns) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCPSTATS2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_TCPSTATS2 { |
| fn eq(&self, other: &Self) -> bool { |
| self.RtoAlgorithm == other.RtoAlgorithm && self.dwRtoMin == other.dwRtoMin && self.dwRtoMax == other.dwRtoMax && self.dwMaxConn == other.dwMaxConn && self.dwActiveOpens == other.dwActiveOpens && self.dwPassiveOpens == other.dwPassiveOpens && self.dwAttemptFails == other.dwAttemptFails && self.dwEstabResets == other.dwEstabResets && self.dwCurrEstab == other.dwCurrEstab && self.dw64InSegs == other.dw64InSegs && self.dw64OutSegs == other.dw64OutSegs && self.dwRetransSegs == other.dwRetransSegs && self.dwInErrs == other.dwInErrs && self.dwOutRsts == other.dwOutRsts && self.dwNumConns == other.dwNumConns |
| } |
| } |
| impl ::core::cmp::Eq for MIB_TCPSTATS2 {} |
| impl ::core::default::Default for MIB_TCPSTATS2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCPSTATS_LH { |
| pub Anonymous: MIB_TCPSTATS_LH_0, |
| pub dwRtoMin: u32, |
| pub dwRtoMax: u32, |
| pub dwMaxConn: u32, |
| pub dwActiveOpens: u32, |
| pub dwPassiveOpens: u32, |
| pub dwAttemptFails: u32, |
| pub dwEstabResets: u32, |
| pub dwCurrEstab: u32, |
| pub dwInSegs: u32, |
| pub dwOutSegs: u32, |
| pub dwRetransSegs: u32, |
| pub dwInErrs: u32, |
| pub dwOutRsts: u32, |
| pub dwNumConns: u32, |
| } |
| impl ::core::marker::Copy for MIB_TCPSTATS_LH {} |
| impl ::core::clone::Clone for MIB_TCPSTATS_LH { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCPSTATS_LH { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_TCPSTATS_LH { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub union MIB_TCPSTATS_LH_0 { |
| pub dwRtoAlgorithm: u32, |
| pub RtoAlgorithm: TCP_RTO_ALGORITHM, |
| } |
| impl ::core::marker::Copy for MIB_TCPSTATS_LH_0 {} |
| impl ::core::clone::Clone for MIB_TCPSTATS_LH_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCPSTATS_LH_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_TCPSTATS_LH_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCPSTATS_W2K { |
| pub dwRtoAlgorithm: u32, |
| pub dwRtoMin: u32, |
| pub dwRtoMax: u32, |
| pub dwMaxConn: u32, |
| pub dwActiveOpens: u32, |
| pub dwPassiveOpens: u32, |
| pub dwAttemptFails: u32, |
| pub dwEstabResets: u32, |
| pub dwCurrEstab: u32, |
| pub dwInSegs: u32, |
| pub dwOutSegs: u32, |
| pub dwRetransSegs: u32, |
| pub dwInErrs: u32, |
| pub dwOutRsts: u32, |
| pub dwNumConns: u32, |
| } |
| impl ::core::marker::Copy for MIB_TCPSTATS_W2K {} |
| impl ::core::clone::Clone for MIB_TCPSTATS_W2K { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_TCPSTATS_W2K { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_TCPSTATS_W2K") |
| .field("dwRtoAlgorithm", &self.dwRtoAlgorithm) |
| .field("dwRtoMin", &self.dwRtoMin) |
| .field("dwRtoMax", &self.dwRtoMax) |
| .field("dwMaxConn", &self.dwMaxConn) |
| .field("dwActiveOpens", &self.dwActiveOpens) |
| .field("dwPassiveOpens", &self.dwPassiveOpens) |
| .field("dwAttemptFails", &self.dwAttemptFails) |
| .field("dwEstabResets", &self.dwEstabResets) |
| .field("dwCurrEstab", &self.dwCurrEstab) |
| .field("dwInSegs", &self.dwInSegs) |
| .field("dwOutSegs", &self.dwOutSegs) |
| .field("dwRetransSegs", &self.dwRetransSegs) |
| .field("dwInErrs", &self.dwInErrs) |
| .field("dwOutRsts", &self.dwOutRsts) |
| .field("dwNumConns", &self.dwNumConns) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCPSTATS_W2K { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_TCPSTATS_W2K { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwRtoAlgorithm == other.dwRtoAlgorithm && self.dwRtoMin == other.dwRtoMin && self.dwRtoMax == other.dwRtoMax && self.dwMaxConn == other.dwMaxConn && self.dwActiveOpens == other.dwActiveOpens && self.dwPassiveOpens == other.dwPassiveOpens && self.dwAttemptFails == other.dwAttemptFails && self.dwEstabResets == other.dwEstabResets && self.dwCurrEstab == other.dwCurrEstab && self.dwInSegs == other.dwInSegs && self.dwOutSegs == other.dwOutSegs && self.dwRetransSegs == other.dwRetransSegs && self.dwInErrs == other.dwInErrs && self.dwOutRsts == other.dwOutRsts && self.dwNumConns == other.dwNumConns |
| } |
| } |
| impl ::core::cmp::Eq for MIB_TCPSTATS_W2K {} |
| impl ::core::default::Default for MIB_TCPSTATS_W2K { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCPTABLE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_TCPROW_LH; 1], |
| } |
| impl ::core::marker::Copy for MIB_TCPTABLE {} |
| impl ::core::clone::Clone for MIB_TCPTABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCPTABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_TCPTABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCPTABLE2 { |
| pub dwNumEntries: u32, |
| pub table: [MIB_TCPROW2; 1], |
| } |
| impl ::core::marker::Copy for MIB_TCPTABLE2 {} |
| impl ::core::clone::Clone for MIB_TCPTABLE2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_TCPTABLE2 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_TCPTABLE2").field("dwNumEntries", &self.dwNumEntries).field("table", &self.table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCPTABLE2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_TCPTABLE2 { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumEntries == other.dwNumEntries && self.table == other.table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_TCPTABLE2 {} |
| impl ::core::default::Default for MIB_TCPTABLE2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCPTABLE_OWNER_MODULE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_TCPROW_OWNER_MODULE; 1], |
| } |
| impl ::core::marker::Copy for MIB_TCPTABLE_OWNER_MODULE {} |
| impl ::core::clone::Clone for MIB_TCPTABLE_OWNER_MODULE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_TCPTABLE_OWNER_MODULE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_TCPTABLE_OWNER_MODULE").field("dwNumEntries", &self.dwNumEntries).field("table", &self.table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCPTABLE_OWNER_MODULE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_TCPTABLE_OWNER_MODULE { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumEntries == other.dwNumEntries && self.table == other.table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_TCPTABLE_OWNER_MODULE {} |
| impl ::core::default::Default for MIB_TCPTABLE_OWNER_MODULE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_TCPTABLE_OWNER_PID { |
| pub dwNumEntries: u32, |
| pub table: [MIB_TCPROW_OWNER_PID; 1], |
| } |
| impl ::core::marker::Copy for MIB_TCPTABLE_OWNER_PID {} |
| impl ::core::clone::Clone for MIB_TCPTABLE_OWNER_PID { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_TCPTABLE_OWNER_PID { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_TCPTABLE_OWNER_PID").field("dwNumEntries", &self.dwNumEntries).field("table", &self.table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_TCPTABLE_OWNER_PID { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_TCPTABLE_OWNER_PID { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumEntries == other.dwNumEntries && self.table == other.table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_TCPTABLE_OWNER_PID {} |
| impl ::core::default::Default for MIB_TCPTABLE_OWNER_PID { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct MIB_UDP6ROW { |
| pub dwLocalAddr: super::super::Networking::WinSock::IN6_ADDR, |
| pub dwLocalScopeId: u32, |
| pub dwLocalPort: u32, |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for MIB_UDP6ROW {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for MIB_UDP6ROW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for MIB_UDP6ROW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for MIB_UDP6ROW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDP6ROW2 { |
| pub ucLocalAddr: [u8; 16], |
| pub dwLocalScopeId: u32, |
| pub dwLocalPort: u32, |
| pub dwOwningPid: u32, |
| pub liCreateTimestamp: i64, |
| pub Anonymous: MIB_UDP6ROW2_0, |
| pub OwningModuleInfo: [u64; 16], |
| pub ucRemoteAddr: [u8; 16], |
| pub dwRemoteScopeId: u32, |
| pub dwRemotePort: u32, |
| } |
| impl ::core::marker::Copy for MIB_UDP6ROW2 {} |
| impl ::core::clone::Clone for MIB_UDP6ROW2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDP6ROW2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_UDP6ROW2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub union MIB_UDP6ROW2_0 { |
| pub Anonymous: MIB_UDP6ROW2_0_0, |
| pub dwFlags: i32, |
| } |
| impl ::core::marker::Copy for MIB_UDP6ROW2_0 {} |
| impl ::core::clone::Clone for MIB_UDP6ROW2_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDP6ROW2_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_UDP6ROW2_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDP6ROW2_0_0 { |
| pub _bitfield: i32, |
| } |
| impl ::core::marker::Copy for MIB_UDP6ROW2_0_0 {} |
| impl ::core::clone::Clone for MIB_UDP6ROW2_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_UDP6ROW2_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_UDP6ROW2_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDP6ROW2_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_UDP6ROW2_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for MIB_UDP6ROW2_0_0 {} |
| impl ::core::default::Default for MIB_UDP6ROW2_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDP6ROW_OWNER_MODULE { |
| pub ucLocalAddr: [u8; 16], |
| pub dwLocalScopeId: u32, |
| pub dwLocalPort: u32, |
| pub dwOwningPid: u32, |
| pub liCreateTimestamp: i64, |
| pub Anonymous: MIB_UDP6ROW_OWNER_MODULE_0, |
| pub OwningModuleInfo: [u64; 16], |
| } |
| impl ::core::marker::Copy for MIB_UDP6ROW_OWNER_MODULE {} |
| impl ::core::clone::Clone for MIB_UDP6ROW_OWNER_MODULE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDP6ROW_OWNER_MODULE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_UDP6ROW_OWNER_MODULE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub union MIB_UDP6ROW_OWNER_MODULE_0 { |
| pub Anonymous: MIB_UDP6ROW_OWNER_MODULE_0_0, |
| pub dwFlags: i32, |
| } |
| impl ::core::marker::Copy for MIB_UDP6ROW_OWNER_MODULE_0 {} |
| impl ::core::clone::Clone for MIB_UDP6ROW_OWNER_MODULE_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDP6ROW_OWNER_MODULE_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_UDP6ROW_OWNER_MODULE_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDP6ROW_OWNER_MODULE_0_0 { |
| pub _bitfield: i32, |
| } |
| impl ::core::marker::Copy for MIB_UDP6ROW_OWNER_MODULE_0_0 {} |
| impl ::core::clone::Clone for MIB_UDP6ROW_OWNER_MODULE_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_UDP6ROW_OWNER_MODULE_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_UDP6ROW_OWNER_MODULE_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDP6ROW_OWNER_MODULE_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_UDP6ROW_OWNER_MODULE_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for MIB_UDP6ROW_OWNER_MODULE_0_0 {} |
| impl ::core::default::Default for MIB_UDP6ROW_OWNER_MODULE_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDP6ROW_OWNER_PID { |
| pub ucLocalAddr: [u8; 16], |
| pub dwLocalScopeId: u32, |
| pub dwLocalPort: u32, |
| pub dwOwningPid: u32, |
| } |
| impl ::core::marker::Copy for MIB_UDP6ROW_OWNER_PID {} |
| impl ::core::clone::Clone for MIB_UDP6ROW_OWNER_PID { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_UDP6ROW_OWNER_PID { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_UDP6ROW_OWNER_PID").field("ucLocalAddr", &self.ucLocalAddr).field("dwLocalScopeId", &self.dwLocalScopeId).field("dwLocalPort", &self.dwLocalPort).field("dwOwningPid", &self.dwOwningPid).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDP6ROW_OWNER_PID { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_UDP6ROW_OWNER_PID { |
| fn eq(&self, other: &Self) -> bool { |
| self.ucLocalAddr == other.ucLocalAddr && self.dwLocalScopeId == other.dwLocalScopeId && self.dwLocalPort == other.dwLocalPort && self.dwOwningPid == other.dwOwningPid |
| } |
| } |
| impl ::core::cmp::Eq for MIB_UDP6ROW_OWNER_PID {} |
| impl ::core::default::Default for MIB_UDP6ROW_OWNER_PID { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| pub struct MIB_UDP6TABLE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_UDP6ROW; 1], |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::marker::Copy for MIB_UDP6TABLE {} |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::clone::Clone for MIB_UDP6TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::windows::core::TypeKind for MIB_UDP6TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Networking_WinSock")] |
| impl ::core::default::Default for MIB_UDP6TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDP6TABLE2 { |
| pub dwNumEntries: u32, |
| pub table: [MIB_UDP6ROW2; 1], |
| } |
| impl ::core::marker::Copy for MIB_UDP6TABLE2 {} |
| impl ::core::clone::Clone for MIB_UDP6TABLE2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDP6TABLE2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_UDP6TABLE2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDP6TABLE_OWNER_MODULE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_UDP6ROW_OWNER_MODULE; 1], |
| } |
| impl ::core::marker::Copy for MIB_UDP6TABLE_OWNER_MODULE {} |
| impl ::core::clone::Clone for MIB_UDP6TABLE_OWNER_MODULE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDP6TABLE_OWNER_MODULE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_UDP6TABLE_OWNER_MODULE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDP6TABLE_OWNER_PID { |
| pub dwNumEntries: u32, |
| pub table: [MIB_UDP6ROW_OWNER_PID; 1], |
| } |
| impl ::core::marker::Copy for MIB_UDP6TABLE_OWNER_PID {} |
| impl ::core::clone::Clone for MIB_UDP6TABLE_OWNER_PID { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_UDP6TABLE_OWNER_PID { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_UDP6TABLE_OWNER_PID").field("dwNumEntries", &self.dwNumEntries).field("table", &self.table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDP6TABLE_OWNER_PID { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_UDP6TABLE_OWNER_PID { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumEntries == other.dwNumEntries && self.table == other.table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_UDP6TABLE_OWNER_PID {} |
| impl ::core::default::Default for MIB_UDP6TABLE_OWNER_PID { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDPROW { |
| pub dwLocalAddr: u32, |
| pub dwLocalPort: u32, |
| } |
| impl ::core::marker::Copy for MIB_UDPROW {} |
| impl ::core::clone::Clone for MIB_UDPROW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_UDPROW { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_UDPROW").field("dwLocalAddr", &self.dwLocalAddr).field("dwLocalPort", &self.dwLocalPort).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDPROW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_UDPROW { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwLocalAddr == other.dwLocalAddr && self.dwLocalPort == other.dwLocalPort |
| } |
| } |
| impl ::core::cmp::Eq for MIB_UDPROW {} |
| impl ::core::default::Default for MIB_UDPROW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDPROW2 { |
| pub dwLocalAddr: u32, |
| pub dwLocalPort: u32, |
| pub dwOwningPid: u32, |
| pub liCreateTimestamp: i64, |
| pub Anonymous: MIB_UDPROW2_0, |
| pub OwningModuleInfo: [u64; 16], |
| pub dwRemoteAddr: u32, |
| pub dwRemotePort: u32, |
| } |
| impl ::core::marker::Copy for MIB_UDPROW2 {} |
| impl ::core::clone::Clone for MIB_UDPROW2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDPROW2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_UDPROW2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub union MIB_UDPROW2_0 { |
| pub Anonymous: MIB_UDPROW2_0_0, |
| pub dwFlags: i32, |
| } |
| impl ::core::marker::Copy for MIB_UDPROW2_0 {} |
| impl ::core::clone::Clone for MIB_UDPROW2_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDPROW2_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_UDPROW2_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDPROW2_0_0 { |
| pub _bitfield: i32, |
| } |
| impl ::core::marker::Copy for MIB_UDPROW2_0_0 {} |
| impl ::core::clone::Clone for MIB_UDPROW2_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_UDPROW2_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_UDPROW2_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDPROW2_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_UDPROW2_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for MIB_UDPROW2_0_0 {} |
| impl ::core::default::Default for MIB_UDPROW2_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDPROW_OWNER_MODULE { |
| pub dwLocalAddr: u32, |
| pub dwLocalPort: u32, |
| pub dwOwningPid: u32, |
| pub liCreateTimestamp: i64, |
| pub Anonymous: MIB_UDPROW_OWNER_MODULE_0, |
| pub OwningModuleInfo: [u64; 16], |
| } |
| impl ::core::marker::Copy for MIB_UDPROW_OWNER_MODULE {} |
| impl ::core::clone::Clone for MIB_UDPROW_OWNER_MODULE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDPROW_OWNER_MODULE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_UDPROW_OWNER_MODULE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub union MIB_UDPROW_OWNER_MODULE_0 { |
| pub Anonymous: MIB_UDPROW_OWNER_MODULE_0_0, |
| pub dwFlags: i32, |
| } |
| impl ::core::marker::Copy for MIB_UDPROW_OWNER_MODULE_0 {} |
| impl ::core::clone::Clone for MIB_UDPROW_OWNER_MODULE_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDPROW_OWNER_MODULE_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_UDPROW_OWNER_MODULE_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDPROW_OWNER_MODULE_0_0 { |
| pub _bitfield: i32, |
| } |
| impl ::core::marker::Copy for MIB_UDPROW_OWNER_MODULE_0_0 {} |
| impl ::core::clone::Clone for MIB_UDPROW_OWNER_MODULE_0_0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_UDPROW_OWNER_MODULE_0_0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_UDPROW_OWNER_MODULE_0_0").field("_bitfield", &self._bitfield).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDPROW_OWNER_MODULE_0_0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_UDPROW_OWNER_MODULE_0_0 { |
| fn eq(&self, other: &Self) -> bool { |
| self._bitfield == other._bitfield |
| } |
| } |
| impl ::core::cmp::Eq for MIB_UDPROW_OWNER_MODULE_0_0 {} |
| impl ::core::default::Default for MIB_UDPROW_OWNER_MODULE_0_0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDPROW_OWNER_PID { |
| pub dwLocalAddr: u32, |
| pub dwLocalPort: u32, |
| pub dwOwningPid: u32, |
| } |
| impl ::core::marker::Copy for MIB_UDPROW_OWNER_PID {} |
| impl ::core::clone::Clone for MIB_UDPROW_OWNER_PID { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_UDPROW_OWNER_PID { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_UDPROW_OWNER_PID").field("dwLocalAddr", &self.dwLocalAddr).field("dwLocalPort", &self.dwLocalPort).field("dwOwningPid", &self.dwOwningPid).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDPROW_OWNER_PID { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_UDPROW_OWNER_PID { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwLocalAddr == other.dwLocalAddr && self.dwLocalPort == other.dwLocalPort && self.dwOwningPid == other.dwOwningPid |
| } |
| } |
| impl ::core::cmp::Eq for MIB_UDPROW_OWNER_PID {} |
| impl ::core::default::Default for MIB_UDPROW_OWNER_PID { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDPSTATS { |
| pub dwInDatagrams: u32, |
| pub dwNoPorts: u32, |
| pub dwInErrors: u32, |
| pub dwOutDatagrams: u32, |
| pub dwNumAddrs: u32, |
| } |
| impl ::core::marker::Copy for MIB_UDPSTATS {} |
| impl ::core::clone::Clone for MIB_UDPSTATS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_UDPSTATS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_UDPSTATS").field("dwInDatagrams", &self.dwInDatagrams).field("dwNoPorts", &self.dwNoPorts).field("dwInErrors", &self.dwInErrors).field("dwOutDatagrams", &self.dwOutDatagrams).field("dwNumAddrs", &self.dwNumAddrs).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDPSTATS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_UDPSTATS { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwInDatagrams == other.dwInDatagrams && self.dwNoPorts == other.dwNoPorts && self.dwInErrors == other.dwInErrors && self.dwOutDatagrams == other.dwOutDatagrams && self.dwNumAddrs == other.dwNumAddrs |
| } |
| } |
| impl ::core::cmp::Eq for MIB_UDPSTATS {} |
| impl ::core::default::Default for MIB_UDPSTATS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDPSTATS2 { |
| pub dw64InDatagrams: u64, |
| pub dwNoPorts: u32, |
| pub dwInErrors: u32, |
| pub dw64OutDatagrams: u64, |
| pub dwNumAddrs: u32, |
| } |
| impl ::core::marker::Copy for MIB_UDPSTATS2 {} |
| impl ::core::clone::Clone for MIB_UDPSTATS2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_UDPSTATS2 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_UDPSTATS2").field("dw64InDatagrams", &self.dw64InDatagrams).field("dwNoPorts", &self.dwNoPorts).field("dwInErrors", &self.dwInErrors).field("dw64OutDatagrams", &self.dw64OutDatagrams).field("dwNumAddrs", &self.dwNumAddrs).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDPSTATS2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_UDPSTATS2 { |
| fn eq(&self, other: &Self) -> bool { |
| self.dw64InDatagrams == other.dw64InDatagrams && self.dwNoPorts == other.dwNoPorts && self.dwInErrors == other.dwInErrors && self.dw64OutDatagrams == other.dw64OutDatagrams && self.dwNumAddrs == other.dwNumAddrs |
| } |
| } |
| impl ::core::cmp::Eq for MIB_UDPSTATS2 {} |
| impl ::core::default::Default for MIB_UDPSTATS2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDPTABLE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_UDPROW; 1], |
| } |
| impl ::core::marker::Copy for MIB_UDPTABLE {} |
| impl ::core::clone::Clone for MIB_UDPTABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_UDPTABLE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_UDPTABLE").field("dwNumEntries", &self.dwNumEntries).field("table", &self.table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDPTABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_UDPTABLE { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumEntries == other.dwNumEntries && self.table == other.table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_UDPTABLE {} |
| impl ::core::default::Default for MIB_UDPTABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDPTABLE2 { |
| pub dwNumEntries: u32, |
| pub table: [MIB_UDPROW2; 1], |
| } |
| impl ::core::marker::Copy for MIB_UDPTABLE2 {} |
| impl ::core::clone::Clone for MIB_UDPTABLE2 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDPTABLE2 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_UDPTABLE2 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDPTABLE_OWNER_MODULE { |
| pub dwNumEntries: u32, |
| pub table: [MIB_UDPROW_OWNER_MODULE; 1], |
| } |
| impl ::core::marker::Copy for MIB_UDPTABLE_OWNER_MODULE {} |
| impl ::core::clone::Clone for MIB_UDPTABLE_OWNER_MODULE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDPTABLE_OWNER_MODULE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::default::Default for MIB_UDPTABLE_OWNER_MODULE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct MIB_UDPTABLE_OWNER_PID { |
| pub dwNumEntries: u32, |
| pub table: [MIB_UDPROW_OWNER_PID; 1], |
| } |
| impl ::core::marker::Copy for MIB_UDPTABLE_OWNER_PID {} |
| impl ::core::clone::Clone for MIB_UDPTABLE_OWNER_PID { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for MIB_UDPTABLE_OWNER_PID { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("MIB_UDPTABLE_OWNER_PID").field("dwNumEntries", &self.dwNumEntries).field("table", &self.table).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for MIB_UDPTABLE_OWNER_PID { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for MIB_UDPTABLE_OWNER_PID { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumEntries == other.dwNumEntries && self.table == other.table |
| } |
| } |
| impl ::core::cmp::Eq for MIB_UDPTABLE_OWNER_PID {} |
| impl ::core::default::Default for MIB_UDPTABLE_OWNER_PID { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_UNICASTIPADDRESS_ROW { |
| pub Address: super::super::Networking::WinSock::SOCKADDR_INET, |
| pub InterfaceLuid: super::Ndis::NET_LUID_LH, |
| pub InterfaceIndex: u32, |
| pub PrefixOrigin: super::super::Networking::WinSock::NL_PREFIX_ORIGIN, |
| pub SuffixOrigin: super::super::Networking::WinSock::NL_SUFFIX_ORIGIN, |
| pub ValidLifetime: u32, |
| pub PreferredLifetime: u32, |
| pub OnLinkPrefixLength: u8, |
| pub SkipAsSource: super::super::Foundation::BOOLEAN, |
| pub DadState: super::super::Networking::WinSock::NL_DAD_STATE, |
| pub ScopeId: super::super::Networking::WinSock::SCOPE_ID, |
| pub CreationTimeStamp: i64, |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_UNICASTIPADDRESS_ROW {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_UNICASTIPADDRESS_ROW { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_UNICASTIPADDRESS_ROW { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_UNICASTIPADDRESS_ROW { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub struct MIB_UNICASTIPADDRESS_TABLE { |
| pub NumEntries: u32, |
| pub Table: [MIB_UNICASTIPADDRESS_ROW; 1], |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::marker::Copy for MIB_UNICASTIPADDRESS_TABLE {} |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::clone::Clone for MIB_UNICASTIPADDRESS_TABLE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::windows::core::TypeKind for MIB_UNICASTIPADDRESS_TABLE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| impl ::core::default::Default for MIB_UNICASTIPADDRESS_TABLE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct PFLOGFRAME { |
| pub Timestamp: i64, |
| pub pfeTypeOfFrame: PFFRAMETYPE, |
| pub dwTotalSizeUsed: u32, |
| pub dwFilterRule: u32, |
| pub wSizeOfAdditionalData: u16, |
| pub wSizeOfIpHeader: u16, |
| pub dwInterfaceName: u32, |
| pub dwIPIndex: u32, |
| pub bPacketData: [u8; 1], |
| } |
| impl ::core::marker::Copy for PFLOGFRAME {} |
| impl ::core::clone::Clone for PFLOGFRAME { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for PFLOGFRAME { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("PFLOGFRAME").field("Timestamp", &self.Timestamp).field("pfeTypeOfFrame", &self.pfeTypeOfFrame).field("dwTotalSizeUsed", &self.dwTotalSizeUsed).field("dwFilterRule", &self.dwFilterRule).field("wSizeOfAdditionalData", &self.wSizeOfAdditionalData).field("wSizeOfIpHeader", &self.wSizeOfIpHeader).field("dwInterfaceName", &self.dwInterfaceName).field("dwIPIndex", &self.dwIPIndex).field("bPacketData", &self.bPacketData).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for PFLOGFRAME { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for PFLOGFRAME { |
| fn eq(&self, other: &Self) -> bool { |
| self.Timestamp == other.Timestamp && self.pfeTypeOfFrame == other.pfeTypeOfFrame && self.dwTotalSizeUsed == other.dwTotalSizeUsed && self.dwFilterRule == other.dwFilterRule && self.wSizeOfAdditionalData == other.wSizeOfAdditionalData && self.wSizeOfIpHeader == other.wSizeOfIpHeader && self.dwInterfaceName == other.dwInterfaceName && self.dwIPIndex == other.dwIPIndex && self.bPacketData == other.bPacketData |
| } |
| } |
| impl ::core::cmp::Eq for PFLOGFRAME {} |
| impl ::core::default::Default for PFLOGFRAME { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct PF_FILTER_DESCRIPTOR { |
| pub dwFilterFlags: u32, |
| pub dwRule: u32, |
| pub pfatType: PFADDRESSTYPE, |
| pub SrcAddr: *mut u8, |
| pub SrcMask: *mut u8, |
| pub DstAddr: *mut u8, |
| pub DstMask: *mut u8, |
| pub dwProtocol: u32, |
| pub fLateBound: u32, |
| pub wSrcPort: u16, |
| pub wDstPort: u16, |
| pub wSrcPortHighRange: u16, |
| pub wDstPortHighRange: u16, |
| } |
| impl ::core::marker::Copy for PF_FILTER_DESCRIPTOR {} |
| impl ::core::clone::Clone for PF_FILTER_DESCRIPTOR { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for PF_FILTER_DESCRIPTOR { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("PF_FILTER_DESCRIPTOR") |
| .field("dwFilterFlags", &self.dwFilterFlags) |
| .field("dwRule", &self.dwRule) |
| .field("pfatType", &self.pfatType) |
| .field("SrcAddr", &self.SrcAddr) |
| .field("SrcMask", &self.SrcMask) |
| .field("DstAddr", &self.DstAddr) |
| .field("DstMask", &self.DstMask) |
| .field("dwProtocol", &self.dwProtocol) |
| .field("fLateBound", &self.fLateBound) |
| .field("wSrcPort", &self.wSrcPort) |
| .field("wDstPort", &self.wDstPort) |
| .field("wSrcPortHighRange", &self.wSrcPortHighRange) |
| .field("wDstPortHighRange", &self.wDstPortHighRange) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for PF_FILTER_DESCRIPTOR { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for PF_FILTER_DESCRIPTOR { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwFilterFlags == other.dwFilterFlags && self.dwRule == other.dwRule && self.pfatType == other.pfatType && self.SrcAddr == other.SrcAddr && self.SrcMask == other.SrcMask && self.DstAddr == other.DstAddr && self.DstMask == other.DstMask && self.dwProtocol == other.dwProtocol && self.fLateBound == other.fLateBound && self.wSrcPort == other.wSrcPort && self.wDstPort == other.wDstPort && self.wSrcPortHighRange == other.wSrcPortHighRange && self.wDstPortHighRange == other.wDstPortHighRange |
| } |
| } |
| impl ::core::cmp::Eq for PF_FILTER_DESCRIPTOR {} |
| impl ::core::default::Default for PF_FILTER_DESCRIPTOR { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct PF_FILTER_STATS { |
| pub dwNumPacketsFiltered: u32, |
| pub info: PF_FILTER_DESCRIPTOR, |
| } |
| impl ::core::marker::Copy for PF_FILTER_STATS {} |
| impl ::core::clone::Clone for PF_FILTER_STATS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for PF_FILTER_STATS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("PF_FILTER_STATS").field("dwNumPacketsFiltered", &self.dwNumPacketsFiltered).field("info", &self.info).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for PF_FILTER_STATS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for PF_FILTER_STATS { |
| fn eq(&self, other: &Self) -> bool { |
| self.dwNumPacketsFiltered == other.dwNumPacketsFiltered && self.info == other.info |
| } |
| } |
| impl ::core::cmp::Eq for PF_FILTER_STATS {} |
| impl ::core::default::Default for PF_FILTER_STATS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct PF_INTERFACE_STATS { |
| pub pvDriverContext: *mut ::core::ffi::c_void, |
| pub dwFlags: u32, |
| pub dwInDrops: u32, |
| pub dwOutDrops: u32, |
| pub eaInAction: PFFORWARD_ACTION, |
| pub eaOutAction: PFFORWARD_ACTION, |
| pub dwNumInFilters: u32, |
| pub dwNumOutFilters: u32, |
| pub dwFrag: u32, |
| pub dwSpoof: u32, |
| pub dwReserved1: u32, |
| pub dwReserved2: u32, |
| pub liSYN: i64, |
| pub liTotalLogged: i64, |
| pub dwLostLogEntries: u32, |
| pub FilterInfo: [PF_FILTER_STATS; 1], |
| } |
| impl ::core::marker::Copy for PF_INTERFACE_STATS {} |
| impl ::core::clone::Clone for PF_INTERFACE_STATS { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for PF_INTERFACE_STATS { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("PF_INTERFACE_STATS") |
| .field("pvDriverContext", &self.pvDriverContext) |
| .field("dwFlags", &self.dwFlags) |
| .field("dwInDrops", &self.dwInDrops) |
| .field("dwOutDrops", &self.dwOutDrops) |
| .field("eaInAction", &self.eaInAction) |
| .field("eaOutAction", &self.eaOutAction) |
| .field("dwNumInFilters", &self.dwNumInFilters) |
| .field("dwNumOutFilters", &self.dwNumOutFilters) |
| .field("dwFrag", &self.dwFrag) |
| .field("dwSpoof", &self.dwSpoof) |
| .field("dwReserved1", &self.dwReserved1) |
| .field("dwReserved2", &self.dwReserved2) |
| .field("liSYN", &self.liSYN) |
| .field("liTotalLogged", &self.liTotalLogged) |
| .field("dwLostLogEntries", &self.dwLostLogEntries) |
| .field("FilterInfo", &self.FilterInfo) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for PF_INTERFACE_STATS { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for PF_INTERFACE_STATS { |
| fn eq(&self, other: &Self) -> bool { |
| self.pvDriverContext == other.pvDriverContext && self.dwFlags == other.dwFlags && self.dwInDrops == other.dwInDrops && self.dwOutDrops == other.dwOutDrops && self.eaInAction == other.eaInAction && self.eaOutAction == other.eaOutAction && self.dwNumInFilters == other.dwNumInFilters && self.dwNumOutFilters == other.dwNumOutFilters && self.dwFrag == other.dwFrag && self.dwSpoof == other.dwSpoof && self.dwReserved1 == other.dwReserved1 && self.dwReserved2 == other.dwReserved2 && self.liSYN == other.liSYN && self.liTotalLogged == other.liTotalLogged && self.dwLostLogEntries == other.dwLostLogEntries && self.FilterInfo == other.FilterInfo |
| } |
| } |
| impl ::core::cmp::Eq for PF_INTERFACE_STATS {} |
| impl ::core::default::Default for PF_INTERFACE_STATS { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct PF_LATEBIND_INFO { |
| pub SrcAddr: *mut u8, |
| pub DstAddr: *mut u8, |
| pub Mask: *mut u8, |
| } |
| impl ::core::marker::Copy for PF_LATEBIND_INFO {} |
| impl ::core::clone::Clone for PF_LATEBIND_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for PF_LATEBIND_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("PF_LATEBIND_INFO").field("SrcAddr", &self.SrcAddr).field("DstAddr", &self.DstAddr).field("Mask", &self.Mask).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for PF_LATEBIND_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for PF_LATEBIND_INFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.SrcAddr == other.SrcAddr && self.DstAddr == other.DstAddr && self.Mask == other.Mask |
| } |
| } |
| impl ::core::cmp::Eq for PF_LATEBIND_INFO {} |
| impl ::core::default::Default for PF_LATEBIND_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct TCPIP_OWNER_MODULE_BASIC_INFO { |
| pub pModuleName: ::windows::core::PWSTR, |
| pub pModulePath: ::windows::core::PWSTR, |
| } |
| impl ::core::marker::Copy for TCPIP_OWNER_MODULE_BASIC_INFO {} |
| impl ::core::clone::Clone for TCPIP_OWNER_MODULE_BASIC_INFO { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TCPIP_OWNER_MODULE_BASIC_INFO { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCPIP_OWNER_MODULE_BASIC_INFO").field("pModuleName", &self.pModuleName).field("pModulePath", &self.pModulePath).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TCPIP_OWNER_MODULE_BASIC_INFO { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TCPIP_OWNER_MODULE_BASIC_INFO { |
| fn eq(&self, other: &Self) -> bool { |
| self.pModuleName == other.pModuleName && self.pModulePath == other.pModulePath |
| } |
| } |
| impl ::core::cmp::Eq for TCPIP_OWNER_MODULE_BASIC_INFO {} |
| impl ::core::default::Default for TCPIP_OWNER_MODULE_BASIC_INFO { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct TCP_ESTATS_BANDWIDTH_ROD_v0 { |
| pub OutboundBandwidth: u64, |
| pub InboundBandwidth: u64, |
| pub OutboundInstability: u64, |
| pub InboundInstability: u64, |
| pub OutboundBandwidthPeaked: super::super::Foundation::BOOLEAN, |
| pub InboundBandwidthPeaked: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for TCP_ESTATS_BANDWIDTH_ROD_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for TCP_ESTATS_BANDWIDTH_ROD_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for TCP_ESTATS_BANDWIDTH_ROD_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_BANDWIDTH_ROD_v0").field("OutboundBandwidth", &self.OutboundBandwidth).field("InboundBandwidth", &self.InboundBandwidth).field("OutboundInstability", &self.OutboundInstability).field("InboundInstability", &self.InboundInstability).field("OutboundBandwidthPeaked", &self.OutboundBandwidthPeaked).field("InboundBandwidthPeaked", &self.InboundBandwidthPeaked).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for TCP_ESTATS_BANDWIDTH_ROD_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for TCP_ESTATS_BANDWIDTH_ROD_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.OutboundBandwidth == other.OutboundBandwidth && self.InboundBandwidth == other.InboundBandwidth && self.OutboundInstability == other.OutboundInstability && self.InboundInstability == other.InboundInstability && self.OutboundBandwidthPeaked == other.OutboundBandwidthPeaked && self.InboundBandwidthPeaked == other.InboundBandwidthPeaked |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for TCP_ESTATS_BANDWIDTH_ROD_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for TCP_ESTATS_BANDWIDTH_ROD_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct TCP_ESTATS_BANDWIDTH_RW_v0 { |
| pub EnableCollectionOutbound: TCP_BOOLEAN_OPTIONAL, |
| pub EnableCollectionInbound: TCP_BOOLEAN_OPTIONAL, |
| } |
| impl ::core::marker::Copy for TCP_ESTATS_BANDWIDTH_RW_v0 {} |
| impl ::core::clone::Clone for TCP_ESTATS_BANDWIDTH_RW_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TCP_ESTATS_BANDWIDTH_RW_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_BANDWIDTH_RW_v0").field("EnableCollectionOutbound", &self.EnableCollectionOutbound).field("EnableCollectionInbound", &self.EnableCollectionInbound).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_ESTATS_BANDWIDTH_RW_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TCP_ESTATS_BANDWIDTH_RW_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.EnableCollectionOutbound == other.EnableCollectionOutbound && self.EnableCollectionInbound == other.EnableCollectionInbound |
| } |
| } |
| impl ::core::cmp::Eq for TCP_ESTATS_BANDWIDTH_RW_v0 {} |
| impl ::core::default::Default for TCP_ESTATS_BANDWIDTH_RW_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct TCP_ESTATS_DATA_ROD_v0 { |
| pub DataBytesOut: u64, |
| pub DataSegsOut: u64, |
| pub DataBytesIn: u64, |
| pub DataSegsIn: u64, |
| pub SegsOut: u64, |
| pub SegsIn: u64, |
| pub SoftErrors: u32, |
| pub SoftErrorReason: u32, |
| pub SndUna: u32, |
| pub SndNxt: u32, |
| pub SndMax: u32, |
| pub ThruBytesAcked: u64, |
| pub RcvNxt: u32, |
| pub ThruBytesReceived: u64, |
| } |
| impl ::core::marker::Copy for TCP_ESTATS_DATA_ROD_v0 {} |
| impl ::core::clone::Clone for TCP_ESTATS_DATA_ROD_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TCP_ESTATS_DATA_ROD_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_DATA_ROD_v0") |
| .field("DataBytesOut", &self.DataBytesOut) |
| .field("DataSegsOut", &self.DataSegsOut) |
| .field("DataBytesIn", &self.DataBytesIn) |
| .field("DataSegsIn", &self.DataSegsIn) |
| .field("SegsOut", &self.SegsOut) |
| .field("SegsIn", &self.SegsIn) |
| .field("SoftErrors", &self.SoftErrors) |
| .field("SoftErrorReason", &self.SoftErrorReason) |
| .field("SndUna", &self.SndUna) |
| .field("SndNxt", &self.SndNxt) |
| .field("SndMax", &self.SndMax) |
| .field("ThruBytesAcked", &self.ThruBytesAcked) |
| .field("RcvNxt", &self.RcvNxt) |
| .field("ThruBytesReceived", &self.ThruBytesReceived) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_ESTATS_DATA_ROD_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TCP_ESTATS_DATA_ROD_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.DataBytesOut == other.DataBytesOut && self.DataSegsOut == other.DataSegsOut && self.DataBytesIn == other.DataBytesIn && self.DataSegsIn == other.DataSegsIn && self.SegsOut == other.SegsOut && self.SegsIn == other.SegsIn && self.SoftErrors == other.SoftErrors && self.SoftErrorReason == other.SoftErrorReason && self.SndUna == other.SndUna && self.SndNxt == other.SndNxt && self.SndMax == other.SndMax && self.ThruBytesAcked == other.ThruBytesAcked && self.RcvNxt == other.RcvNxt && self.ThruBytesReceived == other.ThruBytesReceived |
| } |
| } |
| impl ::core::cmp::Eq for TCP_ESTATS_DATA_ROD_v0 {} |
| impl ::core::default::Default for TCP_ESTATS_DATA_ROD_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct TCP_ESTATS_DATA_RW_v0 { |
| pub EnableCollection: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for TCP_ESTATS_DATA_RW_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for TCP_ESTATS_DATA_RW_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for TCP_ESTATS_DATA_RW_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_DATA_RW_v0").field("EnableCollection", &self.EnableCollection).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for TCP_ESTATS_DATA_RW_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for TCP_ESTATS_DATA_RW_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.EnableCollection == other.EnableCollection |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for TCP_ESTATS_DATA_RW_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for TCP_ESTATS_DATA_RW_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct TCP_ESTATS_FINE_RTT_ROD_v0 { |
| pub RttVar: u32, |
| pub MaxRtt: u32, |
| pub MinRtt: u32, |
| pub SumRtt: u32, |
| } |
| impl ::core::marker::Copy for TCP_ESTATS_FINE_RTT_ROD_v0 {} |
| impl ::core::clone::Clone for TCP_ESTATS_FINE_RTT_ROD_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TCP_ESTATS_FINE_RTT_ROD_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_FINE_RTT_ROD_v0").field("RttVar", &self.RttVar).field("MaxRtt", &self.MaxRtt).field("MinRtt", &self.MinRtt).field("SumRtt", &self.SumRtt).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_ESTATS_FINE_RTT_ROD_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TCP_ESTATS_FINE_RTT_ROD_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.RttVar == other.RttVar && self.MaxRtt == other.MaxRtt && self.MinRtt == other.MinRtt && self.SumRtt == other.SumRtt |
| } |
| } |
| impl ::core::cmp::Eq for TCP_ESTATS_FINE_RTT_ROD_v0 {} |
| impl ::core::default::Default for TCP_ESTATS_FINE_RTT_ROD_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct TCP_ESTATS_FINE_RTT_RW_v0 { |
| pub EnableCollection: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for TCP_ESTATS_FINE_RTT_RW_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for TCP_ESTATS_FINE_RTT_RW_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for TCP_ESTATS_FINE_RTT_RW_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_FINE_RTT_RW_v0").field("EnableCollection", &self.EnableCollection).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for TCP_ESTATS_FINE_RTT_RW_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for TCP_ESTATS_FINE_RTT_RW_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.EnableCollection == other.EnableCollection |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for TCP_ESTATS_FINE_RTT_RW_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for TCP_ESTATS_FINE_RTT_RW_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct TCP_ESTATS_OBS_REC_ROD_v0 { |
| pub CurRwinRcvd: u32, |
| pub MaxRwinRcvd: u32, |
| pub MinRwinRcvd: u32, |
| pub WinScaleRcvd: u8, |
| } |
| impl ::core::marker::Copy for TCP_ESTATS_OBS_REC_ROD_v0 {} |
| impl ::core::clone::Clone for TCP_ESTATS_OBS_REC_ROD_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TCP_ESTATS_OBS_REC_ROD_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_OBS_REC_ROD_v0").field("CurRwinRcvd", &self.CurRwinRcvd).field("MaxRwinRcvd", &self.MaxRwinRcvd).field("MinRwinRcvd", &self.MinRwinRcvd).field("WinScaleRcvd", &self.WinScaleRcvd).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_ESTATS_OBS_REC_ROD_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TCP_ESTATS_OBS_REC_ROD_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.CurRwinRcvd == other.CurRwinRcvd && self.MaxRwinRcvd == other.MaxRwinRcvd && self.MinRwinRcvd == other.MinRwinRcvd && self.WinScaleRcvd == other.WinScaleRcvd |
| } |
| } |
| impl ::core::cmp::Eq for TCP_ESTATS_OBS_REC_ROD_v0 {} |
| impl ::core::default::Default for TCP_ESTATS_OBS_REC_ROD_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct TCP_ESTATS_OBS_REC_RW_v0 { |
| pub EnableCollection: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for TCP_ESTATS_OBS_REC_RW_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for TCP_ESTATS_OBS_REC_RW_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for TCP_ESTATS_OBS_REC_RW_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_OBS_REC_RW_v0").field("EnableCollection", &self.EnableCollection).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for TCP_ESTATS_OBS_REC_RW_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for TCP_ESTATS_OBS_REC_RW_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.EnableCollection == other.EnableCollection |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for TCP_ESTATS_OBS_REC_RW_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for TCP_ESTATS_OBS_REC_RW_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct TCP_ESTATS_PATH_ROD_v0 { |
| pub FastRetran: u32, |
| pub Timeouts: u32, |
| pub SubsequentTimeouts: u32, |
| pub CurTimeoutCount: u32, |
| pub AbruptTimeouts: u32, |
| pub PktsRetrans: u32, |
| pub BytesRetrans: u32, |
| pub DupAcksIn: u32, |
| pub SacksRcvd: u32, |
| pub SackBlocksRcvd: u32, |
| pub CongSignals: u32, |
| pub PreCongSumCwnd: u32, |
| pub PreCongSumRtt: u32, |
| pub PostCongSumRtt: u32, |
| pub PostCongCountRtt: u32, |
| pub EcnSignals: u32, |
| pub EceRcvd: u32, |
| pub SendStall: u32, |
| pub QuenchRcvd: u32, |
| pub RetranThresh: u32, |
| pub SndDupAckEpisodes: u32, |
| pub SumBytesReordered: u32, |
| pub NonRecovDa: u32, |
| pub NonRecovDaEpisodes: u32, |
| pub AckAfterFr: u32, |
| pub DsackDups: u32, |
| pub SampleRtt: u32, |
| pub SmoothedRtt: u32, |
| pub RttVar: u32, |
| pub MaxRtt: u32, |
| pub MinRtt: u32, |
| pub SumRtt: u32, |
| pub CountRtt: u32, |
| pub CurRto: u32, |
| pub MaxRto: u32, |
| pub MinRto: u32, |
| pub CurMss: u32, |
| pub MaxMss: u32, |
| pub MinMss: u32, |
| pub SpuriousRtoDetections: u32, |
| } |
| impl ::core::marker::Copy for TCP_ESTATS_PATH_ROD_v0 {} |
| impl ::core::clone::Clone for TCP_ESTATS_PATH_ROD_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TCP_ESTATS_PATH_ROD_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_PATH_ROD_v0") |
| .field("FastRetran", &self.FastRetran) |
| .field("Timeouts", &self.Timeouts) |
| .field("SubsequentTimeouts", &self.SubsequentTimeouts) |
| .field("CurTimeoutCount", &self.CurTimeoutCount) |
| .field("AbruptTimeouts", &self.AbruptTimeouts) |
| .field("PktsRetrans", &self.PktsRetrans) |
| .field("BytesRetrans", &self.BytesRetrans) |
| .field("DupAcksIn", &self.DupAcksIn) |
| .field("SacksRcvd", &self.SacksRcvd) |
| .field("SackBlocksRcvd", &self.SackBlocksRcvd) |
| .field("CongSignals", &self.CongSignals) |
| .field("PreCongSumCwnd", &self.PreCongSumCwnd) |
| .field("PreCongSumRtt", &self.PreCongSumRtt) |
| .field("PostCongSumRtt", &self.PostCongSumRtt) |
| .field("PostCongCountRtt", &self.PostCongCountRtt) |
| .field("EcnSignals", &self.EcnSignals) |
| .field("EceRcvd", &self.EceRcvd) |
| .field("SendStall", &self.SendStall) |
| .field("QuenchRcvd", &self.QuenchRcvd) |
| .field("RetranThresh", &self.RetranThresh) |
| .field("SndDupAckEpisodes", &self.SndDupAckEpisodes) |
| .field("SumBytesReordered", &self.SumBytesReordered) |
| .field("NonRecovDa", &self.NonRecovDa) |
| .field("NonRecovDaEpisodes", &self.NonRecovDaEpisodes) |
| .field("AckAfterFr", &self.AckAfterFr) |
| .field("DsackDups", &self.DsackDups) |
| .field("SampleRtt", &self.SampleRtt) |
| .field("SmoothedRtt", &self.SmoothedRtt) |
| .field("RttVar", &self.RttVar) |
| .field("MaxRtt", &self.MaxRtt) |
| .field("MinRtt", &self.MinRtt) |
| .field("SumRtt", &self.SumRtt) |
| .field("CountRtt", &self.CountRtt) |
| .field("CurRto", &self.CurRto) |
| .field("MaxRto", &self.MaxRto) |
| .field("MinRto", &self.MinRto) |
| .field("CurMss", &self.CurMss) |
| .field("MaxMss", &self.MaxMss) |
| .field("MinMss", &self.MinMss) |
| .field("SpuriousRtoDetections", &self.SpuriousRtoDetections) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_ESTATS_PATH_ROD_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TCP_ESTATS_PATH_ROD_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.FastRetran == other.FastRetran |
| && self.Timeouts == other.Timeouts |
| && self.SubsequentTimeouts == other.SubsequentTimeouts |
| && self.CurTimeoutCount == other.CurTimeoutCount |
| && self.AbruptTimeouts == other.AbruptTimeouts |
| && self.PktsRetrans == other.PktsRetrans |
| && self.BytesRetrans == other.BytesRetrans |
| && self.DupAcksIn == other.DupAcksIn |
| && self.SacksRcvd == other.SacksRcvd |
| && self.SackBlocksRcvd == other.SackBlocksRcvd |
| && self.CongSignals == other.CongSignals |
| && self.PreCongSumCwnd == other.PreCongSumCwnd |
| && self.PreCongSumRtt == other.PreCongSumRtt |
| && self.PostCongSumRtt == other.PostCongSumRtt |
| && self.PostCongCountRtt == other.PostCongCountRtt |
| && self.EcnSignals == other.EcnSignals |
| && self.EceRcvd == other.EceRcvd |
| && self.SendStall == other.SendStall |
| && self.QuenchRcvd == other.QuenchRcvd |
| && self.RetranThresh == other.RetranThresh |
| && self.SndDupAckEpisodes == other.SndDupAckEpisodes |
| && self.SumBytesReordered == other.SumBytesReordered |
| && self.NonRecovDa == other.NonRecovDa |
| && self.NonRecovDaEpisodes == other.NonRecovDaEpisodes |
| && self.AckAfterFr == other.AckAfterFr |
| && self.DsackDups == other.DsackDups |
| && self.SampleRtt == other.SampleRtt |
| && self.SmoothedRtt == other.SmoothedRtt |
| && self.RttVar == other.RttVar |
| && self.MaxRtt == other.MaxRtt |
| && self.MinRtt == other.MinRtt |
| && self.SumRtt == other.SumRtt |
| && self.CountRtt == other.CountRtt |
| && self.CurRto == other.CurRto |
| && self.MaxRto == other.MaxRto |
| && self.MinRto == other.MinRto |
| && self.CurMss == other.CurMss |
| && self.MaxMss == other.MaxMss |
| && self.MinMss == other.MinMss |
| && self.SpuriousRtoDetections == other.SpuriousRtoDetections |
| } |
| } |
| impl ::core::cmp::Eq for TCP_ESTATS_PATH_ROD_v0 {} |
| impl ::core::default::Default for TCP_ESTATS_PATH_ROD_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct TCP_ESTATS_PATH_RW_v0 { |
| pub EnableCollection: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for TCP_ESTATS_PATH_RW_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for TCP_ESTATS_PATH_RW_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for TCP_ESTATS_PATH_RW_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_PATH_RW_v0").field("EnableCollection", &self.EnableCollection).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for TCP_ESTATS_PATH_RW_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for TCP_ESTATS_PATH_RW_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.EnableCollection == other.EnableCollection |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for TCP_ESTATS_PATH_RW_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for TCP_ESTATS_PATH_RW_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct TCP_ESTATS_REC_ROD_v0 { |
| pub CurRwinSent: u32, |
| pub MaxRwinSent: u32, |
| pub MinRwinSent: u32, |
| pub LimRwin: u32, |
| pub DupAckEpisodes: u32, |
| pub DupAcksOut: u32, |
| pub CeRcvd: u32, |
| pub EcnSent: u32, |
| pub EcnNoncesRcvd: u32, |
| pub CurReasmQueue: u32, |
| pub MaxReasmQueue: u32, |
| pub CurAppRQueue: usize, |
| pub MaxAppRQueue: usize, |
| pub WinScaleSent: u8, |
| } |
| impl ::core::marker::Copy for TCP_ESTATS_REC_ROD_v0 {} |
| impl ::core::clone::Clone for TCP_ESTATS_REC_ROD_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TCP_ESTATS_REC_ROD_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_REC_ROD_v0") |
| .field("CurRwinSent", &self.CurRwinSent) |
| .field("MaxRwinSent", &self.MaxRwinSent) |
| .field("MinRwinSent", &self.MinRwinSent) |
| .field("LimRwin", &self.LimRwin) |
| .field("DupAckEpisodes", &self.DupAckEpisodes) |
| .field("DupAcksOut", &self.DupAcksOut) |
| .field("CeRcvd", &self.CeRcvd) |
| .field("EcnSent", &self.EcnSent) |
| .field("EcnNoncesRcvd", &self.EcnNoncesRcvd) |
| .field("CurReasmQueue", &self.CurReasmQueue) |
| .field("MaxReasmQueue", &self.MaxReasmQueue) |
| .field("CurAppRQueue", &self.CurAppRQueue) |
| .field("MaxAppRQueue", &self.MaxAppRQueue) |
| .field("WinScaleSent", &self.WinScaleSent) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_ESTATS_REC_ROD_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TCP_ESTATS_REC_ROD_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.CurRwinSent == other.CurRwinSent && self.MaxRwinSent == other.MaxRwinSent && self.MinRwinSent == other.MinRwinSent && self.LimRwin == other.LimRwin && self.DupAckEpisodes == other.DupAckEpisodes && self.DupAcksOut == other.DupAcksOut && self.CeRcvd == other.CeRcvd && self.EcnSent == other.EcnSent && self.EcnNoncesRcvd == other.EcnNoncesRcvd && self.CurReasmQueue == other.CurReasmQueue && self.MaxReasmQueue == other.MaxReasmQueue && self.CurAppRQueue == other.CurAppRQueue && self.MaxAppRQueue == other.MaxAppRQueue && self.WinScaleSent == other.WinScaleSent |
| } |
| } |
| impl ::core::cmp::Eq for TCP_ESTATS_REC_ROD_v0 {} |
| impl ::core::default::Default for TCP_ESTATS_REC_ROD_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct TCP_ESTATS_REC_RW_v0 { |
| pub EnableCollection: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for TCP_ESTATS_REC_RW_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for TCP_ESTATS_REC_RW_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for TCP_ESTATS_REC_RW_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_REC_RW_v0").field("EnableCollection", &self.EnableCollection).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for TCP_ESTATS_REC_RW_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for TCP_ESTATS_REC_RW_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.EnableCollection == other.EnableCollection |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for TCP_ESTATS_REC_RW_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for TCP_ESTATS_REC_RW_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct TCP_ESTATS_SEND_BUFF_ROD_v0 { |
| pub CurRetxQueue: usize, |
| pub MaxRetxQueue: usize, |
| pub CurAppWQueue: usize, |
| pub MaxAppWQueue: usize, |
| } |
| impl ::core::marker::Copy for TCP_ESTATS_SEND_BUFF_ROD_v0 {} |
| impl ::core::clone::Clone for TCP_ESTATS_SEND_BUFF_ROD_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TCP_ESTATS_SEND_BUFF_ROD_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_SEND_BUFF_ROD_v0").field("CurRetxQueue", &self.CurRetxQueue).field("MaxRetxQueue", &self.MaxRetxQueue).field("CurAppWQueue", &self.CurAppWQueue).field("MaxAppWQueue", &self.MaxAppWQueue).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_ESTATS_SEND_BUFF_ROD_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TCP_ESTATS_SEND_BUFF_ROD_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.CurRetxQueue == other.CurRetxQueue && self.MaxRetxQueue == other.MaxRetxQueue && self.CurAppWQueue == other.CurAppWQueue && self.MaxAppWQueue == other.MaxAppWQueue |
| } |
| } |
| impl ::core::cmp::Eq for TCP_ESTATS_SEND_BUFF_ROD_v0 {} |
| impl ::core::default::Default for TCP_ESTATS_SEND_BUFF_ROD_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct TCP_ESTATS_SEND_BUFF_RW_v0 { |
| pub EnableCollection: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for TCP_ESTATS_SEND_BUFF_RW_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for TCP_ESTATS_SEND_BUFF_RW_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for TCP_ESTATS_SEND_BUFF_RW_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_SEND_BUFF_RW_v0").field("EnableCollection", &self.EnableCollection).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for TCP_ESTATS_SEND_BUFF_RW_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for TCP_ESTATS_SEND_BUFF_RW_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.EnableCollection == other.EnableCollection |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for TCP_ESTATS_SEND_BUFF_RW_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for TCP_ESTATS_SEND_BUFF_RW_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct TCP_ESTATS_SND_CONG_ROD_v0 { |
| pub SndLimTransRwin: u32, |
| pub SndLimTimeRwin: u32, |
| pub SndLimBytesRwin: usize, |
| pub SndLimTransCwnd: u32, |
| pub SndLimTimeCwnd: u32, |
| pub SndLimBytesCwnd: usize, |
| pub SndLimTransSnd: u32, |
| pub SndLimTimeSnd: u32, |
| pub SndLimBytesSnd: usize, |
| pub SlowStart: u32, |
| pub CongAvoid: u32, |
| pub OtherReductions: u32, |
| pub CurCwnd: u32, |
| pub MaxSsCwnd: u32, |
| pub MaxCaCwnd: u32, |
| pub CurSsthresh: u32, |
| pub MaxSsthresh: u32, |
| pub MinSsthresh: u32, |
| } |
| impl ::core::marker::Copy for TCP_ESTATS_SND_CONG_ROD_v0 {} |
| impl ::core::clone::Clone for TCP_ESTATS_SND_CONG_ROD_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TCP_ESTATS_SND_CONG_ROD_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_SND_CONG_ROD_v0") |
| .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) |
| .field("SlowStart", &self.SlowStart) |
| .field("CongAvoid", &self.CongAvoid) |
| .field("OtherReductions", &self.OtherReductions) |
| .field("CurCwnd", &self.CurCwnd) |
| .field("MaxSsCwnd", &self.MaxSsCwnd) |
| .field("MaxCaCwnd", &self.MaxCaCwnd) |
| .field("CurSsthresh", &self.CurSsthresh) |
| .field("MaxSsthresh", &self.MaxSsthresh) |
| .field("MinSsthresh", &self.MinSsthresh) |
| .finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_ESTATS_SND_CONG_ROD_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TCP_ESTATS_SND_CONG_ROD_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| 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 && self.SlowStart == other.SlowStart && self.CongAvoid == other.CongAvoid && self.OtherReductions == other.OtherReductions && self.CurCwnd == other.CurCwnd && self.MaxSsCwnd == other.MaxSsCwnd && self.MaxCaCwnd == other.MaxCaCwnd && self.CurSsthresh == other.CurSsthresh && self.MaxSsthresh == other.MaxSsthresh && self.MinSsthresh == other.MinSsthresh |
| } |
| } |
| impl ::core::cmp::Eq for TCP_ESTATS_SND_CONG_ROD_v0 {} |
| impl ::core::default::Default for TCP_ESTATS_SND_CONG_ROD_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct TCP_ESTATS_SND_CONG_ROS_v0 { |
| pub LimCwnd: u32, |
| } |
| impl ::core::marker::Copy for TCP_ESTATS_SND_CONG_ROS_v0 {} |
| impl ::core::clone::Clone for TCP_ESTATS_SND_CONG_ROS_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TCP_ESTATS_SND_CONG_ROS_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_SND_CONG_ROS_v0").field("LimCwnd", &self.LimCwnd).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_ESTATS_SND_CONG_ROS_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TCP_ESTATS_SND_CONG_ROS_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.LimCwnd == other.LimCwnd |
| } |
| } |
| impl ::core::cmp::Eq for TCP_ESTATS_SND_CONG_ROS_v0 {} |
| impl ::core::default::Default for TCP_ESTATS_SND_CONG_ROS_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct TCP_ESTATS_SND_CONG_RW_v0 { |
| pub EnableCollection: super::super::Foundation::BOOLEAN, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for TCP_ESTATS_SND_CONG_RW_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for TCP_ESTATS_SND_CONG_RW_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for TCP_ESTATS_SND_CONG_RW_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_SND_CONG_RW_v0").field("EnableCollection", &self.EnableCollection).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for TCP_ESTATS_SND_CONG_RW_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for TCP_ESTATS_SND_CONG_RW_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.EnableCollection == other.EnableCollection |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for TCP_ESTATS_SND_CONG_RW_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for TCP_ESTATS_SND_CONG_RW_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`*"] |
| #[cfg(feature = "Win32_Foundation")] |
| pub struct TCP_ESTATS_SYN_OPTS_ROS_v0 { |
| pub ActiveOpen: super::super::Foundation::BOOLEAN, |
| pub MssRcvd: u32, |
| pub MssSent: u32, |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::marker::Copy for TCP_ESTATS_SYN_OPTS_ROS_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::clone::Clone for TCP_ESTATS_SYN_OPTS_ROS_v0 { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::fmt::Debug for TCP_ESTATS_SYN_OPTS_ROS_v0 { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_ESTATS_SYN_OPTS_ROS_v0").field("ActiveOpen", &self.ActiveOpen).field("MssRcvd", &self.MssRcvd).field("MssSent", &self.MssSent).finish() |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::windows::core::TypeKind for TCP_ESTATS_SYN_OPTS_ROS_v0 { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::PartialEq for TCP_ESTATS_SYN_OPTS_ROS_v0 { |
| fn eq(&self, other: &Self) -> bool { |
| self.ActiveOpen == other.ActiveOpen && self.MssRcvd == other.MssRcvd && self.MssSent == other.MssSent |
| } |
| } |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::cmp::Eq for TCP_ESTATS_SYN_OPTS_ROS_v0 {} |
| #[cfg(feature = "Win32_Foundation")] |
| impl ::core::default::Default for TCP_ESTATS_SYN_OPTS_ROS_v0 { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[repr(C)] |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub struct TCP_RESERVE_PORT_RANGE { |
| pub UpperRange: u16, |
| pub LowerRange: u16, |
| } |
| impl ::core::marker::Copy for TCP_RESERVE_PORT_RANGE {} |
| impl ::core::clone::Clone for TCP_RESERVE_PORT_RANGE { |
| fn clone(&self) -> Self { |
| *self |
| } |
| } |
| impl ::core::fmt::Debug for TCP_RESERVE_PORT_RANGE { |
| fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result { |
| f.debug_struct("TCP_RESERVE_PORT_RANGE").field("UpperRange", &self.UpperRange).field("LowerRange", &self.LowerRange).finish() |
| } |
| } |
| impl ::windows::core::TypeKind for TCP_RESERVE_PORT_RANGE { |
| type TypeKind = ::windows::core::CopyType; |
| } |
| impl ::core::cmp::PartialEq for TCP_RESERVE_PORT_RANGE { |
| fn eq(&self, other: &Self) -> bool { |
| self.UpperRange == other.UpperRange && self.LowerRange == other.LowerRange |
| } |
| } |
| impl ::core::cmp::Eq for TCP_RESERVE_PORT_RANGE {} |
| impl ::core::default::Default for TCP_RESERVE_PORT_RANGE { |
| fn default() -> Self { |
| unsafe { ::core::mem::zeroed() } |
| } |
| } |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub type PINTERFACE_TIMESTAMP_CONFIG_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callercontext: *const ::core::ffi::c_void) -> ()>; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub type PIPFORWARD_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callercontext: *const ::core::ffi::c_void, row: *const MIB_IPFORWARD_ROW2, notificationtype: MIB_NOTIFICATION_TYPE) -> ()>; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub type PIPINTERFACE_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callercontext: *const ::core::ffi::c_void, row: *const MIB_IPINTERFACE_ROW, notificationtype: MIB_NOTIFICATION_TYPE) -> ()>; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Networking_WinSock"))] |
| pub type PNETWORK_CONNECTIVITY_HINT_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callercontext: *const ::core::ffi::c_void, connectivityhint: super::super::Networking::WinSock::NL_NETWORK_CONNECTIVITY_HINT) -> ()>; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub type PSTABLE_UNICAST_IPADDRESS_TABLE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callercontext: *const ::core::ffi::c_void, addresstable: *const MIB_UNICASTIPADDRESS_TABLE) -> ()>; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`*"] |
| pub type PTEREDO_PORT_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callercontext: *const ::core::ffi::c_void, port: u16, notificationtype: MIB_NOTIFICATION_TYPE) -> ()>; |
| #[doc = "*Required features: `\"Win32_NetworkManagement_IpHelper\"`, `\"Win32_Foundation\"`, `\"Win32_NetworkManagement_Ndis\"`, `\"Win32_Networking_WinSock\"`*"] |
| #[cfg(all(feature = "Win32_Foundation", feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Networking_WinSock"))] |
| pub type PUNICAST_IPADDRESS_CHANGE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callercontext: *const ::core::ffi::c_void, row: *const MIB_UNICASTIPADDRESS_ROW, notificationtype: MIB_NOTIFICATION_TYPE) -> ()>; |
| #[cfg(feature = "implement")] |
| ::core::include!("impl.rs"); |